Mitsubishi Electric MELSEC iQ-R Series Programming Manual page 1788

Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

■Program example
The following shows an example of a program in which the high speed data logger module mounted in the position of the I/O
number X00 to X1F/Y00 to Y1F, reads the data of the device value of record 1 of the file (recipe01.CSV) in the RECIPE folder
to the CPU module, if M28 is turned ON.
Precautions
• The Z(P).RCPREAD instruction cannot be executed additionally while another Z(P).RCPREAD instruction is being
executed. (If executed, no processing is performed.) For errors detected at the instruction execution, the completion device
(d) and completion status indication device (d)+1 are not turned ON.
• The Z(P).RCPREAD instruction cannot be executed when the module stop error is being occurred, or the data logging
function cannot be performed (X5: OFF). (If attempted, an error occurs at the instruction completion.)
• An error may occur when the instruction (Z(P).RCPWRITE) other than the Z(P).RCPREAD instruction is accessing the
same file. When accessing the same file, apply an interlock between the dedicated instructions.
• The Z(P).RCPREAD instruction cannot be used in the interrupt program.
Operation error
Error code ((s)+1)
1000H to 3FFFH
When the instruction completes with an error, the completion status indication device (d)+1 turns on and an error code is
stored in the completion status (s)+1.
23 High Speed Data Logger Module Instructions
1786
23.1 File Access Instructions
Description
MELSEC iQ-R High Speed Data Logger Module User's Manual(Application)
Normal processing
Abnormal processing

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents