298
SPD
Program Example
(1) The following program changes the contents of D0 from 10 to 100 in a total of 6 scans, and saves the contents of D0
when the move has been completed.
[Ladder Mode]
[List Mode]
[Timing Chart]
: Pulse input (bits)
n
: Measurement time (unit: ms) (BIN 16 bits)
: Head number of the devices where the measurement result will be stored (BIN 16 bits)
*1:
Local devices and the file registers set for individual programs cannot be used.
SPD
Pulse density measurement
6.8.7
SPD
Setting
Data
Internal Devices
R, ZR
J \
U \G
Zn
Constants
K, H
Other
Bit
Word
Bit
Word
(Only X)
––
––
––
n
*1
*1
––
––
*1
––
––
Step
Instruction
Device
1scan
1scan
1scan
1scan
1scan
1scan
X0
10
0
25
1
40
2
55
3
70
4
85
5
100
6
OFF
ON
ON
ON
D0
D1
M0
OFF
M1
OFF
Basic
Redundant
Process
High
performance
Universal
LCPU
Command
SPD
n
S
D
SPD
S
D
S
D