Crestron simpl plus language ref 사용자 설명서
Software Crestron
SIMPL+
®
340
z SIMPL+
®
Language Reference Guide - DOC. 5797G
Parameters:
SLOT_NUMBER is an INTEGER containing the slot number of the card to query.
JOIN_NUMBER is an INTEGER containing the Join number to get the status.
TYPE is one of several predefined constants:
din: Digital inputs from device (symbol output list)
ain: Analog inputs from device (symbol output list)
dout: Digital outputs to device (symbol input list)
aout: Analog outputs to device (symbol input list)
Return Value:
An Integer. For Digital values, a non-zero value indicates a logic high and a 0 value
indicates a logic low. For analog values, a 16-bit number is returned corresponding
to the state of the analog join.
indicates a logic low. For analog values, a 16-bit number is returned corresponding
to the state of the analog join.
Example:
Assuming a relay card has been defined in Slot 1 and Relay A2 has a signal name tied
to it, and a CNXIO-16 has been defined in Slot 2 and cue i1 has a signal tied to it, this
SIMPL+ statement will connect the two:
to it, and a CNXIO-16 has been defined in Slot 2 and cue i1 has a signal tied to it, this
SIMPL+ statement will connect the two:
SetSlot(1,2,dout) = GetSlot(2,1,din);
Version:
SIMPL+ Version 2.00 only. This function is not available in Versions 1.00 or 3.00.
Control System:
X-Generation only
IsSignalDefined
Name:
IsSignalDefined
Syntax:
INTEGER IsSignalDefined <input/output signal>;
NOTE: Access to serial signals is not supported.
NOTE: This is not a permanent connection; it will only set the state when this
statement is executed.
statement is executed.