5 Applied Instructions and Basic Usage
DVP-20PM Application Manual
5-67
API
Applicable model
20PM
46
ANS
P
P
Driving an annunciator
Bit device Word device
X Y M S K H KnX KnY KnM KnS T C D V Z
S
*
m
*
D
*
Note: All devices can not be modified by V devices and Z devices.
Please refer to specifications for more information about device
ranges.
16-bit instruction (7 steps)
ANS
Continuity
instruction
ANS P
Pulse
instruction
32-bit instruction
- - - -
Flag: None
Explanation
The instruction ANS is used to drive an annuncia
tor.
S: Timer; m: Time; D: Annunciator
S: T0~T183
m: K1~K32,767 (Unit: 100 ms)
D: S912~S1023
See the explanation of ANR for more information.
Example
If X3 is ON for more than 5 seconds, the annunciator S999 will be ON. Even if
X3 is turned OFF, S999 will still be ON. (However, T10 will be reset to OFF,
and the value of T10 will be 0.)
X3
ANS T10 K50 S999