Crestron simpl plus language ref 사용자 설명서

다운로드
페이지 374
Crestron SIMPL+
®
Software 
Language Reference Guide - DOC. 5797G
 SIMPL+
®
 
z 345
Control System:
X-Generation only
SetSlot
Name:
SetSlot
Syntax:
SetSlot(INTEGER SLOT_NUMBER, INTEGER JOIN_NUMBER, 
INTEGER TYPE);
Description:
Sets the state of the join number on a particular card slot. 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:
SLOT_NUMBER is an INTEGER containing the slot number of card to set the join 
number. JOIN_NUMBER is an INTEGER containing the Join number to set. 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:
None.
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:
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
NOTE: This is not a permanent connection; it will only set the state when this 
statement is executed.