Siemens SINUMERIK 840 Planning Manual page 68

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

Advertisement

06.91
Example:
Send message frames from SINUMERIK 8X0 to another station (e.g. PLC)
In figures "AS 512 action message frame", "AS 512 response message frame", "AS 512
subsequent message frame" and "AS 512 subsequent response message frame", a message
frame sequence between SINUMERIK 8X0 and another station (PLC) is shown as an example.
For these figures the following assumptions were made:
SINUMERIK 8X0 sends message frames to the PLC (SINUMERIK is active)
Response message frames are used
The block length set on the CP 315 is 128 bytes
The data volume to be sent is more than 128 bytes (e.g. 200 bytes)
On the basis of the above assumptions, the following sequence results for the session:
PLC
1. Action message frame
2. Response message frame
3. Subsequent message frame
4. Subsequent response message frame
The session begins with an action message frame which is sent by SINUMERIK 8X0 to the
PLC.
The message frame consists of the protocol header and the message frame data. The header
includes the identification, the command (data transmission direction and addressing mode),
the destination address, the data quantity and the coordination flag.
Identification
The 0000
entry in the identification field informs the message frame receiver that this is
Hex
an initial message frame
Command
In the command field, the job type is specified. In the case of a data block output, this field
contains for example AD (ASCII) = 4144
Destination
In the destination field the destination data block of the receiver is specified in which the
data is to be stored. Furthermore, in the destination field the data word is specified from
which the entries are made in the destination data block. In figure "AP 512 action message
frame" DB4, DW 8 = 0408
© Siemens AG 1989 All Rights Reserved
SINUMERIK 840/880 (PJ)
SINUMERIK 8X0
Hex
has been entered.
Hex
6FC5 197-0AB20-0BP0
3 Interface Modules
3.4.3 AS 512 protocol
3–39

Advertisement

Table of Contents
loading

Table of Contents