AnotherOne
Active Member
Is there a seperate document for the RP software (the standard software that comes with the system)?
I'm trying to figure out how I write tasks to interface a serial port to my litetouch system.
For example, here's the command to determine if a specific load (light, whatever) is on:
Command: Get Load State
Format: R,CGLST,<mmmo> where: mmm is module and o is output (zero based)1
Return: R,RQRES,CGLST,<b> where: b = 0 means off and b = 1 means on
Description: Returns the current state of a specific load.
So to see if the 3rd load on module 61 is on you would send the ascii string:
RCGLST,0612<CR> (<CR> is carriage return)
and R,RQRES,CGLST,1<CR> would be returned if the load was on (actually if the load was not off, but that's a whole other story).
I'm trying to figure out how I write tasks to interface a serial port to my litetouch system.
For example, here's the command to determine if a specific load (light, whatever) is on:
Command: Get Load State
Format: R,CGLST,<mmmo> where: mmm is module and o is output (zero based)1
Return: R,RQRES,CGLST,<b> where: b = 0 means off and b = 1 means on
Description: Returns the current state of a specific load.
So to see if the 3rd load on module 61 is on you would send the ascii string:
RCGLST,0612<CR> (<CR> is carriage return)
and R,RQRES,CGLST,1<CR> would be returned if the load was on (actually if the load was not off, but that's a whole other story).