EasyManua.ls Logo

Mitsubishi Electric MELSEC iQ-R Series - Page 1785

Mitsubishi Electric MELSEC iQ-R Series
2110 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
23 High Speed Data Logger Module Instructions
23.1 File Access Instructions
1783
23
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 writes the data of the CPU module in the device value of record 4 of the file (recipe01.CSV) in
the RECIPE folder, if M28 is turned ON.
Precautions
The Z(P).RCPWRITE instruction cannot be executed additionally while another Z(P).RCPWRITE 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).RCPWRITE 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).RCPREAD) other than the Z(P).RCPWRITE instruction is accessing the
same file. When accessing the same file, apply an interlock between the dedicated instructions.
The Z(P).RCPWRITE instruction cannot be used in the interrupt program.
Operation error
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.
Error code ((s)+1) Description
1000H to 3FFFH MELSEC iQ-R High Speed Data Logger Module User's Manual(Application)
Normal processing
Abnormal processing

Table of Contents

Other manuals for Mitsubishi Electric MELSEC iQ-R Series

Related product manuals