6F8C1048 23
Chapter 5 Application
Interface
5.1 Service Interface
The AN712 module interfaces user applications using communication FB (function
block), table transfer and table initialize instructions.
Figure 5-1 is a diagrammatic representation of it.
Figure 5-1 AN712 Module Services and Service Interface
Message transmission to and from the station on the ADMAP-5M is conducted by socket
communication corresponding to UDP/IP, using communication FB instruction. Socket
communication corresponding to UDP/IP is also applied to registering transmission
blocks for scan transmission and setting scan transmission cycles using communication
FB instruction. The leading part of the UDP/IP frame for socket communication has a
header indicating the direction of AN712 module service and information exchange. This
header directs message transmission to and from the stations on the ADMAP-5M, or
identifies scan transmission block and transmission cycle registration instructions for the
712 module itself.
User processing program
(scan transmission, message client)
Communication FB
(
USEND_T, URCV_T
)
Socket interface
Batch I/O or direct I/O
(TMOV, TINZ, REAL, etc.)
SYS/soc
ket info.
Scan
data
S3CPU
AN712
Socket/
ADMAP
conversion
ADMAP-5M basic processing
ADMAP-5M
S
stem information
refresh
Socket communication
ADMAP
management,
(scan record)
Messa
e transmission to and
from the ADMAP-5M station
Common
memory
Service I/F part