EasyManua.ls Logo

Beckhoff EL6631-0010 - 4 Commissioning; PROFINET Features; Alarms; Record Data

Beckhoff EL6631-0010
82 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Commissioning
EL6631-001030 Version: 3.4.0
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 Comment
AMSNETID AMS Net ID of the PROFINET device
PORT 0xFFFF (if a virtual PROFINET device is used, the port number is formed from
0x1000 + the device ID)
Index Group High word - alarm type (see PROFINET specification), low word - 0xF807
Index Offset High word - slot number, low word - sub slot number
No further data is transmitted.
PROFINET alarm (examples)
ALARMS Comment
0x0000 reserved
0x0001 Diagnosis appears
0x0002 Process
0x0003 Pull
0x0004 Plug
0x0005 Status
... further diagnostic messages (see PROFINET specification)
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;

Table of Contents

Related product manuals