Mitsubishi Electronics OD62D TV Mount User Manual


 
5 - 11 5 - 11
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
Perform the preset function by turning on CH Preset command (Y1, Y9) in the
sequence program.
ON
OFF
ON
OFF
101100676665210
Counter input pulse
CH Count enable command
(Y4, YC)
CH Preset command
(Y1, Y9)
CH Present value
(Un\G2, Un\G3, Un\G34, Un\G35)
CH Preset value setting
(Un\G0, Un\G1, Un\G32, Un\G33)
1000
1)
2)
102 103 104 105
to
Number Description
1)
Write a value to CH Preset value setting (Un\G0, Un\G1, Un\G32, Un\G33) in
32-bit signed binary.
2)
On the rising edge (off to on) of CH
Preset command (Y1, Y9), the value
stored in CH Present value (Un\G2, Un\G3, Un\G34, Un\G35) is replaced with
the value stored in CH
Preset value setting (Un\G0, Un\G1, Un\G32, Un\G33).
The preset function is performed regardless of the on/off status of CH
Count
enable command (Y4, YC).