Search   
Home  Print View  

 

GP-LOGIC

Branch Content

Action Commands

SET_ADDR

Establishes the unit address.

In some units, address is set by DIP switches or jumpers, in which case this command takes no effect. Some other units require the address to be set with this command.

CMD: 'A'
DATA: address (Hex)

SET_ALM

Establishes an alarm condition (code) in the unit forcing the ALARM LED to illuminate.

CMD: '!'
DATA: alarm code (1 byte)

Code zero means no alarm condition, so asserting this command with argument zero effectively clears the alarm condition turning the ALM LED off. This can also be done using address Fh (broadcast) to clear all units at once.

Broadcasting an alarm code other than zero is illegal resulting in error.

SET_GPO_ON

Activates given GPO.

CMD: 'G'
DATA: GPO number in Hex (2 bytes)

SET_GPO_OFF

Deactivates given GPO.

CMD: 'g'
DATA: GPO number in Hex (2 bytes)

SET_RESET

Deactivates all GPOs in the unit and clears alarm condition.

CMD: 'r'
DATA: none

Online Manuals -- this software is based on Help Books running at melissa