EasyManua.ls Logo

Mitsubishi Electric MELSEC-Q/L - Page 834

Mitsubishi Electric MELSEC-Q/L
1084 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...
832
8 INSTRUCTIONS FOR DATA LINK
8.3 Refresh Device Write/Read Instructions
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.
Program example
The following program writes 16 device values in B100 to the head of the refresh device (offset: 0) assigned for the remote
output (RY) in the remote I/O 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.
Precautions
Do not execute the instruction in an interrupt program. If the instruction is executed, no processing is performed. In
addition, the completion device ((D1)+0), the completion device ((D1)+1), and SM739 do not turn on. If the instruction is
executed in a fixed scan execution type program, they also do not turn on.
When the instruction is executed, do not rewrite the device data in (S2) until the completion device turns on.
Error
code
Error details Q00J/
Q00/
Q01
QnH QnPH QnPRH QnU LCPU
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
[Ladder Mode] [List Mode]
Step Instruction Device

Table of Contents

Related product manuals