Omron CS1G/H-CPUxxH Instructions Manual page 719

Sysmac cs series; sysmac cj series
Hide thumbs Also See for CS1G/H-CPUxxH:
Table of Contents

Advertisement

Data Control Instructions
Precautions
Example
3-18-4 DEAD BAND CONTROL: BAND(681)
Purpose
Ladder Symbol
698
If the upper limit is less than the lower limit, an error will occur and the Error
Flag will turn ON.
If the input data (S) is greater than the upper limit, the Greater Than Flag will
turn ON.
If the output word D is 0000 hex, the Equals Flag will turn ON.
If the input data (S) is less than the lower limit, the Less Than Flag will turn
ON.
If the status of the leftmost bit of the output word D is "1," the Negative Flag
will turn ON.
If D00100 is 0050 hex (80), then 0064 hex (100) will be output to D00300
because 80 is less than the lower limit of 100.
If D00100 is 00C8 hex (200), then 0064 hex (100) will be output to D00300
because 200 is within the upper and lower limits.
If D00100 is 012C hex (300), then 015E hex (350) will be output to D00300
because 350 is greater than the upper limit of 300.
Controls output data according to whether or not input data is within the lower
and upper limits of the range (dead band range.)
C:
BAND(681)
S
S: Input word
C
C: First limit word
D
D: Output word
Section 3-18
Lower limit: 100
Upper limit: 300

Advertisement

Table of Contents
loading

Table of Contents