Mitsubishi Electric MELSEC-Q/L Programming Manual page 838

Hide thumbs Also See for MELSEC-Q/L:
Table of Contents

Advertisement

Operation error
• In any of the following cases, an operation error occurs, the error flag (SM0) turns ON, and an error code is stored into SD0.
Error
Error details
code
4002
The instruction is used for the CPU module that cannot support.
When the module cannot be specified the start I/O number in n1
4004
When the device which cannot be specified is specified
4101
When the specified device exceeds the range of the number of device points
When the start I/O number in n1 is out of the specified range
When the device type number in (S1)+1 is out of the specified range
When the write offset in (S1)+2 is out of the specified range
When the number of write points in n2 is out of the specified range
When the number of write points in n2 exceeds the range of the number of
device points
4102
When the station number in (S1)+0 is out of the specified range
When the station number in (S1)+0 does not exist
When the station number in (S1)+0 is the master station specified in n1
4150
When the start I/O number in n1 is the station type which cannot be specified
When the start I/O number in n1 does not exist in the network parameter
4151
When the device in (S1)+1 of the station number specified in (S1)+0 is not
assigned the refresh device
When the write offset in (S1)+2 exceeds the refresh device range assigned
for the device in (S1)+1 of the station number specified in (S1)+0
When the number of write points in n2 exceeds the assignment range of the
setting for one transfer from the write offset in (S1)+2
Program example
• The following program writes 16 device values in W100 to the head of the refresh device (offset: 0) assigned for the remote
register (RWw) in the remote device station on the station number 32 controlled by the CC-Link master station of the start I/
O number 0080H when X1C is turned on.
[Ladder Mode]
8 INSTRUCTIONS FOR DATA LINK
836
8.3 Refresh Device Write/Read Instructions
Q00J/
QnH
QnPH
Q00/
Q01
[List Mode]
Step
Instruction
Device
QnPRH
QnU
LCPU

Advertisement

Table of Contents
loading

Table of Contents