EasyManua.ls Logo

Crestron SIMPL+ - DIGITAL_INPUT Declaration

Crestron SIMPL+
374 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Crestron SIMPL+
®
Software
Language Reference Guide - DOC. 5797G SIMPL+
®
z 51
DIGITAL_INPUT
Name:
DIGITAL_INPUT
Syntax:
DIGITAL_INPUT <var1>[,<var2>...];
DIGITAL_INPUT <var[size]>;
DIGITAL_INPUT <var[size[,min]]>;
Description:
Routes digital inputs from the outside SIMPL program into a SIMPL+ program under
the specified variable names. DIGITAL_INPUT values are either 0 (digital low) or 1
(digital high). Refer to the discussion on arrays on page 46.
For an array of DIGITAL_INPUTs, the maximum value of SIZE is 65535. Valid
indices are 1 through the specified size.
Example:
DIGITAL_INPUT osc_in, toggle_in;
Signifies that two digital inputs are coming into the SIMPL+ program from the
SIMPL Program.
DIGITAL_INPUT status_bits[8];
Signifies that up to eight digital inputs are coming into the SIMPL+ program from the
SIMPL Program, referenced under the names status_bits[1] through status_bits[8].
DIGITAL_INPUT flags[8,2];
Signifies up to eight digital inputs, with at least two shown.
Version:
SIMPL+ Version 3.01 for fixed arrays and minimum sizes.
SIMPL+ Version 2.00 for DIGITAL_INPUT arrays.
SIMPL+ Version 1.00 for everything else.
NOTE: DIGITAL_INPUT variables may not be passed to functions in Version 3.00
for the 2-Series Control Systems. If you need to pass a DIGITAL_INPUT variable to
a function, assign it to a locally declared variable and pass that variable to the function.
NOTE: <min> is the number of inputs shown at a minimum in SIMPL Windows. The
Default is 1. The user can expand the minimum up to the full size. Only the last array
of a type can have <min>. Refer to Arrays on page 31, and Declarations on page 45.

Table of Contents

Other manuals for Crestron SIMPL+

Related product manuals