Setcip - Crestron SIMPL+ Reference Manual

Language reference guide
Hide thumbs Also See for SIMPL+:
Table of Contents

Advertisement

Crestron SIMPL+
Language Reference Guide - DOC. 5797G
®
Example:
SendPacketToCPU("\x1BDFF\r");
This example will turn the Super Debugger on, which shows all network transitions
on the console port of the control system. This command would normally be typed in
manually through the Crestron Viewport, since it is for debugging only.
Version:
SIMPL+ Version 2.00

SetCIP

Name:
SetCIP
Syntax:
SetCIP(INTEGER CIPID, INTEGER JOIN_NUMBER, INTEGER
TYPE);
Description:
Sets the state of the join number on a particular CIP 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.
Parameters:
CIPID is an INTEGER containing the ID of the CIP device 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 CEN-IO has been defined at CIP ID 03 and Relay1 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:
SetCIP(0x03,1,dout) = GetCresnet(0x07,42,din);
NOTE: This is not a permanent connection; it will only set the state when this
statement is executed.
Software
®
SIMPL+
343

Advertisement

Table of Contents
loading

Table of Contents