AS Series Programming Manual
Example
1.
As PLC runs, the comparative value in DHSCS instruction is 5000.
2.
When the X0.0 external interrupt occurs, the comparative value in DHSCS is set to 8000 immediately.
Main program:
X0.0 external interrupt program:
Assign the new comparative value to the same variable (E.g. D10 in the example) first and then execute DHSRF
_6
instruction for the update.
6 - 1 7 6