Omron CP - PROGRAMMING MANUAL 05-2007 Programming Manual page 689

Cp1h/cp1l cpu unit
Table of Contents

Advertisement

Data Control Instructions
3-17-8 SCALING 2: SCL2(486)
Purpose
Ladder Symbol
Variations
Applicable Program Areas
656
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
Point B
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.
R
Point A
Point B
0000 Hex
0FA0 Hex
5 V
1 V
Converts signed binary data into signed BCD data according to the specified
linear function. An offset can be input in defining the linear function.
SCL2(486)
S
P1
R
Variations
Executed Each Cycle for ON Condition
Executed Once for Upward Differentiation
Executed Once for Downward Differentiation Not supported.
Immediate Refreshing Specification
Block program areas
Step program areas
OK
OK
S (unsigned binary)
S: Source word
P1: First parameter word
R: Result word
Subroutines
OK
Section 3-17
SCL2(486)
@SCL2(486)
Not supported.
Interrupt tasks
OK

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents