Crestron simpl plus language ref 사용자 설명서
Software Crestron
SIMPL+
®
338
z SIMPL+
®
Language Reference Guide - DOC. 5797G
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 CEN-IO has been defined at CIP ID 03 and cue i1 has a signal tied to it,
this SIMPL+ statement will connect the two:
to it, and a CEN-IO has been defined at CIP ID 03 and cue i1 has a signal tied to it,
this SIMPL+ statement will connect the two:
SetSlot(1,2,dout) = GetCIP(0x03,18,din);
Version:
SIMPL+ Version 2.00 only. This function is not available in Versions 1.00 or 3.00.
Control System:
X-Generation only
GetCresnet
Name:
GetCresnet
Syntax:
INTEGER GetCresnet(INTEGER CRESNET_ID, INTEGER
JOIN_NUMBER, INTEGER TYPE);
Description:
Retrieves the current state of the join number on a particular Cresnet Network ID.
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.
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.
Parameters:
CRESNET_ID is an INTEGER containing the ID of the Cresnet Network device to
query.
query.
JOIN_NUMBER is an INTEGER containing the Join number to get the status. For
touchpanels, the join number is identical to the press/feedback number. For other
devices, contact Crestron customer service.
touchpanels, the join number is identical to the press/feedback number. For other
devices, contact Crestron customer service.
NOTE: In the above example statement, the join number representing cue i1 on the
CEN-IO is 18.
CEN-IO is 18.
NOTE: This is not a permanent connection; it will only set the state when this
statement is executed
statement is executed