background image

Error handling and diagnostics

CXxxxx-M930/B930

37

Version: 1.1

6

Error handling and diagnostics

6.1

Diagnostic LEDs

Table 1: PN diagnostic LED, description of the flashing behavior.

Display

LED

PROFINET status

Meaning

green

red

FB1

PWR

TC

FB2

HDD

Cxxxx0

PN

DIAG

PN

off

flashing 200ms

Power on, startup phase

200 ms flashing

off

no PROFINET name

1 sec off, 200 ms
on

off

No IP address

on

off

Run

Table 2: DIAG diagnostic LED, description of the flashing behavior.

Display

LED

 PROFINET diagnosis

Meaning

green

red

FB1

PWR

TC

FB2

HDD

Cxxxx0

PN

DIAG

DIAG

500 ms flashing

500 ms flashing

PN controller identification.
The PN controller is
transmitting an identification
signal.

off

200 ms flashing

The establishment of a
connection with the
controller has not been
completed.

1 s off 200, ms on off

Problem when establishing
a connection, or the actual
and target configurations
are different.

200 ms

off

The device is in data
exchange but the PLC is in
Stop mode.

on

off

The device is in data
exchange.

If a virtual PROFINET slave was configured, this is also covered by the LEDs in the event of an error. The
physical device always has higher priority. The status of the virtual slave is only displayed once everything is
OK with the physical device.

Summary of Contents for CX-B930 Series

Page 1: ...AS2000 Blindtext Blindtext Blindtext Manual EN CXxxxx M930 B930 Profinet Optional Interface for CX9020 CX5xx0 and CX20xx 2 5 2021 Version 1 1...

Page 2: ......

Page 3: ...Sync Task 17 4 2 3 Settings 18 4 3 Profinet slave 19 4 3 1 PROFINET 19 4 3 2 Sync Task 20 4 3 3 Device 21 5 Parameterization and commissioning 22 5 1 Searching for target systems 22 5 2 Adding a PROFI...

Page 4: ...Table of contents CXxxxx M930 B930 4 Version 1 1...

Page 5: ...products that have already been supplied may be made on the basis of the data diagrams and descriptions in this documentation Trademarks Beckhoff TwinCAT EtherCAT EtherCAT G EtherCAT G10 EtherCAT P S...

Page 6: ...injury WARNING Hazard with medium risk of death or serious injury CAUTION There is a low risk hazard that can result in minor injury Warnings relating to damage to property or the environment NOTE The...

Page 7: ...Notes on the documentation CXxxxx M930 B930 7 Version 1 1 1 2 Documentation issue status Version Modifications 1 0 First version 1 1 Chapter Technical data and PROFINET connection adapted...

Page 8: ...scribes the exchange of data between controllers and field devices in several real time classes RT software based real time and IRT hardware supported isochronous real time In addition further Etherne...

Page 9: ...ller EL6631 0010 PROFINET IO device EL6632 PROFINET IRT controller Bus Coupler BK9053 PROFINET Compact Bus Coupler for Bus Terminals BK9103 PROFINET Bus Coupler for Bus Terminals EK9300 PROFINET Bus C...

Page 10: ...x RJ45 switched Bus devices max 16 for CX9020 M930 max 32 for CX50x0 M930 max 64 for CX51x0 M930 max 64 for CX20xx M930 Properties RTClass1 Optional interface B930 Technical data B930 Fieldbus Profin...

Page 11: ...endent on each other The optional interface X300 is identified as X300 on the devices and has as black border to identify it In a PROFINET slave the incoming PROFINET signal is connected to the upper...

Page 12: ...The use of switches as star couplers enables collisions to be reduced Using full duplex connections they can even be entirely avoided 100BaseT Twisted pair cable for 100 MBaud It is necessary to use...

Page 13: ...closely S STP Screened shielded twisted pair wires are individually screened This identification refers to a cable with a screen for each of the two wires as well as an outer shield ITP Industrial Twi...

Page 14: ...master TwinCAT was then scanned for the master and the master was added in TwinCAT together with the slave No Description 1 Under the PROFINET master status messages are listed as input variables and...

Page 15: ...rious module types such as Byte Word DWord or Real are available 3 Further settings for the PROFINET slave can be implemented under the tabs Other tabs are displayed depending on whether slave or othe...

Page 16: ...via AMS AMS NetID server This is the NetID to which certain AMS messages are relayed by the PROFINET driver AMS PortNo server This is the PortNo to which certain AMS messages are relayed by the PROFI...

Page 17: ...pter the task with the higher priority is always used as the Sync task Pay attention to the Sync task The Sync task must correspond to the value x2 i e 1 ms 2 ms 4 ms 8 ms 16 ms etc The Sync task of t...

Page 18: ...n spreads its own net which can be selected here If you change the subnet or gateway the settings are also applied to configured devices 2 At this point you can set the name for the PROFINET controlle...

Page 19: ...FINET device protocol can be reached via AMS AMS PortNo protocol This is the PortNo through which the PROFINET device protocol can be reached via AMS AMS NetID server This is the NetID to which certai...

Page 20: ...the task with the higher priority is always used as the Sync task Pay attention to the Sync task The Sync task must correspond to the value x2 i e 1 ms 2 ms 4 ms 8 ms 16 ms etc The Sync task of the PR...

Page 21: ...ption the name is taken from the tree view 4 This option only applies to Windows CE In delivery state the PROFINET IP address for the CCAT interfaces is registered with the operating system This enabl...

Page 22: ...work or directly to each other via an Ethernet cable In TwinCAT a search can be performed for all devices in this way and project planning subsequently carried out Prerequisites for this step TwinCAT...

Page 23: ...to search for any further devices click on Close to close the Add Route Dialog The new device is displayed in the Choose Target System window 7 Select the device you want to specify as target system...

Page 24: ...be added in TwinCAT Prerequisites for this step A scanned and selected target device with PROFINET slave In this example it is the CX2020 with optional B930 interface Add the PROFINET slave as follows...

Page 25: ...ding DAP module which the PROFINET master supports and click OK 7 Confirm the request whether to enable FreeRun with Yes The PROFINET slave was successfully added in TwinCAT 3 and is displayed in the...

Page 26: ...ocess Identifier Requirements A PROFINET slave added in TwinCAT Configure the process data as follows 1 Right click on the API in the tree view on the left 2 Click on Add New Item in the context menu...

Page 27: ...le containing data to be turned 2 Click on the Flags tab 3 Click on the required option For WORD variables only LOBYTE and HIBYTE can be swapped With DWORD variables you can additionally swap the WORD...

Page 28: ...ET master can be established Each virtual slave is assigned a dedicated address via TwinCAT and is configured like an independent device for the PROFINET master Prerequisites for this step A PROFINET...

Page 29: ...tual PROFINET slave is created in the tree view You can now configure your own process data for the virtual slave The MAC address of the virtual slave is editable Make sure that the MAC address occurs...

Page 30: ...ree view Prerequisites for this step A newly created TwinCAT XAE project Create a PLC project as follows 1 Right click on PLC in the tree view 2 In the context menu click on Add New Item and select th...

Page 31: ...ick on the PLC project then click on Build in the context menu You have successfully created a PLC project and added the project in TwinCAT A PLC instance with the variables for the inputs and outputs...

Page 32: ...utputs can be linked with the variables from the PLC project 2 Double click on the inputs or outputs of the hardware in the Attach Variable window Link the input variables with the inputs and the outp...

Page 33: ...s step A completed PLC project added in the System Manager Variables from the PLC project linked with the hardware in the System Manager A CX selected as target system Load the configuration from the...

Page 34: ...er in the tree view 9 In the context menu click on Auto Save to Target as Archive The setting is selected You have successfully loaded the CX configuration From now on TwinCAT will start in Run mode a...

Page 35: ...illustrates how to add a PROFINET master in TwinCAT Prerequisites for this step TwinCAT must be in Config mode A selected target system in this sample it is the Embedded PC CX5020 M930 Add a PROFINET...

Page 36: ...aves you want to use and click Add Devices The selected PROFINET slaves are then displayed on the left in the tree view The PROFINET slaves are assigned IP addresses based on the PROFINET master If yo...

Page 37: ...FB2 HDD Cxxxx0 PN DIAG DIAG 500 ms flashing 500 ms flashing PN controller identification The PN controller is transmitting an identification signal off 200 ms flashing The establishment of a connecti...

Page 38: ...Diag description of the variables Variable Description DevState The variable DevState contains information about the physical communication status of the PROFINET controller such as the link status or...

Page 39: ...tics The variables PnIoBoxState and PnIoBoxDiag are available for cyclic diagnostics Fig 3 Diagnostic variables PnIoBoxState and PnIoBoxDiag in the TwinCAT tree view These variables are cyclically exc...

Page 40: ...Error handling and diagnostics CXxxxx M930 B930 40 Version 1 1 PnIoBoxState Table 4 PnIoBoxState variable description of the states...

Page 41: ...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 increa...

Page 42: ...XXX2 IOC AR is established 0xXXX4 IOC AR is established but no ApplReady 0xXXX8 IOC AR is established but module difference 0xXX1X At least one AlarmCR get diagnosis alarm 0xX1XX At least one InputCR...

Page 43: ...5 of the FCC Rules These limits are designed to provide reasonable protection against harmful interference when the equipment is operated in a commercial environment This equipment generates uses and...

Page 44: ...components there Beckhoff Headquarters Beckhoff Automation GmbH Co KG Huelshorstweg 20 33415 Verl Germany Phone 49 0 5246 963 0 Fax 49 0 5246 963 198 e mail info beckhoff com Beckhoff Support Support...

Page 45: ...cription of the flashing behavior 37 Table 2 DIAG diagnostic LED description of the flashing behavior 37 Table 3 DevState PnIoError and PnIoDiag description of the variables 38 Table 4 PnIoBoxState va...

Page 46: ...sion 1 1 9 List of figures Fig 1 Example for a PROFINET topology 13 Fig 2 Diagnostic variables DevState PnIoError and PnIoDiag in the TwinCAT tree view 38 Fig 3 Diagnostic variables PnIoBoxState and P...

Page 47: ......

Page 48: ...Beckhoff Automation GmbH Co KG H lshorstweg 20 33415 Verl Germany Phone 49 5246 9630 info beckhoff com www beckhoff com...

Reviews: