6. Function Details
Phase A
Count value
Hold value
Interrupt
(6) Sample program
In the following sample programs, it is assumed that the PI312 is allocated to XW000
and YW001.
• Setting the 0.1 second sampling speed counter mode (normal) for channel 1
At the beginning of RUN mode (at the first scan), the mode data 13 (H000D) is
written into the address 32 (CH1 mode) of the buffer memory.
70
Pulse Input Module (PI312)
∆T
a
b
0
a
0
S1
∆T
∆T
d
c
c
b
∆T: sampling time = 0.01s or 0.1s
∆T
∆T
Set-point-1
e
d
e