5 - 10 5 - 10
MELSEC-Q
5 BASIC USAGE
5.4 Using the Preset Function
The preset function rewrites the present counter value to any numeric value called the
preset value. The preset function can be used when starting the pulse count from the
preset value.
The preset function has two preset methods: preset using a sequence program and
preset using an external control signal.
(1) Preset using a sequence program
Preset is performed by turning the preset command {Y01(Y09)} ON using the
sequence program.
OFF
ON
0
Buffer memory used for
setting the preset value
{Addresses 0
H
to 1
H
(20
H
to 21
H
)}
Input pulse for counting
Preset command
{Y01 (Y09)}
Count enable command
{Y04 (Y0C)}
1)
100
OFF
ON
101
66
65
to
2
1
0
103
Buffer memory used for storing
the present value
{Addresses 2
H
to 3
H
(22
H
to 23
H
)}
104 105
100
67
102
2)
Number Description
1)
Any numeric value is written in 32-bit binary format into the preset value setting
buffer memory (Addresses 0
H
to 1
H
(20
H
to 21
H
)) for the QD62 (E/D).
2)
At the start (OFF to ON) of the preset command, the preset value in the preset
value setting buffer memory is preset in the present value storage buffer
memory. Preset can be executed regardless of whether the count enable
command {Y04(Y0C)} is ON or OFF.
Summary of Contents for QD62
Page 1: ......
Page 2: ......
Page 13: ...A 11 A 11 MEMO ...
Page 55: ...4 18 4 18 MELSEC Q 4 SETUP AND PROCEDURE BEFORE STARTING THE OPERATION MEMO ...
Page 97: ...8 5 8 5 MELSEC Q 8 PROGRAMMING 3 Program example a Set only when the linear counter is used ...
Page 100: ...8 8 8 8 MELSEC Q 8 PROGRAMMING 2 Program example a Set only when the ring counter is used ...
Page 127: ......
Page 128: ......