436
PRC
(2) Output signals from the output module are transmitted at the rate of 30 ms per character.
For this reason, the time required to the completion of the transmission of the designated number of characters will be 30
ms n (ms).
At 10ms interrupt intervals, the PRC instruction executes data output, strobe signal ON, and strobe signal OFF. The
other instructions are executed continuously during a period between the above processings.
(3) In addition to the ASCII code, the output module also outputs a strobe signal (10 ms ON, 20 ms OFF) from the + 8
device.
(4) Following the execution of the PRC instruction, the PRC instruction execution flag ( + 9 device) remains ON until the
completion of the transmission of the designated number of characters.
(5) The PRC instruction can be used multiple times, but it is preferable to establish an interlock with the PRC instruction
execution flag ( + 9 device) so that they will not be ON simultaneously.
(6) If no comments have been registered at the device designated by , processing will not be performed.
(7) When a comment is read, SM720 turns ON for one scan after the instruction is completed.
SM721 turns ON during the execution of the instruction.
The PRC instruction cannot be executed while SM721 is ON. If the attempt is made, no processing is performed.
1. For device comments used with the PRC instruction, use comment files stored in the standard ROM or memory card.
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.
Operat
i
on
E
rror
(1) In the following case, an operation error occurs, the error flag (SM0) turns ON, and an error code is stored into SD0.
Error
code
Error details
Q00J/
Q00/
Q01
QnH
QnPH QnPRH
QnU
LCPU
4100
The PRC instruction is executed while a comment is written during
RUN.
––
––
––
––
Strobe signal
OFF
ON
30 ms
10 ms
10 ms
10 ms
10 ms
10 ms
Data output
Execution of sequence program
Processing of PRC instruction
D
D
D
S