Delta AS Series Programming Manual page 680

Hide thumbs Also See for AS Series:
Table of Contents

Advertisement

2.
The following graphs show how this instruction uses the zone:
Z ONE is not ex ec uted.
Output value
3.
Only the 32-bit instructions can use the 32-bit counter but not the device E.
4.
The negative deviation in S
within the range described below.
For the ZONE instruction, the negative deviation in S
the output value in D must be between -32768 to 32767. Suppose the negative deviation in S
the input value in S
Output value in D=(-32768)+(-100)=16#8000+16#FF9C=16#7F9C=32668
For the DZONE instruction, the negative deviation in S
and the output value in D must be between -2147483648 to 2147483647. Suppose the negative deviation in
(S
+1, S
) is -1000 and the input value in (S
1
1
value in (D+1, D) as follows.
Output value in (D+1, D)
=-2147483648+(-1000)=16#80000000+16#FFFFFC18=16#7FFFFC18=2147482648
Example 1
When X0.0 is ON, the instruction adds -100 or 100 to the binary-coded decimal value in X1, and stores the sum in D10.
Positiv e deviation
Input value
, the positive deviation in S
1
is -32768. The instruction calculates the output value in D as follows.
3
+1, S
3
Ch ap te r 6 Ap pl ie d Instruc ti ons
Z ONE is exec uted.
Output value
Negativ e deviation
, the input value in S
, and the output value in D must be
2
3
, the positive deviation in S
1
, the positive deviation in S
1
) is -2147483648. The instruction calculates the output
3
Input value
, the input value in S
, and
2
3
is -100 and
1
, the input value in S
,
2
3
6 - 4 0 1
6_

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents