Crestron simpl plus language ref 사용자 설명서
Crestron SIMPL+
®
Software
Language Reference Guide - DOC. 5797G
SIMPL+
®
z 339
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 touchpanel has been defined at Cresnet ID 07, and press 42 has a signal
name tied to it, this SIMPL+ statement will connect the two:
to it, and a touchpanel has been defined at Cresnet ID 07, and press 42 has a signal
name tied to it, this SIMPL+ statement will connect the two:
SetSlot(1,2,dout) = GetCresnet(0x07,42,din);
Version:
SIMPL+ Version 2.00 only. This function is not available in Versions 1.00 or 3.00.
Control System:
X-Generation only
GetSlot
Name:
GetSlot
Syntax:
INTEGER GetSlot(INTEGER SLOT_NUMBER, INTEGER
JOIN_NUMBER, INTEGER TYPE);
Description:
Retrieves the current state of the join number on a particular card. Note that the device
must be defined in SIMPL Windows and the join number to use must have a signal
tied to it for this function to work.
must be defined in SIMPL Windows and the join number to use must have a signal
tied to it for this function to work.
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.