Setting A Counting Method; Reading The Present Value - Mitsubishi Electric RD62P2E Application User's Manual

High-speed counter module
Table of Contents

Advertisement

Setting a counting method

Set a counting method in "Basic setting" For details on the setting method, refer to the following.
Page 39 Basic Setting

Reading the present value

This section describes the details on the present value stored in the buffer memory and the count values selected from the
counter function selection, and their reading method.
When the refresh setting is used
By configuring the refresh setting, writing and reading data can be performed without creating a communication program for
the high-speed counter module. For details on the setting method, refer to the following.
Page 43 Refresh Setting
When the refresh setting is not used
■Storage location of the count value
The present value is always stored in CH1 Present value (Un\G2 to Un\G3) regardless of the counter function used.
When the latch counter function, sampling counter function, or cycle pulse counter function is performed, the counter function
selection count value is stored in the corresponding buffer memory addresses listed in the following table besides CH1
Present value (Un\G2 to Un\G3).
Description
Present value
Buffer memory
Un\G2 to Un\G3
address
■Stored data
The present value and the counter function selection count values are stored in the buffer memory in 32-bit signed binary.
However, only the cycle pulse count difference value is stored in the buffer memory in 64-bit signed binary. The values in the
buffer memory are automatically updated depending on the count operation.
1 FUNCTIONS
16
1.1 Pulse Input Modes and Counting Methods
Counter function selection count value
Latch count
Sampling count
value
value
Un\G12 to Un\G13
Un\G14 to Un\G15
Cycle pulse
Cycle pulse
count previous
count current
value
value
Un\G16 to Un\G17
Un\G18 to Un\G19
Cycle pulse
count difference
value
Un\G24 to Un\G27

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Rd62d2Melsec iq-r seriesRd62p2

Table of Contents