Delta AH500 Programming Manual page 471

Hide thumbs Also See for AH500:
Table of Contents

Advertisement

Example 2:
When X0.0 is ON, -10000 or 10000 is subtracted from the binary-coded decimal value in (X2, X1),
and the difference is stored in (D11, D10).
The execution results:
Minimum
Maximum
value of the
value of the
deadband
deadband
-10000
10000
Additional remark:
If the minimum value of the deadband in S
the instruction is not executed, SM0 is ON, and the error code in SR0 is 16#2003.
Input value in
(D1, D0)
(D1, D0)<-10000
-12000
=>(D11,D10)
=(D1, D0)-(-10000)
(D1, D0)>10000
12000
=>(D11, D10)
=(D1, D0)-10000
-10000≦(D1, D0)≦10000
5000
=>(D1, D0)=0
is larger than the maximum value of the deadband in S
1
Ch a pt er 6 Ap p l i ed I ns t r uc t i ons
Output value in
Function
(D11, D10)
-2000
2000
0
,
2
6 - 3 0 3

Advertisement

Table of Contents
loading

Table of Contents