Sample program
• An example for presetting the pulse input value of CH1 to any value K0 is given below. Read
the pulse input value from the 1st line of the program for monitoring.
• Preset the pulse input value in corresponding positioning memory and set the change value
request flag of corresponding channel. After the input value is changed, the change request
flat area (positioning memory area no.0/address H3A9) will be cleared.
R9010
R1
DF
(
)
R2
DF
(
)
Symbols
Specified content of program
①
Common area
Area in which pulse input values are
②
stored
③
Change value
④
Common area
⑤
Pulse count value change value area
Set value for the pulse count value
⑥
change request flag area
Pulse count value change request
⑦
flag area
ⓐ
Reading of pulse input value
ⓑ
Write the preset values saved in the pulse input value area into the positioning memory
Write the values to the positioning memory according to the request for pulse input
ⓒ
change
F384 PTBLR
H0
①
F385 PTBLW
H0
④
F385 PTBLW
H0
④
H3C0
K2
②
F1 DMV
K0
DT100
③
DT100
K2
F0 MV
H1
DT102
⑥
DT102
K1
Specified value of program
CH1
CH2
H0
H3C0
H3C2
Any value
H0
H3B0
H3B2
H1
H2
H3A9
15.1 Pulse Input
ⓐ
DT0
ⓑ
H3B0
⑤
ⓒ
H3A9
⑦
CH3
CH4
H3C4
H3C6
H3B4
H3B6
H4
H8
15-7