Chapter 5 Instruction Specifications
5-136
Program example
R6 LD R6
AND DIF6
[
WR60 = H100
WR61 = 5000
WR62 = 10000
FUN 146 ( WR60 )
]
DIF6 WR60 = H0100
WR61 = 5000
WR62 = 10000
FUN 146 (WR60)
Program description
Sets both the on-preset value and off-preset value in the counter No. 1.
Sets 5000 for the on-preset value and 10000 for the off-preset value.
FUN 146 (s)