User`s manual

274
(4) Error
The following occasion results in an error, and the error code is stored into completion status area, (s)+1. Note
that the error code is not stored into CH1 Latest error code (Un\G1460).
(5) Program example
The following example shows the program which reads the periodic pulse count value of CH 1 for the QD65PD2
mounted to the slot where I/O number X/Y00 to X/Y1F are assigned when the read command M0 is turned ON.
When the periodic pulse count value is read with the PPCVRD instruction, the determination on consistency in the
sequence program is unnecessary.
Error code Description
10
The PPCVRD instruction was performed when both of the following conditions are not met.
• Condition 1: "Operation mode setting" of CH is the normal mode.
• Condition 2: "Counter function selection" of CH is the periodic pulse counter.
The dedicated instruction,
GP.PPCVRD1, is performed.
Performing the processing at error completion