background image

Ethernet X001 Interface

CX8030 / CX8031

72

Version: 1.6

AMSNetID

The AMSNetID provides a reference to the device that is to be addressed. This is taken from the MAC
address of the first Ethernet port (X001) and is printed on the side of the CX80xx. For the AMSNetID the
bytes 3 to 6 plus ".1.1" are typically used.
Example:
MAC address 00-01-

05-01-02-03

 

AMSNetID 5.1.2.3.1.1

Port number

The port number distinguishes sub-elements in the connected device.
Port 801: local process data PLC runtime 1

Index group

The index group distinguishes different data within a port.

Index offset

Indicates the offset, the byte from which reading or writing is to start.

Len

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.

Содержание CX8010

Страница 1: ...Manual CX8030 CX8031 CX8030 PROFIBUS Master CX8031 PROFIBUS Slave 1 6 2018 02 09 Version Date...

Страница 2: ......

Страница 3: ...ation on mounting rails 20 5 2 Wiring 23 5 2 1 Power supply 23 5 2 2 Ethernet 25 5 2 3 PROFIBUS 27 5 3 Changing the battery 31 6 Parameterization and commissioning 32 6 1 DIP switch 32 6 2 Setting the...

Страница 4: ...9 1 System overview PROFIBUS 73 9 2 Fieldbus Overview 76 9 3 PROFIBUS DP 80 9 4 PROFIBUS DPV1 81 9 5 Cables Plugs and Switches 82 9 6 Topology 85 10 Error handling and diagnosis 86 10 1 LED indicators...

Страница 5: ...a diagrams and descriptions in this documentation Trademarks Beckhoff TwinCAT EtherCAT Safety over EtherCAT TwinSAFE XFC and XTS are registered trademarks of and licensed by Beckhoff Automation GmbH O...

Страница 6: ...ious injury WARNING Risk of injury Note this warning Hazard with medium risk of death or serious injury CAUTION Personal injuries Note this warning Hazard with a low degree of risk which could lead to...

Страница 7: ...Operating System added 1 3 Foreword reworked Chapter For your safety added ATEX warnings added 1 4 Chapter Transport and storage added 1 5 Chapter FCC added 1 6 Warnings for Ex area revised Chapter I...

Страница 8: ...2 5 mm in size but not protection against water Operation in wet and dusty environments is not permitted unless specified otherwise The specified limits for electrical and technical data must be adher...

Страница 9: ...re branching points cables must be selected that are designed for these high temperatures and operation in potentially explosive atmospheres Tighten the screws of the fieldbus plug connectors in order...

Страница 10: ...e devices behind a firewall Apply the IT security precautions according to IEC 62443 in order to limit access to and control of devices and networks Working with the software Use up to date security s...

Страница 11: ...C Despite the robust design of the unit the components are sensitive to strong vibrations and impacts During transport the Embedded PC must be protected from mechanical stress and use the original pac...

Страница 12: ...PCs have further Ethernet interfaces with switch functions so that a linear daisy chain topology can be constructed inexpensively without additional hardware The other connections on the lower plug le...

Страница 13: ...amming 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 parameterizati...

Страница 14: ...elected the Web visualization and remote desktop may operate very slowly or cause timeouts The user is responsible for projecting and configuring his system such that it is not overloaded CX8030 Fig 1...

Страница 15: ...interface but this can be used in such a way that it appears as if 4 devices are on the bus The advantage of this is that more data can be exchanged and that the CX8031 can communicate as a DP DP coup...

Страница 16: ...ked clock RTC for time and date battery exchangeable Operating system Microsoft Windows CE Control software TwinCAT PLC runtime from version 2 11 R3 Programming TwinCAT PLC Programming languages IEC 6...

Страница 17: ...ogy Line topology CX8030 Technical data PROFIBUS CX8030 Fieldbus PROFIBUS DP DP V1 Data transfer rate 9 6k 19 2k 93 75k 187 5k 500k 1 5M 3M 6M 12 MBaud Bus interface 1 x D sub socket 9 pin Bus devices...

Страница 18: ...mber of slaves 1 max process image 240 Byte In 240 Byte Out CX8031 Technical data PROFIBUS CX8031 Fieldbus PROFIBUS DP DP V1 Data transfer rate 9 6k 19 2k 93 75k 187 5k 500k 1 5M 3M 6M 12 MBaud Bus in...

Страница 19: ...n 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 car...

Страница 20: ...54 according to EN 60079 31 dust conductive IP 6x according to EN 60079 31 Observe the temperature at the cable entry points into the housing If the temperature during nominal operation is higher than...

Страница 21: ...g CX8030 CX8031 21 Version 1 6 Attention Avoid damage Do not force the module or apply excessive pressure Permissible installation positions and minimum distances Installation positions Installation p...

Страница 22: ...of 30 mm both above and below a CX80xx device combination to ensure adequate ventilation of the base CPU module and the power supply unit The high performance and the compact design of the CX80xx sys...

Страница 23: ...ion of the Beckhoff Bus Terminals The power is supplied via the upper spring loaded terminals with the designation 24 V and 0 V The supply voltage supplies the CX system and via the terminal bus the B...

Страница 24: ...and the power supply is switched on the two upper LEDs in the terminal prism are green The left LED Us indicates the CPU supply The right LED Up indicates the terminal supply The other LEDs indicate t...

Страница 25: ...ds 10Base5 The transmission medium for 10Base5 consists of a thick coaxial cable yellow cable with a max transmission speed of 10 Mbaud arranged in a line topology with branches drops each of which is...

Страница 26: ...is type of cable belongs to category 3 and is not recommended for use in an industrial environment S UTP Screened unshielded twisted pair screened with copper braid Has a general screen of copper brai...

Страница 27: ...s in each segment with no repeater Can be extended to 127 stations with repeater Max bus length without repeater 100 m at 12 MBit s 200 m at 1500 KBit s up to 1 2 km at 93 75 KBit s Max bus length wit...

Страница 28: ...Stubs up to 1500 kbaud 6 6 m at 12 Mbaud stub segments should not be used Bus segments A bus segment consists of at most 32 devices 126 devices are permitted in a PROFIBUS network Repeaters are requir...

Страница 29: ...rganization www profibus com 5 2 3 2 PROFIBUS Connection M12 circular connector The M12 socket is inverse coded and has five pins Pin 1 is 5 VDC and 3 is GND for the active termination resistor These...

Страница 30: ...B318 series does have a male and female connector that means no external T piece is required The supply voltage 5VDC for the termination resistor is only supplied via the female M12 connector The ter...

Страница 31: ...the battery are inserted correctly Plus pole on the left Never open the bat tery or throw it into a fire The battery cannot be recharged The battery of the CX80xx is required for the real time clock R...

Страница 32: ...second UPS has discharged Ensure that there is no explosive atmosphere before you use DIP switches 2x 10 pole address switch S101 S102 Address selector can be employed for the use of the PROFIBUS addr...

Страница 33: ...slot Requirements DIP switch red Meaning 1 off and 2 off normal mode TwinCAT is started 1 on and 2 off The CX mode starts in Config Mode the flash memory or in the case of the CX80xx the SD card is r...

Страница 34: ...f the Bus Terminal Controller Example CX80xx MAC ID 00 01 05 01 02 03 DNS name CX 010203 6 2 3 Subnet mask The subnet mask is subject to the control of the network administrator and specifies the stru...

Страница 35: ...e Assignment of subnets host numbers and IP addresses 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 Und...

Страница 36: ...Settings directory and then reboots automatically The CX is then accessible again via CERHOST TELNET TELNET is deactivated by current images on first start up via the registry file Telnet_Disable reg...

Страница 37: ...ile Server SMB CIFS X File Server X Print Server SMB CIFS RAS Server PPTP Server Simple Network Management Protocol SNMP X Telnet Server X HTTP ASP FTP SNTP Server X Web Server HTTPD Active Server Pag...

Страница 38: ...task The task time should be faster than 100 ms We recommend a task time of less than 50 ms The K bus update time typically lies between one and five ms Bit 0 K Bus Err Bit 1 Terminal State Err Bit 2...

Страница 39: ...ameterization and commissioning CX8030 CX8031 39 Version 1 6 Note DC Distributed Clocks The CX80xx series is not suitable for the use of EtherCAT slaves that use or need distrib uted clocks functional...

Страница 40: ...r permanently assigned in the System Manager If the address is permanently defined the address switch is ignored see DIP switch 32 GSD file The GSD file for PROFIBUS devices should be stored in the Tw...

Страница 41: ...about this 2 Technical data PROFIBUS 17 6 3 3 2 CX8031 6 3 3 2 1 PROFIBUS Interface PROFIBUS communication takes place via the D sub port X101 Note No ADS via PROFIBUS The CX8031 does not support the...

Страница 42: ...for configuration 130 slave waiting for parameter 131 slave waiting for baudrate PROFIBUS ExtDiagFlag Has no meaning in the case of the slave 6 3 3 2 2 PROFIBUS process data The CX8031 can exchange u...

Страница 43: ...aximum of 240 bytes of data can be configured for each slave i e in total you can exchange 4 x 240 bytes of data in each direction Append a maximum of four CX8031 devices to your PROFIBUS device fig 1...

Страница 44: ...Parameterization and commissioning CX8030 CX8031 44 Version 1 6 Fig 1 1 Appending the PROFIBUS modules Fig 1 2 Selection of the PROFIBUS modules...

Страница 45: ...3 4 Web Services Upnp webpages 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...

Страница 46: ...ualization on the CX80xx This can be prepared and activated with the help of the PLC Control in TwinCAT The call is made via the IP address or the device name in a web browser Further information can...

Страница 47: ...Remote Display Software required on the PC Windows NT Windows 2000 Windows XP or Windows 7 Microsoft Remote Display CERHOST available license free from Microsoft Establishing the connection The Remote...

Страница 48: ...block must be called cyclically We strongly recommend using the default values for the block Saving and loading persistent data The persistent data are stored on the SD card as a wdp file When the PLC...

Страница 49: ...ints procedure Retain data can not be used for the 1 second UPS 6 3 7 CPU load In the delivery condition the CPU load display is deactivated on all CX80xx devices it is displayed with a constant 10 Th...

Страница 50: ...istent data The second UPS does not have sufficient capacity for bridging power failures Saving can take place only on Micro SD cards A QuickShutdown is performed automatically in the eSUPS_WrPersistD...

Страница 51: ...a_Shutdown i e with writing of the persistent data and then QuickShutdown See E_S_UPS_Mode ePersistentMode Mode for the writing of the persistent data Standard value is SPDM_2PASS SPDM_2PASS all persi...

Страница 52: ...gramming CX8030 CX8031 52 Version 1 6 Prerequisites Development environ ment Target platform Hardware PLC libraries to be linked TwinCAT v2 11 0 build 2220 or higher R3 ARM Seconds UPS TcSystemCX80xx...

Страница 53: ...en 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...

Страница 54: ...s entered here just the number without the designation CX for example CX8031 is then entered as 8031 VAR_OUTPUT F_CX80xx_ADDRESS INT F_CX80xx_ADDRESS 1 non implemented CX address of the switch Prerequ...

Страница 55: ...scription 200 Addresses the PROFIBUS interface itself i e data stored locally on the PROFIBUS interface for which usually no additional bus access is required 0x1000 0x107E Addresses a connected PROFI...

Страница 56: ...ation address is entered in the IndexGroup high word If the ADS Read is answered without error error code 0 the corresponding DP slave has answered correctly The data contain the Ident no of the slave...

Страница 57: ...h SetPrm Unlock RUN 5 0x00 STOP 6 This will restart the slave after a stop i e the process data connection to the relevant DP slave Data_Exchange is re established normal DP start up 7 4 1 2 DPV1 comm...

Страница 58: ...P slave can acyclically report DP diagnostic data during data exchange operation The slave here sets the Diag_Flag in the response to the cyclic Data_Exchange telegram as a result of which the DP mast...

Страница 59: ...f retries is set with the parameter Max Retry Limit see bus parameters dialog The value range is from 0 to 8 therefore there are 8 repeat counters for 1 to 8 retries 18 reserved for extensions 20 NoAn...

Страница 60: ...slave in freeze mode 0x01 5 SyncMode DP slave in sync mode 0x01 6 reserved 0x01 7 Deactivated DP slave has been deactivated 0x02 0 reserved 0x02 1 reserved 0x02 2 reserved 0x02 3 reserved 0x02 4 rese...

Страница 61: ...e device s ADS 54 tab Port 200 IndexGroup 0x00yyF830 yy station address Beckhoff devices provide the same information as other devices IndexOffset 0 Length 1538 Data Configuration data of the slave If...

Страница 62: ...of six bytes of DP standard diagnosis along with up to 238 bytes of device specific diagnostic data When the DP diagnostic data changes the slave reports this fact to the master and the master will au...

Страница 63: ...lave in freeze mode 0x01 5 SyncMode DP slave in sync mode 0x01 6 reserved 0x01 7 Deactivated DP slave has been deactivated 0x02 0 reserved 0x02 1 reserved 0x02 2 reserved 0x02 3 reserved 0x02 4 reserv...

Страница 64: ...must be in the GSD file 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...

Страница 65: ...ngth LENGTH Length of the data that is to be read An ADS read response is represented in a DPV1 MSAC_C1 read response as follows ADS read response parameter Meaning Destination Net ID NETID Net ID of...

Страница 66: ...tination Net ID NETID Net ID of the slave see the device s ADS tab Destination Port PORT 0x1000 slave address Invoke ID INVOKEID A unique number as under indication Result RESULT Result of the read 0...

Страница 67: ...Application Feature Not Supported 0x0B 0x00 Access Invalid Index 0x01 Access Write Length Error 0x02 Access Invalid Slot 0x03 Access Type Conflict 0x04 Access Invalid Area 0x05 Access State Conflict...

Страница 68: ...ent a unique serial number The MAC ID can for example be used for the BootP protocol in order to set the TCP IP number This involves sending a telegram containing the information such as the name or t...

Страница 69: ...TCP IP and UDP IP The following protocols can run on top of TCP IP or UDP ADS ModbusTCP Both of these protocols are implemented in parallel on the Bus Coupler so that no configuration is needed to ac...

Страница 70: ...0 Version 1 6 8 1 2 Topology example Note 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 dow...

Страница 71: ...stem to use almost any connecting route to communicate with all the connected devices and to parameterize them Outside the Beckhoff system a variety of methods are available to exchange data with othe...

Страница 72: ...ally used Example MAC address 00 01 05 01 02 03 AMSNetID 5 1 2 3 1 1 Port number The port number distinguishes sub elements in the connected device Port 801 local process data PLC runtime 1 Index grou...

Страница 73: ...PCs or PLCs communicate via a fast serial connection with decentralized input and output modules RS485 is the most frequently used transmission technique using a screened twisted pair cable Data is m...

Страница 74: ...PROFIBUS CX8030 CX8031 74 Version 1 6...

Страница 75: ...conomy Bus Coupler for Bus Terminals BK3120 PROFIBUS Economy plus Bus Coupler for Bus Terminals BK3150 PROFIBUS Compact Bus Coupler for Bus Terminals BK3500 PROFIBUS Bus Coupler with fiber optic conne...

Страница 76: ...t they can be implemented with little effort PROFIBUS DP PROFIBUS DP is designed for efficient data exchange at the field level The central automation devices such as PLC PCs or process control system...

Страница 77: ...ther each consisting of one DPM1 and the associated slaves or additional project design and diagnostic devices All the DP masters can read the input and output images of the slaves Writing the outputs...

Страница 78: ...heless remain unchanged Only when the next sync control command is received from the master the stored output data is switched through to the outputs Sync operation is ended with an unsync control com...

Страница 79: ...PROFIBUS DP uses monitoring mechanisms in the DP Master and in the DP Slaves They are implemented in the form of time monitors The monitoring interval is specified in when the DP system project is pla...

Страница 80: ...DP modules to the cyclic I O data that is to be exchanged between the master and slave via the Data_Exchange telegram in the cyclic data exchange phase The sequence of the DP modules added to a slave...

Страница 81: ...he slaves while a Class 2 master is a B B device that generally only has read access to the slaves I O data 9 4 PROFIBUS DPV1 PROFIBUS DPV1 refers primarily to the acyclic read and write telegrams wit...

Страница 82: ...ad to some surprising phenomena This could for example be that some station is not connected but when the neighboring station is unplugged the connection appears again Or there may be transmission err...

Страница 83: ...Kbit s up to 12 Mbit s adjustable in stages Plug connector 9 pin D Sub connector for IP20 M12 round plugged connector for IP65 67 Cabling for PROFIBUS DP and PROFIBUS FMS Note Termination resistors a...

Страница 84: ...PROFIBUS CX8030 CX8031 84 Version 1 6 Address Bus Coupler The switch S311 represents the tens while that S310 represents the units...

Страница 85: ...eed in use and on the quality of the bus cables being used No more than 9 repeaters may be installed between two devices Stubs are to be avoided and are not permitted above 1 5 Mbaud The maximum numbe...

Страница 86: ...vity LED CX8030 Coupler Labeling Meaning Color Meaning TC Indicates the status of the coupler red TwinCAT is in stop mode Green TwinCAT is in run mode Blue If red DIP switch 1 is set to on when starti...

Страница 87: ...g for Cfg data DIA Indicates PROFIBUS errors LED power supply terminal Operation with K bus terminals Operation with E bus terminals Display LED Description Meaning 1 Us 24 V top left 1st row CX80xx s...

Страница 88: ...epeat until the defective Bus Terminal is located 4 pulses 0 K Bus data error break behind the Bus Coupler Check whether the n 1 Bus Terminal is correctly connected replace if necessary n Break behind...

Страница 89: ...o the controller 2 Connect voltage to the CX80xx see power supply 23 3 Connect Ethernet CX80xx X001 to your network or a direct connection to your PC make sure in the case of a peer to peer connection...

Страница 90: ...click on Broadcast search 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 inco...

Страница 91: ...System Manager in the bottom right hand corner It must be blue or green and may not be yellow 12 If the setting is green switch the CX to Config Mode with Shift F4 or click on the blue TC icon in the...

Страница 92: ...ow write a small program Translate the program If it is error free a warning must come that it is OK save the project under an arbitrary name translate it again and save it once again 18 Switch once a...

Страница 93: ...PLC Control go to Online Selection of the target system select the correct CX click on it and select runtime system 1 Now Online login again F11 transfer the PLC program then Online Start F5 The LED o...

Страница 94: ...ctories in order to update a CX80xx Update via USB CAUTION USB port as ignition source in potentially explosive atmospheres Gases or dusts can be ignited by a spark discharge when the USB port is used...

Страница 95: ...MicroSD card reader is required for this Remove the MicroSD card from the switched off CX device Insert the MicroSD card into the reader Delete all files we recommend that you backup all files first...

Страница 96: ...ollowing IDs II 3 G Ex nA IIC T4 Gc II 3 D Ex tc IIIC T135 C Dc DEKRA 16ATEX0052 X Ta 0 C 55 C Serial number The name plate of the CX8xxx Embedded PCs shows a consecutive serial number a hardware vers...

Страница 97: ...the user will be required to correct the interference at his own expense FCC Approval for Canada FCC Canadian Notice This equipment does not exceed the Class A limits for radiated emissions as descri...

Страница 98: ...bus technology Gerhard Gruhler Pub Feldbusse und Ger te Kommunikationssysteme Fieldbus and Device Communication Systems Praktisches Know How mit Vergleichsm glichkeiten Practical Know how with Compara...

Страница 99: ...puts GSD file Basic device file in German GSE file Basic device file in English IP20 IP65 IP66 IP67 Protection class contact water dust K Bus Terminal bus internal bus for communication between the co...

Страница 100: ...omponents 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 o...

Отзывы: