Crestron simpl plus language ref 사용자 설명서
Software Crestron
SIMPL+
®
48
z SIMPL+
®
Language Reference Guide - DOC. 5797G
ANALOG_OUTPUT
Name:
ANALOG_OUTPUT
Syntax:
ANALOG_OUTPUT <var1>[,<var2>...];
ANALOG_OUTPUT <var[size]>;
ANALOG_OUTPUT<var[size[,<min>]]>;
Description:
Routes a value from the SIMPL+ program to the SIMPL program as an analog value.
ANALOG_OUTPUT values are 16-bit numbers. They are treated as signed or
unsigned values inside of a SIMPL+ program depending on the operators or functions
being used. Refer to the discussion on Arrays on
ANALOG_OUTPUT values are 16-bit numbers. They are treated as signed or
unsigned values inside of a SIMPL+ program depending on the operators or functions
being used. Refer to the discussion on Arrays on
In X-Generation Control Systems, the logic process only sees the last analog that was
posted after the SIMPL+ module tasks switched away. Therefore, in a loop that
iterates from 1 to 10000, only a few of the values will be seen by the logic process. If
all values should be seen to by the logic process, a PROCESSLOGIC statement is
required after the assignment to the ANALOG_OUTPUT.
posted after the SIMPL+ module tasks switched away. Therefore, in a loop that
iterates from 1 to 10000, only a few of the values will be seen by the logic process. If
all values should be seen to by the logic process, a PROCESSLOGIC statement is
required after the assignment to the ANALOG_OUTPUT.
When the SIMPL+ program writes to the ANALOG_OUTPUT, the new value is
posted immediately. Therefore, if the value is read back after being assigned, the new
value is read back (unlike a DIGITAL_OUTPUT on X-Generation control systems).
posted immediately. Therefore, if the value is read back after being assigned, the new
value is read back (unlike a DIGITAL_OUTPUT on X-Generation control systems).
In the 2-Series Control Systems, the logic process sees ALL values that are assigned
to the ANALOG_OUTPUT. No PROCESSLOGIC is required.
to the ANALOG_OUTPUT. No PROCESSLOGIC is required.
For an array of ANALOG_OUTPUTs, the maximum value of SIZE is 65535. Valid
indices are 1 through the specified size.
indices are 1 through the specified size.
NOTE: ANALOG_OUTPUTs may be jammed with other analog values from a
SIMPL program (i.e., from a RAMP or other analog logic, even other SIMPL+
symbols). When such an output is jammed, the new value is read back into the
SIMPL+ symbol and the value of the output is altered.
SIMPL program (i.e., from a RAMP or other analog logic, even other SIMPL+
symbols). When such an output is jammed, the new value is read back into the
SIMPL+ symbol and the value of the output is altered.
NOTE: <min> is the number of outputs 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
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
, and Declarations on
.