Omron SYSMAC CJ - REFERENCE MANUAL 08-2008 Reference Manual page 839

Programmable controllers
Hide thumbs Also See for SYSMAC CJ - REFERENCE MANUAL 08-2008:
Table of Contents

Advertisement

Data Control Instructions
+
Contents of D 00200 (R)
Point B
Point A
In this example, values from 0000 to 00C8 hexadecimal will be converted to
negative values. SCL(194), however, can output only unsigned BCD values
from 0000 to 9999, so 0000 BCD will be output whenever the contents of
D00000 is between 0000 and 00C8 hexadecimal.
Reverse Scaling
Reverse scaling can also be used by setting As < Bs and Ar > Br. The follow-
ing relationship will result.
R (unsigned BCD)
Point A
Reverse scaling can be used, for example, to convert (reverse scale) 1 to 5 V
(0000 to 0FA0 hexadecimal) to 0300 to 0000, respectively, as shown in the fol-
lowing diagram.
x
+00C8 He
The value in CIO
0200 plus 00C8
hexadecimal
Point A (00C8 Hex → 0000 (BCD))
Point B (1068 Hex → 0300 (BCD))
P1:
D00100
P1+1: D00101
P1+2: D00102
P1+3: D00103
Contents of D 00000 (S)
Point B
R
Point A
Point B
Section 3-18
(BCD)
(BIN)
(BCD)
(BIN)
S (unsigned binary)
799

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac cs seriesSysmac one nsj seriesSysmac cj series

Table of Contents