Chapter 4. Ladder Diagram (LD) Programming
124
PACSystems* RX7i, RX3i and RSTi-EP CPU Programmer's Reference Manual
GFK-2950C
Example: BCD4 to INT
Whenever input %I0002 is set, the BCD-4
value in PARTS is converted to a signed
integer (INT) and passed to the ADD_INT
function, where it is added to the INT value
represented by the reference RUNNING. The
sum is output by ADD_INT to the reference
TOTAL.
Example: UINT to INT
Whenever input %M00344 is set, the UINT value in
%R00234 is converted to a signed integer (INT)
and passed to the ADD function, where it is added
to the INT value in %R06488. The sum is output by
the ADD function to the reference CARGO.
Example: DINT to INT
Whenever input %M00031 is set, the DINT value in
%R00055 is converted to a signed integer (INT) and
passed to the ADD function, where it is added to the
INT at %R02345. The sum is output by the ADD
function to %R08004.
Summary of Contents for PACSystems RX7i
Page 357: ......
Page 466: ...Chapter 9 Diagnostics GFK 2950C February 2018 451...