Advertisement

Manual
CX8030 / CX8031
CX8030 PROFIBUS-Master / CX8031 PROFIBUS-Slave
Version:
Date:
1.6
2018-02-09

Advertisement

Table of Contents
loading

Summary of Contents for Beckhoff CX8030

  • Page 1 Manual CX8030 / CX8031 CX8030 PROFIBUS-Master / CX8031 PROFIBUS-Slave Version: Date: 2018-02-09...
  • Page 3: Table Of Contents

    Safety instructions ..........................  9 3 Transport and storage .......................... 11 4 Product overview............................. 12 CX80xx - System overview...................... 12 CX8030, CX8031 - Introduction.................... 14 Technical data .......................... 16 Technical data - PROFIBUS...................... 17 CX80xx - MicroSD cards ...................... 19 5 Mounting and wiring .......................... 20 Mounting ............................
  • Page 4 First steps .............................  89 11.2 Image Update .......................... 94 11.3 Certification...........................  96 11.3.1 Ex ............................. 96 11.3.2 FCC.......................... 97 11.3.3 UL............................. 97 11.4 Bibliography .......................... 98 11.5 List of Abbreviations ........................ 99 11.6 Support and Service ........................ 100 Version: 1.6 CX8030 / CX8031...
  • Page 5: Notes On The Documentation

    EP0851348, US6167425 with corresponding applications or registrations in various other countries. ® EtherCAT is registered trademark and patented technology, licensed by Beckhoff Automation GmbH, Germany Copyright © Beckhoff Automation GmbH & Co. KG, Germany. The reproduction, distribution and utilization of this document as well as the communication of its contents to others without express authorization are prohibited.
  • Page 6: Explanation Of Symbols

    Damage to the devices or environment Note this warning. Risk of damage to the environment and equipment. Attention Symbols indicating further information or tips: Tip or pointer This symbol indicates information that contributes to better understanding. Note Version: 1.6 CX8030 / CX8031...
  • Page 7: Documentation Issue Status

    Documentation issue status Version Comment • Preliminary  Version (German only) • First release • Foreword updated • CX8030 added • Chapter 1-second UPS added • Chapter Operating System added • Foreword reworked • Chapter „For your safety“ added • ATEX warnings added •...
  • Page 8: For Your Safety

    Beckhoff Automation GmbH & Co. In addition, the following actions are excluded from the liability of Beckhoff Automation GmbH & Co. KG: • Failure to comply with this documentation.
  • Page 9: Staff Qualification

    For your safety Staff qualification All operations involving Beckhoff software and hardware may only be carried out by qualified personnel with knowledge of control and automation engineering. The qualified personnel must have knowledge of the administration of the Embedded PC and the associated network.
  • Page 10 • The sensitivity of an Embedded PC against malicious software increases with the number of installed and active software. • Uninstall or disable unnecessary software. Further information about the safe handling of networks and software can be found in the Beckhoff Information System: http://infosys.beckhoff.com...
  • Page 11: Transport And Storage

    Embedded PC in a dry environment at a temperature between 0 °C and 30 °C. The preset date and time are lost if the battery is removed. • Store the Embedded PC in the original packaging. CX8030 / CX8031 Version: 1.6...
  • Page 12: Product Overview

    Microsoft Windows CE is used as the operating system. In the absence of a monitor port, the operating system and its "virtual" display can only be accessed via the network. As for all other Beckhoff devices, the TwinCAT software is used for system configuration and the programming of the PLC functionality. The CX80xx target device features a pre-installed TwinCAT PLC runtime environment.
  • Page 13 The CX80xx controller is programmed according to the high-performance IEC 61131-3 standard. As with all other Beckhoff controllers, the TwinCAT automation software is the basis for parameterization and programming. Users therefore have the familiar TwinCAT tools available, e.g. PLC programming interface, System Manager and TwinCAT Scope.
  • Page 14: Cx8030, Cx8031 - Introduction

    CX8030 Fig. 1: CX8030_Intro The CX8030 is a controller with an Ethernet connection, via which it is programmed and/or configured, and a PROFIBUS master interface on an RS485 basis with a D-sub connection. Optionally, the CX8030 can also be operated as a PROFIBUS slave.
  • Page 15 PROFIBUS master. Alternatively K-bus or E-bus terminals can be series-connected; the CX8031 automatically detects which type of terminal is connected during the start-up phase. The controller is programmed with TwinCAT via the Ethernet interface. CX8030 / CX8031 Version: 1.6...
  • Page 16: Technical Data

    Transport and storage [} 11] Installation position See chapter Installation positions [} 20] Relative humidity 95 %, no condensation Vibration / shock resistance conforms to EN 60068-2-6/EN 60068-2-27 EMC immunity/emission conforms to EN 61000-6-2/EN 61000-6-4 Protection class IP20 Version: 1.6 CX8030 / CX8031...
  • Page 17: Technical Data - Profibus

    Product overview Technical data - PROFIBUS System data PROFIBUS (CX8030, CX8031) Number of I/O 100 with repeater modules Number of I/O approx. 6.000, depending on the master points Transmission screened copper cable, 2 x 0.25 mm² medium Cable length 1200 m...
  • Page 18 The CX8030 can also be configured as a slave. Unlike the CX8031, where 3 virtual slaves are available, only one real slave can be used. The CX8030 can operate either as a master or as a slave, but not both at the same time.
  • Page 19: Cx80Xx - Microsd Cards

    In the basic version the CX80xx contains a MicroSD card with 512 MB. You can order it as an option with larger cards (up to 8 GB). The cards employed are SLC memory with extended temperature range for industrial applications. Use exclusively MicroSD cards approved by Beckhoff. Example of a MicroSD card: Order identifier...
  • Page 20: Mounting And Wiring

    Dimensions The following drawings show the dimensions of the CX80xx Embedded PCs. Dimensions     Drawings in various CAD formats can be found at: http://www.beckhoff.de/german/download/cx1000.htm 5.1.2 Installation on mounting rails Snapping onto the mounting rail The CX80xx can simply be snapped onto the mounting rail. To this end simply position the block on the mounting rail and push it slightly until it engages on the right-hand side.
  • Page 21 Mounting and wiring Avoid damage! Do not force the module or apply excessive pressure! Attention Permissible installation positions and minimum distances Installation positions Installation position up to 55 °C CX8030 / CX8031 Version: 1.6...
  • Page 22 Ventilation openings are located at the top and bottom of the housing. The system therefore has to be installed horizontally. This ensures optimum air flow. Installation positions with reduced temperature range up to 45 °C Other installation positions are permitted with a temperature range up to 45 °C. Version: 1.6 CX8030 / CX8031...
  • Page 23: Wiring

    Embedded PC and connect or dis- connect Bus Terminals. This power supply unit is equipped with an I/O interface, which permits connection of the Beckhoff Bus Terminals. The power is supplied via the upper spring-loaded terminals with the designation 24 V and 0 V.
  • Page 24 The left LED (Us) indicates the CPU supply. The right LED (Up) indicates the terminal supply. The other LEDs indicate the Terminal Bus status. A detailed description of the LEDs can be found in section "LED troubleshooting". Version: 1.6 CX8030 / CX8031...
  • Page 25: Ethernet

    It is possible for several devices to be connected to one 10Base2 cable. It is frequent for branches from a 10Base5 backbone to be implemented in 10Base2. CX8030 / CX8031 Version: 1.6...
  • Page 26 This identification refers to a cable with a screen for each of the two wires as well as an outer shield. Industrial Twisted-Pair The structure is similar to that of S/STP, but, in contrast to S/STP, it has only one pair of conductors. Version: 1.6 CX8030 / CX8031...
  • Page 27: Profibus

    If reducing the baud rate does not correct the error, then in many cases this can indicate a wiring fault. The two data lines maybe crossed over at one or more connectors, or the termination resistors may not be active, or they may be active at the wrong locations. CX8030 / CX8031 Version: 1.6...
  • Page 28 Wiring errors are avoided, and commissioning is more rapidly completed. Note The Beckhoff range includes fieldbus cables, power supply cables, sensor cables and ac- cessories such as terminating resistors and T-pieces. Connectors and cables for field as- sembly are nevertheless also available.
  • Page 29 Pin 5 is GND for the active termination resistor. These must never be misused for other functions, as this can lead to destruction of the device. Pin 3 and pin 8 are the PROFIBUS signals. These must never be swapped over, as this will prevent communication. CX8030 / CX8031 Version: 1.6...
  • Page 30 Therefore the incoming PROFIBUS line should end in a female connector. Two T-pieces are available: • ZS1031-2600 with +5VDC on male and female connector for the termination resistor • ZS1031-2610 with +5VDC only on the female connector Version: 1.6 CX8030 / CX8031...
  • Page 31: Changing The Battery

    • Step 5: Close the flap again Battery type Technical data Duracell 303/357 SR44 1.5 V / 165 mAh Battery maintenance The battery must be replaced every 5 years. Spare batteries can be ordered from Beckhoff Service. Note CX8030 / CX8031 Version: 1.6...
  • Page 32: Parameterization And Commissioning

    So that the address is also used via the address selector, this must be activated in the System Manager. The station address can now be set for each slave with a DIP switch + number. For the virtual slaves you can use +1, +2, +3 for example. Version: 1.6 CX8030 / CX8031...
  • Page 33 CX80xx the SD card, is reachable via the USB interface (for example for an image update). 1 off and 2 on Restore the registry 1 on and 2 on No function so far CX8030 / CX8031 Version: 1.6...
  • Page 34: Setting The Ip Adress

    IP address 10101100.00010000.00010001.11001000 172.16.17.200 Subnet mask 11111111.11111111.00010100.00000000 255.255.20.0 Network ID 10101100.00010000.00010000.00000000 172.16.16.0 Host ID 00000000.00000000.00000001.11001000 0.0.1.200 Standard subnet mask Address class Standard subnet mask (decimal) Standard subnet mask (hex) 255.0.0.0 FF.00.00.00 255.255.0.0 FF.FF.00.00 255.255.255.0 FF.FF.FF.00 Version: 1.6 CX8030 / CX8031...
  • Page 35 Neither subnet 0 nor the subnet consisting only of ones may be used. Host number 0, and the host number consisting only of ones, must not be used. Under BootP or DHCP the sub- Note net mask is transmitted also by the server. CX8030 / CX8031 Version: 1.6...
  • Page 36: Configuration

    - CX-01551E/config • Via a Micro SD card reader. The Micro SD card contains a file with the name of the image. Example CX8000_CE600_LF_v354b_TC211R3_B2248. TC211R3_2248 indicates the TwinCAT build; in the example the build is 2248. Version: 1.6 CX8030 / CX8031...
  • Page 37 HTML / DHTML, TLS, ISAPI extensions Internet Explorer 6.0 Java Applets NET Compact Framework v3.5 RDP Client (Remote Desktop protocol) CAB File Installer/Uninstaller TwinCAT (Level PLC) USB support Printer, storage on Compact Flash, for example HID (Human interface devices) Touch CX8030 / CX8031 Version: 1.6...
  • Page 38: Power Supply Terminal

    E-bus interface The operation of E-bus terminals and EtherCAT devices is possible on the CX80xx. The CX80xx recognizes these terminals automatically on scanning, reads out the terminal types and automatically places them in the System Manager. Version: 1.6 CX8030 / CX8031...
  • Page 39 Parameterization and commissioning DC Distributed Clocks The CX80xx series is not suitable for the use of EtherCAT slaves that use or need distrib- uted clocks functionality. Note CX8030 / CX8031 Version: 1.6...
  • Page 40: Profibus

    CX8030 6.3.3.1.1 PROFIBUS Interface PROFIBUS communication takes place via the D-sub port X101. The CX8030 supports the automatic slave scanning function. To this end the GSD file must be stored in the folder \TwinCAT\IO\PROFIBUS. No ADS via PROFIBUS The CX8030 does not support the ADS via PROFIBUS. The program download and debug- ging can take place exclusively via the Ethernet interface.
  • Page 41 ADS (see ADS interface [} 54]). Grayed out System Manager functions In contrast to other PROFIBUS masters from Beckhoff, not all PROFIBUS features are sup- ported. Therefore, some options are grayed out in the System Manager or are not dis- Note played.
  • Page 42 • Turning the data on the PLC, i.e. on the CX side, with a simple ROR command (example for ST: VarProfibus:=ROR (VarAnalog,8); (* both variables are of the type WORD*)) • Turning the data on the master side • Turning the data in the System Manager Version: 1.6 CX8030 / CX8031...
  • Page 43 It is also permitted to connect one or more slaves to a second PROFIBUS master. The master must support the multi-master capability. You do not need to make any further settings on the CX8031 for this. Fig. 1.0 Creation of the 4 PROFIBUS slave devices CX8030 / CX8031 Version: 1.6...
  • Page 44 Parameterization and commissioning Fig. 1.1 Appending the PROFIBUS modules Fig. 1.2 Selection of the PROFIBUS modules Version: 1.6 CX8030 / CX8031...
  • Page 45: Web Services

    There is a Upnp webpage on the CX80xx for diagnostics. User name: guest Password: 1 Enter the IP address or the device name. Example http://cx-0f94ac/config http://172.16.17.55/config The diagnostic page was revised starting from image v354c. CX8030 / CX8031 Version: 1.6...
  • Page 46 The call is made via the IP address or the device name in a web browser. Further information can be taken from the documentation on the web visualization (see TwinCAT Supplements PLC HMI Web). Example Version: 1.6 CX8030 / CX8031...
  • Page 47: Real Time Clock (Rtc)

    The RTC is read out via the FB_LocalSystemTime function blocks and can be set with the NT_SetLocalTime block (see TcUtilities.lib). The RTC is supplied by the battery and can thus continue to run in the power-off state. CX8030 / CX8031 Version: 1.6...
  • Page 48: 1-Second Ups (Uninterruptible Power Supply)

    Checking whether current persistent data (from wdp file) or saved persistent data from the backup (wd~-file) were loaded In this example, the CX8090 indicates via the ERR LED whether the persistent data were loaded. The LED cannot be used for other CX8xxx models. Version: 1.6 CX8030 / CX8031...
  • Page 49: Cpu Load

    A TwinCAT restart of the CX80xx is necessary after making the setting. CPU load The CPU load is calculated internally with 10 ms. The CPU load display may fluctuate very strongly if one or more tasks exceeding 10 ms are used. Note CX8030 / CX8031 Version: 1.6...
  • Page 50: Programming

    Caution when using files: If other applications or the PLC keep other files open or write to them, this can lead to faulty files if the UPS switches off the controller. Attention Version: 1.6 CX8030 / CX8031...
  • Page 51 : Internal state of the function block, for values see E_S_UPS_State. VAR_GLOBAL VAR_GLOBAL     eGlobalSUpsState : E_S_UPS_State;    (* current ups state *) END_VAR E_S_UPS_State eGlobalUpsState      : Internal state of the function block as a global copy of the VAR_OUTPUT eState; for values see E_S_UPS_State. CX8030 / CX8031 Version: 1.6...
  • Page 52 Programming Prerequisites Development environ- Target platform Hardware PLC libraries to be ment linked TwinCAT v2.11.0 build Seconds UPS TcSystemCX80xx.lib 2220 or higher (R3) Version: 1.6 CX8030 / CX8031...
  • Page 53: Data Types

        in allen Modi: Versorgungsspannung fehlerhaft (steht nur einen Zyklus an) eSUPS_WritePersistentData:           im Modus eSUPS_WrPersistData_Shutdown: Schreiben der Persistenten Daten ist aktiv  im Modus eSUPS_WrPersistData_NoShutdown: Schreiben der Persistenten Daten ist aktiv eSUPS_QuickShutdown:         im Modus eSUPS_WrPersistData_Shutdown: QuickShutdown ist aktiv  im Modus eSUPS_ImmediateShutdown: QuickShutdown ist aktiv eSUPS_WaitForRecover:        im Modus eSUPS_WrPersistData_NoShutdown: Warten auf Wiederkehr der Spannung  im Modus eSUPS_CheckPowerStatus: Warten auf Wiederkehr der Spannung eSUPS_WaitForPowerOFF:       im Modus eSUPS_WrPersistData_Shutdown: Warten auf das Abschalten durch die USV  im Modus eSUPS_ImmediateShutdown: Warten auf das Abschalten durch die USV Prerequisites Development environ- Target platform Hardware PLC libraries to be ment linked TwinCAT v2.11.0 build Seconds UPS TcSystemCX80xx.lib 2220 or higher (R3) CX8030 / CX8031 Version: 1.6...
  • Page 54: Diagnostics

    PROFIBUS 7.4.1 CX8030 7.4.1.1 CX8030 ADS Interface ADS NetId of the PROFIBUS interface A NetId is required for the ADS communication. This can be found in the ADS tab of the PROFIBUS interface in the TwinCAT System Manager. Version: 1.6...
  • Page 55 Programming ADS Interface All acyclic data are transmitted to or from the CX8030 via ADS-Read, ADS-Write or ADS-Write-Control. The CX8030 has its own Net-ID and supports the following ports: Port Description Addresses the PROFIBUS interface itself, i.e. data stored locally on the PROFIBUS interface, for which usually no additional bus access is required.
  • Page 56 Read is answered without error (error code = 0), the data will contain the read DPV1 data (see section DPV1 [} 57]) ADS Write An overview of the IndexGroups/IndexOffsets supported by the CX8030 during ADS-Write is provided below. Version: 1.6 CX8030 / CX8031...
  • Page 57 IndexGroup, the DPV1 index corresponds to the IndexOffset (see section DPV1 [} 57]). ADS-WriteControl An overview of services supported by the CX8030 for ADS WriteControl is provided below. ADS-WriteControl for addressing a configured PROFIBUS device (port 0x1000-0x107E) AdsState DeviceState State of the FC310x/...
  • Page 58 DP diagnostic data from the slave. This does not affect the Data-Exchange cycle in the Beckhoff DP master, because the DP diagnostic telegram is sent at the end of the cyclic Data-Exchange cycle, and before the beginning of the next cycle. If the DP diagnostic data read from the slave has changed from its previous state, the DP master sets the ExtDiagFlag variable, which can be linked to a variable in the controller program.
  • Page 59 Error_Decode, byte 2: Error_Code_1 (Error_Class/ Error_Code), byte 3: Error_Code_2), see description of the DPV1 error codes [} 66] 27-31 reserved for extensions from 32 DP diagnostic data There follows a description of the DP diagnostic data CX8030 / CX8031 Version: 1.6...
  • Page 60 Length of the associated diagnostic data, including header byte 0 = manufacturer-specific diagnosis (DPV1 is not supported) or DPV1 diagnosis (DPV1 is supported (DPV1_Enable = 1) in associated GSD file) Module diagnosis Channel diagnosis Revision number Version: 1.6 CX8030 / CX8031...
  • Page 61 Data Configuration data of the slave If the device is from another manufacturer, or if the IndexGroup indicates that Beckhoff devices are to behave in exactly the same way as devices from other manufacturers, then the following information is returned in the ADS read response:...
  • Page 62: Cx8031

    DP process data in real-time, but is always sent to the controller a few cycles later. In TwinCAT the DP diagnostic data is read from the DP Master interface (FC310x, CX1500-M310) using ADS (see the section describing Slave Diagnosis in the FC310x documentation). Version: 1.6 CX8030 / CX8031...
  • Page 63 6. The ADS parameters for the read process are identical. Input parameters Description NETID local NetId of the PROFIBUS device PORT number 0x1000+slave address IDXGRP 16#F481 IDXOFFS max. 244 SRCADDR Pointer to diagnostic data CX8030 / CX8031 Version: 1.6...
  • Page 64 If it is also generally necessary to activate the C1 functionality by setting bit 7 in the PrmData byte 0 (see the slave's PROFIBUS tab) for the corresponding slave (this is done automatically for those Beckhoff devices that support DPV1).
  • Page 65 DPV1 error codes [} 66] Length (LENGTH) Length of the data that has been read Data (DATAADDR) read data MSAC-C1 Write A DPV1-MSAC_C1 write indication is represented in an ADS write indication as follows: CX8030 / CX8031 Version: 1.6...
  • Page 66 DPV1 standard, and are therefore to be found in the slave's manual). Byte 0 DPV1 service 0xD1 Data_Transport 0xD7 Initiate 0xDE Read 0xDF Write Byte 1 Error_Decode 0x80 DPV1 0xFE 0xFF HART Version: 1.6 CX8030 / CX8031...
  • Page 67 Access, State Conflict 0x06 Access, Access Denied 0x07 Access, Invalid Range 0x08 Access, Invalid Parameter 0x09 Access, Invalid Type 0x0C 0x00 Resource, Read Constrain Conflict 0x01 Resource, Write Constrain Conflict 0x02 Resource, Busy 0x03 Resource, Unavailable CX8030 / CX8031 Version: 1.6...
  • Page 68: Ethernet X001 Interface

    Ethernet device in the world. The MAC-ID consists of two parts. The first part (i.e. the first 3 bytes) is a manufacturer identifier. The identifier for Beckhoff is 00 01 05. The next 3 bytes are assigned by the manufacturer and implement a unique serial number.
  • Page 69 Both of these protocols are implemented in parallel on the Bus Coupler, so that no configuration is needed to activate the protocols. ADS can be used on top of either TCP or UDP, but ModbusTCP is always based on TCP/IP. CX8030 / CX8031 Version: 1.6...
  • Page 70: Topology Example

    Ethernet X001 Interface 8.1.2 Topology example Observe system load Observe the system load of your CX8031 when using further Ethernet protocols such as ModbusTCP/UDP or WebServices. A high load can slow down Ethernet communication Note significantly. Version: 1.6 CX8030 / CX8031...
  • Page 71: Ads-Communication

    Within a networked system it is thus possible to reach all data from any point. The ADS protocol runs on top of the TCP/IP or UDP/IP protocols. It allows the user within the Beckhoff system to use almost any connecting route to communicate with all the connected devices and to parameterize them.
  • Page 72 Indicates the offset, the byte from which reading or writing is to start. Gives the length of the data, in bytes, that is to be read or written. TCP port number The TCP port number for the ADS protocol is 48898 or 0xBF02. Version: 1.6 CX8030 / CX8031...
  • Page 73: Profibus

    PROFIBUS DP offers very short system reaction times: at a transmission rate of 12 MB, less than 2 ms are required to transmit 512 bits each of input and output data to 32 devices. All Beckhoff PROFIBUS devices feature a high-performance protocol implementation and are certified by the PROFIBUS users organization (PNO).
  • Page 74 PROFIBUS Version: 1.6 CX8030 / CX8031...
  • Page 75 PROFIBUS PLC Box IL230x-C31x Fieldbus Modules Fieldbus modules with PROFIBUS FM33xx-B310 interface PC Fieldbus Cards PROFIBUS PCI card FC310x PROFIBUS PCI express card FC312x PROFIBUS mini PCI card FC3151 Drive Technology Servo drive with PROFIBUS slave AX2xxx-B310 CX8030 / CX8031 Version: 1.6...
  • Page 76: Fieldbus Overview

    A maximum of 126 devices (master or slaves) can be connected to one bus. A station address between 0 and 99 can be chosen for the Beckhoff PROFIBUS slaves from the IPxxxx-B310, IL230x- B310 and IL230x-C310 series. The specifications for the system configuration contain the number of stations, the assignment of the station addresses to the I/O addresses, data consistency of the I/O data and the format of the diagnostics messages and the bus parameters being used.
  • Page 77 The Beckhoff GSD files may be obtained from the internet under www.beckhoff.com. Diagnostic functions The extensive diagnostic functions of PROFIBUS DP allow rapid fault localization. Diagnosis of the Beckhoff Bus Coupler is not activated in the default setting of the type file or the GSD file. The diagnostic messages are transmitted over the bus and collated by the master.
  • Page 78 Here the cause of an error is related to a single input/ output bit (channel), such as a short circuit on output The Beckhoff PROFIBUS slaves from the IPxxxx-B310, IL230x-B310 and IL230x-C310 series support the PROFIBUS DP diagnostic functions. Assessment of the diagnostic data by means of the controller depends on the support for the PROFIBUS master.
  • Page 79 This provides protection from project planning errors. Manufacturer-specific identification numbers are issued by the PROFIBUS User Organization (PNO). The PNO administers the identification numbers along with the basic device data (GSD). CX8030 / CX8031 Version: 1.6...
  • Page 80: Profibus Dp

    (Sync) or the reading of the inputs (Freeze) in a number of slaves. When the Sync command is used, the slaves are first switched into Sync mode (a process that is Version: 1.6 CX8030 / CX8031...
  • Page 81: Profibus Dpv1

    When two masters are used, however, is must always be borne in mind that these share bus access (a token is exchanged), so that time relationships are less favourable than in the case of a single master system. CX8030 / CX8031 Version: 1.6...
  • Page 82: Cables, Plugs And Switches

    Pre-assembled cables from Beckhoff Installation is made a great deal more straightforward if pre-assembled cables from Beck- hoff are used.
  • Page 83 Make sure that the switches engage properly. The change in address is active as soon as the device is switched on. Address Fieldbus Box The switch on the left represents the tens, while that on the right represents the units. CX8030 / CX8031 Version: 1.6...
  • Page 84 PROFIBUS Address Bus Coupler The switch S311 represents the tens, while that S310 represents the units. Version: 1.6 CX8030 / CX8031...
  • Page 85: Topology

    • The maximum number of devices is 127 • Interrupting the supply voltage from cable ends by switching off the repeater/slave, or by pulling out the plug, is not permitted. Fig. 1: RS485 topology with 3 segments and 2 repeaters. CX8030 / CX8031 Version: 1.6...
  • Page 86: Error Handling And Diagnosis

    Error handling and diagnosis Error handling and diagnosis 10.1 LED indicators Ethernet interface X001 Interface X001 Ethernet (CX8030, CX8031) Meaning LED green Link present LED yellow flashing Activity LED CX8030 Coupler Labeling Meaning Color Meaning Indicates the status of the TwinCAT is in "stop"...
  • Page 87 Error handling and diagnosis LED CX8031 and CX8030 Couplers configured as slave Labeling Meaning Color Meaning Indicates the status of the TwinCAT is in "stop" coupler mode Green TwinCAT is in "run" mode Blue TwinCAT is in "config" mode (If red DIP switch 1 is set...
  • Page 88 Bus Coupler (switch off and on again) 7 pulses Process data lengths do Check the Bus Terminals not correspond to the for the configured Bus configuration Terminals 1..n K-bus reset failed Check the Bus Terminals Version: 1.6 CX8030 / CX8031...
  • Page 89: Appendix

    5. Switch on TC on the PC in Config Mode (TwinCAT icon blue) and start the System Manager 6. In the System Manager, click on the PC symbol (Choose Target System) or press >F8< 7. The following dialog box opens; click on Search (Ethernet). CX8030 / CX8031 Version: 1.6...
  • Page 90   Your network is scanned for Beckhoff controllers. If none is found, this means that the DHCP of the controller is not yet completed or the network settings on your PC are incorrect. A network cable that has not been connected can naturally also be the cause, but this should not be the case if point 3 has been done.
  • Page 91 MAC address on the side of the CX80xx. The MAC address is always 6 bytes long and the first three bytes are the vendor ID, which is always 00 01 05 in the case of Beckhoff devices. An "X" next to Connected means that the CX is already known in the system and can be used. To make it known, click in the list on the CX with which you want to connect and then click on "Add route".
  • Page 92 FileName.typ file is sought. 19: Now open the project, then the task and then outputs, in which there must be a variable MAIN.bToggle. You can link this with the hardware. To do this, click on "Linked to...". Version: 1.6 CX8030 / CX8031...
  • Page 93 21. As a final step Online/Generate a boot project. This completes the project and your first program is stored on the CX. Congratulations, the foundations have now been laid and are ready to be built on. We wish you every success! CX8030 / CX8031 Version: 1.6...
  • Page 94: Image Update

    • Set red Dip switch (under the flap) DIP 1 to ON • Switch on the CX • Connect the PC with USB • Delete all files (we recommend that you backup all files first), no formatting Version: 1.6 CX8030 / CX8031...
  • Page 95 • Wait until copying has finished, then remove the MicroSD card • Insert the MicroSD card into the SD slot of the switched-off CX again • Now switch on the CX again; it may take a little longer the first time CX8030 / CX8031 Version: 1.6...
  • Page 96: Certification

    The name plate of the CX8xxx Embedded PCs shows a consecutive serial number, a hardware version and a date of manufacture: Legend: Serial number, consecutive number Hardware version, ascending number Production day Production month yyyy: Production year Version: 1.6 CX8030 / CX8031...
  • Page 97: Fcc

    • Or the power supply must originate from a voltage source that corresponds to NEC class 2. An NEC class 2 voltage source must not be connected in series or parallel with another NEC class 2 voltage source. CX8030 / CX8031 Version: 1.6...
  • Page 98: Bibliography

    Praktisches Know-How mit Vergleichsmöglichkeiten (Practical Know-how with Comparative Resources) Franzis Verlag, 2001 244 pages ISBN 3-7723-5745-8 English books (in preparation) PROFIBUS-DP standards • IEC 61158 and IEC 61784 • DIN 19245, Part 3 • Euronorm EN 50 170 Web sites • http://www.profibus.com Version: 1.6 CX8030 / CX8031...
  • Page 99: List Of Abbreviations

    Terminal bus - internal bus for communication between the coupler and Bus Terminals PROFIBUS User Organisation Repeater Provides signal conditioning, connecting individual bus segments Programmable logic controller Sync mode This command makes the slave hold its outputs unchanged until it receives the Sync telegram. CX8030 / CX8031 Version: 1.6...
  • Page 100: Support And Service

    Beckhoff's branch offices and representatives Please contact your Beckhoff branch office or representative for local support and service on Beckhoff products! The addresses of Beckhoff's branch offices and representatives round the world can be found on her internet pages: http://www.beckhoff.com You will also find further documentation for Beckhoff components there.

Table of Contents