Mitsubishi Electric MELSEC iQ-R Series Programming Manual page 1787

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

Advertisement

■Control data
Operand: (s)
Device
Item
+0
System area
+1
Completion status
+2
Record number
+3 to +7
System area
+8 to +23
File name
+24 to +31
System area
*1 Refer to the recipe file format. (MELSEC iQ-R High Speed Data Logger Module User's Manual(Application))
*2 Specify the recipe file name in ASCII code.
Processing details
• Specify the recipe file of the SD memory card and then read the device value on the recipe file to the CPU module.
• A file from the RECIPE folder of the SD memory card can be specified as the recipe file.
• Normal/error completion of the Z(P).RCPREAD instruction can be checked with the completion device (d) and the
completion status indication device (d)+1.
• Completion device (d)
This device turns on during END processing of the scan where the Z(P).RCPREAD instruction completes, and turns off during the next END processing.
• Completion status indication device (d)+1
The completion device turns on or off depending on the completion status of the Z(P).RCPREAD instruction.
When completed successfully: The device remains off.
When completed with an error: The device turns on during END processing of the scan where the Z(P).RCPREAD instruction completes, and turns off during
the next END processing.
• The following figure shows how the Z(P).RCPREAD instruction operates during execution.
0
END
Sequence scan
Execution of
the instruction
Z(P).RCPREAD instruction
Completion device (d)
OFF
Completion status
OFF
indication device (d)+1
Setting data
The completion status is stored upon completion of the instruction.
• 0: Completed successfully
• Other than 0: Completed with an error (error code)
*1
Record number of data to be read
Specifies the recipe name in which the data of the CPU module is read.
characters)
0
END
0
END
Completion of
the instruction
*2
(Up to 32
0
END
0
END
ON
OFF
Completed
ON
with an error
OFF
Completed
successfully
1 scan
23 High Speed Data Logger Module Instructions
Setting range
Set by
System
1 to 256
User
String
User
1785
23.1 File Access Instructions
23

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents