Mitsubishi Electric MELSEC iQ-R Series Programming Manual page 1784

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

Advertisement

■Applicable devices
Operand
Bit
X, Y, M, L,
SM, F, B, SB,
FX, FY
(U)
(s)
*1
(d)
*1 FX and FY cannot be used.
*2 FD cannot be used.
*3 T, ST, C, and FD cannot be used.
■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 write the data of the CPU module to the recipe file.
• 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).RCPWRITE 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).RCPWRITE 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).RCPWRITE 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).RCPWRITE instruction completes, and turns off during
the next END processing.
• The following figure shows how the Z(P).RCPWRITE instruction operates during execution.
0
Sequence scan
Z(P).RCPWRITE instruction
Completion device (d)
OFF
Completion status
OFF
indication device (d)+1
23 High Speed Data Logger Module Instructions
1782
23.1 File Access Instructions
Word
J\
T, ST, C, D, W,
SD, SW, FD,
R, ZR, RD
*2
*3
Description
The completion status is stored upon completion of the instruction.
• 0: Completed successfully
• Other than 0: Completed with an error (error code)
Record number of data to be written
Specifies the recipe name in which the data of the CPU module is written.
characters)
END
0
END
Execution of
Completion of
the instruction
the instruction
Double word
U\G, J\,
Z
LT, LST,
U3E\(H)G
LC
*1
0
END
0
END
0
ON
OFF
Completed
ON
with an error
OFF
Completed
successfully
1 scan
Indirect
Constant
specification
LZ
K, H E
Setting range
1 to 256
*2
(Up to 32
String
END
Others
(U)
$
Set by
System
User
User

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents