Mitsubishi Electric RD62P2E Application User's Manual page 55

High-speed counter module
Table of Contents

Advertisement

Module labels of buffer memory areas
The module label name of a buffer memory area is defined with the following structure:
"Module name"_"Module number"."Data type"["(Channel)"]."Data format""Label name" or
"Module name"_"Module number"."Data type"_D["(Channel)"]."Data format""Label name"_D
Ex.
RD62_1.stnBufferBlock0_D[0].dPresetValueSetting_D
■Module name
The character string of a module model name is given.
■Module number
A number starting from 1 is added to identify modules that have the same module name.
■Data type
The data type to sort a buffer memory area is given. Each data type is as follows:
Data type
stnBufferBlock0
stnPulseMeasuring
stnPWM
stnSynchronousRefreshArea0
■Channel
The channel number corresponding to a module label is given. If the object belongs to CH1, 0 is given. If the object belongs to
CH2, 1 is given.
■Data format
The string that represents the data size of a buffer memory area is given. Each data format is as follows:
Data format
u
d
udn
■Label name
The label identifier unique to a module is given.
■_D
This string indicates that the module label is for the direct access. A module label without the string is for the auto refresh. The
following shows the differences between the auto refresh and the direct access.
Type
Description
Auto refresh
Writing to and reading from the module label is reflected in the
high-speed counter module collectively at the auto refresh. The
execution time of the program can be shortened. To use the auto
refresh, select the module label for "Target" in "Refresh settings" of
"Module Parameter".
Direct access
Writing to and reading from the module label is reflected in the
high-speed counter module instantly. Although the execution time
of the program is longer than the one at the auto refresh, the
responsiveness is improved.
Description
Used for pulse count mode.
Used for pulse measurement mode.
Used for PWM output mode.
Used for the inter-module synchronization function.
Description
16-bit unsigned binary value
32-bit signed binary value
32-bit unsigned binary value
Access timing
Example
At the auto refresh
RD62_1.stnBufferBlock0[0].dPr
esentValue
At writing to or reading
RD62_1.stnBufferBlock0_D[0].d
from the module label
PresentValue_D
Appendix 1 Module Label
A
APPENDICES
53

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Rd62d2Melsec iq-r seriesRd62p2

Table of Contents