Preset Function - Mitsubishi Electric RD62P2E Application User's Manual

High-speed counter module
Table of Contents

Advertisement

1.4

Preset Function

This function overwrites the present counter value with the set numerical value. The set value is referred to as a preset value.
This function can be used to start counting pulses from the preset value. The function can be performed using a program or
an external control signal.
Setting method
1.
Set "Counter operation mode" to "Pulse count mode".
2.
Set a preset value to "Preset value setting".
Navigation window  [Parameter]  [Module Information]  Module model name  [Module Parameter]  [Basic
setting]
Item
Preset value setting
Performing the preset function using a program
Perform the preset function by turning on CH1 Preset command (Y1) using a program.
CH1 Count enable command
(Y4)
Counter input pulse
CH1 Preset value
(Un\G0 to Un\G1)
CH1 Preset command
(Y1)
CH1 Present value
(Un\G2 to Un\G3)
No.
Description
(1)
Write a value into CH1 Preset value setting (Un\G0 to Un\G1) in 32-bit signed binary.
(2)
On the rising edge (off and on) of CH1 Preset command (Y1), the value in CH1 Present value (Un\G2 to Un\G3) is replaced with the value in CH1
Preset value setting (Un\G0 to Un\G1).
The preset function can be performed regardless of the on/off status of CH1 Count enable command (Y4).
1 FUNCTIONS
24
1.4 Preset Function
ON
OFF
0
ON
OFF
0
1
2
to
65
Setting range
-2147483648 to 2147483647
(1)
100
(2)
66
67
100
101
102 103 104 105

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Rd62d2Melsec iq-r seriesRd62p2

Table of Contents