23 High Speed Data Logger Module Instructions
23.1 File Access Instructions
1785
23
■
Control data
*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.
• The following figure shows how the Z(P).RCPREAD instruction operates during execution.
Operand: (s)
Device
Item
Setting data
Setting range
Set by
+0
System area
+1
Completion status
The completion status is stored upon completion of the instruction.
• 0: Completed successfully
• Other than 0: Completed with an error (error code)
System
+2
Record number
Record number of data to be read
1 to 256
User
+3 to +7
System area
+8 to +23
File name
Specifies the recipe name in which the data of the CPU module is read.
(Up to 32
characters)
String
User
+24 to +31
System area
• 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.
END
0
0
END
0
END
END
0
END
0
OFF
OFF
OFF
OFF
ON
ON
Sequence scan
Z(P).RCPREAD instruction
Completion device (d)
1 scan
Completion of
the instruction
Completed
successfully
Execution of
the instruction
Completion status
indication device (d)+1
Completed
with an error
Summary of Contents for MELSEC iQ-R Series
Page 1: ...MELSEC iQ R Programming Manual Instructions Standard Functions Function Blocks ...
Page 2: ......
Page 24: ...22 INDEX 2092 INSTRUCTION INDEX 2093 REVISIONS 2104 WARRANTY 2105 TRADEMARKS 2106 ...
Page 34: ...32 MEMO ...
Page 35: ...33 PART 1 PART 1 OVERVIEW This part consists of the following chapter 1 OVERVIEW ...
Page 68: ...66 1 OVERVIEW 1 5 Precautions on Programming MEMO ...
Page 1448: ...1446 14 REDUNDANT SYSTEM INSTRUCTIONS 14 2 Disabling Enabling System Switching MEMO ...
Page 1972: ...1970 33 TIME DATA TYPE FUNCTIONS 33 4 Division MEMO ...
Page 2067: ...APPX Appendix 5 PID Control Program Examples 2065 A 252 Set PID control data for loop 2 ...
Page 2109: ......