Chapter 4. Ladder Diagram (LD) Programming
128
PACSystems* RX7i, RX3i and RSTi-EP CPU Programmer's Reference Manual
GFK-2950C
Example: UINT to DINT
Whenever input %M01478 is set, the unsigned single-
precision integer (UINT) value at input location %R00654 is
converted to a double-precision signed integer (DINT) and
the result is placed in location %L00049. The output
%M00065 is set whenever the function executes
successfully.
Example: BCD8 to DINT
Whenever input %I00025 is set, the BCD-8 value in
%L00046 is converted to a signed double-
precision integer (DINT) and passed to the
ADD_DINT function, where it is added to the DINT
value in %R00797. The sum is output by
ADD_DINT to the reference TOTAL.
Example: INT to DINT
Whenever input %I00002 is
set, the signed single-
precision integer (INT) value
at input location %I00017
is converted to a double-
precision signed integer (DINT) and the result is placed in
location %L00001. The output %Q01001 is set whenever
the function executes successfully.
Example: REAL to DINT
Whenever input
%I0002 is set, the
REAL value at input
location %R0017 is
converted to a
double precision
signed integer (DINT)
and the result is
placed in location
%R0001. The output %Q1001 is set whenever the function
executes successfully.
Summary of Contents for PACSystems RX7i
Page 357: ......
Page 466: ...Chapter 9 Diagnostics GFK 2950C February 2018 451...