background image

Parameterization and commissioning

CX8095

35

Version: 1.5

Web visualization

There is a web visualization 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 be taken from the documentation on the web visualization (see TwinCAT
Supplements PLC HMI Web).

Example

Summary of Contents for CX8095

Page 1: ...Manual CX8095 Embedded PC with EtherNet IP Interface 1 5 2018 02 09 Version Date...

Page 2: ......

Page 3: ...the battery 25 6 Parameterization and commissioning 26 6 1 DIP switch 26 6 2 Setting the IP address 27 6 2 1 IP address 27 6 2 2 Setting the address via DHCP server 27 6 2 3 Subnet mask 27 6 3 Configu...

Page 4: ...oduction 63 8 1 1 Ethernet 63 8 1 2 Topology example 65 8 2 ModbusTCP 66 8 2 1 ModbusTCP Server Overview 66 8 2 2 ModbusTCP Protocol 67 8 2 3 Mapping between Modbus and ADS 68 8 3 TCP IP 70 8 4 ADS Co...

Page 5: ...iagrams 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 Othe...

Page 6: ...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 min...

Page 7: ...issue status Version Comment 1 0 First version 1 1 Chapter CCAT adaptor added 1 2 Foreword reworked Chapter For your safety added ATEX warnings added 1 3 Chapter Transport and storage added 1 4 Chapt...

Page 8: ...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 adhered...

Page 9: ...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 to...

Page 10: ...evices 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 soft...

Page 11: ...spite 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 packagi...

Page 12: ...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 level...

Page 13: ...ng 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 a...

Page 14: ...card The basic equipment includes two Ethernet interfaces as well as a K bus or E bus interface The smallest task time to be used is 1 ms a task time of 1 to 50 ms is recommended for the I O data furt...

Page 15: ...Online change Yes Up download code Yes Yes Power supply 24 VDC 15 20 UPS 1 second UPS Power supply for I O terminals K bus or E bus max 2 A Power contacts current loading max 10 A Max power loss 3 W...

Page 16: ...real time capable protocols that are based on TCP or UDP and require no real time extension System data X101 102 Ethernet CX8095 real time interface Transmission medium 4 x 2 twisted pair copper cable...

Page 17: ...th 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 Or...

Page 18: ...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 70...

Page 19: ...ring CX8095 19 Version 1 5 Attention Avoid damage Do not force the module or apply excessive pressure Permissible installation positions and minimum distances Installation positions Installation posit...

Page 20: ...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 systems...

Page 21: ...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 Bus...

Page 22: ...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 the T...

Page 23: ...0Base5 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 con...

Page 24: ...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 braid t...

Page 25: ...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 RTC...

Page 26: ...Meaning 10 on and 9 off DHCP active 10 off and 9 off Fixed IP address 192 168 1 xxx xxx stands for DIP switches 1 to 8 subnet mask is 255 255 255 0 The basic IP address can be modified in the operatin...

Page 27: ...rver A local IP address is used if no DHCP server is reachable The DNS name is formed from the type and the last 3 byte of the MAC ID The MAC ID is given on the production label of the Bus Terminal Co...

Page 28: ...255 0 0 0 FF 00 00 00 B 255 255 0 0 FF FF 00 00 C 255 255 255 0 FF FF FF 00 Note Assignment of subnets host numbers and IP addresses Neither subnet 0 nor the subnet consisting only of ones may be use...

Page 29: ...rating system Examples of protocols which are not real time capable include ModbusTCP UDP ADS TCP IP OPC UA and HTTP HTML The CCAT adapter must be deleted if only protocols of this type are used Examp...

Page 30: ...ectory 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 which is loc...

Page 31: ...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 Pages...

Page 32: ...sk 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 Pr...

Page 33: ...Parameterization and commissioning CX8095 33 Version 1 5 Note DC Distributed Clocks The CX80xx series is not suitable for the use of EtherCAT slaves that use or need distrib uted clocks functionality...

Page 34: ...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 con...

Page 35: ...zation 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 be t...

Page 36: ...te 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 Dis...

Page 37: ...ck 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 st...

Page 38: ...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 The CP...

Page 39: ...gth of the data and the correct cycle time IP address The IP address can be freely assigned Assembly instance numbers The assembly instance numbers are permanently assigned and must be correctly set i...

Page 40: ...is located on the side of the device Search for the devices as follows 1 Click on File New in the menu at the top 2 Click on Choose Target System in the toolbar at the top 3 Click on Search Ethernet 4...

Page 41: ...ark the device that you wish to set as the target system and click on OK You have successfully searched for a device in TwinCAT and inserted the device as the target system The new target system is di...

Page 42: ...AT 2 must be in Config Mode Scan for the CX8095 as follows 1 In the tree view on the left right click on I O Devices 2 In the context menu click on Scan Devices The window new I O devices found appear...

Page 43: ...t forget to create the CCAT EIP adapter slave in the System Manager Create the CCAT EIP adapter slave as follows 1 Right click on I O Devices in the tree view on the left hand side 2 Click on Append D...

Page 44: ...evice with the name CCAT EIP Adapter Slave and the EtherNet IP symbol that precedes it This is the EtherNet IP adapter for the CX8095 2 Click on the Adapter tab and then on the Network Adapter option...

Page 45: ...95 also have to be entered for the CX8095 Set the network parameters as follows 1 In the tree view on the left hand side click on Box TC EtherNet IP Slave which is appended to the EtherNet IP adapter...

Page 46: ...unication Create the variables as follows 1 Click on the Box TC EtherNet IP Slave of the CX8095 in the tree view on the left hand side 2 Click on Append IO Connection Object in the context menu The IO...

Page 47: ...portant for the entry in the master Value 128 for the configuration which should always be used with the value 0 Value 129 for the input data the length in this example is 18 bytes 4 bytes which are a...

Page 48: ...onger triggered and the EtherNet IP master goes into the error state Special Sync Task With this setting an additional task is used that is automatically started with TwinCAT This runs in its own cycl...

Page 49: ...iew on the left hand side right click on CCAT EIP Adapter Slave 2 Click on Append Box in the context menu The Insert Box window appears 3 Click on TC EtherNet IP Slave and then on OK You have successf...

Page 50: ...k Mask 0 means DHCP enabled any other value results in fixed SubNetMask 8000 23 Gateway Address 0 means DHCP enabled any other value results in fixed Gateway Address 8000 24 DHCP Max Retries 0 infinit...

Page 51: ...ays 0 8001 C Advanced Assembly Options Bit 14 0x4000 hex 0 default 1 disable Mapping of ConnCtrl and ConnState to EtherNet IP IO Connection All other bits always 0 reserve Heartbeat Instance Listen On...

Page 52: ...erNet IP devices The IP address from the memory is used if the corresponding flag is set If nothing is entered there the flag is ignored and the parameters from the System Manager are used ADS Write c...

Page 53: ...24 0x27 Device Type UINT32 4 0x28 0x2B Vendor ID UINT32 5 0x2C 0x2F Product Code UINT32 6 X 0x30 0x33 Revision UINT32 7 0x34 0x37 Serial Number UINT32 8 0x38 0x7D Reserved BYTE 70 0x7E 0x83 MAC Addres...

Page 54: ...DXOFFS ID of the slave interface LEN 256 The ID of the slave is displayed in the TwinCAT System Manager on the Configuration tab The ID is set by the system and can only be read Master IDXGRP 0x4481F8...

Page 55: ...IP slave are important for the configuration of the EtherNet IP master In the case of a CX8095 the instance numbers are displayed on the Configuration tab in the entry IO Assembly Settings Instance nu...

Page 56: ...Parameterization and commissioning CX8095 56 Version 1 5 1 Create a new controller 2 Append a new module...

Page 57: ...e data length is dependent on the Comm format In this sample INT was selected as the Comm for mat therefore the number of data items from entries 8001 05 and 8001 07 must be divided once again by 2 si...

Page 58: ...ent 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_WrPersistData...

Page 59: ...utdown 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 persisten...

Page 60: ...Programming CX8095 60 Version 1 5 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 lib...

Page 61: ...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_No...

Page 62: ...the address by reading the switch position VAR_INPUT VAR_INPUT iCX_Typ INT END_VAR iCX_Typ The CX type used is entered here just the number without the designation CX for example CX8031 is then entere...

Page 63: ...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 the...

Page 64: ...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 activa...

Page 65: ...Ethernet X001 Interface CX8095 65 Version 1 5 8 1 2 Topology example CX8095...

Page 66: ...German http infosys beckhoff com content 1031 tcmodbussrv html tcmodbussrv_overview htm English http infosys beckhoff com content 1033 tcmodbussrv html tcmodbussrv_overview htm Note CX8091 The Modbus...

Page 67: ...nder ModbusTCP and does not have to be configured by the user TCP port number The TCP port number for ModbusTCP has been standardized to 502 Modbus Unit The unit is returned by the slave ModbusTCP Pro...

Page 68: ...255 OF WORD Output registers 0x0000 0x2FFF Index group Index offset 0xF030 process image of the physical outputs 0x0 0x3000 0x5FFF 0x4020 PLC memory area 0x0 0x6000 0x7FFF 0x4040 PLC data area 0x0 0x...

Page 69: ...ess EndAddress 33023 EndAddress VarName mb_Input_Registers VarName MappingInfo InputRegisters OutputRegisters MappingInfo AdsPort 801 AdsPort StartAddress 0 StartAddress EndAddress 12287 EndAddress In...

Page 70: ...an http infosys beckhoff com content 1031 tcpipserver html tcpipserver_overview htm English http infosys beckhoff com content 1033 tcpipserver html tcpipserver_overview htm Note CX8091 The TCP IP serv...

Page 71: ...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 other so...

Page 72: ...y 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 T...

Page 73: ...CX8095 Meaning LED green on Link present LED yellow flashing Activity Ethernet interface X101 and X102 Interface X101 102 Ethernet CX8095 Meaning LED green flashing Activity LED yellow is not used LE...

Page 74: ...ured flashes 400 ms off At least one Ethernet port has an active link and a configured EtherNet IP Slave interface has no valid IP address configured off 1 s on 200 ms off All configured EtherNet IP s...

Page 75: ...nal 9010 is connected 5 pulses n K bus error in register communication with Bus Terminal n Exchange the nth bus terminal 6 pulses 0 Error at initialization Exchange Bus Coupler 1 Internal data error P...

Page 76: ...Error handling and diagnosis CX8095 76 Version 1 5...

Page 77: ...PI The task time usually doesn t match make sure that the slave operates internally with 1 ms and that you can adjust this with the Cycle Time Multiplier Otherwise adapt the task time to suit CN_ORC_N...

Page 78: ...e controller 2 Connect voltage to the CX80xx see power supply 21 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 tha...

Page 79: ...ick 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 incorre...

Page 80: ...em 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 Syst...

Page 81: ...rite 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 again...

Page 82: ...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 on y...

Page 83: ...ies 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 Swi...

Page 84: ...croSD 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 no...

Page 85: ...wing 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 version...

Page 86: ...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 described...

Page 87: ...nents 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 offer...

Reviews: