Omron SYSMAC CV Series Operation Manual page 351

Ladder diagrams
Hide thumbs Also See for SYSMAC CV Series:
Table of Contents

Advertisement

PID and Related Instructions
Precautions
Flags
Example
0000
00
(272)
BAND 0001 D00100 D00110
If the input data (S) is greater than or equal to the lower limit (C) and less than or
equal to the upper limit (C+1), 0000 will be output to D and the Equals Flag
(A50006) will turn ON.
Output
Lower limit (C)
If the output data is less than 8000 or greater than 7FFF, the sign will reverse. For
example, if the lower limit is 0100 and the input data is 8000, the output data will
be as follows:
8000
(–32,768)
10
The lower limit (C) must be less than or equal to the upper limit (C+1).
Note Refer to page 115 for general precautions on operand data areas.
ER (A50003):
The upper limit setting is less than the lower limit.
The content of a*DM word is not BCD when set for BCD.
> (A50005):
The input data (S) is greater than the upper limit (C+1).
EQ (A50006):
The output data is all zeros.
< (A50007):
The input data (S) is less than the lower limit (C).
N (A50008):
The output data is a negative number.
When CIO 000000 turns ON in the following example, one of the following will
occur:
If the binary content of CIO 0001 is within the range specified by the content of
D00100 and D00101, 0000 will be output to D00110.
If the binary content of CIO 0001 is greater than the content of D00101, the
result of (CIO 0001 minus D00101) will be output to D00110.
If the binary content of CIO 0001 is less than the content of D00100, the result
of (CIO 0001 minus D00100) will be output to D00110.
CIO 0001
D00101 D00100
41F5
4FFF
1000
1000 < 41F5 < 4FFF
0000
Input
Upper limit (C+1)
– 0100 = 7F00
(256)
(32,512)
10
10
CIO 0001
78CC
78CC < 4FFF
78CC – 4FFF = 28CD
D00110
0000
A50006 (=) ON
Section 5-24
Address Instruction
Operands
00000
LD
000000
00001
BAND(272)
D00100
D00110
D00101 D00100
4FFF
E325
D00110
28CD
A50005 (>) ON
0001
339

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cv2000Cvm1Cv500Cv1000

Table of Contents