APPENDICES
Appendix 1 Module Label
53
A
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
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:
■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:
■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.
Data type Description
stnBufferBlock0 Used for pulse count mode.
stnPulseMeasuring Used for pulse measurement mode.
stnPWM Used for PWM output mode.
stnSynchronousRefreshArea0 Used for the inter-module synchronization function.
Data format Description
u 16-bit unsigned binary value
d 32-bit signed binary value
udn 32-bit unsigned binary value
Type Description Access timing Example
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".
At the auto refresh RD62_1.stnBufferBlock0[0].dPr
esentValue
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.
At writing to or reading
from the module label
RD62_1.stnBufferBlock0_D[0].d
PresentValue_D