Alarms
PROFINET alarms can also be transmitted through the ADS interface.
PROFINET alarm
An ADS WRITE function 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 diagnosis messages (see PROFINET specification) |
Supported PROFINET alarm types The alarm types are defined in the structure |