EasyManua.ls Logo

Mitsubishi Electric RD62P2E - Setting a Counting Method; Reading the Present Value

Mitsubishi Electric RD62P2E
92 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
16
1 FUNCTIONS
1.1 Pulse Input Modes and Counting Methods
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).
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.
Description Present value Counter function selection count value
Latch count
value
Sampling count
value
Cycle pulse
count previous
value
Cycle pulse
count current
value
Cycle pulse
count difference
value
Buffer memory
address
Un\G2 to Un\G3 Un\G12 to Un\G13 Un\G14 to Un\G15 Un\G16 to Un\G17 Un\G18 to Un\G19 Un\G24 to Un\G27

Table of Contents

Related product manuals