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.
Содержание QD62
Страница 1: ......
Страница 2: ......
Страница 13: ...A 11 A 11 MEMO ...
Страница 55: ...4 18 4 18 MELSEC Q 4 SETUP AND PROCEDURE BEFORE STARTING THE OPERATION MEMO ...
Страница 91: ...7 17 7 17 MELSEC Q 7 UTILITY PACKAGE GX Configurator CT Counter selection 1 Coincidence output Ring counter ...
Страница 97: ...8 5 8 5 MELSEC Q 8 PROGRAMMING 3 Program example a Set only when the linear counter is used ...
Страница 100: ...8 8 8 8 MELSEC Q 8 PROGRAMMING 2 Program example a Set only when the ring counter is used ...
Страница 127: ......
Страница 128: ......