Program Example - Mitsubishi MELSEC-A AJ71PT3 User Manual

Table of Contents

Advertisement

5. PROGRAMMING
5.5 Program Example
IMELSEC;4
The program on the following pages is written for the system
shown below which uses both the batch and partial refresh type
remote I/O units.
Master
station
J
I
AJ35PT-72
I
I
I
/
AJ35PTF-
AJ35PTF-
I"
~
:;:
AJ35PJ-8D
28DT
1280T
\
~
Station '13
Station 1
Station 14
\
Station 5
(occupying
1
(occupying 4
{occupying 4
(occupying 8 stations)
station)
stations)
stations)
Power supply module
I
REMARKS
I
Note on setting the station numbers:
The number of FROM and TO instructions used to transfer data of all remote 1/0
stations can be reduced by setting the remote I/O station numbers. The above
system example indicates the station number setting which allows the batch
refresh receive data to be read
by
one FROM instruction.
(1) Entering the batch refresh communication data sheet
[Batch refresh transmission data assignment]
[Batch refresh
receive
data assignment]
Buffer
Remote 110 Station
I
~~~
:
=
~51
B~t
Buffer
Remote
110 Station
I
Upper: bO to 7
1
Bul
Memory
Remarks
Mem
Memory
Lower: b8
to
15
Remarks
Me
Address
Station
I/O
Device
Addr
Address
Station
I/O
Device
Ad
number
address
number
address
1
to
to
Em",
1
XOt07
M200to 207
10
IReceive Mion
110
AJ35PTF·280T
,.
",,,,,,,.
2
to
to
lOOn
2
X8to F
M208 to 215
3
Yl0 to 17
Y90to 97
3
to
to
Empty
1
AJ35PTF·28DT
1
(Transmission
station lor
\
Y18to 18
Y98to 98
to
to
AJ35?TF·280n
5
VOt07
YAOto A7
5
to
to
\
2
2
Empty
6
V8to F
YASto AF
6
to
to
(Transmission
AV410IAJI2PT:l5
\
station lor
I
7
Yl0 to 17 YBO to 87
7
to
to
AX4101
3
3
AJ72PT35l
8
Y18to IF
YB8to SF
8
to
to
9
to
to
9
XOt07
M216 to 223
3
10
to
to
Em",
10
X8to F
M224 to 231
(Receive Slation
AX4I o( AJ72PT:l5
for AX4101
11
to
to
AJ72PT:l5l
11
X10to 17 M232 to 239
5
5
12
to
to
12
X18to lF
M240 to 247
.-
13
XOt07
M248 to 255
13
to
to
, . _. . .",;0.10<
AJ35PJ·80
6
Al35PJ-801
6
"
to
to
,.
to
to
_
..
-
Reserved
fo,system
15
to
to
,
. .
AJ3SPTF·
15
to
to
las
AJ3SPTF·
D
7
12801 is a partial
7
12801 is
a
partial
,efresh
type
'e-
'efresh
type
-e-
15
to
to
mole
110
"nill
16
to
to
mote
110
unil)
17
to
to
~
17
to
to
8
8
to
to
-
to
L.--
5-13

Advertisement

Table of Contents
loading

Table of Contents