How to perform a diagnostic
(Original Document)
At a Glance
You can start by using the PCMCIA card LEDs to search for faults on the CANopen bus. Next, you can use the procedure (described below) which details bus start up management and the checks to be carried out using the language objects provided by the PLC.
Procedure
The following table indicates the different phases of the procedure.
How to check %IW0.m.1.0
This table describes the actions to be carried out in order to obtain an accurate diagnostic with the help of bits x8 to x15 of %IW0.m.1.0.
If
Then
bit 8 =1
it is a configuration error
Check the detail of the error codes in the words:
  • %IW0.m.1.1
  • %IW0.m.1.2
bit 9 =1
it is a PDO transfer error
Contact Schneider technical support
bit 10 =1
it is an SDO transfer error
Check the detail of the error codes in the words:
  • %IW0.m.1.1
  • %IW0.m.1.2
bit 11 =1
it is a PCMCIA card error.
  • Check the detail of the error codes in %IW0.m.1.1.
  • Check the contents of %IW0.m.1.3:
    • bit 0: parameter error, the source of the error is indicated in %IW0.m.1.4
    • bit 1: the outputs are at zero after the failure of a slave (Autoclear ON), the source of the error is indicated in %IW0.m.1.4
    • bit 3: serious error, the card is not active on the bus
    • bit 7: faulty connection between the card and the connection unit.
bit 12 =1
it is a bus error (bus not started or transmission error detected).
  • Check the number of bus errors counter %IW0.m.1.5; if it is other than zero, check the line.
  • Check the number of bus stops counter, if it is increasing, check the line and restart the bus.
Note: In non-automatic start up mode, the start up bit is %QW0.m.1.0.
bit 13 =1
it is an error on a slave: communication error or I/Os not activated.
  • Determine the last source of error contained in %IW0.m.1.4
  • Determine all the active slaves on the bus by consulting the %IW0.m.1.16 to %IW0.m.1.23 bus status words.
  • Perform a diagnostic of the faulty slaves using a diagnostic request.
Note: In non-automatic start up mode, the I/O start up bit is %QW0.m.1.1.
bit 14 =1
it is an output error: the outputs are positioned in fallback conditions.
  • Check that the PLC is in RUN mode
  • Check that the task associated with the module is active
  • Test the %IW0.m.1.0.12 bit (Bus error) and the %IW0.m.1.0.13 bit (Slave error).
Note: In non-automatic start up mode, test the %QW0.m.1.0 and %QW0.m.1.1 bits.
bit 15 =1
a new diagnostic is available for one or more slaves.
  • Determine these slaves by using the status words %IW0.m.1.16 to %IW0.m.1.23
  • Carry out a diagnostic for the slave(s) concerned