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

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

Advertisement

Data Control Instructions
Flags
Precautions
Examples
806
The source value in S is treated as an absolute BCD value and the sign is
indicated by the Carry Flag. The source value can thus be between –9999
and 9999.
If the result is less than the minimum conversion value, the minimum conver-
sion value will be output as the result. If the result is greater than the maxi-
mum conversion value, the maximum conversion value will be output.
Positive Offset
R (signed binary)
Max conversion
Min. conversion
Offset of 0000
R (signed binary)
Max conversion
SCL3(487) is used to convert data using a user-defined scale to signed binary
for Analog Output Units. For example, SCL3(487) can convert 0 to 200 C to
0000 to 0FA0 (hex) and output an analog output signal 1 to 5 V from the Ana-
log Output Unit.
Name
Label
Error Flag
ER
Equals Flag
=
Negative Flag
N
An error will occur and the Error Flag will turn ON if the contents of S is not
BCD or if the value for X (C+1) is not between 0001 and 9999 BCD.
The Equals Flag will turn ON when the contents of the result word D is 0000.
The Negative Flag will turn ON if the MSB of the result in R is 1, i.e., if the
result is negative.
When a value from 0 to 200 is scaled to an analog signal (1 to 5 V, for exam-
ple), a signed BCD value of 0000 to 0200 is converted (scaled) to signed
Negative Offset
R (signed binary)
Max conversion
∆Y
∆X
Offset
Offset
S (signed BCD)
Min. conversion
∆Y
∆X
S (signed BCD)
Min. conversion
Operation
ON if the contents of S is not BCD.
ON if the contents of C+1 ( X) is not between 0001 and
9999 BCD.
OFF in all other cases.
ON if the result is 0.
OFF in all other cases.
ON when the MSB of the R (the result) is 1.
OFF in all other cases.
Section 3-18
∆Y
∆X
S (signed BCD)

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac cs seriesSysmac one nsj seriesSysmac cj series

Table of Contents