3
- 15
3.4 Buffer Memory Assignment
3.4.2 Details of the buffer memory
3
SPECIFICATIONS
(7) Periodic counter flag (Un\G13)
• Operation status of the function is stored in this area during execution of the
periodic pulse counter function (refer to Section 5.5).
• "0" is stored during stop of the periodic pulse counter function and "1"is stored
during execution of the function in the periodic counter flag (Un\G13).
Figure 3.7 Timing chart for the periodic counter flag (Un\G13)
(8) Previous periodic pulse count value (Un\G14 and 15), present periodic
pulse count value (Un\G16 and 17), and judgment value for updated
periodic pulse count value (Un\G18 and 19)
• This area is used at the periodic pulse counter function (refer to Section 5.5)
execution.
• For general operation, refer to the periodic pulse counter function (Section 5.5).
• After the update of the previous periodic pulse count value (Un\G14 and 15) and
present periodic pulse count value (Un\G16 and 17), the previous periodic pulse
count value (Un\G14 and 15) is stored in the judgment value for updated periodic
pulse count value (Un\G18 and 19).
• If the previous periodic pulse count value (Un\G14 and 15) and judgment value
for updated periodic pulse count value (Un\G18 and 19) are not equal,
inconsistency occurs. Reread the previous periodic pulse count value (Un\G14
and 15), present periodic pulse count value (Un\G16 and 17), and judgment
value for updated periodic pulse count value (Un\G18 and 19).
• The range of a value to be read is from -2147483648 to 2147483647 (32-bit
signed binary).
(9) Error code (Un\G20)
• Code of the detected error (refer to Section 8.5) is stored in this area.
• For operations when multiple errors occur concurrently, refer to POINT in Section
Performed by the QD63P6.
Present value A
(Un\G10 and 11)
Periodic pulse
counter start command
(Y05)
Period setting
(Un\G9)
Previous periodic pulse
count value
(Un\G14 and 15)
Present periodic pulse
count value
(Un\G16 and 17)
Judgment value
for updated periodic pulse
count value
(Un\G18 and 19)
Periodic counter flag
(Un\G13)
OFF
OFF
ON
ON
T1
2
3
4
1
0
2
3
1
0
T2
T1
0
2
1
0
2
1
0
T1
*
* Period setting (Un\G9) when the periodic pulse counter start
command (Y05) changes from OFF to ON becomes effective.