Download Model 15i - User Manual
Transcript
C-Link Protocol Commands I/O Configuration dig in This command reports the status of the digital inputs as a 4-digit hexadecimal string with the most significant bit (MSB) being input 16. Send: Receive: dig in dig in 0xff7f din channel This command reports the action assigned to the digital input channel and the index number of the corresponding active state. The following example reports input 1 to be assigned an index number 3 corresponding to action of “set background” with the active state being high. Send: Receive: din 1 din 1 3 SET BACKGROUND high set din channel index state This command assigns digital input channel (1-16) to activate the action indicated by index (1-35), when the input transitions to the designated state (high or low). Use the “list var din” command to obtain the list of supported index values and corresponding actions. The following example sets the digital input channel 1 to 3 on a low-to-high transition. Send: Receive: set din 1 3 high set din 1 3 high ok dout channel This command reports the index number, output variable and the active state assigned to digital output channel. The following example reports output 4 to be assigned an index number 11 corresponding to action of “general alarm”. Send: Receive: dout 4 dout 4 11 GEN ALARM open set dout channel index state This command assigns digital output channel to be assigned to the action associated with index, and assigns it an active state of state (open or closed). Use the “list var dout” command to obtain the list of supported index values and corresponding state. The following example sets the digital output channel 4 to state 11. Send: Receive: Thermo Fisher Scientific set dout 4 11 open set dout 4 11 open ok Model 15i Instruction Manual B-43