EasyManua.ls Logo

Mitsubishi Electric MELSEC-Q/L - Page 832

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...
830
8 INSTRUCTIONS FOR DATA LINK
8.3 Refresh Device Write/Read Instructions
Processing details
The contents of the data stored in the area starting from (S1) are as indicated below.
Instruction execution possibility of an execution type for each program.
To write data to a refresh device, the data reflection to the station number specified by the instruction is executed at the
timing for the auto refresh.
Number of points specified in n2 is written from the device specified in (S2) to the offset specified in (S1)+2 of the refresh
device assigned for the device specified in (S1)+1 of the target station specified in n1 and (S1)+0.
At the above configuration, number of points specified in n2 is written from the device specified in (S2) to the offset (Y1078)
specified in (S1)+2 of the device assigned for the station number 4.
Device Item Setting contents Setting range
(S1)+0 Station number Station number for the station assigned the refresh device which writes data.
When the link special relay (SB) is specified as type of (S1)+1, the setting is disabled.
1 to 120
(S1)+1 Type Type of the refresh device which writes data
1: Remote input (RX)
2: Remote output (RY)
3: Link special relay (SB)
1 to 3
(S1)+2
(S1)+3
Offset Offset from the head of the refresh device assigned the device specified in (S1)+0 and (S1)+1 0 to 2147483647
Enabled: Initial program and scan execution type program
Disabled: Fixed scan execution type program and interrupt program
Refresh device
Y1000
CPU module
CPU
module
Master
station:
Station
No. 0
Specified
station:
Station
No. 4
Station
No. 1
Remote output (RY)
CC-Link master station:
Station No. 0
Start I/O No.: 0000
H
Start I/O No.: n1=0
Remote output (RY)
Remote output (RY)
Remote device station:
Station No. 1
Remote device station:
Station No. 4
.....
.....
Type: +1=2S1
Station number:
+0=4
S1
Refresh device areas assigned for station No. 4
Y100F to Y1000
Y101F to Y1010
Y102F to Y1020
Y103F to Y1030
Y104F to Y1040
Y105F to Y1050
Y106F to Y1060
Y107F to Y1070
Y108F to Y1080
Y109F to Y1090
Y10AF to Y10A0
Y10BF to Y10B0
RY0F to RY00
RY1F to RY10
RY0F to RY00
RY1F to RY10
RY0F to RY00
RY1F to RY10
RY2F to RY20
RY3F to RY30
RY4F to RY40
RY5F to RY50
RY6F to RY60
RY7F to RY70
RY8F to RY80
RY9F to RY90
RYAF to RYA0
RYBF to RYB0
[Structure]
Start number of the device
where target data is stored:
Number of
write points:
n2=4
Offset reference point
(start point: 0)
Y1078 is the 24th bit from the offset reference
point. Specify the offset in hexadecimal, 18
H.
Refresh device areas
assigned for the remote
output (RY) of station No. 4
=M1240S2
+2=18HS1
Y1060
Y1070
M1240
9
FEDCBA9876543210
FEDCBA9876543210
876543210

Table of Contents

Related product manuals