R30PA2
5-2-55, Minamitsumori, Nishinari-ku, Osaka 557-0063 JAPAN
Phone: +81(6)6659-8201 Fax: +81(6)6659-8510 E-mail: info@m-system.co.jp
EM-9022 Rev.1 P. 4 / 7
COUNTER SETTING FROM HOST PC/PLC
■
COUNT RESET
(Available for R30NECT1, R30NCIE1)
In n+0 word of the output data from host PC/PLC, the bits to reset the totalized value of each channel are allocated.
By changing the bits from 0 to 1, the totalized value data of each channel is reset. When it is confirmed that the totalized
values are reset, return the bits to 0.
Notice that if the reset bit remains at 1, the next reset will not work.
■
COUNT PRESET
(Available for R30NECT1, R30NCIE1)
Write the preset values in n+2 and n+3 word of the output data from host PC/PLC. As the bits to preset the totalized value of
each channel are allocated in n+1 word, by changing the bits from 0 to 1, the preset values are reflected to the totalized value
data of each channel.
When it is confirmed that the totalized values are preset, return the bits to 0.
Notice that if the preset bit remains at 1, the next preset will not work.
0
15
Count reset CH.1
Count reset CH.2
Unused
Unused
OUTPUT DATA n+0
0
15
Count preset CH.1
Count preset CH.2
Preset value (Lower 16 bits)
Preset value (Upper 16 bits)
Unused
Unused
OUTPUT DATA n+1
OUTPUT DATA n+2
OUTPUT DATA n+3
0
15
0
15
•
•
•
•
•
•
•
•
•
•
•
•
Note: When reset and preset are simultaneously output, reset overrides preset.
DATA ALLOCATION
ADDRESS
CONTENTS
+0
Input 1 totalized value (lower 16 bits)
+1
Input 1 totalized value (upper 16 bits)
+2
Input 2 totalized value (lower 16 bits)
+3
Input 2 totalized value (upper 16 bits)