Commissioning; Profinet Features; Alarms; Record Data - Beckhoff EL6631-0010 Manual

Profinet device supplement
Table of Contents

Advertisement

Commissioning

4
Commissioning
4.1

PROFINET Features

4.1.1

Alarms

PROFINET alarm
PROFINET alarms can also be transmitted through the ADS interface.
An ADS WRITE block is to be used for this.
ADS WRITE
AMSNETID
PORT
Index Group
Index Offset
No further data is transmitted.
PROFINET alarm (examples)
ALARMS
0x0000
0x0001
0x0002
0x0003
0x0004
0x0005
...
4.1.2

Record data

PROFINET record data
PROFINET record data can also be received directly by means of the PLC. To do this an "indication" is set in
the PLC ( (READINDICATION for reading and WRITEINDICATION for writing). The RECORD data structure
has the following description:
       WORD                 RW;
            #define      PN_READ            0
            #define      PN_WRITE           1
       WORD                 NrOfAR;
       DWORD               API;
       WORD                 Slot;
       WORD                 SubSlot;
       PNIO_RECORD    RecordData;
Record Data
       WORD         Index;      
       WORD         Length;                    //zum Lesen auf 0
       WORD         TransferSequence;  
       WORD         LengthOfAligned;
30
Comment
AMS Net ID of the PROFINET device
0xFFFF (if a virtual PROFINET device is used, the port number is formed from
0x1000 + the device ID)
High word - alarm type (see PROFINET specification), low word - 0xF807
High word - slot number, low word - sub slot number
Comment
reserved
Diagnosis appears
Process
Pull
Plug
Status
further diagnostic messages (see PROFINET specification)
Version: 3.4.0
EL6631-0010

Advertisement

Table of Contents
loading

Table of Contents