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)  |