Precautions During Programming
FP0
8
−
27
8.8
Changing the Set Value of Timer/Counter During RUN
Method 2: Method using the FP Programmer
II
Use the word data monitor function to read the set value area SV of the timer or counter
to be changed, and rewrite the value.
Example of changing the value of SV0 from K30 to K50.
Procedure:
1.
Execute word data monitor (OP8).
ENT
(
−
)
OP
8
2.
Read SV0.
READ
TM
T-SV
0
3.
Clear SV0.
(HELP)
CLR
4.
Write the new changing value.
WRT
(BIN)
K/H
5
0
Method 3: Method using the program (high-level instruction)
To change a set value of timer/counter based on an input condition, use a high-level
instruction as shown below to rewrite the value in the set value area SV of the desired
timer or counter.
Example:
Changing the set value to K20 when input R0 turns on
F0 MV, K20, SV3
R1
R0
T3
Y0
TMX 3, K50
When R0 turns on, the timer set value
changes from 5 seconds to 2 seconds.
Summary of Contents for FP0 Series
Page 14: ...Table of Contents FP0 xii ...
Page 16: ...Overview FP0 1 2 ...
Page 82: ...S LINK Control Unit FP0 4 2 ...
Page 95: ...Chapter 5 I O Allocation 5 1 I O Number 5 3 5 2 Control Unit 5 4 5 3 Expansion I O Unit 5 5 ...
Page 96: ...I O Allocation FP0 5 2 ...
Page 100: ...I O Allocation FP0 5 6 5 3 Expansion I O Unit ...
Page 102: ...Installation FP0 6 2 ...
Page 112: ...Installation FP0 6 12 6 5 Installation Using FP0 Flat Type Mounting Plate ...
Page 114: ...Wiring FP0 7 2 ...
Page 198: ...High speed Counter Pulse Output PWM Output FP0 9 34 9 5 PWM Output Function ...
Page 200: ...General use Serial Communications FP0 10 2 ...
Page 210: ...Self Diagnostic and Troubleshooting FP0 11 2 ...
Page 220: ...Specifications FP0 12 2 ...
Page 234: ...Dimensions FP0 13 2 ...
Page 243: ...Chapter 14 Appendix ...
Page 380: ...14 138 14 7 ASCII Codes ...