5
FUNCTIONS
5.4
Downloaded from
ManualsNet.com
Using the Preset Function
The preset function is used to replace the counter's present value A (Un\G10 and 11)/
present value B (Un\G200 and 201) with any given value (preset value), from which the
pulse counting can be started.
(1) Preset function operation
The preset function is activated by turning ON the preset command (Y02) on the
sequence program.
Figure 5.11 contains the I/O numbers (X/Y) and buffer memory addresses of channel
1 only. For channels 2 to 6, refer to Section 3.3.1 and Section 3.4.1.
Count enable command (Y04)
Counter input pulse
Preset value setting (Un\G4 and 5)
Preset command (Y02)
Present value A (Un\G10 and 11)
Figure 5.11 Preset function operation example
No.
Writes any value into the preset value setting (Un\G4 and 5) of the QD63P6 in
1)
the 32-bit binary format.
When the preset command (Y02) rises (from OFF to ON), a value in the preset
value setting (Un\G4 and 5) is stored in the present value A (Un\G10 and 11)/
2)
present value B (Un\G200 and 201).
The preset function can be executed regardless of the ON/OFF status of the
count enable command (Y04).
search engine
ON
OFF
1)
0
100
ON
OFF
0
1
2
to
65
66
Table 5.4 Details of the preset function operation example
Description
5.4 Using the Preset Function
t*
2)
67
100
101
102 103 104 105
* t
2ms
1
2
3
4
5
6
7
8
5
- 17