


| Download examples in PDF document | Download | |
Calypso Control - Event Database Command Summary
|
|
||
|
Command Type |
Relay |
|
|
Description |
Open and close relays |
|
|
Command |
#GPOx["y",Dz]; |
|
|
#GPOx["y",Dz]; |
||
|
Arguments |
x = relay number |
|
|
y = OPEN or CLOSE |
||
|
D = optional delay duration before returning to prior state |
||
|
z = duration; unit = 4.4ms |
||
|
|
||
|
Example Description |
Open relay 1 and hold for .5 sec |
|
|
Example |
#GPO1["OPEN",D114]; |
|
|
|
||
|
Command Type |
Event |
|
|
Description |
Trigger event by number |
|
|
Command |
#EVTx[Wy]; |
|
|
Arguments |
x = event number |
|
|
W = optional "wait" duration before next action |
||
|
y = duration in seconds |
||
|
|
||
|
Example Description |
Trigger event 15 then wait 5 seconds |
|
|
Example |
#EVT15[W5]; |
|
|
|
||
|
|
||
|
Command Type |
Serial Transmit |
|
|
Description |
Transmit serial commands in ASCII and HEX |
|
|
Command |
#COMx[Ty,"insert string", Dz] |
|
|
Arguments |
x = com port number |
|
|
y = 1 for ASCII string |
||
|
y = 2 for HEX string |
||
|
D = delay |
||
|
z = duration; unit = 4.4ms |
||
|
|
||
|
Example Description |
Send HELLO through COM1 as ASCII followed by .5 sec delay |
|
|
Example |
#COM1[T1,"HELLO", D114]; |
|
|
|
||
|
|
||
|
Command Type |
IR Output |
|
|
Description |
Transmit a CIRT command |
|
|
Command |
#XR0x[Fy,"z"]; |
|
|
Arguments |
x = IR output port number |
|
|
y = 1 for CIRT |
||
|
y = 2 for Universal IR code |
||
|
z = 4-char IR code for CIRT or IR string for universal |
||
|
|
||
|
Example Description |
Transmit CIRT code out IR port 1 |
|
|
Example |
#XR01[F1,"08B9"]; |
|
|
|
||
|
|
||
|
Command Type |
Trigger Enable/Disable |
|
|
Description |
Turn external event trigger on/off for a specific Event |
|
|
Command |
#TRG["x",y] |
|
|
Arguments |
x = ON or OFF |
|
|
y = event number |
||
|
|
||
|
Example Description |
Disable the trigger for event 36 |
|
|
Example |
#TRG["OFF",36]; |
|
|
|
||
|
|
||
|
Command Type |
Network Command |
|
|
Description |
Transmit command to an IP address |
|
|
Command |
#NET[IP Address, Px,Ty,"command"]; |
|
|
Arguments |
IP Address = target IP address |
|
|
x = network port number |
||
|
y = 1 for ASCII |
||
|
y = 2 for Hex |
||
|
command = actual command string |
||
|
|
||
|
Example Description |
Send a Hex string through Port 5000 to an IP address |
|
|
Example |
#NET[192.168.1.101,P5000,T2,"02001B2C03"]; |
|
|
|
||
|
|
||
|
Command Type |
Input Trigger |
|
|
Description |
Detect change of input state |
|
|
Command |
#GPIx["y"]; |
|
|
Arguments |
x = input number |
|
|
y = OPEN or CLOSE |
||
|
|
||
|
Example Description |
Trigger event when Input 1 is OPEN |
|
|
#GPI1["OPEN"]; |
||
|
|
||
|
|
||
|
Command Type |
Serial Compare Trigger |
|
|
Description |
Compare incoming string to a template string |
|
|
Command |
#CMP1[Cx,"string"]; |
|
|
Arguments |
x = 1 for ASCII string |
|
|
x = 2 for Hex string |
||
|
|
||
|
Example Description |
Trigger event when incoming COM1 string is HELLO |
|
|
Example |
#CMP1[C1,"HELLO"]; |
|
|
|
||
|
|
||
|
Command Type |
IR Input Trigger |
|
|
Description |
Use incoming CIRT code as a trigger |
|
|
Command |
#XRIy["F1,"CIRT code"]; |
|
|
Arguments |
y = IR input port number |
|
|
CIRT code = 4-char representation of 12-bit Sony IR command |
||
|
|
||
|
Example Description |
Trigger event when the CIRT code 08B9 is received from IR input 1 |
|
|
Example |
#XRI1[F1,"08B9"]; |
|
|
|
||
|
|
||
|
Command Type |
Network Compare Trigger |
|
|
Description |
Compare incoming string to a template string |
|
|
Command |
#NCM[Cx,"string"]; |
|
|
Arguments |
x = 1 for ASCII string |
|
|
x = 2 for Hex string |
||
|
|
||
|
Example Description |
Trigger event when the network string is HELLO |
|
|
Example |
#NCM[C1,"HELLO"]; |
|
|
|
||
|
|
||
|
Command Type |
Weekly Timer |
|
|
Description |
Use the Real Time Clock to trigger events on a weekly basis |
|
|
Command |
#TMR[Wx:y:z]; |
|
|
Arguments |
x = 1 for Sunday |
|
|
x = 2 for Monday |
||
|
x = 3 for Tuesday |
||
|
x = 4 for Wednsday |
||
|
x = 5 for Thursday |
||
|
x = 6 for Friday |
||
|
x = 7 for Saturday |
||
|
y = hour (00 - 23) |
||
|
z = minutes (00 - 59) |
||
|
|
||
|
Example Description |
Trigger event every Monday at 8:00 am |
|
|
Example |
#TMR[W2:08:00]; |
|
|
|
||
|
|
||
|
Command Type |
Daily Timer |
|
|
Description |
Use the Real Time Clock to trigger events on a daily basis |
|
|
Command |
#TMR[Dx:y]; |
|
|
Arguments |
x = hour (00 - 23) |
|
|
y = minutes (00 - 59) |
||
|
|
||
|
Example Description |
Trigger event daily at 8:00 am |
|
|
Example |
#TMR[D08:00]; |
|
|
|
||
|
|
||
|
Command Type |
Hourly Timer |
|
|
Description |
Use the Real Time Clock to trigger events on an hourly basis |
|
|
Command |
#TMR[Hx]; |
|
|
Arguments |
x = minutes past the hour |
|
|
Example Description |
Trigger event hourly at 20 minutes past the hour |
|
|
Example |
#TMR[H20]; |
|
|
|
||
|
|
||
|
Command Type |
Interval Timer |
|
|
Description |
Use the Real Time Clock to trigger events every x minutes |
|
|
Command |
#TMR[Mx]; |
|
|
Arguments |
x = minutes |
|
|
Example Description |
Trigger event every 7 minutes |
|
|
Example |
#TMR[M7]; |
|
Author David Hawthorne.
Copyright © 2006 Image Design Technology Pty Ltd. All rights reserved.
Revised: May 2006.
