7-171
PRC
1
2
3
4
6
6
7
8
7.9 Display instructions
7.9.2 Print comment instruction (PRC)
1. For device comments used with the PRC instruction, use comment files stored
in the memory card Standard Rom.
Comment files stored in the program memory cannot be used.
2. The comment file used by the PRC instruction is set at the "PLC File Setting"
option in the PLC parameter dialog box.
If no comment file has been set for use by the PLC file setting, it will not be
possible to output device comments with the PRC instruction.
3. Do not execute the PRC instruction during an interrupt program.
Otherwise, malfunction may occur.
Operation Error
(1) In the following case, an operation error occurs, the error flag (SM0) turns ON, and an error
code is stored into SD0.
• The PRC instruction is executed while a comment is written during RUN.
(Error code: 4100)
Program Example
(1) Program which outputs the comment of Y60 to Y30 to Y39 when X0 is turned ON.
[Ladder Mode] [List Mode]
Step
Instruction
Device