123
CHAPTER 8 FUNCTIONS
8
8.4 Pr
eset/
replace
Functio
n
(1) Performing the preset/replace function by a program
The following figure shows an operation example of changing the present value to the preset value (100) at any
timing.
Turning on CH
Preset/replace command (RY21, RY39) by a program performs the preset/replace function.
*1
For
Δ
T
1
, refer to Page 283, Appendix 4.
No.
Description
1)
Write any value to CH
Preset value setting (RWw14 to RWw15, RWw2C to RWw2D) in 32-bit binary.
(Setting range: -2147483648 to 2147483647)
2)
The value in CH
Preset value setting (RWw14 to RWw15, RWw2C to RWw2D) is stored in CH
Present value (RWr10 to RWr11,
RWr28 to RWr29) at the rising edge (off to on) of CH
Preset/replace command (RY21, RY39). Also, CH
Preset/replace
completion (RX21, RX39) turns on.
When turning off CH
Preset/replace command (RY21, RY39) after checking CH
Preset/replace completion (RX21, RX39) turns
on, CH
Preset/replace completion (RX21, RX39) turns off.
The value can be replaced regardless of the ON/OFF status of CH
Count enable command (RY24, RY3C).
t
t
0
100
1)
2)
t T
1*1
ON
OFF
OFF
ON
OFF
CH Count enable command
(RY24, RY3C)
Counter pulse
CH Preset value setting
(RWw14 to RWw15, RWw2C to RWw2D)
CH Preset/replace completion
(RX21, RX39)
CH Preset/replace command
(RY21, RY39)
CH Present value
(RWr10 to RWr11, RWr28 to RWr29)
0
1
2 to 65 66 67 68 100 101102103 104100 101102103 104
Controlled by the high-speed counter module
Controlled by the program
Summary of Contents for NZ2GFCF-D62PD2
Page 1: ......
Page 2: ......
Page 54: ...52 Memo ...
Page 206: ...204 Memo ...
Page 303: ......
Page 304: ......