GE PACSystems RX7i Cpu Programmer's Reference Manual page 143

Hide thumbs Also See for PACSystems RX7i:
Table of Contents

Advertisement

Chapter 4. Ladder Diagram (LD) Programming
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.
128
PACSystems* RX7i, RX3i and RSTi-EP CPU Programmer's Reference Manual
GFK-2950C

Advertisement

Table of Contents
loading

This manual is also suitable for:

Pacsystems rx3iPacsystems rsti-ep

Table of Contents