Devices at protocol As opposed to the state, more than one status can be displayed in the “PnIoBoxDiag”, i.e. the whole thing is bit-coded and up to 16 pieces of information can be displayed. The following statuses are currently displayed. 0x0000 = No diagnosis Default. Device is not in communication or the TwinCAT project has not yet been activated (general TwinCAT user error) 0x0001 = IOC-AR is not established The startup of the AR was started, but no PrmEnd was sent yet. The exact status can be seen in the DiagHistory. 0x0002 = IOC-AR is established No error, the device has established the connection and is running error-free.
0x0004 = IOC-AR is established but no application ready No error, but the controller has not yet received Application Ready. The duration depends on the device, according to Profinet specification this can take up to 300s. 0x0008 = IOC-AR is established but module difference The connection was established but the target does not match the actual configuration. Check the configuration setting and use the "Diagnostic" dialogs to check which module or submodule does not fit. 0x0010 = At least one AlarmCR got a diagnosis alarm An alarm was received, which can be read by the driver via ADS. After readout an acknowledgement via PnIoBoxCtrl 0x0001 should be made.
The following flags refer to the data status of the cyclic communication. Since theoretically several CRs could be set up for one device, these flags are set if at least 1 CR reports a problem. InputCR is the input direction, these are the frames that the controller receives from the Devices. TS6271 45 Version: 1.2 Num- ber Text Description Remedial action / reason 6 DCP set was not successful There was no reply or an erroneous reply to a DCP Set. Check connection, device connected, was the device called by its correct name? 7 Watchdog error The connection was broken off with a Watchdog error. Check the cycle time, check the connection, if necessary increase the Watchdog factor.
8 Datahold error The connection was broken off with a Datahold error. Frame Data status was invalid for the length of the DataHoldTimer. Restart the device if necessary. 9 RTC3: Sync signal could not started For IRT only: the Sync signal could not be started. Is EtherCAT Sync signal correct or has Sync0 started? 10 PROFINET Controller has a link error The PROFINET controller has no link. Check cable and connection. 11 The aliasname is not unique The alias name is not unique There are two or more devices in the network with the same alias name. This is made up of the neighbourhood information (PortId.ChassisId). A correct identification cannot take place.
12 The automatic name assignement isn't possible - wrong device type The automatic name assignment is not possible. The expected PROFINET device is not in the projected position (VendorId or DeviceId does not correspond). Hence, no automatic naming and thus no device start is possible. 31 only for EtherCAT gateways: WC-State of cyclic EtherCAT frame is 1 For EL6631 only: EtherCAT WC State is 1 Check the mode on the EtherCAT master & slave (OP?).