As 512 Protocol - Siemens SINUMERIK 840 Planning Manual

Computer link, general description
Hide thumbs Also See for SINUMERIK 840:
Table of Contents

Advertisement

3 Interface Modules

3.4.3 AS 512 protocol

3.4.3
AS 512 protocol
For the active serial interface module, AP 512 is used as protocol (AP 512 header) in all
procedures.
This protocol corresponds to the protocol of interface module 512 for SIMATIC.
In case of the computer link with the SINUMERIK 8X0, it is interpreted or generated on the
interface module CP 315 by the device management.
SINUMERIK 8X0 uses the AP 512 header only to multiplex on one interface.
It is therefore possible to address several logical partners on one serial interface with the aid of
the addressing parameters in the AP 512 header.
The parameters of the AP 512 header are not used for addressing within the SINUMERIK 8X0
system, this is done by means of the identification section of the SINUMERIK message
frames.
By using the AP 512 protocol, the SINUMERIK 8X0 can be connected easily to other
programmable controllers which use the AP 512 protocol, as e.g. SIMATIC.
The AP 512 header of the initial message frames consists of 10 bytes, followed by another two
bytes for the message frame length. The message frame header is abbreviated in the case of
response message frames, subsequent message frames and subsequent response message
frames.
The response message frames can be suppressed if required.
With initial message frames the AP 512 header consists of 5 values at one word each:
Identification,
Command,
Destination,
Data volume and
Coordination flag
The fields of the AP 512 header are used as follows:
Identification
0000
for initial message frame
Hex
00FF
for subsequent message frame
Hex
Command configurable
ASCII AD = 4144
output of a DB
Hex
ASCII AX = 4158
data block output of an expanded DX data block
Hex
Destination configurable
0408
starting address in destination data block
Hex
(data block no., data word no.) e.g. DB4DW08
Data word quantity variable
The variable value specifies the number of the message frame data words,
e.g. 0064A
, i.e. 100 data words
Hex
Co-ordination flag configurable
The byte and bit address of the respective flag is specified,
e.g. 0607
, i.e. flag byte 6 flag bit 7.
Hex
3–34
© Siemens AG 1989 All Rights Reserved
06.91
6FC5 197-0AB20-0BP0
SINUMERIK 840/880 (PJ)

Advertisement

Table of Contents
loading

Table of Contents