6. COMMUNICATIONS THAT REQUIRE THE SEQUENCE PROGRAM
MELSEC-A
6-1
6. COMMUNICATIONS
THAT
REQUIRE
THE SEQUENCE PROGRAM
This chapter explains the communication services that require the sequence program when the
AJ71PB96F/A1SJ71PB96F conducts the communication services.
6.1
FMS Service and Command No.
Use the following command Nos. to identify the communication services used when the receive area is
used to execute a communication service or an unconfirmed service is received by the receive area.
Communication service name
Command
Description
Initiate
Abort
Status
UnsolicitedStatus
Identify
Read
Write
InformationReport
FMA7 Abort
0010h
0020h
0040h
0050h
0060h
01a0, 01a1h
01c0, 01c1h
01e0, 01e1h
2020h
Connection initiated
Connection aborted
Partner station status information acquired
PC CPU status notification
Identification information acquired
Data read
Data write
Arbitrary data transmitted
FMA7 connection aborted
6.2
Program Example
A programming example is shown below.
In the following example, the AJ71PB96F/A1SJ71PB96F is installed in the basic base unit No. 0 slot.
Examples of the Write service that uses the request area and the Information Report that uses the
receive area are shown.
6.2.1 Write
An example for the execution of the write service that uses the request area No. 1 is shown.
In the following example, D100 to D123 are used to set the write control data and D300 is used to set
the write data. In addition, the execution results are stored in D200 to D202.
(1) Request data set (TO instruction)
Write command
Connection identification No.
Access mode = INDEX
INDEX = 123h
Subindex = 6
Write control data set
Write data settig
Write data set
Request issue