Home

TSX ETC 100 EtherNet/IP Communication Module

image

Contents

1. ID hex Description Type GET SET 01 Vendor ID UINT X 02 Device Type UINT X 03 Product Code UINT X 04 Revision STRUCT X Major USINT Minor USINT 05 Status Word X bit 2 0x01 the module is configured bits 4 7 0x03 no I O connections established Ox06 at least 1 I O connection in run mode 0x07 at least 1 I O connection established all in IDLE mode 06 Serial Number UDINT X 07 Product Name STRING X X supported not supported 31008211 7 2012 187 CIP objects Services The CIP Identity object performs the following services upon the listed object types ID hex Description Class Instance Notes 01 Get_Attributes_Alll X X Applies to all class and all instance attributes 0E Get_Attributes_Single X X Applies to all class and all instance attributes 05 Reset X Two types 00 power cycle 01 return to factory defaults and power cycle X supported not supported 188 31008211 7 2012 CIP objects Module Diagnostic Object Overview The Module Diagnostic CIP object consists of the attributes and services described below Attributes The Module Diagnostic CIP object consists of the following attributes 1 Class attributes ID hex Description GET SET 01 Revision X 02 Max Instance X X su
2. Topic Page Device Library 71 Add an EDS File to the Device Library 73 Adding A Remote Device 76 Configuring Remote Device Properties 78 Managing Project Files 83 70 31008211 7 2012 Adding Devices to an EtherNet IP Network Device Library Overview The Unity Pro EtherNet IP configuration tool includes a Device Library located in the lower left part of the configuration tool s main window The Device Library is a repository of both generic and device specific EDS files Each EDS file defines a device chassis or module that you can add to your EtherNet IP network configuration a R Display Devices a Display Modules and Chassis Display all Nodes Generic EDS EtherNet IP Local Slave 4 EtherNet IP Devices A Chassis and modules amp Device Library fai Network Detection Both the Generic EDS node and the EtherNet IP Local Slave node describe generic devices and cannot be deleted Click on the icon to expand the device list and display the items of the selected type 31008211 7 2012 71 Adding Devices to an EtherNet IP Network Functions Use the Device Library s toolbar controls to perform the following tasks Function Icon Description Add an EDS File a Opens the Add an EDS File wizard see page 73 which steps you through the process of adding a new EDS file to the Device Library Delete a device from the Device Librar
3. Data_to_ Send _ Array n m of INT The message type connected or unconnected plus the CIP request Input Output Parameters Output Parameters Parameter Data type Description Management _Param Array 0 3 of INT The management parameter consisting of 4 words Parameter Data type Description Received Data Array n m of INT The CIP response Configuring the Address Parameter To configure the Address parameter use the ADDR function to convert a character string to an address as follows ADDR network station rack module channel destination address NOTE e The Xway address elements network station are required only when bridging through another PLC station e The channel parameter value is always 0 31008211 7 2012 153 Explicit Messaging in Unity Pro Configuring the Management Parameter The Management Parameter consists of 4 contiguous words as described below Data source Register Description High Byte MSB Low Byte LSB Data managed by the system Management_Param 0 Exchange number Activity Bit bit 0 see below Management _Param 1 Operation report Communication report see page 157 see page 156 Data managed by the user Management _Param 2 Block timeout Values include 0 infinite wait e other values timeout x 100 ms for example e 1 100ms e 2 200ms e etc Management _Param 3 Leng
4. Input dword BA Slot0o_Target_Error_Co 4 4 AMW20 d Slot01_Input_Value_o Input bit 9 9 0 AMW22 8 Slot01_Input_Value_1 Input bit 9 9 1 MMW22 9 Slot01_Input_Value_2 Input bit 9 9 2 MW 22 10 Slot01_Input_Value_3 Input bit 9 9 3 A MW22 11 Slot02_Status_Output_O Input bit 10 10 0 AMW23 0 Siot02_Status_Output 1 Input bit 10 10 1 eMW23 1 Output Item Name Data Type OffsetDevice Dffset Connection Position in Byte Address E SlotoO_Reserved Array of 2 output words 0 0 SEMI 0 Slot0i_Input_Value_ Input bit 9 9 0 SMI 5 0 Slot01_Input_Value_ Input bit 9 9 AMW151 126 31008211 7 2012 Optimizing Performance Overview This chapter describes how to optimize performance of your EtherNet IP network What Is in This Chapter This chapter contains the following sections Section Topic Page 4 1 Selecting a Switch 128 4 2 Control Application Design 136 4 3 Projecting Ethernet Network Performance 142 31008211 7 2012 127 Optimizing Performance 4 1 Selecting a Switch Overview This section describes how to select an Ethernet switch for your network What Is in This Section This section contains the following topics Topic Page Role of a Switch in an Ethernet Network 129 Transmission Speed Duplex and Auto Negotiation 130 IGMP Snooping 131 Port Mirroring 132 Virtual Local Area Network VLAN 134 Simple Ne
5. Bit O internal fault Bit 1 operational fault Bit 2 not used Bit 3 self test Bit 4 not used Bit 5 configuration fault Bit 6 missing module or off Bit 7 not used 210 31008211 7 2012 Diagnostics Updating channel data To display channel information follow these steps Step Action 1 Configure the READ_STS function block as follows CHr m ch CH READ_STS Where r rack or station number m module or slot number ch channel number always set to 0 for ETC transactions To view the data updated by the READ_STs function block enter the corresponding direct addresses in the Unity Pro Animation table or use them in your program logic Object Description MWr m ch 0 Exchange Status EXCH_STS Bit 0 reading of status words of the channel in progress STS_IN_PROG Bit 15 reconfiguration in progress RECONF_IN_PROG MWr m ch 1 Exchange Report EXCH_RPT Bit 0 error while reading channel status STS_ERR Bit 15 error while reconfiguring the channel RECONF_ERR MWr m ch 2 Standard channel status low byte Bits 0 3 reserved 0 Bit 4 internal fault Bit 5 configuration fault Bit 6 X Bus communication fault Bit 7 application fault conf fault High byte Bits 0 7 reserved 0 31008211 7
6. Property Description Number The number assigned to the device in the EtherNet IP configuration tool IP Address The device IP address associated with the device Enable DHCP TRUE indicates that the device subscribes to the DHCP service Identifier Type Indicates the mechanism used by the server to recognize the client MAC address or DHCP device name Identifier The actual MAC address or DHCP device name 31008211 7 2012 55 Configuring Enabling the DHCP Service The DHCP service for an EtherNet IP device is not enabled in this page Instead it is enabled and disabled in the remote EtherNet IP device configuration To turn on the DHCP service for a specific device follow these steps Step Action 1 n the Unity Pro EtherNet IP configuration tool select the DHCP client device in the Devices window In this example the selected client is an STB_NIC_2212 a ale S33 ao E NOC1 RJ45 Auto 10 100 Mb In MWO Out MWO a T TCP IP Static 192 168 001 004 H H 000 EtherNet IP Local Slave B Bm 001 192 168 001 006 STB_NIC_2212 002 192 168 001 011 1734 AENT PointlO EtherNet IP Adapter Rev 2 1 Select Devices Properties The General page of the Properties window opens for the selected device indicating the DHCP client service is disabled the default setting STB NIC 2212 In6 Out x General Connections Online Parameters Module In
7. NUcast Packets The total number of packets that higher level protocols requested be transmitted to a non unicast address Discards The number of outbound packets which were chosen to be discarded even though no errors had been detected to prevent their being transmitted Errors The number of outbound packets that could not be transmitted because of errors 48 31008211 7 2012 Configuring Property Description Error Counters Alignment Errors The number of frames received on this interface that are not an integral number of octets in length and do not pass the FCS check FCS Errors The number of frames received on this interface that are an integral number of octets in length but do not pass the FCS check Single Collisions The number of successfully transmitted frames on this interface for which transmission is inhibited by exactly one collision Multiple Collisions The number of successfully transmitted frames on this interface for which transmission is inhibited by more than one collision SQE Test Errors The number of times a SQE test error message has been generated Deferred Transmissions The number of frames for which the first transmission attempt on this interface has been delayed because the medium is busy Late Collisions The number of times a collision is detected later than 512 bit times into the transmission of a packet
8. If a switch is equipped with SNMP agent software a designated SNMP manager can e retrieve management data about the switch e control the switch by editing its configuration settings e receive traps or notices of events affecting the state of the switch 31008211 7 2012 135 Optimizing Performance 4 2 Control Application Design Overview In a control system control and automation are achieved by processing and delivering various application service messages Understanding messages allocating network bandwidth among messages and determining the time required for a message to traverse the network are all major performance considerations of your control application design What Is in This Section This section contains the following topics Topic Page Message Types 137 TCP Connections 139 CIP Connections and Messages 140 Messaging Performance 141 136 31008211 7 2012 Optimizing Performance Message Types Overview Explicit Messages Two types of industrial Ethernet message types are supported by the Ethernet communication module Message Type Includes Explicit e Non time critical management data Read write application data Real time I O data Real time control data Real time synchronization data Implicit Explicit messages transmit information used for device configuration and diagnostics and for data collection In explicit mess
9. Click the Read Network Configuration toolbar button yt The configuration tool searches the network for EtherNet IP devices classifies them using the device EDS file then lists the EtherNet IP devices it detects w l gt l Fu Network STB NIC 2212 In6 Out1 192 168 001 006 1734 AENT PointlO Adapter 192 168 001 011 Select the 1734 AENT PointlO Adapter in Network Detection window Click the Insert in Configuration button s The Properties window opens where you can configure the 1734 AENT PointlO adapter 31008211 7 2012 119 Adding Devices to an EtherNet IP Network Configuring 1734 AENT PointlO Adapter Properties Overview The 1734 AENT PointlO adapter module properties window presents the following tabbed pages Only some of these pages need to be edited for this example In this page Do the following General e input device name e configure IP address e add the device to the project configuration Chassis Add 2 I O modules to the chassis e 1734 IB4 C 4pt DC input module 1734 OB2E 2pt DC output module Connections Accept the default settings Online Parameters Accept the default settings if any Module Informations Read only page no configuration required Port Configuration Read only page no configuration required EDS File Read only page no configuration required 120 31008211 7 201
10. Data Editor of x Filter T Nae TEDT MDDT M IODDT Name Z Type Ad l Address v Value Comment v ETC1_IN ST_ETC1_IN MW 1 ARRAY 0 15 OF BYTE MW1 Connection H C1 DEVICE_A ST_ETC1_IN_DEVICE_A MW9 Device DEV DEVICE_B ST_ETC1_IN_DEVICE_B MW19 Device DEV Devices_Health WORD MotorSpeed1 WORD MotorSpeed2 WORD E Padding ARRAY 0 7 OF BYTE Padding ETC1_OUT ST_ETC1_OUT MW 101 DEVICE_A ST_ETC1_OUT_DEVI MW101 Device DEV De ST_ETC1_OUT_DEVI MW111 Device DEV AnalogCH1 AnalogCH2 WORD MW 111 Bit 0 Mod1_0 WORD MW 112 PressureVLV1 ORD MW 113 PressureVLV2f WORD MW 114 Padamgo ARRAY 0 11 OF BYTE MW115 Padding 1 device names user created in the Unity Pro EtherNet IP configuration tool 2 variable names user created as I O items in the Unity Pro EtherNet IP configuration tool or defined as a property by the EDS file of the remote device 31008211 7 2012 27 Configuring 2 2 Using the Unity Pro EtherNet IP Configuration Tool Overview This section describes the Unity Pro EtherNet IP configuration tool user interface Use the configuration tool to enter settings for the EtherNet IP communication module and for other devices connected to your EtherNet IP network What Is in This Section This section contains the following topics Topic Page EtherNet IP Configur
11. Note Each array entry presents 2 bytes of data in little endian format where the least significant byte is stored in the smallest memory address For example 8E in word 0 is the lower byte and 00 is the upper byte 31008211 7 2012 163 Explicit Messaging in Unity Pro SEND_REQ Example Reset Overview The following unconnected explicit messaging example shows you how to use the SEND_REQ function block to perform a warm reboot of a third party device in this case a Rockwell Automation 1734 AENT PointlO EtherNet IP adapter revision 2 1 using the Reset service You can perform the same explicit messaging service using the Online Action window of the Unity Pro EtherNet IP configuration tool see page 171 Implementing the SEND_REQ Function Block To implement the SEND_REQ function block you need to create and assign variables to the following blocks TON R_TRIG start IN start T 500ms PT BA i AND _ BOOL MOVE INI OUT EN ENQ Management_Param 0 0 C IN2 Send_data_bytes jIN QUT Management_Param 3 SEND REQ EN ENO ADDR 0 4 0 10 _ ADR RECP Received_Data Request_Code CODE Data_to_Send EMIS Management_Param GEST GEST Management_Param 164 31008211 7 2012 Explicit Messaging in Unity Pro Input Variabl
12. Check Device Identity Time out Multiplier x4 E Connection Information Input T gt 0 1734 IB4 C 4pt DC Input Input Mode Multicast ij 1734 OB2E C 2pt DC Output Input Type Fixed Pricrity Scheduled Trigger Type Cyclic Output O gt T Output Mode Point to Point Output Type Fixed Priority Scheduled 4 Inthe Devices window navigate to and select the first Rack Optimized connection item at Position 000 as shown below al aa elel 2l a s0 Module ETC1 Auto 10 100 Mb IN MW0 Out MWO la TCP IP Static 192 168 001 004 E 000 EtherNet IP Local Slave 001 192 168 001 006 STB_NIC_2212 002 192 168 001 011 1734 AENT PointlO EtherNet IP Adapter Rev 2 1 oe Item Configuration Device Name DEVICE_A amp Position 000 Slot 00 Rack Optimization t Position 001 Slot 01 Rack Optimization gp Position 002 Slot 02 Rack Optimization I PointlO 2 Slot Chassis W E The automatically configured input and output items appear on the right side of the screen in the I O area as depicted in the next step below 31008211 7 2012 125 Adding Devices to an EtherNet IP Network Step Action 5 If necessary use the horizontal scroll bar to scroll to the far right of the input or output area and display the Address column which identifies the location of the input or output in the TSX ETC 100 ale a Input Item Name iN Error_ Address
13. The TCP IP Parameters dialog opens below TCPIP Settings 94 31008211 7 2012 Adding Devices to an EtherNet IP Network Step Action 9 In the Remote IP Address field type in the IP address for the STB NIC 2212 in this example 192 168 1 6 F TCP IP Parameters Parameters Remote Name Remote IP Address 192 t 168 18 6 Local IP Address Dynamic DHCP Configured Subnet Mask Dynamic DHCP Configured Local IP Address 502 Default Gateway Dynamic DHCP Configured Derive IP from MAC Cancel Note Use the mouse to move between octets and do not type in any leading zeroes For example do not type in 192 168 001 006 10 Click OK to close the TCP IP Parameters dialog and click OK again to close the Connection Settings dialog 11 Select Online Connect The Data Transfer dialog opens below Data Transfer The Configuration in the workspace does not match the configuration in the connected Island Please select one of the following options Download into the island disabled No configuration data available Download Cancel 31008211 7 2012 95 Adding Devices to an EtherNet IP Network Step Action 12 Select Upload in the Data Transfer dialog The island workspace is populated with island data and shows the STB NIC 2212 and all island modules below 8 g N 5 3 3 ke 3 o G a a a a eee een m
14. Configuring Devices Window Overview The Devices window is located in the center of the EtherNet IP configuration tool s user interface and displays a node for each device in your network configuration A example of the Devices window appears below Module EIP Aulo 10 100 Mb In MW0 OUT MW0 F TCP IP Static 192 168 01 004 000 EtherNet IP Local Slave E Item Configuration Device Name DEVICE_A 001 192 168 001 005 DEVICE_B Generic EDS rod Item Configuration Device Name DEVICE_B 002 192 168 001 006 DEVICE_C Adapter rod Item Configuration Device Name DEVICE_C to Position 000 Slot 00 Rack Optimization Position 001 Slot 01 Rack Optimization tp Position 002 Slot 02 Rack Optimization 2 Slot Chassis Configurable Properties The Devices window displays a node for each device and for each device s configurable property group in your network configuration Each node is identified by an icon as follows Node Icon This node is used to configure Channel el The properties of the EtherNet IP module s communication channel TCP IP p The EtherNet IP communication module s IP addressing SNMP and DHCP server settings Properties related to the module s role as an I O adapter to a remote device acting in the role of I O scanner The properties of any EtherNet IP network device with an IP address including both modular and non modular devices
15. EDS File Configured Connections Connections Parameters TSXETC100 from Generic EDS Name Value Unit Exclusive Owner Connection Bit Health Offset H CH Requested Packet Interval 30 ms Check Device Identity Time out Multiplier x4 oO Configuration Setting Input T gt O Input Size 256 bytes Input Instance 101 Output O gt T Output Size 256 bytes Output Instance 102 Configuration Configuration Instance 0 Configuring the I O items You can configure input and output items in groups of 1 or more single bits 8 bit bytes 16 bit words 32 bit dwords or 32 bit IEEE floating values The number of items you create depends upon the data type and size of each item The process for creating and defining I O items for the local slave are the same as for any I O adapter and depend upon the type of item you wish to create For an I O configuration example see the how the following I O items were configured for the STB NIC 2212 network interface module e discrete input items see page 101 e numeric input items see page 107 e discrete output items see page 104 e numeric output items see page 110 31008211 7 2012 61 Configuring Configuring Local Slave Properties The General page The General Page Use the General page to configure the EtherNet IP communication module to serve as an I O adapter to a remote device The following steps describe a sample configuration of the local slave f
16. GMP Multicast Group Join message The group message is received by all network switches which update their multicast addressing information databases in response Similarly when an Ethernet device transmits an IGMP Multicast Group Leave message all network switches update their multicast addressing information databases by removing the device from their databases Multicast messaging reduces network traffic by e requiring that a message be sent only once e sending the message only to devices for which the message is intended Recommendation Schneider Electric recommend the following e employ switches that support IGMP V2 or higher e because IGMP snooping may be disabled by default enable IGMP snooping for each network switch e confirm that one switch is configured as the IGMP querier 31008211 7 2012 131 Optimizing Performance Port Mirroring Introduction Port mirroring lets you troubleshoot switch port transmissions by copying the traffic that passes through one port the source or mirrored port and sending the copied transmission to a second port the destination or mirror port where the packets can be examined In the following example the data packets transmitted over port 1 are copied and sent to port 6 To troubleshoot port 1 a PC with packet sniffing software is used to analyze the traffic on port 6 and thereby troubleshoot port 1 B A target device of port 1 transmissions B PC with packet snif
17. I O Drive C 2 x 2 30ms 134 pps I O Scanner D 2 xX 2 50ms 80 pps Total 848 pps Switch 848 pps Bandwidth Device Packet size X Load Bandwidth I O Adapter A 8000 bits X 500 pps 4 Mbps I O Adapter B 4096 bits X 134 pps 0 554 Mbps I O Drive C 8000 bits X 134 pps 1 07 Mbps 1 0 Scanner D 8000 bits X 80 pps E 0 64 Mbps Total 6 26 Mbps Switch 6 26 Mbps The projected total load for the module 848 pps is within the device implicit messaging limit of 12000 data packets per second The projected total bandwidth for the communication module 6 26 Mbps is also within the device implicit messaging bandwidth limit of 80 Mbps The projected total load and bandwidth for the remote devices including the switch are also within their 90 load and bandwidth limits Device 90 of Load Limit 90 of Bandwidth Limit Ethernet Communication Module 10800 pps 72 Mbps I O Adapter A 7200 pps 63 Mbps I O Adapter B 7200 pps 63 Mbps I O Drive C 7200 pps 63 Mbps 1 0 Scanner D 10800 pps 72 Mbps NOTE Although message load contributed by explicit messaging are not included in the above calculations such load contributions are presumed to be less than 10 of the device load and bandwidth 148 31008211 7 2012 Explicit Messaging In Unity Pro Overview This chapter describes how to execute explicit messages in Unity Pro using either e the SEND R
18. Local slave Device Items collection The name assigned to a group of I O items n 31008211 7 2012 33 Configuring Node Icon This node is used to configure Item to The properties of a CIP connection between the EtherNet IP communication module and individual I O items If the type of connection is rack optimized click on the connection in the first position to display all rack optimized I O items e direct click on a connection for any position to display the I O items for that connection Chassis TE The properties of a chassis that is part of a modular device Module q The parameters of an I O module that is part of a modular device 34 31008211 7 2012 Configuring Configuring Properties in the Devices Window Overview Use the Devices window in the Unity Pro EtherNet IP configuration tool to display and configure properties for the EtherNet IP communication module and other devices on your EtherNet IP network To configure properties double click on the Devices window node associated with the properties see page 33 you want to configure For example to configure the EtherNet IP communication module network channel properties double click on the channel icon to display the Channel Properties window When the window first opens it displays 2 tabbed pages e General the default tab e Ethernet Note that the Channel Properties window can also dis
19. e view properties and EDS files for all available EtherNet IP devices insert a single selected device into the configuration in the Devices window e insert all detected device into the configuration in the Devices window replacing all devices in the configuration You can show or hide the workspace area using the File Preferences Workspace command The Devices window contains a tree control containing all devices that have been added to your EtherNet IP network configuration In the Devices window you can display and edit the properties of selected EtherNet IP devices including EtherNet IP communication modules local slaves remote devices I O modules commission devices create and configure CIP connections for devices open the I O area and display individual inputs and outputs diagnose device connections The I O Area displays the configuration data for each input and output including the name data type offset within the device offset within the connection address where the I O data is sent to or sent from The I O area is displayed only when a device I O connection is selected in the Devices window configuration 31008211 7 2012 31 Configuring Output Message Window The Output Message window displays a sortable list of events The Output Message window can be configured to show or hide each item s e date and time e event level e informational e warning e error 32 31008211 7 2012
20. gt i m j Note A box appears beneath each module containing one or two integers for example Ba These integers serve the following purpose e The left side integer 3 in this example identifies the module s physical position left to right among all modules in the rack e The right side integer 1 in this example identifies the module s relative position left to right among only data producing receiving modules If the module is not a data producing receiving module e g a power supply or end of segment module no right side integer appears 96 31008211 7 2012 Adding Devices to an EtherNet IP Network Step Action 13 Select Island 1 O Image Overview The I O Image window opens to the Fieldbus Image page VO Image Overview Fieldbus Image Modbus Image Wor E ESI Resa BS gt K 3 5 6 JINN Joo on fs Nod on Jon No fC ojaa noja ss 10 0 00 Niu Sito fo as S ND JINN Joo fon fs afc z 3 4 5 6 Fi 8 9 10 Image Input Location Word 1 Bit 15 Family Networking Module STBNIC2212 V2 xx 1 127 Item NIM status bit gt EtherNet IP NIM _Status_WD Output Data Each table cell contains one of the following alpha numeric indicators e S indicates a status bit for the STB NIC 2212 network interface module e an integer identifies the relat
21. 00 00 e eee eee 89 Connecting to the Advantys STB Island 00 00 eee 93 Configuring I O Items 0 0 eee 98 Connecting to Third Party Devices 0 c eee eee eee 113 Adding a Third Party Device to the Sample Network 114 Add an EDS Filer rire orep kd Shaw Sete rede i oka Perna Ee ea 116 Automatically Detect and Add the 1734 AENT PointlO Adapter 119 Configuring 1734 AENT PointlO Adapter Properties 120 Viewing 1734 AENT PointlO Adapter I O Addresses 124 Optimizing Performance 00 ceeee eens 127 Selecting a Switch 0 0 eee eee 128 Role of a Switch in an Ethernet Network 0 000 eee 129 Transmission Speed Duplex and Auto Negotiation 130 IGMP SnOOping siete ide os oe ee pee ed ea REE ee 131 Port Mirroring lt ices Bika order go Bed ike ener pa tani een eet E 132 Virtual Local Area Network VLAN 0 0 00 cece eee eee eee 134 Simple Network Management Protocol SNMP Agent 135 Control Application Design 0 c eect eee 136 Message TypeS 0 200 c eects 137 TOP CONnNGCHIONS 1 i esen i bie gohan RIO re Ree ae atte a hea ea 139 CIP Connections and MessageS 0 cece eee eee es 140 Messaging Performance 0 eee eee ete 141 Projecting Ethernet Network Performance 20 00 142 Allocating Network Bandwidth 0 0 c eee eee ee eee 143 Network L
22. 0D03410_outputdata_QX3 Output bit 0 0 3 AMWO 3 0003410_outputdata_QxX4 Output bit 0 o 4 AMWO 4 DD03410_outputdata_QX5 Output bit 0 0 5 AMWO 5 DD03600_outputdata_QXe Output bit 1 1 o AMWO 8 0D03600_outputdata_QXg9 Output bit 1 1 1 MIWO 9 DD03600_outputdata_QX10 Output bit 1 1 2 eAMWO 10 DD03600_outputdata_QXi1 Output bit 4 1 3 AMWO0 11 0DD03600_outputdata_Qx12 Output bit 1 1 4 MIWO 1 2 DD03600_outputdata_Qx13 Output bit 1 1 5 AMWO13 M4V01250_CH1_outputdata_ Output word 2 2 MIWA MBAV01250_CH2_outputdata_ Output word 4 4 MW 14 E 112 31008211 7 2012 Adding Devices to an EtherNet IP Network 3 4 Connecting to Third Party Devices Overview The EtherNet IP communication module can connect to and communicate with EtherNet IP devices made by third party manufacturers This section describes how to set up communications with the Rockwell Automation 1734 AENT remote device and its I O What Is in This Section This section contains the following topics Topic Page Adding a Third Party Device to the Sample Network 114 Add an EDS File 116 Automatically Detect and Add the 1734 AENT PointlO Adapter 119 Configuring 1734 AENT PointlO Adapter Properties 120 Viewing 1734 AENT PointlO Adapter I O Addresses 124 31008211 7 2012 113 Adding Devices to an EtherNet IP Network Adding a Third Party Device to the Sample Network Overview The next task is to extend the sample network
23. 31008211 7 2012 197 Diagnostics 7 1 LED Indicators LED Indicators for the TSX ETC 100 Module LED Indicators The TSX ETC 100 displays the following LED indicators Mod Status Qd Net Status Q LED Descriptions Use the LED display to diagnose the state of the module as follows LED Color Description RUN Green e Off Indicates that the module is not communicating with the CPU over the backplane e Steady Green Indicates that the module is communicating with the CPU over the backplane ERR Red e Off e Power is not being supplied to the module e The module is running a self test e The module is ready to start operating Steady Red e The module is not operational e A software operation error has occurred causing a re initialization e Flashing Red The module is not configured or is being configured 198 31008211 7 2012 Diagnostics LED Color Description STS Yellow e Off e Power is not being supplied to the module e The module is not ready to start operating e The module is ready to start operating e Steady Yellow e The module is running a self test e A software operation error has occurred causing a re initialization e The module is configured and operational e Steady or Flashing Yellow The module is not configured or is being configured The STS LED also provides diagnostic information by using the following sequence of flash
24. 45 Cable Connector 10 100 Base T EtherNet IP _ LEDs The TSX ETC 100 EtherNet IP communication module presents the following LED indicators Running Error Status Collision Reception Activity RX Transmission Activity TX 12 31008211 7 2012 Installation e Module Status e Network Status For a description of these LEDs and how to use them to diagnose the communication module refer to the topic LED Indicators for the TSX ETC 100 Module see page 198 Mounting the Module The TSX ETC 100 is mounted in the rack slot of a Premium Atrium PLC station It can be installed in any available slot except in the offset X Bus racks To mount the TSX ETC 100 module Step Action Illustration 1 Place the prongs at the lower back of the module into the centering holes on the lower part of the rack Swivel the module up and back to bring it into contact with the rack and the pin connectors Secure the module to the rack by tightening the screw on the upper part of the module Note Maximum tightening torque is 2 0 N m 31008211 7 2012 13 Installation Wiring the Ethernet Connector A WARNING HAZARD OF ELECTRICAL SHOCK OR BURN Connect the ground wire to the protective earth PE terminal before you establish any further connections When you remove connections disconnect the ground wire last The Ethernet cable shie
25. 7 2012 201 Diagnostics Step Action 2 Do one of the following e double click the left mouse button on the TSX ETC 100 module in the window above or e click the right mouse button on the TSX ETC 100 module then select Open Module in the popup menu The Premium EtherNet IP Module window opens PREMIUM ETHERNET IP MODULE eo a Fy P Run ERR STS TSX ETG 100 gt i Overview E Faur yo Objects Channel o ETHEANET IP MODULE i SPECIFICATIONS O Desoription EtherNet IP module for Premium PLCs Communication ports 1 10 100Base T sh elded twisted pair RJ Operating conditions Temperature Oto 60C Humidity Oto 95 Rh noncondensing 60C g Altitude 6 600 ft 2000 m Vibration 3 100 Hz 1 mm d a 5 150 Hz 3 5 4 Storage conditions Temperature 40to 850 Humidity Oto 95 Rh noncondensing 60C Free fall 1 m unpackaged Shock 3 shocks axis 15g 11 ms a lt a 202 31008211 7 2012 Diagnostics Step Action Navigate the Premium EtherNet IP Module window using the following features 1 Module status icons These three indicators display the module s status in online mode 2 Channel area Select a node to display parameters for either e the communication module or e acommunication channel 3 Page tabs Select a page to display module or channel properties e for the communication module e Overview e Fault e 1
26. Excessive Collisions The number of frames for which transmission on this interface has failed due to excessive collisions MAC Transmit Errors The number of frames for which transmission on this interface has failed due to an internal MAC sublayer transmit error Carrier Sense Errors The number of times that the carrier sense condition was lost or never asserted when attempting to transmit a frame on this interface Frame Too Long The number of frames received on this interface that exceeded the maximum permitted frame size MAC Receive Errors The number of frames for which reception on the interface has failed due to an internal MAC sublayer receive error 31008211 7 2012 49 Configuring 2 4 Configuring the TCP IP Address Settings Overview This section provides information about how to configure the TCP IP address settings for the EtherNet IP communication module What Is in This Section This section contains the following topics Topic Page TCP IP Properties The General Page 51 TCP IP Properties Configuring the SNMP Agent 53 TCP IP Properties Configuring the DHCP Server 55 50 31008211 7 2012 Configuring TCP IP Properties The General Page The General Page Use the General page of the TCP IP properties window to configure the IP address of the EtherNet IP communication module Open the TCP IP properties window by clicking on the T
27. Explicit message client Explicit message server 3 Total TCP connections 67 164 connections can be used for any combination of e O adapter connections e O scanner connections e explicit messages as client A single TCP connection can support multiple CIP connections NOTE TCP connections dedicated to other services for example FTP are not included in the above numbers 31008211 7 2012 139 Optimizing Performance CIP Connections and Messages Overview EtherNet IP uses CIP connections to transmit messages between objects running in connected devices There are different types of CIP connections Connection Types CIP connection types include CIP connection type Supports Rack optimized The grouping of data from multiple I O modules in the same rack transmitted over a single connection Note A rack optimized connection e can transmit only device status and data e applies only to digital I O modules A CIP connection is consumed by each I O module in addition to the rack optimized connection Direct A link between a controller and a single device Note A connection to an analog I O module must be via a direct connection Connection Limits The TSX ETC 100 EtherNet IP communication module can provide up to 198 concurrent CIP connections as follows Connection type Maximum number of connections I O adapter 4281 I O sc
28. Interface e Ethernet Link e refresh data NOTE e This page is displayed only when the Unity Pro EtherNet IP configuration tool is operating online To operate online select File gt Go Online e All object groups are displayed only when you are operating in Advance mode To operate in Advance mode select File Preferences Advance 31008211 7 2012 43 Configuring Displaying module information is a 3 step process as described below Channel Properties x General Ethernet EtherNet IP Module Information Identification Vendor ID 243 E Device Type 12 estje Product Code 2049 _ Object Revision V126 1 Product Code 5400510B Identity Product Name TSXETC100 Connection Manager m Owned FALSE TCPAIP Interface Configured TRUE Ethernet Link Extended Device Status Self Testing or Unknown Major Unrecoverable Fault FALSE Major Recoverable Fault FALSE Minor Unrecoverable Fault FALSE Resat Module Major Recoverable Fault FALSE Description Cancel Help NOTE Refer to the topic Configuring Properties in the Devices Window see page 35 for information on how to display property descriptions and edit property values Step 1 Select a property type in the Object list e identity e Connection Manager e TCP IP Interface e Ethernet Link Step 2 Click the Get Information from Module button to populate property data Step 3 Periodically cli
29. Items Numeric Input Items Numeric Output Items Offset Device Offset Connection Position in the Byte Item Name Default Items Name Root NiCstatus e ee e o CD iT i A ee o f hs ad ss pate o OEE NITE oT ts bares T rr ees a eee O2 2 0 O2 2 1 Ore 2 I l 5 Click the Define Item s button The Item Name Definition dialog opens Item Name Definition 3 Define Selected Area As One or Several Single Item s Item Name 32 char max NiCstatus_ X Cancel e Note The asterisk indicates a series of discrete items with the same root name will be created 102 31008211 7 2012 Adding Devices to an EtherNet IP Network Step Action Accept the default Item Name and click OK 16 discrete input items are created Items Declaration 2 x Discrete Input Items Discrete Output Items Numeric Input Items Numeric Output Items Offset Device OffsetConnection Position in the Byte Item Name o0 0 0 NiCstatus_IXo Default Items Name Root o 0 1 NICstatus_IX1 Nicstaus o 0 2 NiCstatus_IX2 o 0 3 NiCstatus_IX3 o o 4 NiCstatus_IX4 Bo 0 NiCstatus_IXs _Define Item s _ o o 6 NiCstatus_Ix6 o 0 7 NiCstatus_IX7 i 1 O NiGstatus_IXo ei l a ales Selest a zone and click i 1 2 NICstatus_IX2 4 s on the Define Item s 1 1 3 NGstatus_x3 button to create i 1 4 NiCstatus_IX4 i ei 1 5 NiCstatus_IX5 One or several items i 1 6 NICstatus
30. Load measured in number of packets can be estimated as the sum of the Device Load of the adapter devices or of the scanner devices Network Bandwidth measured in bits can be estimated as the sum of the Device Bandwidth of the adapter devices or of the scanner devices NOTE Schneider Electric recommends that Network Load not exceed 90 of maximum network bandwidth If necessary you may need to optimize your control application design by adjusting device RPI settings e changing connection types e g from direct to rack optimized e modify the configuration e change the network topology 144 31008211 7 2012 Optimizing Performance Network Load and Bandwidth Calculation Example Network Devices This example estimates the performance for an Ethernet network composed of the following devices e a PLC that controls 3 remote I O stations A B and C e Ethernet communication module acting as the local I O scanner installed in the PLC rack e an 8 port Ethernet managed switch e aPC running used to obtain diagnostic data via explicit messages running the following software e Unity Pro e the Unity Pro Ethernet Configuration Tool e 4 remote devices acting as e an I O adapter A for a rack of I O modules e asecond I O adapter B for a rack of I O modules e aremote I O drive C e a remote I O scanner D Unity Pro software running in the PC is used to configure the CPU controller For programming pur
31. Net Par OxFB OxFBO5 Fw_Open respons asks for port number other than 2222 OxFB OxFBO6 Error joining the UDP multicast group OxFB OxFBO7 Optimization error unknown MAC Address 68 Connection 0xDO 0x0001 Connection is closed establishing 0xDO 0x0002 Connection is pending 70 Not connected OxFD Error code in register session response EPIC OxFD Error code in the frame OxFD Encapsulation session un registered 77 Scanner stopped 0 0 Connection is stopped Services The CIP Scanner Diagnostic object performs the following services upon the listed object types ID hex Description Class Instance Notes 01 Get_Attributes_All X xX 61 Get_Output X Returns the status and values of the output Offset Type Description 0 UINT Status 2 USINT O 409 Output Data 62 Get_Input X Returns the status and values of the input Offset Type Description 0 UINT Status 2 USINT O 409 Input Data 63 Set_DiagCounters X Sets the value of the structure ST_DIAG_CNT to 0 X supported not supported 194 31008211 7 2012 CIP objects TCP IP Interface Object Overview The Identity CIP object consists of the attributes and services described below Attributes The TCP IP Interface CIP object consists of the following attributes 1 Class attributes ID hex Description GET SET 01 Revision X 02 Max Instance X
32. O addresses 124 A adapter diagnostic object 174 Advantys STB island connecting to 93 assembly object 179 auto negotiation 130 BOOTP 51 C channel properties Ethernet 40 EtherNet IP 41 general 38 module information 43 CIP objects 173 configuration EtherNet IP configuration tool 50 connection manager object 181 connections CIP 140 TCP 139 D detect network devices 88 119 device bandwidth 144 device library 71 device load 144 devices window 33 DHCP client 56 DHCP server 55 diagnostic test 214 diagnostics ping 276 E EDS file add 73 116 ethernet link object 183 explicit message 137 Get_Attributes_Single 159 169 Reset 164 171 explicit messaging 752 F full duplex 130 identity object 187 IGMP snooping 131 implicit message 138 IP address 57 31008211 7 2012 231 Index L load example 145 limits 147 local slave I O 60 identifying 59 message bandwidth 143 message load 143 messages types 137 module addresses EtherNet IP configuration tool 50 module diagnostic object 189 N network bandwidth 144 network example 86 extended 114 network load 144 O output messages 217 P ping 216 port mirroring 132 project file save 83 R remote device configuring 78 replacement 219 S scanner diagnostic object 191 SEND_REQ 159 164 communication report 156 explicit messaging 152 operation report 156
33. SNMP agent 53 135 specifications 15 STB NIC 2212 configuring 89 configuring I O items 98 switch managed 129 recommended features 129 T TCP IP interface object 195 TCP IP properties 51 TSX ETC 100 illustration 12 LED descriptions 198 LED indicators 198 U Unity Pro explicit messaging 152 V VLAN 134 232 31008211 7 2012
34. Time to Live field when sending packets via IP an multicast Multicast Address Allocation Control This determines how the device shall allocate IP multicast addresses If set to 0 Multicast addresses are generated using the default allocation algorithm 1 Multicast addresses are allocated according to the values specified in the two following parameters Number of IP Multicast Addresses Allocated The number of IP multicast addresses that are allocated Starting Multicast IP Address The starting multicast address from which allocation begins Ethernet Link Properties After selecting Ethernet Link the following information is displayed Property Description General Interface Speed The interface speed currently in use A 0 is shown if the speed has not been determined Link Status Indicates whether or not the Ethernet communications interface is connected to an active network Duplex Mode Indicates that duplex mode currently in use 31008211 7 2012 47 Configuring Property Description Negotiation Status Indicates the status of link auto negotiation If set to 0 Auto negotiation in progress 1 Auto negotiation and speed detection has failed Default values for speed and duplex are being used 2 Auto negotiation has failed but the speed has been detected Duplex was defaulted The default value is product dependent recommen
35. Unity Pro EtherNet IP configuration tool s Device Library Use the EDS management wizard to add one or more EDS files to the Device Library The wizard presents a series of instruction screens that e simplify the process of adding EDS files to the Device Library and e provide a redundancy check that insures the same version of an EDS file cannot be added more than once Note Click Devices Options to open the Display Options window where you can turn on or off the display of messages indicating the EDS file you are adding is a duplicate or a different version of an EDS file already included in the Device Library To add one or more EDS files to the Device Library Step Action 1 Do one of the following e inthe Device Library click the Add button 4 or e inthe Library menu click Add Page 1 of the wizard opens 116 31008211 7 2012 Adding Devices to an EtherNet IP Network Step Action Click Next Page 2 of the wizard opens EDS Management x EtherNet IP gt Select the Location of the EDS File s Add File s Add all the EDS fromthe Directory M Look in Subfolders Directory or File Name The EDS files usable in the EIP CT are registered in the EDS base Select the location of the file s and click on Next button to insert the EDS files in the base lt Back Next gt Cancel Help In the Select the Location of the EDS File s
36. WORD X X 0 Deactivate checking time for production and consumption default 1 Activate 02 ST_DIAG_CNT STRUCT X Xx wErrFrameCnt UINT Incremented each time a frame isn t sent by missing resources or is impossible to send wErrTimeOutCnt UINT Incremented when a connection is timed out wErrRefusedCnt UINT Incremented when a connection is refused by the remote station dwErrProdCnt UDINT Incremented at each production dwErrConsCnt UDINT Incremented at each consumption dwErrProdByteCnt UDINT Total bytes produced dwErrConsByteCnt UDINT Total bytes consumed 03 Input Status WORD x See Status descriptions below 04 Output Status WORD X E See Status descriptions below X supported not supported 31008211 7 2012 191 CIP objects ID hex Description Type GET SET Value 05 ST_LINK STRUCT X CIP Status UINT See Status descriptions below Extended Status UINT See Status descriptions below Production Connection ID DWORD Connection ID Consumed Connection ID DWORD Connection ID OtoT API UDINT API of the Connection TtoO API UDINT API of the Connection OtoT RPI UDINT RPI of the Connection TtoO RPI UDINT RPI of the Connection 06 ST_SOCK_PARAM STRUCT X IpSockld DWORD Internal identifier IpForeign DWORD IP of the remote station wPortForeign UINT Port number of the remote station IpLocal DWORD IP of
37. a proposed IP address e f an answer is returned e There is a device already using the IP address e The module will not use the proposed IP address and uses the default IP address e f an answer is not returned e The module uses the IP address along with the associated network parameters 52 31008211 7 2012 Configuring TCP IP Properties Configuring the SNMP Agent The SNMP page Use the SNMP page of the TCP IP properties window to configure the SNMP agent see page 135 in the EtherNet IP communication module An SNMP agent is a software component that reports management data about the module to another device acting as an SNMP manager The SNMP agent can connect to and communicate with up to 2 SNMP managers as part of an SNMP service The SNMP service includes e authentication checking by the EtherNet IP communication module of any SNMP manager that sends SNMP requests e management of event or trap reporting by the module Click on the SNMP tab to access the SNMP agent window TCP IP Static 192 169 001 004 General SNMP DHCP Client List Name Value Unit m a Manager IP Addresses IP Address of the Manger 1 000 000 000 000 IP Address of the Manger 2 000 000 000 000 Ko SNMP Manager FALSE Location SysLocation Contact SysContact m Set Public Get Public Trap Public s Security Authorize Trap on Authentication ErrorFALSE Parameter Description NOT
38. array onl 7 O2 a O2 1 O2 2 j T ea ee T 4 Click the Define Item s button The Item Name Definition dialog opens Item Name Definition Re Define Selected Area As One or Several Single Item s Item Name 32 char max DDO83200_outputdata_Qx Note The asterisk indicates a series of discrete items with the same root name will be created 31008211 7 2012 105 Adding Devices to an EtherNet IP Network Step Action 5 Accept the default Item Name and click OK 2 discrete input items are created Items Declaration BE Discrete Input Items Discrete Output Items Numeric Input Items Numeric Output Items Offset Device 3ffset Connection Position in the Byte Item Name o 0 DD02200_output Default Items Name Root DD0200 output DDO3200_outputdata_ Oo o 3 Oo 0 Oo o P Define Item s Oo o 6 Oo 0 7 T Oi 1 o 3 4 Select a zone and click 5 2 on tie Define Item s 5 4 j S button to create O1 1 5 One or several items Oi 1 6 an array O1 1 7 O2 2 0 O2 2 1 O2 2 2 i 4 Genel Ha 6 Repeat steps 2 5 for each group of discrete output items you need to create In this example that inlcudes items for each of the following groups e Byte 0 Bits 2 5 Default Items Name Root DDO3410_outputdata e Byte 1 Bits 0 5 Default Items Name Root DDO3600_outputdata 7 Click on the Numeric Input Items tab to open
39. backplane 4 a 8 To open the configuration window for the TSX ETC 100 do one of the following e double click the left mouse button on the TSX ETC 100 module in the Local Bus window above or e click the right mouse button on the module then select Open Module in the popup menu The module configuration window opens where you can configure the properties for the TSX ETC 100 20 31008211 7 2012 Configuring Configuring the TSX ETC 100 EtherNet IP Communication Module Overview To configure properties for the TSX ETC 100 you need to e complete the Configuration page of the module properties window e launch the Unity Pro EtherNet IP configuration tool where you can complete the process of editing properties for EtherNet IP modules and devices e add the completed EtherNet IP module and device edits to the Unity Pro project configuration in the form of derived data types The following steps present an example of how to configure the communication module Your own configuration may differ Setting Input and Output Memory Addresses and Naming the Module The Configuration page looks like this PREMIUM ETHERNET IP MODULE i Configuration l Project Module name ETC1 Input area Output area MW index 0 MW index 100 Max size 100 Max size 100 EIP config Tool E t EtherNe vip gt T x Bus 0 2 TSX ETC 31008211 7 2012 21 Configuring In the Configuration page perfo
40. bytes Input Instance 101 Output Size in bytes 6 bytes Output Instance 102 Note The Input Size and Output Size parameter settings are determined by the size in bytes of the input data and output data sections of the Advantys island s Fieldbus Image 6 Click OK to save your settings and close the Properties window A node is added to the project configuration in the Devices window below 4 Module ETC1 RJ45 Auto 10 100 Mb In MW8 Out MWO B a TCP IP Static 192 168 001 004 fl A 000 EtherNet IP Local Slave H a 001 192 168 001 006 STB_NIC_2212 The next step is to configure I O settings 92 31008211 7 2012 Adding Devices to an EtherNet IP Network Connecting to the Advantys STB Island Overview In this example you will use the Advantys configuration software running on your PC to e connect the Advantys configuration software to the STB NIC 2212 and the 8 I O modules that comprise the Advantys STB island e upload Advantys STB island configuration to the Advantys configuration software in your PC e display a fieldbus image for the Advantys STB island showing the relative location of e status information e input data e output data Using the data presented in the fieldbus image you can use the Unity Pro EtherNet IP configuration tool to create input and output items that map to specific status input output and output echo data NOTE Before proceeding with the follow
41. message 74 31008211 7 2012 Adding Devices to an EtherNet IP Network Step Action 9 Page 3 of the wizard opens indicating the Status of each device you attempted to add a green check mark indicates the EDS file can be added a blue informational icon indicates a redundant file a red check mark indicates an invalid EDS file Optional Select a file in the list then click View Selected File to open it 10 Click Next to add the non duplicate files Page 4 of the wizard opens indicating the action is complete 11 Click Finish to close the wizard 31008211 7 2012 75 Adding Devices to an EtherNet IP Network Adding A Remote Device Overview The Device Library consists of two types of entries Entry Defined by generic A device without an associated EDS File In the Device Library generic devices include e Generic EDS e EtherNet IP Local Slave EDS File specific A device module or chassis defined by a unique vendor created EDS File In the Device Library these devices appear beneath the branches e EtherNet IP Devices e Chassis and modules You can add both generic devices or devices with a specific EDS File to your EtherNet IP network When you add e adevice that is associated with a specific EDS File the Unity Pro EtherNet IP configuration tool recognizes the device and automatically performs much of the device configuration
42. opens 31008211 7 2012 73 Adding Devices to an EtherNet IP Network Step Action 2 Click Next Page 2 of the wizard opens EDS Management x ER e Select the Location of the EDS File s Add File s C Add all the EDS from the Directory Look in Subfolders Directory or File Name The EDS Files usable in EIP CT are registered in the EDS base Select the location of the file s and click on the Next button to insert the EDS files in the base lt Back Next gt Cancel Help 3 In the Select the Location of the EDS File s section select either e Add File s to add one or more EDS files you will individually select or e Add all the EDS Files from the Directory to add all files from a folder you will select e Select Look in Subfolders to also add EDS files in subfolders beneath the folder you select 4 Click the Browse button The Open dialog opens 5 Use the Open dialog to navigate to and select one or more EDS files or e a folder containing EDS files 6 After you have made your selection9s click Open The dialog closes and your selection appears in the Directory or File Name field 7 Click Next The wizard compares the selected EDS files against existing files in the Device Library 8 Conditional If one or more selected EDS files are duplicates and if notice of redundant files is enabled in the Display Options dialog a File Already Exists message displays Close the
43. or e execute module commands The local slave function is activated by selecting Active Configuration in the General Configuration page of the Local Slave window see page 62 This chapter describes the CIP objects the EtherNet IP communication module can expose to remote devices What Is in This Chapter This chapter contains the following topics Topic Page Adapter Diagnostic Object 174 Assembly Object 179 Connection Manager Object 181 Ethernet Link Object 183 Identity Object 187 Module Diagnostic Object 189 Scanner Diagnostic Object 191 TCP IP Interface Object 195 31008211 7 2012 173 CIP objects Adapter Diagnostic Object Overview The Adapter Diagnostic CIP object consists of the attributes and services described below Attributes The Adapter Diagnostic CIP object consists of the following attributes 1 Class attributes ID hex Description GET SET 01 Revision X 02 Max Instance X X supported not supported 2 Instance attributes ID hex Description Type GET SET Value 01 Control Bits WORD X X 0 Deactivate checking time for production and consumption default 1 Activate 02 ST_DIAG_CNT STRUCT X xX wErrFrameCnt UINT Incremented each time a frame isn t sent by missing resources or is impossible to send wErrTimeOutCnt UINT Incremented when a connection is timed out wErrRe
44. page Do the following General Enter configuration settings as described below Connections Enter configuration settings as described below Online Parameters Not accessible offline No configuration required Port Configuration Not accessible offline No configuration required EDS File Read only page no configuration required 78 31008211 7 2012 Adding Devices to an EtherNet IP Network Configuring the General Page To configure the General page Step Action 1 Click on the General page Generic EDS x General Connections Online Parameters Port Configuration EDS File Device Designation Device Name DEVICE BS Change EDS a Number 001 E Active Configuration M Comment _ Network Properties IP Address 000 000 000 000 Enable DHCP FALSE DHCP Client Identifier Mac Address Mac Address 00 00 00 00 00 00 Description Ping Ping Ping Result I Loop F Stop on Err Clear Cancel Hep 31008211 7 2012 79 Adding Devices to an EtherNet IP Network Step Action 2 In the General page edit the following settings Device Name The label for the remote device in the EtherNet IP device list Either type in a unique name using letters numbers and the underscore character _ or e accept the auto generated name DEVICE_N Number The relative position in the EtherNet IP device list Ei
45. reasons other than bad format 08 Connection Timeouts UINT Total number of connection timeouts that occurred in connections controlled by this connections manager 09 Connection Entry List STRUCT List of connections always 0 11 CPU_Utilization UINT CPU Utilization in tenths of a percent always 0 12 MaxBuffSize UDINT Amount of buffer space originally available always 0 13 BufSize Remaining UDINT Amount of buffer space now available always 0 X supported not supported Services The CIP Connection Manager object performs the following services upon the listed object types ID hex Description Class Instance Notes 01 Get_Attributes_All xX X 0E Get_Attributes_Single X X 4E Forward Close X Managed internally by the 52 Unconnected Send S x EtherNet IP stack no link to CPU exists 54 Forward Open _ X X supported not supported 182 31008211 7 2012 CIP objects Ethernet Link Object Overview The Ethernet Link CIP object consists of the attributes and services described below Attributes The Ethernet Link CIP object consists of the following attributes 1 Class attributes ID hex Description GET SET 01 Revision X 02 Max Instance X X supported not supported 2 Inst
46. scanner when e the application is stopped or e the EtherNet IP module receives a reset service request NOTE This page is displayed only when you are using Advanced Mode Advanced mode properties are indicated by the icon To turn on Advanced Mode select File Preferences Advanced Channel Properties General Ethernet EtherNet IP Modute Information Name Unit Lad FW_Open IO Connection Timing 5000 ms ce FW_Open EM Connection Timing3000 ms ce EM Connected RPI 10000 ms EM Request Timeout 10 s amp STOP Behaviour FALSE Allow Reset Explicit Message FALSE Description NOTE Refer to the topic Configuring Properties in the Devices Window see page 35 for information on how to display property descriptions and edit property values 31008211 7 2012 41 Configuring Configuring EtherNet IP Properties Note Only an experienced developer of EtherNet IP networks should edit any of the following read write properties Name Description Timeout FW_Open IO Connection Timing The amount of time the EtherNet IP module waits for the Forward_Open IO messaging transaction to open an implicit messaging connection Default 5000 ms FW_Open EM Connection Timing The amount of time the EtherNet IP module waits for the Forward_Open IO messaging transaction to open an explicit messaging connection Default 3000 ms EM Connected RPI The value used to set the T gt O target
47. target device Note that the Address variable does not include the Xway address elements Network Station because we are not bridging through another PLC station Use the ADDR function to convert the following character string to an address ADDR 0 4 0 10 where e rack 0 e module slot number 4 31008211 7 2012 165 Explicit Messaging in Unity Pro e channel 0 e destination address target device number 10 Configuring the Request_Code Variable The Request_Code variable identifies the function type for the SE ND REQ function block in this case a CIP request Variable Description Value hex Request_Code Code identifies a CIP request 16 000E Configuring the Data_to_Send Variable The Data_to_Send variable identifies the type of explicit message and the CIP request Variable Description Value hex Data_to_Send 0 Message type 16 0000 e 0000 unconnected or 0001 connected In this example unconnected is selected Data_to_Send 1 High byte Request path size 02 16 0205 Low byte Service Reset 05 Data_to_Send 2 High byte Class 01 16 0120 Low byte Class Segment 20 Data_to_Send 3 High byte Instance 01 16 0124 Low byte Instance Segment 24 Configuring the Management_Param Variable The Management_Param variable manages the explicit message Variable Description Value hex M
48. the Local Slave 59 Local Slave Inputs and Outputs 60 Configuring Local Slave Properties The General page 62 58 31008211 7 2012 Configuring Identifying the Local Slave Overview When the Unity Pro EtherNet IP configuration tool first opens it automatically includes a Local Slave node in the Devices window s Module EIP Auto 10 100 Mb IN MW1 OUT MW101 8 TCP IP Static 192 168 001 004 001 EtherNet IP Local Slave fg 006 192 168 001 006 DEVICE_B STBNIC 2212 In6 Outi from Generic EDS gF Item Configuration Device Name DEVICE_B Position 000 Read Input Write Output Data Key Features Features Description Types of e Multicast connection Point to point is supported in both directions O gt T Originator to Target and T gt O Target to Originator e Real time format 32 bit run idle header zero data length none and heartbeat e Trigger T gt O Target to Originator cyclic Sizes e Input sizes From 1 to 505 bytes e Output sizes From 1 to 509 bytes e Configuration size 0 words read only 31008211 7 2012 59 Configuring Local Slave Inputs and Outputs Configuration file comm module A Advantys STB Remote rack I O The EtherNet IP communication module can be used as an I O adapter To enable this functionality select Active Configuration in the Local Slave properties window see page 62 When the local slave function of an Ether
49. to originator and O gt T originator to target requested packet interval RPI for all explicit message connections This value is used to calculate the lifetime of a connection Default 10000 ms EM Request Timeout The amount of time the EtherNet IP module waits between a request and reply of an explicit message Default 10 s Output STOP Behavior The state of the EtherNet IP module when the CPU application goes into a STOP state e TRUE indicates that the module enters STOP state implicit connections are closed e FALSE indicates that the module enters IDLE state implicit connections are not closed Default FALSE Allow Reset Explicit Message The behavior of the EtherNet IP module as I O scanner when it receives a reset service request e TRUE indicates the module resets itself e FALSE indicates the module ignores the reset service request and continues uninterrupted operations Default FALSE 42 31008211 7 2012 Configuring Configuring Channel Properties The Module Information page The Module Information Page Use the Module Information page of the Channel Properties window to display properties obtained from the EtherNet IP communication module In this page you can e retrieve data from the communication module e display retrieved module data by a selected object group including data relating to the module s Identity e Connection Manager e TCP IP
50. 0 Objects for a communication channel e Configuration e Debug Fault 4 General parameters View communication channel parameters e Function displays the configured communication function and is read only e Task displays the task configured MAST and is read only 5 Mode parameters Displays parameters for the mode you select by opening a page 31008211 7 2012 203 Diagnostics Communication Channel Diagnostics in Unity Pro Overview Select a communication channel in the Channel area to access the e Configuration page where you can e edit the EtherNet IP Module name e edit input and output data size and location settings e launch the Unity Pro EtherNet IP configuration tool Refer to the description of the Configuration page see page 21 for more information e Debug page which displays the communication module s e MAC Address e IP Address settings e Fault page which displays active faults for the communication channel MAC Address To display the MAC Address of the communication module Step Action 1 In the Channel area select the communication channel The following pages are displayed e Configuration e Debug e Default 204 31008211 7 2012 Diagnostics Channel Faults Step Action To display the communication module s MAC Address and IP Address settings click on the Debug page PREMIUM ETHERNET IP MODULE
51. 1 7 2012 185 CIP objects ID hex Description Type GET SET Value 06 Interface Control STRUCT API of the connection Control Bits WORD Bit 0 Auto negotiation 0 Disabled 1 Enabled Note When auto negotiation is enabled the error Ox0C Object State Conflict is returned when attempting to set either e Forced Interface Speed or e Forced Duplex Mode Bit 1 Forced Duplex Mode if auto negotiation bit 0 0 half duplex 1 full duplex Forced Interface Speed UINT Valid values include 10000000 100000000 Note Attempting to set any other value returns the error 0x09 Invalid Attribute Value X supported not supported Services The CIP Ethernet Link object performs the following services upon the listed object types ID hex Description Class Instance 01 Get_Attributes_All X X 05 Set_Attribute_Single X 0E Get_Attribute_Single X X X supported not supported 186 31008211 7 2012 CIP objects Identity Object Overview The Identity CIP object consists of the attributes and services described below Attributes The Identity CIP object consists of the following attributes 1 Class attributes ID hex Description GET SET 01 Revision X 02 Max Instance X X supported not supported 2 Instance attributes
52. 1008211 7 2012 63 Configuring Local Slave Properties The following property settings have been made in this example Setting Description Device Designation section Active Configuration e A selected checkbox indicates the local slave service is enabled e Ade selected checkbox indicates the local slave service is disabled and the current local slave service settings are saved In this example this setting is selected Device Name Assign the local slave a unique name consisting of up to 32 characters including numbers letters and the underscore character In this example the auto generated name DEVICE_A is accepted Number The unique number or identifier assigned to the device In this example select the number 001 Comment User defined free text comment area 80 characters maximum In this example leave blank Connection Health Bit Offset Auto generated integer 0 127 indicating the offset of the connection s health bit in the status byte array of the input area Note This setting is auto generated only when the local slave settings are input and the network configuration is saved Assembly Instances section e O indicates the originator or I O scanner device e T indicates the target or I O adapter device Outputs T gt O Instance A read only value always set to 101 Outputs T gt O Size The maximum size reserved for local sla
53. 2 Adding Devices to an EtherNet IP Network Configuring the 1734 AENT The following settings were used in the sample configuration Step Action 1 Click on the General page 1734 AENT PointlO EtherNet P Adapter Revision 2 1 x General Chassis Connections Online Parameters Module Information Port Configuration EDS File Device Designation Active Configuration v Change EDS Fid Value Unit El 192 168 001 011 FALSE Device Name 1734_AENT Number 002 Comment Network Properties Name IP Address Enable DHCP Description Ping Ping Ping Result F Loop I Stop on Error Clear Cancel Help In the General page edit the following settings Device Name 1734_AENT Number The sequence of the device in the Devices window for this example type in 003 Active Configuration Be sure this checkbox is selected IP Address 192 168 001 011 31008211 7 2012 121 Adding Devices to an EtherNet IP Network Step Action 3 Click on the Chassis page 1734 AENT PointlO EtherNetAP Adapter Revision 2 1 x General Chassis Connections Online Parameters Module Information Port Configuration jEDS File Chassis Type Available in the Device Library 1734 Chassis 1 gt Available Modules for the Chassis Configured Modules t 4 x Set Chassis Size in the Module 0 Get Cha
54. 2 Sbi Chassis 4 Soi _Raserned Sbt01_Input_Value_O Sbt01_Input_Value_ EDevice Library W Network Detection Output bit Array of 2 output Output bit I 2i Date Time 6 ea Event a 02A 408 13 35 00 Information Configuration saved 02H 4108 13 26 00 Information Configuration online M Output Message View Reay EE Comunication Mode Or Module Sete Main menu Description area Workspace area Devices window I O area Output Message window The parts of the EtherNet IP user interface are briefly described below oahwhnh 31008211 7 2012 29 Configuring Main Menu Description Area The Main menu area consists of e Amain menubar with the following menu items and commands Menu item Contains commands for File e file management and printing e GUI display selections online offline operations Library managing EDS files in the Device Library Network e automatic detection of EtherNet IP network devices online actions including e explicit messaging pinging network devices e commissioning devices via port configuration settings e working with automatically detected devices in the Network Detection area Devices working with devices in the Devices window including e displaying devices in the Devices window tree control commissioning devices via port configuration settings e creating and configuring CI
55. 2012 211 Diagnostics Step Action 2 MWr m ch 3 Ethernet Port Global Status cont d Bit 0 configuration error Bit 1 the Ethernet interface is disabled Bit 2 duplicate IP address detected Bit 3 reserved Bit 4 the Ethernet link is disconnected Bit 5 the module is in the process of obtaining an IP address Bits 6 15 reserved MWr m ch 4 IP address e During normal operation the double word MDr m c 4 contains the IP address configured or served to the module e In No Configuration state the double word MDr m c 4 contains the default IP address of the module e In Configuration Error the double word MDr m c 4 contains the default IP address of the module e When a duplicate IP address is detected the double word MDr m c 4 contains the served or configured duplicate IP address e When the module is waiting fora BOOTP response the double word MDr m c 4 contains the IP address 0 0 0 0 212 31008211 7 2012 Diagnostics 7 3 Diagnostic Testing Using the Unity Pro EtherNet IP Configuration Tool Overview This section describes the diagnostic tools available in the Unity Pro EtherNet IP configuration tool What Is in This Section This section contains the following topics Topic Page Diagnostic Testing Using the Unity Pro EtherNet IP Software 214 Ping a Network Device 216 Viewing Output Mess
56. 2212 module then add it to your project NOTE The STB NIC 2212 module must be active online with a valid IP address before you can detect it then add it to your project You can assign an IP address using a DHCP or BOOTP server or use the MAC generated default IP address Detecting and Adding Network Devices To automatically detect the STB NIC 2212 then add it to your project follow these steps Step Action 1 Launch the configuration tool from the Configuration page of the EtherNet IP communication module s Properties window In the configuration tool begin on line operations by clicking the Go Online button Click on the Network Detection tab to enable automatic network detection Eves Lorey Click the Read Network Configuration toolbar button i The configuration tool searches the network for EtherNet IP devices classifies them using the device EDS file then lists the EtherNet IP devices it detects w el sis A Network STBNIC2212 192 168 001 006 Select the STB NIC 2212 in Network Detection window Click the Insert in Configuration button gp The properties window opens where you can configure the STB NIC 2212 88 31008211 7 2012 Adding Devices to an EtherNet IP Network Configuring STB NIC 2212 Properties Overview The STB NIC 2212 EtherNet IP network interface module properties window presents the following tabbed pages Only some of the
57. 31008211 03 Premium TSXETC 100 EtherNet IP Communication Module User Manual 7 2012 Schneider Electric www schneider electric com The information provided in this documentation contains general descriptions and or technical characteristics of the performance of the products contained herein This documentation is not intended as a substitute for and is not to be used for determining suitability or reliability of these products for specific user applications It is the duty of any such user or integrator to perform the appropriate and complete risk analysis evaluation and testing of the products with respect to the relevant specific application or use thereof Neither Schneider Electric nor any of its affiliates or subsidiaries shall be responsible or liable for misuse of the information that is contained herein If you have any suggestions for improvements or amendments or have found errors in this publication please notify us No part of this document may be reproduced in any form or by any means electronic or mechanical including photocopying without express written permission of Schneider Electric All pertinent state regional and local safety regulations must be observed when installing and using this product For reasons of safety and to help ensure compliance with documented system data only the manufacturer should perform repairs to components When devices are used for applications with technical safety requireme
58. 31008211 7 2012 Adding Devices to an EtherNet IP Network e Local Slave inputs and outputs e 130 input bytes 65 words are reserved e 130 output bytes 65 words are reserved e Remote device inputs and outputs e 40 input bytes 20 words are reserved e 40 output bytes 20 words are reserved The Devices window of the Unity Pro EtherNet IP configuration tool displays the network as follows S Ble ele lz 4 Module EIP Auto 10 100 Mb In MW1 Out MW101 TCPAP Static 192 168 001 004 H 000 EtherNet IP Local Slave 001 192 168 001 006 STB_NIC_2212 EI a Item Configuration Device Name STB_NIG_2212 4p Position 000 Read Input Write Output Data When you select the I O Items node for the remote device as indicated above you display its previously configured input and output items revealing their MW memory address assignments B8 amp Input Item Name Paa Type DiisetDevice Dffsev Connection Position in Byte Address a Nicstatus_KX0 rowo TO fo NICstatus_X1 Input bit 0 0 1 SIMA NiCstatus_X2 Input bit 0 0 2 MIWA 2 f Nicstatus_xg Input bit o 0 3 MW 3 NiCstatus_X4 Input bit 0 0 4 AMW 4 NiCstatus_X5 Input bit 0 0 5 AMWI1 5 NiCstatus_X6 Input bit 0 0 6 VWI la Output Item Name Data Type ffsevDevice DitsevConnection Position in Byte Address 0D03200_outputdata_QXo0 Output bit 0 0 0 IVI
59. 6 0 15 10 0 7 AVI 1270 input data ch 1 11 0 7 7 0 7 12 0 7 AVI 1270 input status ch 1 8 15 13 0 7 NA not used 31008211 7 2012 99 Adding Devices to an EtherNet IP Network Advantys Fieldbus Image Unity Pro EIP Items STB Module Description Word Bit s Byte Bit s 8 0 15 14 0 7 AVI 1270 input data ch 2 15 0 7 9 0 7 16 0 7 AVI 1270 input status ch 2 8 15 17 0 7 AVO 1250 output status ch 1 10 0 7 18 0 7 AVO 1250 output status ch 2 8 15 NA NA NA not used Output Data Advantys Fieldbus Image Unity Pro EIP Items Module Description Word Bit s Byte Bit s 1 0 1 0 0 1 DDO 3200 output data 2 5 2 5 DDO 3410 output data 6 7 6 7 NA not used 8 13 1 0 5 DDO 3600 output data 14 15 6 7 NA not used 2 0 15 2 0 7 AVO 1250 output data ch 1 3 0 7 3 0 15 4 0 7 AVO 1250 output data ch 2 5 0 7 For this example you need to create input items for the 19 input bytes and output items for the 6 output bytes using the Unity Pro EtherNet IP configuration tool These input and output items include e discrete input and output items made up of 1 or more bits for the digital I O modules and e numeric input and output items made up of either an 8 bit byte or a 16 bit word for the analog I O modules The following examples show you how to create each kind of item 100 31008211 7 2012 Adding Devices to an Eth
60. After selecting TCP IP Interface the following information is displayed Not all properties apply to the communication module Property Description Status Indicates the status of the configuration e 0 not configured e 1 a valid configuration acquired from BOOTP or nonvolatile storage Configuration Capability e BOOTP Client Indicates that the device is capable of acquiring its network configuration via BOOTP e Configuration Settable Indicates that the configuration is settable Startup Configuration Determines how the device acquires its initial configuration at startup Note If the device was previously configured it uses the previously stored interface configuration values 46 31008211 7 2012 Configuring Property Description IP Address The device IP address A 0 0 0 0 address indicates an IP address has not been configured Network Mask The device network mask A 0 0 0 0 address indicates a network mask address has not been configured Gateway Address The default gateway address A 0 0 0 0 address indicates a gateway address has not been configured Primary Name Server Address not applicable Secondary Name Server Address not applicable Domain Name not applicable Host Name not applicable Safety Network Number not applicable TTL Value The value that the device uses for the IP header s
61. CP IP icon in the Devices window TCP IP Static 192 169 001 004 x General SNMP DHCP Client List Configuration Static w Name Value Unit Fl E Module Address i Module IP Address 192 168 001 004 Gateway IP Address 000 000 000 000 i Sub Network Mask 255 255 255 000 Parameter Description cae nee NOTE Refer to the topic Configuring Properties in the Devices Window see page 35 for information on how to display property descriptions and edit property values Selecting a Configuration Mode Use the Configuration list to specify a configuration mode The configuration mode setting determines how the module obtains its IP address at startup Choices are Configuration Mode Description Static The module uses the module IP address gateway IP address and sub network mask configured in this page Flash Memory The module uses the IP address configured via the TCP IP object and stored flash memory An IP address configured by this process survives a warm re start during which power to the device is continuously maintained but is lost in the case of a cold re start where power to the device is turned off for a time BOOTP The module uses an IP address assigned by a BOOTP server 31008211 7 2012 51 Configuring Setting the Module Addresses in Static Mode Three IP address properties need to be configured for the EtherNet IP communication module in static confi
62. DiagCounters X Sets the values of the structure e ST_DIAG_CNT to 0 and e ST_CHECK_TIME production and consumption to 0 but not fields dwLastTime and dwCurrentTime the structure ST_DIAG_CNT to 0 X supported not supported 178 31008211 7 2012 CIP objects Assembly Object Overview The Assembly CIP object consists of the attributes and services described below Attributes The Assembly CIP object consists of the following attributes 1 Class attributes not supported ID hex Description GET SET 01 Revision X 02 Max Instance X X supported not supported 2 Instance attributes ID hex Description Type GET SET 03 Data Array of X X BYTE X supported 31008211 7 2012 179 CIP objects Services The CIP Assembly object performs the following services upon the listed object types ID hex Description Class Instance Notes 01 Get_Attributes_Alll X X 0E Get_Attributes_Single X X 10 Set_Attributes_Single xX Returns these values OE attribute not settable assembly is not o gt T type OF permission denied assembly is being used by an active connection 13 config too small the Set_Attributes_Single command contains partial data 15 too big data the Set_Attributes_Single command contains too much data X supported not suppor
63. E Refer to the topic Configuring Properties in the Devices Window see page 35 for information on how to display property descriptions and edit property values 31008211 7 2012 53 Configuring Viewing and Configuring SNMP Properties The following properties can be viewed and edited in the SNMP page Property Description Manager IP Addresses IP Address of the Manager 1 The IP address of the first SNMP manager to which the EtherNet IP module s SNMP agent sends notices of traps IP Address of the Manager 2 The IP address of the second SNMP manager to which the module s SNMP agent sends notices of traps Agent SNMP Manager Select either e TRUE the Location and Contact information is provided by a network management tool e FALSE Location and Contact settings are made in this window Location The device location 32 characters maximum Contact Information describing the person to contact for device maintenance 32 characters maximum Community Names Get Password required by a MIB II SNMP agent authorizing read commands from an SNMP manager Default Public Set Password required by a MIB II SNMP agent authorized write commands from an SNMP manager Default Public Trap Password a MIB II SNMP manager requires from an SNMP agent causing the SNMP manager to accept trap notices from the SNMP agent Default Public Security Autho
64. EE Run ERR STS fii Debug Tf Configuration Address Information MAC Address 12 34 56 78 90 12 IP Address 192 168 001 004 Subnetwork mask 255 255 255 000 Gateway address 000 000 000 000 Function Ethernet CIP Task MAST To display the active faults on the communication channel Step Action 1 In the Channel area select the communication channel 31008211 7 2012 205 Diagnostics Step Action To display the communication module s active faults click on the Fault page PREMIUM ETHERNET IP MODULE Function Ethernet CIP Task MAST nil Configuration T Debug CE ran OE ES Run ERR STS Internal fault External fault Other fault Hardware contig fault NOTE You can also access the channel error bit CH_ERROR by using the Unity Pro Animation Table to display the lr m ch ERR object 206 31008211 7 2012 Diagnostics Communication Module Diagnostics in Unity Pro Overview Use the Premium EtherNet IP Module window in Unity Pro to diagnose the TSX ETC 100 module In this window you can access e three icons that reflect the current status of selected LEDs e the Overview page where you can view a description of the module e Fault page which displays active faults for the communication module e I O Objects page where you can view and manag
65. EQ function block e the Online Action window of the Unity Pro EtherNet IP configuration tool Unity Pro supports both connected and unconnected explicit messaging NOTE Your Unity Pro application can contain more than 16 explicit messaging blocks but only 16 explicit messaging blocks can be active at the same time Also there can be only one concurrent explicit message connected or unconnected from an EtherNet IP communication module to the same remote EtherNet IP device What Is in This Chapter This chapter contains the following topics Topic Page Explicit Messaging Services 150 Configuring Explicit Messaging Using SEND_REQ 152 SEND_REQ Communication and Operation Reports 156 SEND_REQ Example Get_Attributes_Single 159 SEND_REQ Example Reset 164 Explicit Messaging Online Action Get_Attributes_Single 169 Explicit Messaging Online Action Reset 171 31008211 7 2012 149 Explicit Messaging in Unity Pro Explicit Messaging Services Overview Every explicit message performs a service Each service is associated with a service code or number You will need to identify the explicit messaging service by its name decimal number or hexadecimal number You can execute explicit messages using either the SEND _REQ function block in Unity Pro or the Unity Pro EtherNet IP configuratio
66. INT Internal Use number of ticks between production SequenceNumber UDINT Number of the dwquence in the production stCheckTime STRUCT dwLastTime UDINT Internal Use dwMaxTime UDINT Maximum time between 2 productions dwMinTime UDINT Minimum time between 2 productions dwRPI UDINT API of the connection wOverRun UINT Number of times the production was too long wUnderRun UINT Number of times the production was too short dwCurrentTime UDINT Internal Use X supported not supported 31008211 7 2012 175 CIP objects ID hex Description Type GET SET Value 08 ST_CONSUMPTION STRUCT X bValid WORD 0 data of the struct consumption is not valid 1 data of the struct consumption is valid dwCurrentTime UDINT Internal Use number of ticks before the timeout dwConsumptionTime UDINT Internal Use number of ticks in the timeout SequenceNumber UDINT Number of the sequence in the consumption stCheckTime STRUCT dwLastTime UDINT Internal Use dwMaxTime UDINT Maximum time between 2 consumptions dwMinTime UDINT Minimum time between 2 consumptions dwRPI UDINT API of the connection wOverRun UINT Number of times the consumption was too long wUnderRun UINT Number of times the consumption was too short dwCurrentTime UDINT Internal Use 09 Connection Entry List STRUCT X Status of the CCO object See Status descriptions below byGeneralStatus B
67. INT API of the connection wOverRun UINT Number of times the consumption was too long wUnderRun UINT Number of times the consumption was too short dwCurrentTime UDINT Internal Use 09 Connection Entry List STRUCT X Status of the CCO object See Status descriptions below byGeneralStatus BYTE byReserved BYTE Extended Status WORD X supported not supported Scanner Status Scanner status values include the followng Status Description CIP Status Extended Explanation 0 OK 0 0 The I O data are correctly exchanged 33 Timeout OxFB OxFBOB __ Timeout detected on consumption 53 IDLE 0 0 An IDLE notification is received 54 Connection 0 0 The connection is established but I O is not yet established consumed OxFB OxFB08 Impossible to start the production OxFB OxFBO9 Impossible to start the consumption OxFB OxFBOA Not enough resources to manage the connection 31008211 7 2012 193 CIP object S Status Description CIP Status Extended Explanation 58 Not connected OxFE Error on TCP connection TCP 65 Not connected CIP OxFB OxFBO1 Timeout for Fw_Open response OxFB OxFB02 Bad format of the Fw_Open response so addr OxFB OxFB03 Bad parameters in the Fw_Open response OT Net Par OxFB OxFB04 Bad parameters in the Fw_Open response TO
68. IRev 3 1 1734 IA2 C 2pt AC Input 1734 IB2 C 2pt DC Input 1734 IB4 C 4pt DC Input 1734 IB8 C 8pt DC Input 1734 IE2C C 2pt Current Input 1734 IE2V C 2pt Analog Voltage Input 1734 lJ C Counter Module 1734 IK C Counter Module 1734 IM2 C 2pt AC Input 1734 IR2 C 2pt RTD Input po 1734 IT2 C 2pt TC mY Input 1734 IV2 C 2pt DC Input 1734 IV4 C 4pt DC Input 1734 OA2 C 2pt AC Output 1734 OB2E C 2pt DC Output 1734 OB2EP C 2pt 2A DC Output al gt Cancel Heip Click OK to save your settings and close the properties window A node is added to the project configuration in the Devices window E Module ETC1 Auto 10 100 Mb In MW0 Out MW0 TCPAP Static 192 168 001 004 000 EtherNet IP Local Slave 001 192 168 001 006 STB_NIC_2212 002 192 168 001 011 1734 AENT PointlO EtherNet IP Adapter Rev 2 1 The next step is to view the remote device s inputs and outputs 31008211 7 2012 123 Adding Devices to an EtherNet IP Network Viewing 1734 AENT PointlO Adapter I O Addresses Overview Because the Device Library includes EDS files for the 1734 AENT PointlO adapter and its discrete input and output modules the Unity Pro EtherNet IP configuration tool automatically e creates a rack optimized CIP connection from the TSX ETC 100 EtherNet IP communication module to the 1734 AENT and e configures each input and output item by assign
69. ND_REQ function block to configure EtherNet IP connected and unconnected explicit messages The SEND_REQ block can e send requests up to 252 bytes long and e receive responses up to 255 bytes long The Management Param Data_to Send and Received Data parameters define the operation Refer to Configuring the Management Parameter see page 154 Configuring the Data to Send Parameter see page 155 and Contents of the Received Data Parameter see page 155 below for details EN and ENO can be configured as additional parameters FBD Representation SEND_REQ Instance SEND_REQ Address ADR RECP Received Data Request_Code CODE Data to_Send EMIS Management_Param j GEST ceese GEST Management_Param LD Representation SEND_REQ Instance SEND_REQ EN ENO Address 4 ADR RECP Received Data Request_Code CODE Data_to_Send J EMIS Management Param j GEST ceses GEST Management_Param IL Representation LD Address SEND_REQ Request_Code Data_to_Send Management_Param Received_Data 152 31008211 7 2012 Explicit Messaging in Unity Pro ST Representation SEND_REQ Address Request_Code Data_to_Send Management_Param Received_Data Input Parameters Parameter Data type Description Address Array 0 5 of INT The path to the destination device Request Code INT Always OxOE for a CIP request
70. Net IP Network Opening a Unity Pro Archive STA File After a Unity Pro Archived Application File has been saved you can transfer it like any file then re open it in the same version of Unity Pro To re open an archived project file Step Action 1 Select File Open The Open dialog opens 2 In the Open dialog select Unity Pro Archived Application Files STA as the Files of type 3 In the Look in drop down box navigate to the location of the archived Unity Pro archive file that you want to open 4 Select the file and click Open Unity Pro opens the archived Unity Pro project file Transferring Unity Pro Project STU Files You can copy paste and transfer a Unity Pro project STU file as you would any file using the tools and commands available in Windows Explorer A saved Unity Pro project STU file can be re opened only by the same version of Unity Pro software that saved it 84 31008211 7 2012 Adding Devices to an EtherNet IP Network 3 3 Configuring the STB NIC 2212 Overview This section presents a sample configuration of an STB NIC 2212 EtherNet IP network interface module and adds it to a Unity Pro project NOTE The instructions in this chapter describe a single specific device configuration example Refer to the Unity Pro EtherNet IP configuration tool help file for additional information about alternative configuration choices The following example exte
71. Net IP communication module is enabled the module s CIP objects see page 173 are exposed to and can be accessed by other EtherNet IP devices The I O data exchange between the remote device and the local slave is configured as part of the remote scanning module s configuration settings In the following example e module A acts as both e anl O scanner of the Advantys STB I O adapter and e an O adapter with its CIP objects accessible to remote EtherNet IP devices e module B acts as an I O scanner of the local slave function of module A Module B can access the exposed CIP objects of module A The I O data exchange between module B and module A is configured in the settings for module B Module A local slave activated Module B scans Module A s local slave CIP objects Configuration file comm module B Module A local slave I O Module A scans switch Advantys STB I O adapter advanys ste E MITTAL I O adapter remote I O rack 60 31008211 7 2012 Configuring Configuring the Connection The I O data exchange between module B in its role as an I O scanner and module A in its role as an I O adapter is configured in the settings for module B Do this in the Connections page of the remote EtherNet IP communication module here module B Properties window TSX ETC 100 from Generic EDS x General Connections Online ParametergPort Configuration
72. OOL MOVE L INI OUT EN ENQ Management_Param 0 0 IN2 Send_data_bytes_tIN OUT Management_Param 3 SEND REQ EN ENO ADDR 0 4 0 10 __ ADR RECP Request_Code CODE Data_to_Send EMIS Management_Param GEST GEST Received_Data Management_Param 31008211 7 2012 159 Explicit Messaging in Unity Pro Input Variables Variables need to be created and assigned to input pins For the purpose of this example variables have been created and named as described below You can of course use different variable names in your explicit messaging configurations Input pin Variable Data type IN start BOOL IN Send_data_bytes INT CODE Request_Code INT EMIS Data_to_Send Array 0 4 of 5 INT Note The value of Send_data_bytes equals the length of the Data_to_Send variable in bytes In this example Send_data_bytes 16 000A Input Output Variables Output Variables A single variable needs to be created and assigned to the dual input output GEST pins For the purpose of this example a variable has been created and named as described below You can of course use different variable names in your explicit messaging configurations Input pin Variable Data type GEST Management_Param Array 0 3 of 4 INT A variable also needs to be created and assigned to the single RECP output pin The names assig
73. P connections for devices e diagnosing devices Items adding deleting and renaming inputs and outputs in the I O area Help e displaying versioning information of the Unity Pro EtherNet IP configuration tool e online help e 3 toolbars Toolbar Contains commands that relate to Main toolbar e file management and printing e GUI display selections Devices toolbar working with devices in the Devices window including e displaying devices in the Devices window tree control commissioning devices e creating and configuring CIP connections for devices e diagnosing devices online offline operations Items toolbar adding deleting and renaming inputs and outputs in the I O area The Description area describes the EtherNet IP communication module and its IP address 30 31008211 7 2012 Configuring Workspace Area Devices Window V O Area The Workspace area consists of two tabs containing the Device Library where you can e view properties and EDS files for all available EtherNet IP devices e add anew device and its EDS file to the Device Library e delete a device from the Device Library e manage the display of devices in the Device Library list e insert a selected device into the configuration in the Devices window Network Detection area where you can e automatically detect EtherNet IP devices on the network e take online actions including sending explicit messages and pinging network devices
74. P module enters a diagnostic state and displays the status of each connected device and module An example of a diagnostic status display appears below p EtherNet IP Module Auto 10 100 Mb IN MW500 OUT MW601 Stora Static 192 168 001 010 E tooo Local EtherNet IP Slave B 001 192 168 001 011 STB140NIC2212 Ey 002 192 168 001 012 1734 AENT E Item Configuration Device Name 1734 AENT 8 PointlO Chassis 3 Slot d o 00 1734 AENT Revision 2 1 Sm 01 1734 IBB C b 02 1734 OB2E C In the above example a green icon indicates that all connections are functioning for the device at address 001 a red icon indicates at least one connection has failed for the device at address 002 red icons indicates that at least one connection has failed for the modules at slots 00 and 01 a gray icon indicates a rack optimized connection exists for the module at slot 02 To exit diagnostic mode repeat the command in step 2 31008211 7 2012 215 Diagnostics Ping a Network Device Overview Use the Unity Pro EtherNet IP configuration tool s Ping function to send an ICMP echo request to a target EtherNet IP device to determine e if the target device is present and if so e the elapsed time to receive an echo response from the target device The target device is identified by its IP address setting The Unity Pro EtherNet IP configuration tool will verify that the ta
75. W1 01 0 DD03200_outputdata_QX1 Output bit 0 1 WMW101 1 DD03410_outputdata_QX2 Output bit 0 0 2 LMWH O12 0D03410_outputdata_QX3 Output bit 0 0 3 l 01 3 DD03410_outputdata_QX4 Output bit o 0 4 MIWA O14 0003410_outputdata_GX5 Output bit 0 o 5 AMW101 5 p DO3600_outputdata_QX8 Output bit 4 0 MW101 8 DD03600_outputdata_QxXg Output bit 1 1 1 MIWA 01 9 D003600_outputdata_QX10 Output bit 1 1 2 AMW101 10 DD03600_outputdata_QX11 Output bit d 1 3 AMW101 11 0D03600_outputdata_Qx12 Output bit 1 1 4 MW 01 12 DD03600_outputdata_Qx13 Output bit 1 1 5 SMW 01 13 WA4v01250_CH1_outputdata_ Outputword g 2 AMW102 GBAVO1250_CH2_outputdata_ Output word 4 4 AMW103 Ial E 31008211 7 2012 67 Adding Devices to an EtherNet IP Network If you next activate the local slave function by selecting Active Configuration in the General page of its Properties window then re open the I O items node for the remote device you will see that the MW memory address assignments have changed because they now are located behind the local slave s inputs and outputs we e Input Item Name Data Type OlisevDevice DifsevConnection Position in Byte Address a NICstatus X0 a a NiCstatus_b4 Input bit 0 0 4 AMW65 1 NiCstatus_X2 Input bit 0 0 2 IMIWES 2 f NiCstatus_X3 Input bit 0 0 3 WMW65 3 NiCstatus_X4 Input bit 0 0 4 AMWE5 4 NiCstatus_IX5 Input bit 0 0 5 MWES S NiCstatus_Ix6 Input bit
76. X supported not supported 2 Instance attributes ID hex Description Type GET SET Value 01 Status DWORD X always 0x01 02 Configuration Capability DWORD X 0x01 from BootP 0x11 from flash 0x00 other 03 Configuration Control DWORD X X 0x01 out of box default 04 Physical Link Object STRUCT X Path Size UINT Path Padded EPATH 05 Interface Configuration STRUCT X X 0x00 out of box default IP Address UDINT Network Mask UDINT Gateway Address UDINT Name Server UDINT Name Server 2 UDINT Domain Name STRING 06 Host Name STRING X X supported not supported 31008211 7 2012 195 CIP objects Services The CIP TCP IP Interface object performs the following services upon the listed object types ID hex Description Class Instance Notes 01 Get_Attributes_All xX X 0E Get_Attributes_Single X X 05 Get_Attributes_Single X X supported not supported 196 31008211 7 2012 Diagnostics Overview This chapter describes the diagnostic features of the EtherNet IP communication module and the Unity Pro EtherNet IP configuration software What Is in This Chapter This chapter contains the following sections Section Topic Page 7 1 LED Indicators 198 7 2 Diagnostic Testing Using Unity Pro 200 7 3 Diagnostic Testing Using the Unity Pro EtherNet IP 213 Configuration Tool
77. YTE byReserved BYTE Extended Status WORD X supported not supported 176 31008211 7 2012 CIP objects Adapter Status Adapter status values include the followng Status Description CIP Status Extended Explanation 0 OK 0 0 The I O data are correctly exchanged 33 No connection 0 0 No connection OxFB OxFBO1 Connection in timeout OxFB OxFBO7 Optimization error unknown MAC Address OxFB OxFBOB Timeout on consumption OxFB OxFBOC Connection closed by a Fw_Close OxFB OxFBOE Module in STOP OxFD Error from encapsulation layer OxFE Error on TCP connection 0x02 0 No more resources to handle the connection 0x20 0 Connections refused by bad format or parameters 53 IDLE 0 0 An IDLE notification is received 54 Connection in 0 0 The connection is established but I O data is not yet progress consumed 31008211 7 2012 177 CIP objects Services The CIP Adapter Diagnostic object performs the following services upon the listed object types ID hex Description Class Instance Notes 01 Get_Attributes_All X X 61 Get_Output X Returns the status and values of the output Offset Type Description 0 UINT Status 2 USINT O 409 Output Data 62 Get_Intput X Returns the status and values of the input Offset Type Description 0 UINT Status 2 USINT O 409 Input Data 63 Set_
78. _IX6 CIATCINE YY i 1 7 NiCstatus_IX7 O2 2 0 O2 2 1 Q2 2 2 i Jel Cencel Repeat steps 3 6 for each group of discrete input items you need to create In this example that includes items for each of the following groups Byte Byte Byte Byte Byte Byte Byte Byte Byte Byte Byte Byte 2 Bits 2 Bits 2 Bits 2 Bits 3 Bits 3 Bits 4 Bits 4 Bits 5 Bits 6 Bits 7 Bits 8 Bits 0 1 Default Items Name Root 2 3 Default Items Name Root 4 5 Default Items Name Root 6 7 Default Items Name Root 0 3 Default Items Name Root 4 7 Default Items Name Root 0 3 Default Items Name Root 4 7 Default Items Name Root 0 5 Default Items Name Root 0 5 Default Items Name Root 0 5 Default Items Name Root 0 5 Default Items Name Root DDI3230_inputdata DDI3230_inputstatus DDO3200_outputdataecho DDO3200_outputstatus DDI3420_inputdata DDI3420_inputstatus DDO3410_outputdataecho DDO3410_outputstatus DDI3610_inputdata DDI3610_inputstatus DDO3600_outputdataecho DDO3600_outputstatus Click on the Discrete Output Items tab to open that page 31008211 7 2012 103 Adding Devices to an EtherNet IP Network Creating Discrete Output Items To create discrete output items for the STB NIC 2212 example beginning with 2 discrete outputs for the STB DDO3200 module Step Action 1 The discrete output items page loo
79. ages in the Unity Pro EtherNet IP Configuration Tool 217 31008211 7 2012 213 Diagnostics Diagnostic Testing Using the Unity Pro EtherNet IP Software Overview Use the Unity Pro EtherNet IP configuration tool to perform a diagnostic test of the EtherNet IP module and all other devices in your configuration NOTE Diagnostic testing is performed directly between the Unity Pro EtherNet IP configuration tool software running on your PC and the target EtherNet IP device The software displays the results of the diagnostic test as follows e the task bars Module State indicator reads Diagnostic e the Devices window depicts the state of connections for each device using a e green icon indicating all connections are functioning e red icon indicating at least one connection has failed e gray icon indicating a rack optimized module connection e adiagnostic tab is added to the properties window for each EtherNet IP device and I O module displaying e each connection s status information and performance data and e the value of each input and output Performing a Diagnostic Test To perform a diagnostic test in the Unity Pro EtherNet IP software Step Action 1 Do one of the following e click the Diagnostics toolbar button Og or e select Devices Diagnostic The configuration tool enters its diagnostic state 214 31008211 7 2012 Diagnostics Step Action The EtherNet I
80. aging the client issues a request the server receives processes and sends a response back to the client You can specify a response timeout value indicating how long the client waits for a response from the server If the client does not receive a response from the server within the response timeout period the client reissues its request The length of the response timeout will vary depending on the requirements of your application Examples of explicit messages include SNMP messages FTP messages CIP establish connection messages EtherNet IP query and response messages and DHCP messages The characteristics of explicit messaging are e point to point client server mode variable size variable frequency long response time long connection timeout 31008211 7 2012 137 Optimizing Performance Explicit messages can be sent as either connected or unconnected depending on the frequency of your need for data and on the level of service required Message type Characteristics Connected Begins when an originating device initiates a connection by sending a request to a target device The connection is established when the originator receives a successful response from the target A CIP connected message has a higher priority and provides better service but requires a greater amount of resources from both the target and originator devices Used for recurring requests and for high priority parameter monitor
81. aging service In this example select Reset Messaging Select the type of explicit message In this example select Unconnected The explicit messaging configuration is displayed below 31008211 7 2012 171 Explicit Messaging in Unity Pro Step Action 6 To execute the unconnected explicit message click Send to Device 7 The Status area displays the success or failure of the explicit messaging procedure Online Action x Explicit Message Ping Address Service Data IP Address 192 168 001 011 Number Class 1 Name Ree lt CSs C Instance fi I Enter Path aj M Attribute o Ld gt Messaging al Send to Device Connected f Unconnected p I Continue 500ms Receive I LJ Dn Status CIP Status 0x0 Success Cancel Help Note Because the service returns no data the Receive area displays no message output 8 Click OK to close the window 172 31008211 7 2012 CIP Objects Overview The EtherNet IP communication module stores data and offers services in a CIP object hierarchy consisting of the following nested levels Object Lp Class te Class Attributes Lge instance Instance Attributes L_ e Services commands When the module s local slave service is activated remote devices can send explicit messages to the module s object hierarchy and perform services that e access module data
82. ain errors X supported not supported 184 31008211 7 2012 CIP objects ID hex Description Type GET SET Value 05 Media Counters STRUCT X Alignment UDINT Frames that are not an integral number of octets in Errors length FCS Errors UDINT Frames received that do not pass the FCS check Single UDINT Successfully transmitted frames that experienced Collisions exactly one collision Multiple UDINT Successfully transmitted frames that experienced Collisions more than one collision SQE Test UDINT Number of times the SQE test error is generated Errors Deferred UDINT Frames for which first transmission attempt is delayed Transmissions because the medium is busy Late Collisions UDINT Number of times a collision is detected later than 512 bittimes into the transmission of a packet Excessive UDINT Frames for which transmission fails due to excessive Collisions collisions MAC Transmit UDINT Frames for which transmission fails due to internal Errors MAC sublayer transmit error Carrier Sense UDINT Times that the carrier sense condition was lost or never Errors asserted when attempting to transmit a frame Frame Too UDINT Frames received that exceed the maximum permitted Long frame size MAC Receive UDINT Frames for which reception on an interface fails due to Errors an internal MAC sublayer receive error X supported not supported 3100821
83. anagement_Param 0 High byte Exchange number managed by read only system Low byte Activity bit managed by system Management_Param 1 High byte Operation report read only Low byte Communication report Management_Param 2 Timeout in ms O indicates infinite 16 0000 Management_Param 3 At input Length of Data_to_Send variable in 16 0008 bytes At output Length of Received_Data variable in bytes 166 31008211 7 2012 Explicit Messaging in Unity Pro Viewing the Response Use a Unity Pro Animation table to display the Received_Data variable array Because the Reset explicit messaging command returns no data the Received_Data variable includes no CIP response component The Received_Data variable array includes only the e CIP request located in Received_Data 0 e CIP request status located in Received_Data 1 To display the contents of the Received_Data variable array follow these steps Step Action 1 In Unity Pro select Tools Project Browser to open the Project Browser 2 In the Project Browser select the Animation Tables folder then click the right mouse button A pop up menu appears 3 Select New Animation Table in the pop up menu A new animation table and its properties dialog both open 4 In the Properties dialog edit the following values Name Type in a table name For this example Received_Data Functional module Accept the defau
84. ance ID etc for this transaction Byte Array Request_Data Service specific data to be delivered in the explicit message request if none this field is empty 1 The CIP request must be structured in little endian order Contents of the Received_Data Parameter The Received Data parameter contains only the CIP response The length of the CIP response varies and is reported by Management _Param 3 after the response is received The format of the CIP response is described below Byte offset Field Data type Description 0 Reply Service Byte Service of the explicit message 0x80 1 Reserved Byte 0 2 General Status Byte EtherNet IP General Status 3 Size of Additional Byte Additional Status array size in words Status 4 Additional Status Byte array Additional status Response Data Byte array Response data from request or additional error data if General Status indicates an error NOTE The response must be structured in little endian order 31008211 7 2012 155 Explicit Messaging in Unity Pro SEND_REQ Communication and Operation Reports Overview Communication and operation reports are part of the management parameters NOTE It is recommended that communication function reports always be tested at the end of their execution and before the next activation On cold start up it is imperative that all communication function management parameters be checked and reset
85. ance attributes ID hex Description Type GET SET Value 01 Interface Speed UDINT Xx Valid values include 0 10000000 100000000 02 Interface Flags DWORD X _ Bit 0 Link Status 0 Inactive 1 Active Bit 1 Duplex Mode 0 half duplex 1 full duplex Bits 2 4 Negotiation Status 3 successfully negotiated speed and duplex 4 forced speed and link Bit 5 Manual Setting Requires Reset 0 automatic 1 device need reset Bit 6 Local Hardware Fault 0 no fault 1 fault detected X supported not supported 31008211 7 2012 183 CIP objects ID hex Description Type GET SET Value 03 Physical Address ARRAY of X Module MAC Address 6 USINT 04 Interface Counters STRUCT X E In octets UDINT Octets received on the interface In Ucast UDINT Unicast packets received on the interface Packets In NUcast UDINT Non unicast packets received on the interface Packets In Discards UDINT Inbound packets received on the interface but discarded In Errors UDINT Inbound packets that contain errors does not include In Discards In Unknown UDINT Inbound packets with unknown protocol Protos Out Octets UDINT Octets sent on the interface Out Ucast UDINT Unicast packets sent on the interface Packets Out NUcast UDINT Non unicast packets sent on the interface Packets Out Discards UDINT Outbound packets discarded Out Errors UDINT Outbound packets that cont
86. anner Explicit message client 64 Explicit message server 6 Total TCP connections 198 1128 CIP connections can be used for any combination of e 1 O adapter connections e O scanner connections NOTE Up to16 simultaneous explicit messaging connections can be active per scan 140 31008211 7 2012 Optimizing Performance Messaging Performance Maximum Messaging Load The TSX ETC 100 EtherNet IP communication module supports an implicit messaging load of up to 7500 data packets per second pps 31008211 7 2012 141 Optimizing Performance 4 3 Projecting Ethernet Network Performance Overview This section presents an example of how to calculate the impact of your project on Ethernet network performance What Is in This Section This section contains the following topics Topic Page Allocating Network Bandwidth 143 Network Load and Bandwidth Calculation Example 145 142 31008211 7 2012 Optimizing Performance Allocating Network Bandwidth Introduction Maximum network bandwidth equals your network speed for example 100 Mbps When designing your control network allocate network bandwidth among the control application messages required by your application NOTE Schneider Electric recommends you reserve at least the following amounts for processing explicit messaging e 10 of network bandwidth e 10 of CPU processing capacity for each network device Messag
87. apter A 5 20 ms 8000 bits I O Adapter B 2 30 ms 4096 bits I O Drive C 2 30 ms 8000 bits I O Scanner D 2 50 ms 8000 bits For the purposes of this example it is also assumed that every connection is bi directional I O Scanner Calculations The Ethernet communication module acting as local I O scanner has to handle the implicit messaging load contributed by the remote devices Your task is to 1 estimate the implicit messaging load and bandwidth contributed by each remote device 2 sum the load and bandwidth values for each remote device 3 compare the total load and bandwidth against the maximum implicit messaging capacity of the local I O scanner Recall that the implicit messaging load calculation formula for a single remote device IS Load number of packets per connection x number of connections RPI Because every connection is assumed to be bi directional the number of packets per connection value is 2 Consequently the estimated implicit messaging load contributed by each device and the total implicit messaging load the local I O scanner has to handle can be estimated as follows 31008211 7 2012 147 Optimizing Performance Conclusion Load Device Number of X Number of RPI Load packets per connections connection I O Adapter A 2 xX 5 20ms 500 pps I O Adapter B 2 xX 2 30ms 134 pps
88. ation Tool User Interface 29 Devices Window 33 Configuring Properties in the Devices Window 35 28 31008211 7 2012 Configuring EtherNet IP Configuration Tool User Interface Overview The Unity Pro EtherNet IP configuration tool user interface presents the following parts El EtherneviP Eile Library Network Devices ltems Help al ajom 2 2 B5 ale vse ajaj a guration Tool Input item Name Data Type g Module EIP Auto 10 100 Mb In MVO OUT MVO ix al Schneider f TCP IP Static 192 168 01 004 p Electric Description EIP 2 J 000 EtherNevIP Local Slave g Item Configuration Device Name DEVICE_A Configuration f Modul 4 192 169 001 004 001 192168 9 DEVICE_B Generic EDS E ltem Conti Device Name DEVICE_B a Channel O NOC Quantum EtherNetiP 002 192 168 001 008 DEVICE_C Adapter Item Configuration Device Name DEVICE_C P Fosition 000 Slot 00 Rack Optimization P Fosition 001 Slot O1 Rack Optimization spt01_Input_Value_o Sbt01_Input_Value_i Output ltem Name Bg Sb100_Tanget_Err_Code_0 E Sbt00_Target_Err_Coce_1 Input dword Input cword Input bit Input bit 2 Data Type aal e 3 Display Devices Gy bevie Library Generic EDS Generic EDS for Explicit Messaging EtherNet IP Local Slawe a EtherNetiP Devices Position 002 Sbt 02 Rack Optimization LE
89. by adding the following third party devices e 1734 AENT PointlO adapter with IP address of 192 168 001 011 e 1734 IB4 C 4pt DC input module e 1734 OB2E 2pt DC output module Network Topology The modified network topology looks like this TSX PSY 2600 M TSX P57 4634 power supply controller PC with Unity Pro and Advantys 192 168 001 099 TSX ETC 100 192 168 001 004 STB PDT 3100 1734 OB2E power supply digital output Ethemet switch 1734 AENT 1734 IB4C STB NIC 2212 192 168 001 011 digital input 192 168 001 006 8 I O modules 114 31008211 7 2012 Adding Devices to an EtherNet IP Network To re create this example be sure to e use the IP addresses for your own configuration s e PC e TSX ETC 100 EtherNet IP communication module e STBNIC 2212 EtherNet IP network interface module e 1734 AENT PointlO adapter e check all wiring NOTE Unity Pro software running in the PC is used to configure the TSX P57 4634 controller In this example the PC is indirectly wired to the CPU s Ethernet port via the Ethernet switch Alternatively you could bypass the switch and directly wire the PC to another one of the CPU s ports 31008211 7 2012 115 Adding Devices to an EtherNet IP Network Add an EDS File Overview Adding EDS Files Before you can add a third party device to your configuration be sure the EDS file for that device is included in the
90. case for the Baud Rate property where you can edit the parameter value Value Parameter Name Baud Nate Description Allows you to select the baud rate The choice Auto 10 100Mb aj squares with an automatic detection of the baud rate Default baud rate Auto 10 100Mb Setting Name Auto 10 100 Mb 10 Mb Half Duplex aa 10 Mb Full Duplex ee oaee 100 Mb Half Duplex 100 Mb Full Duplex cnc Note Some other properties are editable by typing in a value within a stated range After completing your edits click OK to close the Properties window and save your edits 36 31008211 7 2012 Configuring 2 3 Configuring Network Channel Properties Overview This section describes how to configure network channel properties with the EtherNet IP configuration tool What Is in This Section This section contains the following topics Topic Page Configuring Channel Properties The General page 38 Configuring Channel Properties The Ethernet page 40 Configuring Channel Properties The EtherNet IP page 41 Configuring Channel Properties The Module Information page 43 31008211 7 2012 37 Configuring Configuring Channel Properties The General page The General Page The General page of the Channel Properties window displays read only properties that describe the e EtherNet IP module name e size and location of inputs and outputs e size of
91. ces and double click on the Derived Variables sub branch i Al Project Sy Configuration aay Local Bus id Derived Data Types ry Derived FB Types co ay Variables amp FB Instances ee Clementary Variables ses azn oe By IO Derived Variables nesesene a Elementary FB Instances sa E Derived FB Instances m Communication By Program E Animation Tables oreren Ep Operator Screens Ho Documentation The Data Editor window opens displaying the Variables tab A check mark appears in the DDT checkbox If not select the DDT checkbox 31008211 7 2012 25 Configuring Step Description 3 The Status variable describing the status of all connections is found beneath the first device in the first position To display the Status variable s 16 byte array expand the first device as depicted below Data Editor Oo x Variables DDT Types Function Blocks DFB Types Filter T Name F EDT DDT fF IODDT Name a Type v Address v Value ETC ST_ETC1_IN MW1 Status ARRAY 0 15 OF BYTE MW1 Status 0 BYTE MW1 Status i BYTE MW 1 Status 2 BYTE NW 2 Status 3 BYTE MW2 Status 4 BYTE MW3 Status 5 BYTE MWS Status 6 BYTE MWA Status 7 BYTE MIWA Status 8 BYTE AMWS5 Status 9 BYTE MWS5 Status 10 BYTE MW 6 Status 11 BYTE MW6 Status 12 BYTE oLMIWT S
92. changes of I O with other nodes in the network 31008211 7 2012 227 Glossary subnet mask switch T gt O target TCP TCP IP trap The 32 bit value used to hide or mask the network portion of the IP address and thereby reveal the host address of a device on a network using the IP protocol A multiport device used to segment the network and limit the likelihood of collisions Packets are filtered or forwarded based upon their source and destination addresses Switches are capable of full duplex operation and provide full network bandwidth to each port A switch can have different input output speeds for example 10 100 or 1000Mbps Switches are considered OSI layer 2 data link layer devices T Target to originator In EtherNet IP a device is considered the target when it is the recipient of a connection request for Implicit or Explicit Messaging communications or when it is the recipient of a message request for un connected Explicit Messaging transmission control protocol TCP is the OSI transport layer protocol that supports connection oriented communications by establishing the connection necessary to transmit an ordered sequence of data over the same communication path Also known as Internet protocol suite TCP IP is a collection of protocols used to conduct transactions on a network The suite takes its name from the two most broadly used protocols transmission control protocol and internet protoc
93. ck the Reset Module button to update property data 44 31008211 7 2012 Configuring Identity Properties and Status After selecting Identity the following information is displayed Property Description Identification Vendor ID 243 Device Type 12 Product Code 2 Revision The revision number of the device Serial Number The serial number of the device Product Name TSX ETC 100 Status Owned A TRUE setting indicates that the device or an object within the device has an owner The setting of this bit means that the Predefined Master Slave Connection Set has been allocated to a master Configured A TRUE setting indicates that the application of the device has been configured to do something different than the out of the box default This does not include configuration of the communications Extended Device Status The vendor specific or already defined status Major Unrecoverable Fault A TRUE setting indicates the device detected a problem with itself which caused the device to go into the Major Unrecoverable Fault state Major Recoverable Fault A TRUE setting indicates the device detected a problem with itself which caused the device to go into the Major Recoverable Fault state Minor Unrecoverable Fault A TRUE setting indicates the device detected a problem with itself which is thought to be unrecoverable The problem does not cause the de
94. communications or when it initiates a message request for un connected Explicit Messaging 226 31008211 7 2012 Glossary P producer consumer CIP the core protocol for EtherNet IP uses the producer consumer model as opposed to the client server message addressing scheme employed by Modbus TCP The producer consumer model is inherently multicast Nodes on the network determine if they should consume the data in a message based on the connection ID in the packet Q QoS Quality of Service The practice of assigning different priorities to traffic types for the purpose of regulating data flow on the network In an Industrial network QoS can help provide a predictable level of network performance R rack optimized connection Data from multiple I O modules are consolidated in a single data packet to be presented to the Scanner in an Implicit Message in an EtherNet IP network RPI requested packet interval The time period between cyclic data transmissions requested by the Scanner EtherNet IP devices will publish data at the rate specified by the RPI assigned to them by the Scanner Modbus TOP devices will receive message requests from the Scanner at each RPI S scanner A Scanner acts as the originator of I O connection requests for Implicit Messaging in EtherNet IP and message requests for Modbus TCP Scanner Class device A Scanner Class device is defined by the ODVA as an EtherNet IP node capable of originating ex
95. dards Communication Modules per Station The TSX ETC 100 module complies with the following standards UL 508 CE C TICK ODVA CSA 22 2 142 The maximum number of communication modules including but not limited to the TSX ETC 100 EtherNet IP communication module that can be installed in a single station including an extended station is determined by the CPU serving that station CPU Maximum Number of Communication Modules per Station TSX H57 24 2 TSX H57 44 4 TSX P57 104 1 TSX P57 154 TSX P57 204 TSX P57 0244 TSX P57 254 TSX P57 304 TSX P57 354 TSX P57 454 TSX P57 554 TSX P57 1634 O A BR OIOJN TSX P57 2634 e TSX P57 3634 TSX P57 4634 TSX P57 5634 TSX P57 6634 wo wo wy ry 31008211 7 2012 Configuring the TSX ETC 100 EtheNet IP Communication Module Overview This chapter shows you how to use Unity Pro programming software and the Unity Pro EtherNet IP configuration tool to select and configure the TSX ETC 100 EtherNet IP communication module NOTE The instructions presented in this chapter include specific choices made for a sample project Your Unity Pro project may include different choices that are appropriate for your specific configuration What Is in This Chapter This chapter contains the following sections Section Topic Page 2 1 Cr
96. ded default is half duplex 3 Successfully negotiated speed and duplex 4 Auto negotiation was not attempted Speed and duplex has been forced Manual Setting Requires Reset If set to 0 The interface can activate changes to link parameters auto negotiate duplex mode interface speed automatically 1 The device requires a reset service be issued to its Identity Object in order for the changes to take effect Local hardware Fault A local hardware fault Physical Address The MAC layer address Input Octets The number of octets received on the interface Ucast Packets The number of subnetwork unicast packets delivered to a higher layer protocol NUcast Packets The number of non unicast packets delivered to a higher layer protocol Discards The number of inbound packets which were chosen to be discarded even though no errors had been detected to prevent their being deliverable to a higher layer protocol Errors The number of inbound packets that contained errors preventing them from being deliverable to a higher layer protocol In Unknown Protocols The number of packets received via the interface which were discarded because of an unknown or unsupported protocol Output Octets The number of octets sent on the interface Ucast Packets The total number of packets that higher level protocols requested be transmitted to a subnetwork unicast address
97. e I O objects for the module Module Status Icons The Premium EtherNet IP Module window displays three icons that reflect the current status of the following LEDs e Run e ERR e STS Refer to the description of LED indicators see page 198 for information on how to use these icons Accessing Module Faults To display the active faults on the communication module Step Action 1 In the Channel area select the communication module The following pages are displayed Overview Fault e 1 0 Objects 31008211 7 2012 207 Diagnostics Step Action To display the communication module s active faults click on the Fault page PREMIUM ETHERNET IP MODULE OR EE Run ERR STS ISX ETC 100 Mi Overview C Fau In W O Objects Internal errors External errors Other errors Function Ethernet CIP Task MAST NOTE You can also access the module error bit by using the Unity Pro Animation Table to display the Ir m MOD ERR object 208 31008211 7 2012 Diagnostics Managing I O Objects Use the I O Objects page to view module I O objects and to manage the association of these objects with variables Open the I O Objects page by selecting the I O Objects tab after the communication module has been selected in the Channel area PREMIUM ETHERNET P MODULE eoo Run ERR STS M Overview i VO Obj
98. e Load and Message Bandwidth Message Load in packets per second PPS represents the number of packets in a single message that are received and sent within one second Message Load can be estimated as follows Message Load number of packets per connection x number of connections RPI The number of packets per connection value depends on the capacity of the device and can be either e 1 for connections that support uni directional communication e 2 for connections that support input and output for producer consumer mode or request and response for client server mode per one time bi directional exchange or The connection can be used for either explicit or implicit messaging For UDP based explicit messaging assume that each client represents one connection and that messages are transmitted cyclically Message Bandwidth in bits can be calculated as follows Message Bandwidth message packet size bits x Message Load Based on the portion of network bandwidth you want to allocate to a particular message you can use the Message Load and Message Bandwidth formulae to calculate the fastest RPI for the message 31008211 7 2012 143 Optimizing Performance Device Load and Device Bandwidth Device Load measured in number of packets represents the load contributed by messages received and sent by a device within one second Device Load is the sum of the Message Load values for every message handled by the dev
99. e Output Items Numeric Input Items Numeric Output Items OffsevDevice Offse Connection Item Name Oo 0 De ault Items Name Root 1 1 AVN 2700H inputa Oo 2 AVI1270_CH1_inputdat O 3 3 U4 4 i 5 5 Define Item s O 6 6 7 7 te Item Os 8 9 9 rr TTT OEH 10 Select a zone and click ji ji on the Define Item s a al button to create 12 12 13 13 One or several items 14 14 Byte word double word 45 15 float an array 16 16 ae e ee 4 Click the Define Item s button The Item Name Definition dialog opens Item Name Definition 2 x New Item s Data Type Byte 8 bits Dword 22 bits Word 16 bits IEEE float Define Selected Area As One or Several Single Items One Item of Array Type avi 270_CH1_inputdata_IB L _ cence Helo 108 31008211 7 2012 Adding Devices to an EtherNet IP Network Step Action 5 Select Word 16 bits as the New Item s Data Type then click OK A new item is created Items Declaration 2 x Discrete Input Items Discrete Output Items Numeric Input Items Numeric Output Items OffsevDevice OffseyConnection Item Name Oo 0 De ault Items Name Root 1 1 o gt 5 AVIH270_CH1_inputd Os 3 O4 4 ar 3 5 5 Define Item s Os 6 7 7 Os 8 8 9 Select a zone and click E io 10 AVH270CH1_inputdata_IW10 mE item s fi 11 11 butto
100. eating a Project in Unity Pro 18 2 2 Using the Unity Pro EtherNet IP Configuration Tool 28 2 3 Configuring Network Channel Properties 37 2 4 Configuring the TCP IP Address Settings 50 2 5 Configuring the EtherNet IP Communication Module as an I O 58 Adapter 31008211 7 2012 17 Configuring 2 1 Creating a Project in Unity Pro Overview This section provides information about e selecting Premium modules in Unity Pro e launching the Unity Pro EtherNet IP configuration tool NOTE For detailed information about how to use Unity Pro refer to the online help and documentation DVD that come with the Unity Pro XL programming software What Is in This Section This section contains the following topics Topic Page Creating a Project 19 Configuring the TSX ETC 100 EtherNet IP Communication Module 21 18 31008211 7 2012 Configuring Creating a Project Using Unity Pro Use Unity Pro to create a new project The following steps provide an example of how to create a project using Unity Pro Step Action 1 Launch Unity Pro 2 In the Unity Pro main menu select File gt New The New Project window opens displaying a list of Schneider Electric controller types 3 In the New Project window open the Premium sub list and select a controller In this example the TSX P57 4634M controller is selected New Project Sho
101. ected and unconnected from other devices In Unity Pro Advanced mode is a selection that displays expert level configuration properties that help define Ethernet connections Because these properties are designed to be edited only by persons with a solid understanding of communication protocols they can be hidden or displayed depending upon the qualifications of the specific user bootstrap protocol A UDP network protocol that can be used by a network client to automatically obtain an IP address from a server The client identifies itself to the server using its MAC address The server which maintains a pre configured table of client device MAC addresses and associated IP addresses sends the client its defined IP address The BOOTP service utilizes UDP ports 67 and 68 A message sent to all devices in the subnet 31008211 7 2012 221 Glossary cip Common Industrial Protocol A comprehensive suite of messages and services for the collection of manufacturing automation applications control safety synchroni zation motion configuration and information CIP allows users to integrate these manufacturing applications with enterprise level Ethernet networks and the Internet CIP is the core protocol of EtherNet IP Class 1 connection A CIP transport class 1 connection used for I O data transmission via Implicit Messaging between EtherNet IP devices Class 3 connection ACIP transport class 3 connection used for Explic
102. ection columns represent the byte address All items you create will be 16 bit words comprising 2 bytes 2 In the Default Items Name Root input box type AVO1250_CH1_outputdata 110 31008211 7 2012 Adding Devices to an EtherNet IP Network Step Action In the Items List select bytes or rows 10 and 11 Items Declaration Numeric Input Items Numeric Output Items Discrete Input Items Discrete Output Items Offset Device Offset Connection ltem Name 0 0 Default Items Name Root e i Avo1250_0H1 oup E E Define Item s Delete item s Select a zone and click on the Define Item s button to create One or several items Byte word double word float an array Click the Define Item s button The Item Name Definition dialog opens Item Name Definition 2 x _New Item s Data Type ie Byte 8 bits Dword 32 t Word 16 bits EEE Define Selected Area As One or Several Single Items One Item of Array Type AVO1250_CH1_outputdata_QB ok _canoa Repeat steps 2 5 for the AVO 1250 channel 2 output data at bytes 4 and 5 Click OK to close the Items Declaration window Select File Save to save your edits 111 31008211 7 2012 Adding Devices to an EtherNet IP Network Viewing Input and Output Item Addresses The final s
103. ects VO Variable Creation ___ Address Name _ Type Commen Prefix for name Type Comment VO Objects Channel V CH Configuration KWI KD KF Selectall System iY MW Status IV AMW Unselect all Parameter AMW MD T MF Command MW MD MF Implicits Ma iW T an FF l iERR M Q l waw an lM aF Update Update Grid Filter on usage NOTE e The TSX ETC 100 EtherNet IP communication module supports only Channel System and Status I O Objects Not all bits are used e Refer to the Unity Pro help for instructions on how to use the I O Objects page Reading I O Objects Use a READ STS function block in Unity Pro to update each of the following types of data e module data e channel data 31008211 7 2012 209 Diagnostics Updating module data To display module information follow these steps Step Action 1 Configure the READ_ STs function block as follows CHr m MOD CH READ_STS Where r rack or station number m module or slot number MOD a constant indicating module data 2 To view the data updated by the READ_ STs function block enter the corresponding direct addresses in the Unity Pro Animation table or use them in your program logic Object Description MWr m MOD O Exchange Status Bit 0 reading of module status in progress MWr m MOD 1 Exchange Report Bit 0 error while reading module status MWr m MOD 2
104. el Properties x General Ethernet EtherNet IP Baud Rate Auto 10 100 Mb Frame format Ethernet Il Description cancel Hop NOTE Refer to the topic Configuring Properties in the Devices Window see page 35 for information on how to display property descriptions and edit property values Properties Name Description Type Baud Rate The transmission speed and duplex mode for the Read Write configuration To change these settings double click on the field name and select one of the following e Auto 10 100 Mb the default 10 Mb Half duplex 10 Mb Full duplex 100 Mb Half duplex 100 Mb Full duplex Note The default setting Auto 10 100 Mb is recommended It causes the connected devices to perform auto negotiation and thereby determine the fastest common transmission rate and duplex mode Frame Format Ethernet II is the only frame format available for this Read Only module 40 31008211 7 2012 Configuring Configuring Channel Properties The EtherNet IP page The EtherNet IP Page Use the EtherNet IP page of the Channel Properties window to configure e properties that determine how the EtherNet IP communication module in its role as an I O scanner opens both implicit and explicit connections the frequency for transmitting produced data over implicit connections the timeout period for explicit connections the behavior of the module in its role as an I O
105. ep both components After you have determined how to handle each imported item click OK After you click OK the Project Browser displays the new or edited derived data types below Project Browser A Derived Data Types D ST_ETC1_IN g ST_ETC1_IN_DEVICE_A imal ST_ETC1_IN_DEVICE_B ami ST_ETC1_OUT fp ST_ETC1_OUT_DEVICE_A Dp ST_ETC1_OUT_DEVICE_B 24 31008211 7 2012 Configuring Viewing Derived Data Type Variables When you clicked on the Update application button Unity Pro created a collection of derived data type variables Use these variables to view the e status of all connections from the communication module to each remote device where the status of all connections is displayed in an array of 16 bytes each connection is represented by a single bit a bit value of 1 indicates the connection is healthy a bit value of 0 indicates the connection is lost or the communication module can no longer communicate with the remote device e value of input and output items you created using the Unity Pro EtherNet IP configuration tool e value of attributes defined by the EDS file of a remote device e amount of padding representing the reserved input or output memory space for a remote device To view these derived data type variables Step Description 1 Return to the main screen in Unity Pro 2 In the Project Browser open the branch Variables amp FB Instan
106. erNet IP Network Creating Discrete Input Items To create discrete input items for the STB NIC 2212 example beginning with 16 discrete inputs for NIC status Step Action 1 In the Devices window of the Unity Pro EtherNet IP configuration tool navigate to and select the connection item at Position 000 as shown below a Ba ele lzi Module ETC1 Auto 10 100 Mb In MW8 Out MWoO BTCPAP Static 192 168 001 004 fg 000 192 168 001 006 STB_NIC_2212 E Item Configuration Device Name STB_NIC_2212 bp Position 000 Read Input Write Output Data Select Devices Properties The Items Declaration window opens Items Declaration 3 xl Discrete Input Items Discrete Output Items Numeric Input Items Numeric Output Items Offset Device CffsetConnection_ Positionin the Byte _ ItemName 0 c Default Items Name Root BLOCKA 000o Define Item s Select a zone and click on the Define Item s button to create One or several items an array o0000oeo0000000 pi Cancel In the Default Items Name Root input box type NICstatus 31008211 7 2012 101 Adding Devices to an EtherNet IP Network Step Action 4 Inthe Items List select the rows that correspond to bits 0 7 in bytes 0 and 1 i e the first 16 rows Items Declaratio xl Discrete Input Items Discrete Output
107. es Variables need to be created and assigned to input pins For the purpose of this example variables have been created and named as described below You can of course use different variable names in your explicit messaging configurations Input pin Variable Data type IN start BOOL IN Send_data_bytes INT CODE Request_Code INT EMIS Data_to_Send Array 0 3 of 4 INT Note The value of Send_data_bytes equals the length of the Data_to_Send variable in bytes In this example Send_data_bytes 16 000A Input Output Variables Output Variables A single variable needs to be created and assigned to the dual input output GEST pins For the purpose of this example a variable has been created and named as described below You can of course use different variable names in your explicit messaging configurations Input pin Variable Data type GEST Management_Param Array 0 3 of 4 INT A variable also needs to be created and assigned to the single RECP output pin The names assigned to the output variable apply only to this example and can be changed in your explicit messaging configurations Output pin Variable Data type RECP Received_Data Array 0 1 of 2 INT Configuring the Address Variable The Address variable identifies the explicit message originating device in this example the TSX ETC 100 communication module and the
108. es e Two flashes The module does not have a MAC address e Three flashes The Ethernet link is not connected e Four flashes The module has detected a duplicate IP address e Five flashes The module is configured as a BOOTP client and is waiting for a BOOTP server response e Six flashes The module is using its default IP configuration the module is not configured e Seven flashes The module has detected a configuration error Note If more then one of the above conditions is detected the module will display the condition with the smaller flashing sequence COL Red e Flashing Red A collision has been detected on the Ethernet link RX Reception Activity Yellow Off There is no reception activity Flashes Yellow Indicates reception activity TX Transmission Activity Yellow Off There is no transmission activity Flashes Yellow Indicates transmission activity Mod Status Module Status Green Red Off Power is not being supplied to the module Steady Green The module is operating normally Flashing Green The module has not been configured Steady Red The module has detected a major fault Flashing Red The module has detected a recoverable fault Net Status Network Status Green Red Off Power is not being supplied to the module or the module does not have an IP address assigned Steady Green The module has established at least one CIP connection Flas
109. es devices are filtered out e Display all Nodes displays devices modules and chassis 72 31008211 7 2012 Adding Devices to an EtherNet IP Network Add an EDS File to the Device Library Overview The Unity Pro EtherNet IP configuration tool includes an EDS Management wizard that you can use to add one or more EDS files to the Device Library The wizard presents a series of instruction screens that e simplify the process of adding EDS files to the Device Library and e provide a redundancy check in case you attempt to add duplicate EDS files to the Device Library Select Devices Options to open the Display Options window where you can enable disable messages indicating the EDS file you are adding is a duplicate or a different version of an existing EDS file NOTE The Unity Pro EtherNet IP configuration tool contains a library of EDS files registered with the ODVA This library includes EDS files for products not manufactured or sold by Schneider Electric The non Schneider Electric EDS files are identified in the Unity Pro EtherNet IP Configuration Tool library Please contact the identified device s manufacturer for inquiries regarding the corresponding non Schneider Electric EDS files Adding EDS Files To add one or more EDS files to the Device Library Step Action 1 Do one of the following e inthe Device Library click the Add button a or e select Library Add Page 1 of the wizard
110. essage refused NOTE The function can detect a parameter error before activating the exchange In this case the activity bit remains at 0 and the report is initialized with values corresponding to the error This report byte is specific to each function and specifies the result of the operation on the remote application It is significant only if the communication report has the following values e 16 00 co rrect exchange e 16 FF message refused If the value o f the communication report is 16 00 the operation report will have the following values Value Operation report most significant byte 16 00 Positive result 16 01 Request not processed 16 02 Incorrect response 16 03 Reserved Other Values Request code 16 30 Upon positive reply for certain requests 16 FE Upon positive reply for certain requests 16 FB Upon reply to a minor request If the value of the communication report is 16 FF the operation report will have the following values Value Operation report most significant byte 16 01 No resources towards the processor 16 02 No line resources 16 03 No device or device without resources 16 04 Line error 16 05 Length error 16 06 Faulty communication channel 16 07 Addressing error 16 08 Application error 31008211 7 2012 157 Explicit Messaging in Unity Pro Value Operatio
111. et IP module settings includes e saving project files as either e Unity Pro Archived Application Files STA e Unity Pro project files STU e opening saved project files e transferring files NOTE To transfer Unity Pro project files follow the steps set forth below Do not use the following Unity Pro commands to transfer a Unity Pro project file that contains EtherNet IP settings e project transfer command PLC Transfer Project from PLC e export project command File gt Export Project Creating Unity Pro Archive STA Files Unity Pro project files containing EtherNet IP module settings can be transferred within the Unity Pro application only as Unity Pro Archived Application Files STA To save a Unity Pro project file as a Unity Pro Archived Application File STA suitable for transfer and reuse follow these steps Step Action 1 Build the Unity Pro project Select Build Rebuild All Project Download the rebuilt Unity Pro project file to the PLC Select PLC Transfer Project to PLC The taskbar should indicate EQUAL Go offline Select PLC Disconnect Select File Save Archive The Save Archive window opens In the Save Archive window e type a File name e navigate to a location to store the archived project file click Save Unity Pro creates a Unity Pro Archived Application File STA 31008211 7 2012 83 Adding Devices to an Ether
112. fing software connected to port 6 which mirrors port 1 transmissions Port mirroring does not affect the normal forwarding behavior of the mirrored port In many switches you can configure port mirroring so that you can forward and examine e only the incoming packets of a single mirrored port e only the outgoing packets of a single mirrored port e both the incoming and outgoing packets of a single mirrored port e the packets of several mirrored ports or the whole switch A packet sniffer s troubleshooting features should include e analyzing network performance e monitoring network activity 132 31008211 7 2012 Optimizing Performance Recommendation Schneider Electric recommends implementing port mirroring as follows e Use a destination or mirror port only for port mirroring and not for any other purpose Connect only the PC with packet sniffer to the mirroring port e When configuring the switch confirm that port mirroring is designed to forward packets e g incoming outgoing or both to meet your requirements e A packet sniffer s troubleshooting features should include the capabilities of analyzing network performance and monitoring network activity 31008211 7 2012 133 Optimizing Performance Virtual Local Area Network VLAN A VLAN is a group of Ethernet devices which may be physically located on different network segments that are grouped together and communicate as if they were located o
113. for you e a generic device you need to manually perform all device configuration In the following example a generic device is added to an EtherNet IP network Adding a Generic Remote Device To add a generic remote device to your EtherNet IP network follow these steps Step Action 1 In the Device Library select Generic EDS see below a B Display all Nodes Generic EDS FtherNet IP ocal Slave EtherNet IP Devices A Chassis and modules a Device Library w Network Detection 76 31008211 7 2012 Adding Devices to an EtherNet IP Network Step Action Click the Insert button Two things occur simultaneously e anew generic device is added to the end of the EtherNet IP network configuration and e the Generic EDS properties window opens for editing 3 Refer to the topic Configuring a Generic Remote Device see page 78 for additional instructions on configuring the generic device 31008211 7 2012 77 Adding Devices to an EtherNet IP Network Configuring Remote Device Properties Overview When a generic device is added to an EtherNet IP network the Unity Pro EtherNet IP configuration tool automatically opens its properties window for immediate configuration When operating offline the properties window consists of the following 5 pages Only the first two of these pages need to be configured In this
114. formation Port Configuration EDS File Device Designation Device Name STB NIC 2212 Suen LEDS Fil Number Comment Network Properties Name Value Unit IP Address 192 168 001 006 Enable DHCP FALSE Description E Ping Ping Ping Result F Loop F Stop on Error Clear 0i E Active Configuration 56 31008211 7 2012 Configuring Step Action 3 In the Network Properties area under the heading DHCP Relation configure the following properties Property Action Enable DHCP Select TRUE DHCP Client Identifier Select either e MAC Address or e Device Name Mac Address Device Name Enter a value for either the device name or the MAC Address 4 Click OK to close the device s Properties window and save your edits 31008211 7 2012 57 Configuring 2 5 Configuring the EtherNet IP Communication Module as an I O Adapter Overview This section describes how to configure the EtherNet IP communication module as an I O adapter local slave In this role the module initiates no messages Instead it responds to e implicit messaging requests from a remote device for periodic data at the established RPI rate and e explicit messaging requests from other EtherNet IP devices on the network What Is in This Section This section contains the following topics Topic Page Identifying
115. fusedCnt UINT Incremented when a connection is refused by the remote station dwErrProdCnt UDINT Incremented at each production dwErrConsCnt UDINT Incremented at each consumption dwErrProdByteCnt UDINT Total bytes produced dwErrConsByteCnt UDINT Total bytes consumed 03 Input Status WORD X See Status descriptions below 04 Output Status WORD X See Status descriptions below X supported not supported 174 31008211 7 2012 CIP objects ID hex Description Type GET SET Value 05 ST_LINK STRUCT X CIP Status UINT See Status descriptions below Extended Status UINT See Status descriptions below Production DWORD Connection ID Connection ID Consumed DWORD Connection ID Connection ID OtoT API UDINT API of the Connection TtoO API UDINT API of the Connection OtoT RPI UDINT RPI of the Connection TtoO RPI UDINT RPI of the Connection 06 ST_SOCK_PARAM STRUCT X IpSockld DWORD Internal identifier lpForeign DWORD IP of the remote station wPortForeign UINT Port number of the remote station IpLocal DWORD IP of the local station wPortLocal UINT Port number of the local station 07 ST_PRODUCTION STRUCT X bValid WORD 0 data of the struct production is not valid 1 data of the struct production is valid dwCurrentTime UDINT Internal Use number of ticks before next production dwProductionTime UD
116. g device parameters configuring and operating the devices and diagnosing events DTMs can range from a simple Graphical User Interface for setting device parameters to a highly sophisticated application capable of performing complex real time calculations for diagnosis and maintenance purposes In the context of a DTM a device can be a communications module or a remote device on the network E electronic data sheet EDS are simple text files that describe the configuration capabilities of a device EDS files are generated and maintained by the manufacturer of the device A 10 or 100 Mb s CSMA CD frame based LAN that can run over twisted pair or fiber optic cable or wireless The IEEE standard 802 3 defines the rules for configuring a wired Ethernet network the IEEE standard 802 11 defines the rules for configuring a wireless Ethernet network A network communication protocol for industrial automation applications that combines the standard internet transmission protocols of TCP IP and UDP with the application layer Common Industrial Protocol CIP to support both high speed data exchange and industrial control EtherNet IP employs electronic data sheets EDS to classify each network device and its functionality Because EtherNet IP is based on standard Ethernet protocols it can be implemented using commercially available Ethernet components and cabling TCP IP based messaging for Modbus TCP and EtherNet IP It is used for point to po
117. guration mode Property Description Module IP Address The 32 bit identifier consisting of both a network address and a host address assigned to a device connected to a TCP IP Internet network using the Internet Protocol IP Gateway Address The address of a device if any that serves as a gateway to the EtherNet IP module Sub Net Mask The 32 bit value used to hide or mask the network portion of the IP address and thereby reveal the host address of a device ona network using the IP protocol Default Address Configurations The module uses a default address configuration when it is not configured or when a duplicate IP address is detected The default address is based on the MAC address of the module and makes it possible for several Schneider devices to use their default network configuration on the same network The module uses the following default address configurations e Default IP Address This default address starts with 10 10 and uses the last two bytes of the MAC address As an example a device with the MAC address of 00 00 54 10 8A 05 has a default IP address of 10 10 138 5 Ox8A 138 0x05 5 e Default Subnet Mask The default address is 255 0 0 0 a class A mask e Default Gateway Address The default gateway address is identical to the default IP address Duplicate IP Address Checking Before going online the module sends out at least four ARP Address Resolution Protocol messages with
118. half duplex communications because messages are transmitted and received over a single channel Half duplex communications can cause poor performance and message loss Auto negotiation permits a switch port connected to a remote device that also supports auto negotiation to automatically configure itself for the maximum speed and duplex configuration supported by both devices However it may be necessary to manually configure the speed and duplex settings of the switch port if its peer device does not possess auto negotiation capability Schneider Electric recommends that you employ only switches that support e both auto negotiation and manual configuration of speed and duplex settings e multiple speeds 10 100 1000 Mbps e both full duplex and half duplex 130 31008211 7 2012 Optimizing Performance IGMP Snooping Multicast Messaging Internet Group Management Protocol IGMP is an essential feature of multicast messaging IGMP instructs routers and switches to forward Ethernet multicast packets to only those device ports that have requested these packets In the absence of IGMP snooping a switch forwards multicast packets out of all its ports resulting in greater network traffic wasted network bandwidth and degraded network performance Configure one Ethernet network switch as the IGMP querier This switch periodically polls the field devices connected to the network which causes all connected devices to issue an
119. hannel Properties The Module Information page 43 2 4 Configuring the TCP IP Address Settings 2 00 eee eee 50 TCP IP Properties The General Page 0 cece eee eee 51 TCP IP Properties Configuring the SNMP Agent 53 TCP IP Properties Configuring the DHCP Server 55 2 5 Configuring the EtherNet IP Communication Module as an I O Adapter 58 Identifying the Local Slave 0 0 0 cece eee 59 Local Slave Inputs and Outputs aasan c eee eee eee 60 Configuring Local Slave Properties The General page 62 Chapter 3 Adding Devices to an EtherNet IP Network 65 3 1 Adding Devices to an EtherNet IP Network 02 000 66 Effect of Device Position on Input and Output MW Memory Addresses 66 31008211 7 2012 3 3 2 3 3 3 4 Chapter 4 4 1 4 2 4 3 Chapter 5 Adding and Configuring Remote Devices 00055 70 Device Library acrus si oriai NEE Bea eg a E a ar e ae ATE e 71 Add an EDS File to the Device Library 000 eee 73 Adding A Remote Device 0 0 cee tees 76 Configuring Remote Device Properties 20000055 78 Managing Project Files 0 eee eee eee 83 Configuring the STB NIC 2212 1 85 Setting Up Your Network 0 0 0 cece ete 86 Automatically Detect and Add the STB NIC 2212 88 Configuring STB NIC 2212 Properties
120. hing Green The module has obtained an IP address but has not established any CIP connections e Steady Red The module has detected that its IP address is a duplicate IP address e Flashing Red One or more CIP connections has timed out and the connection s need to be re established or the module has been reset 31008211 7 2012 199 Diagnostics 7 2 Diagnostic Testing Using Unity Pro Overview This section describes the diagnostic tools available in the Unity Pro software What Is in This Section This section contains the following topics Topic Page Accessing the Unity Pro Diagnostic Tools 201 Communication Channel Diagnostics in Unity Pro 204 Communication Module Diagnostics in Unity Pro 207 200 31008211 7 2012 Diagnostics Accessing the Unity Pro Diagnostic Tools Overview The Unity Pro software provides diagnostic tools that let you view the e communication module status e communication module s e faults e 1 0 objects e communication channel s e MAC Address e IP Address settings e faults These Unity Pro diagnostic tools are available in the Premium EtherNet IP Module properties window only when Unity Pro is operating online Accessing Unity Pro Diagnostic Tools To access diagnostic tools for the TSX ETC 100 EtherNet IP module Step Action 1 Open the Unity Pro project backplane diagram below 31008211
121. ice If the Device Load exceeds the device s processing capability performance of both the device and the network is degraded NOTE Schneider Electric recommends that Device Load not exceed 90 of CPU processing capacity of each device Device Bandwidth measured in bits is the sum of the Message Bandwidth values for messages handled by the device In your control application design determine whether the I O scanner device can handle the load contributed by every I O adapter device To do this perform the following steps 1 Calculate the implicit messaging load and bandwidth for each remote device 2 Sum the load and bandwidth estimates for every remote device 3 Compare the total implicit messaging load and bandwidth against the maximum implicit messaging capacity of the device acting as I O scanner If the projected total load or bandwidth for a communication module acting as an I O scanner exceeds its implicit messaging load or bandwidth limits consider one or more of the following corrective actions e Ifthe I O adapter supports rack optimized connections and if a single rack of digital I O uses multiple direct connections replace the direct connections with a single rack optimized connection if possible e Increase the RPI setting for a device where possible e Add another communication module to act as an I O scanner and re design the network in order to share the load Network Load and Network Bandwidth Network
122. ice device A detects a signal sent by another device device B while A is transmitting A aborts its transmission and retries after a random period of time D DHCP dynamic host configuration protocol An extension of the BOOTP communications protocol that provides for the automatic assignment of IP addressing settings including IP address subnet mask gateway IP address and DNS server names DHCP does not require the maintenance of a table identifying each network device The client identifies itself to the DHCP server using either its MAC address or a uniquely assigned device identifier The DHCP service utilizes UDP ports 67 and 68 DNS domain name server service A service that translates an alpha numeric domain name into an IP address the unique identifier of a device on the network domain name An alpha numeric string that identifies a device on the internet and which appears as the primary component of a web site s Uniform Resource Locator URL For example the domain name schneider electric com is the primary component of the URL www schneider electric com Each domain name is assigned as part of the Domain Name System and is associated with an IP address Also called a host name 31008211 7 2012 223 Glossary DTM EDS Ethernet EtherNet IP Explicit Messaging device type manager A DTM is a device driver running on the host PC It provides a unified structure for accessin
123. ient identifier Note The Device Name referenced here is not the same as the Device Name described in the first row of this table 80 31008211 7 2012 Adding Devices to an EtherNet IP Network Configuring the Connections Page To configure the Connections page Step Action 1 Click on the Connections page Generic EDS x General Connections Online Parameters Port Configuration EDS File Configured Connections Connections Parameters Generic EDS Exclusive Owner General Check Device Identity Configuration Setting Add Remove Description Previous Next Cancel Help 2 In the Configured Connections list click on General to display the general connection settings in the Connection Parameters list shown below Configured Connections Connections Parameters Generic EDS Exclusive Owner General Connection Bit Health Offset a Request Packet Interval RPI 30 ms Check Device Identity Time out Multiplier x4 Configuration Setting _ Input T gt O Input Size 1 bytes Input Instance Output O gt T Output Size 1 bytes Output Instance 0 Configuration Configuration Instance 0 31008211 7 2012 81 Adding Devices to an EtherNet IP Network Step Action 3 In the Connections page edit the following general connection settings Connection Health Bit Offset read
124. in the number that identifies the instance of the identity class object In this example the number is 1 Attribute Place a check mark in the checkbox to enable this field then type in the number identifying the attribute containing vendor ID In this example the number is 1 Name Select the name of the explicit messaging service In this example select Get_Attributes_Single Messaging Select the type of explicit message In this example select Unconnected The explicit messaging configuration is displayed below To execute the unconnected explicit message click Send to Device The Receive area displays the message output and the Status area displays the success or failure of the explicit messaging procedure Online Action Explicit Message Address IP Address 192 168 001 011 Number fo Name Get Attributes_Single x iz I Enter Path F Attribute 1 Ld Fa Class Instance Receive Ping Service Data Messaging Bf __sendto device so Unconnected I Continue 500ms 0000 Ei Status 01 00 CIP Status 0x0 Success Cancel Help Click OK to close the window 170 31008211 7 2012 Explicit Messaging in Unity Pro Explicit Messaging Online Action Reset Overview The following example shows you how to use the Online Action window in the Unity Pro EtherNet IP configuration tool to execute an unco
125. ing Typically use short response timeout settings Unconnected Less resource intensive Used for less frequent requests and for lower priority parameter monitoring Typically use very long response timeout settings NOTE The response timeout can be configured using the EM Request Timeout parameter located in the Channel Properties gt EtherNet IP page Implicit Messages Implicit messages consist of packets of data that are time critical Implicit messages are used for real time control and synchronization Examples of implicit messages include real time I O data motion control data functional diagnostic data real time synchronization data and network topology management data Implicit messages require determinism and high performance in message processing and delivery The characteristics of implicit messaging are e producer consumer mode EtherNet IP or client server mode Modbus TCP small fixed data size fixed frequency short response time short connection timeout 138 31008211 7 2012 Optimizing Performance TCP Connections Overview EtherNet IP uses TCP connections as a pipeline for CIP connections Both connected and unconnected messaging use the TCP connection TCP Connection Limits The TSX ETC 100 EtherNet IP communication module can provide up to 67 TCP connections as follows Connection type Maximum number of connections I O adapter I O scanner 64
126. ing e anitem name e an address location e a size allotment based on its data type NOTE In this example the configuration tool created a rack optimized connection which is more efficient A rack optimized connection can be used only with discrete digital I O modules For analog I O modules each analog module must be connected to the ETC 100 using a separate connection Viewing the CIP Connection and I O To view the automatically created CIP connection and the I O items in the Unity Pro EtherNet IP configuration tool Step Action 1 In the Devices window select the 1734 AENT z ala 2le z Module ETC1 Auto 10 100 Mb In MW6 Out MWO fl TCPAP Static 192 168 001 004 ea 000 EtherNet IP Local Slave a 001 192 168 001 006 STB_NIC_2212 iE 002 192 168 001 011 1734 AENT PointlO EtherNet IP Adapter Rev 2 1 In the Protocol menu select Properties The Properties window opens for the remote device 124 31008211 7 2012 Adding Devices to an EtherNet IP Network Step Action 3 In the Connections tab under the topmost Rack Optimization connection select General The rack optimized connection properties are displayed in the Connection Parameters list Configured Connections Connections Parameters 1734 AENT PointlO EIP Adapter Name Value Unit 9 Rack Optimization Connection Bit Health Offset Request Packet Interval 30 ms
127. ing instructions be sure you have auto configured the Advantys STB island by pressing the RST button on the front of the STB NIC 2212 module Making the Connection To connect to the STB NIC 2212 and I O modules using the Advantys configuration software Step Action 1 Startup the Advantys configuration software on your PC A dialog opens displaying available project types Select STB A choice of language dialog opens Select your choice of language Select File New Workspace The New Workspace window opens below 31008211 7 2012 93 Adding Devices to an EtherNet IP Network Step Action 5 For this example type in the following field values e for the field Workspace File type in Advantys e for the field Island File type in Advantys_01 FA New Workspace Island File Name Advantys_01 Name with path n eer Workspace File Name Advantys Location C Program Files Schne El Name with path Files Schneider lt gt Cancel Click OK The Advantys configuration software displays an empty DIN rail in the center of the screen Select Online Connection Settings The Connection Settings window opens below In the Connection Settings window accept the Modbus Node ID default setting of 1 select TCP IP and click the Settings button F 4 Connection Settings Connection Type Modbus Node ID Serial 1 241 247 Cancel
128. int client server messages that include both data typically unscheduled information between a client and a server and routing information In EtherNet IP Explicit Messaging is considered Class 3 type messaging and can be connection based or connectionless 224 31008211 7 2012 Glossary Explicit Messaging client Explicit Messaging client class Device class defined by the ODVA for EtherNet IP nodes that only support Explicit Messaging as a client HMI and SCADA systems are the most common examples of this device class F full duplex The ability of a two networked devices to independently and simultaneously communicate with each other in both directions G gateway A device that interconnects two different networks sometimes with different network protocols When used to connect networks based on different protocols a gateway converts a datagram from one protocol stack into the other When used to connect two IP based networks a gateway also called a router has two separate IP addresses one on each network H hub A multiport device used to span longer network distances by connecting several Ethernet devices with shielded unshielded twisted pair or fiber optic cables Messages received by a hub are repeated on all ports All connected devices are part of the same segment share bandwidth and operate via half duplex communication A hub lacks the ability to filter network messages based on their source and destinatio
129. is example unconnected is selected Data_to_Send 1 High byte Request path size 03 16 030E Low byte Service Get_Attribute_Single 0E Data_to_Send 2 High byte Class 01 16 0120 Low byte Class Segment 20 Data_to_Send 3 High byte Instance 01 16 0124 Low byte Instance Segment 24 Data_to_Send 4 High byte Attribute 01 16 0130 Low byte Attribute Segment 30 The Management_Param variable manages the explicit message Variable Description Value hex Management_Param 0 High byte Exchange number managed by read only system Low byte Activity bit managed by system Management_Param 1 High byte Operation report read only Low byte Communication report 161 Explicit Messaging in Unity Pro in bytes At output Length of Received_Data variable in bytes Variable Description Value hex Management_Param 2 Timeout in ms 0 indicates infinite 16 0000 Management_Param 3 At input Length of Data_to_Send variable 16 000A Viewing the Response Use a Unity Pro Animation table to display the Received_Data variable array Note that the Received_Data variable array consists of the entire data buffer To display the CIP response follow these steps mouse button A pop up menu appears Step Action 1 In Unity Pro select Tools Project Browser to open the Project Browser 2 In the Project Browser select the Animation Table
130. it Messaging between EtherNet IP devices connected messaging In EtherNet IP connected messaging uses a CIP connection for communication A connected message is a relationship between two or more application objects on different nodes The connection establishes a virtual circuit in advance for a particular purpose such as frequent explicit messages or real time I O data transfers connection A virtual circuit between two or more network devices created prior to the transmission of data After a connection is established a series of data is transmitted over the same communication path without the need to include routing information including source and destination address with each piece of data connection originator The EtherNet IP network node that initiates a connection request for I O data transfer or explicit messaging connectionless Describes communication between two network devices whereby data is sent without prior arrangement between the two devices Each piece of transmitted data also includes routing information including source and destination address 222 31008211 7 2012 Glossary consumer See producer consumer below CSMA CD carrier sense multiple access with collision detection An Ethernet and IEEE 802 3 media access method operating at the physical layer and handled fully by hardware at the communication media signal level All network devices contend equally for access to transmit When a dev
131. ive position from left to right of a data producing receiving module with input or output data in that cell For example the STB DDI 3230 input module is the first data producing or receiving module in the rack its data is designated by the integer 1 in bits 0 3 of word 2 in the Input Data table the STB DDO 3600 output module is the sixth data producing module in the rack its status and output echo data is designated by the integer 6 in bits 8 13 of word 4 and in bits 0 5 of word 5 in the Input Data table its output data is designated by the integer 6 in bits 8 13 of word 1 in the Output Data table Notes Select a cell in either the Input Data or Output Data tables to display in the middle of the page a description of the cell data and its source module Convert the size of the Input Data table and the Output Data table from words to bytes i e divide by 2 then use that data as the values for the Input Size 19 and Output Size 6 parameters when configuring the remote device s general connection properties see page 81 31008211 7 2012 97 Adding Devices to an EtherNet IP Network Configuring I O Items Overview The final task in this example is to add I O items to the configuration of the STB NIC 2212 EtherNet IP network interface module and its 8 I O modules To accomplish this e use the Advantys configuration software to identify the relative position of each I O module s inputs and ou
132. k the Validate button to e save the EtherNet IP module name which becomes a non editable read only value e save the address and size settings for inputs and outputs and e start up the EtherNet IP configuration tool Launching the Ethernet IP Configuration Tool After you have saved both the EtherNet IP module name and the input and output settings launch the EtherNet IP configuration tool by clicking on the EtherNet IP button EtherwevIP The EtherNet IP configuration tool opens for editing If EtherNet IP device configurations have previously been edited and saved they will be displayed 22 31008211 7 2012 Configuring Use the EtherNet IP configuration tool to configure e EtherNet IP module channel properties see page 37 EtherNet IP module TCP IP settings see page 50 optional the EtherNet IP module s local slave function see page 58 properties for both e Schneider Electric remote devices see page 85 e third party remote devices see page 113 Creating or Updating Derived Data Types After all EtherNet IP module edits have been saved in the EtherNet IP configuration tool add these edits to the Unity Pro project as follows Step Action 1 Return to Unity Pro and select the Configuration page of the EtherNet IP configurable server module below Note that the Update application button is now enabled PREMIUM ETHERNET IP MODULE m Overview m Configuration l Pr
133. ks like this Items Declaration 2 x Discrete Input Items Discrete Output Items Numeric Input Items Numeric Output Items Offset Devicel OffsetConnectior Position in the Byte Item Name O0 0 0 Default Items Name Root Oo 0 1 Oo 0 gt BLOCKA Oo 0 3 Q g 2 Define Item s O0 0 6 oOo 0 7 Q1 1 0 2 i 1 Select a zone and click 2 on the Define Item s 2 button to create 1 1 5 One or several items 1 1 6 an array ol 1 Ed O2 2 o O2 2 1 O2 2 2 i T Cano Note Again both the Offset Device and Offset Connection columns represent the byte address of the discrete output while the Position in the Byte column indicates the bit position of the discrete output item 2 In the Default Items Name Root input box type DDO3200_outputdata 104 31008211 7 2012 Adding Devices to an EtherNet IP Network Step Action 3 In the Items List select the rows that correspond to bits 0 1 in byte O i e the first 2 rows Items Declaration BE Discrete Input Items Discrete Output items Numeric Input Items Numeric Output Items Offset D evicdOtfsevConnection Position in the Byte Item Name O a a 22 tems Name Root BE 7 aa a DDOs200_outputdata O BDO3200_outputdata Oo 2 Oo g Oo 4 Oo T Define Item s Oo Oo 7 lete Iter O1 c 2 5 Select a zone and click Oo on the Define Item s 1 3 button to create Oj 4 7 O1 5 One or several items ot a an
134. l displays a File Already Exists message Close the message 9 Page 3 of the wizard opens indicating the Status of each device you selected e a green check mark indicates the EDS file can be added e a blue informational icon indicates a redundant file Optional Select a file in the list then click View Selected File to open it 10 Click Next to add the non duplicate files Page 4 of the wizard opens indicating the action is complete 11 Click Finish to close the wizard The device s you added can now be inserted into your EtherNet IP configuration 118 31008211 7 2012 Adding Devices to an EtherNet IP Network Automatically Detect and Add the 1734 AENT PointlO Adapter Overview Use the Unity Pro EtherNet IP configuration tool to automatically detect the 1734 AENT PointlO adapter After it is detected you can add it to your project NOTE The 1734 AENT must be active online with a valid IP address before you can detect and add it to your project Detecting and Adding Network Devices To automatically detect the 1734 AENT then add it to your project follow these steps Step Action 1 Launch the configuration tool from the Configuration page of the EtherNet IP communication module s Properties window In the configuration tool begin on line operations by clicking the Go Online button Click on the Configuration tab to enable automatic network detection E Device Library
135. ld must be connected to PE ground at the Ethernet switch Failure to follow these instructions can result in death serious injury or equipment damage The TSX ETC 100 module communicates over an EtherNet IP network through a single RJ45 connector located in the upper half of the module 10 100 Base T RJ45 Cable Connector 31008211 7 2012 Installation Module Specifications Related Documentation Specifications Refer to the Ethernet Communication Hardware Installation chapter in the Premium and Atrium Using Unity Pro Ethernet Network Modules User Guide for more detailed information on the installation Specifications Communication Port One auto negotiating 10 100Base T shielded twisted pair RJ 45 connector port Current Consumption 490 mA running 420 mA stopped Power Dissipation 2 5 W Fuse None Operating Conditions Temperature 0 60 C Humidity 0 95 Rh non condensing 60 C Altitude 2000 m 6561 68 ft operating 3000 m 9842 52 ft transport Vibration 5 8 4 Hz 14 mm d a 8 4 150 Hz 2g Storage Conditions Temperature 40 85 C Humidity 0 95 Rh non condensing 60 C Free Fall 1 m unpackaged Shock 3 shocks axis 15 g 11 ms Software Compatibility The TSX ETC 100 is compatible with Unity Pro XL programming software version 4 0 and higher 31008211 7 2012 15 Installation Stan
136. lt lt None gt Comment Leave blank Number of animated Type in 100 representing the size of the data buffer in characters words 5 The completed Properties dialog looks like this Name Properties x Functional module Received_Data Comment Extended String Animation Number of animated characters 100 None range 20 300 cael Click OK to close the dialog 31008211 7 2012 167 Explicit Messaging in Unity Pro Step Action 6 In the animation table s Name column type in the name of the variable assigned to the databuffer Received_Data and hit Enter The animation table displays the Received_Data variable 7 Expand the Received_Data variable to display its word array where you can view the CIP response at words Received_Data 7 16 Received_Data Of x Modification Force Extended Strings Name Value Type hd Comment E Received_Data ARRAY O 1 Received_Data 0 16 0085 INT Received_Data i 16 0000 INT Note Each integer presents 2 bytes of data in little endian format where the least significant byte is stored in the smallest memory address For example 85 in Received_Data 0 is the lower byte and 00 is the upper byte 168 31008211 7 2012 Explicit Messaging in Unity Pro Explicit Messaging Online Action Get_Attributes_Single Overview The following example shows
137. lt in death or serious injury A WARNING WARNING indicates a potentially hazardous situation which if not avoided can result in death or serious injury This is the safety alert symbol It is used to alert you to potential 31008211 7 2012 7 PLEASE NOTE A CAUTION CAUTION indicates a potentially hazardous situation which if not avoided can result in minor or moderate injury NOTICE NOTICE is used to address practices not related to physical injury Electrical equipment should be installed operated serviced and maintained only by qualified personnel No responsibility is assumed by Schneider Electric for any consequences arising out of the use of this material A qualified person is one who has skills and knowledge related to the construction and operation of electrical equipment and its installation and has received safety training to recognize and avoid the hazards involved 31008211 7 2012 About the Book A At a Glance Document Scope Validity Note This manual describes the use of the Premium TSX ETC 100 EtherNet IP communication module This manual presents a continuing sample configuration The features of the module are described as they are encountered in the course of this continuing sample configuration The specific configuration settings contained in this manual are intended to be used for instructional purposes only The settings required for your s
138. n address Because communication is half duplex the likelihood of collisions is increased Collisions are handled by each connected device using CSMA CD Hubs are OSI Layer 1 physical layer devices 31008211 7 2012 225 Glossary Implicit Messaging IP address local slave multicast O gt T originator UDP IP based class 1 connected messaging for EtherNet IP Implicit messaging maintains an open connection for the scheduled transfer of control data between a producer and consumer Because an open connection is maintained each message contains primarily data without the overhead of object information plus a connection identifier The 32 bit identifier consisting of both a network address and a host address assigned to a device connected to a TCP IP network L Functionality offered by Schneider Electric EtherNet IP communication modules that allows a Scanner to take the role of an Adapter The local slave enables the module to publish data via Implicit Messaging connections Local slave is typically used in peer to peer exchanges between PLCs M A special form of broadcast where copies of the packet are delivered to only a subset of all possible destinations Implicit Messaging typically uses multicast format for communications in an EtherNet IP network O Originator to target In EtherNet IP a device is considered the originator when it initiates a CIP connection for Implicit or Explicit Messaging
139. n report most significant byte 16 0B No system resources 16 0C Communication function not active 16 0D Destination missing For a CIP request it is detected on a request timeout 16 0F Intra station routing problem or channel not configured 16 11 Address format not managed 16 12 No destination resources For a CIP request this can occur when the device number is not part of the configuration 16 14 Non operational connection example Ethernet TCP IP 16 15 No resource on the local channel For a CIP request it may be that there are no resources to handle the message or it is an internal error no buffer available no link available impossible to send message 16 16 Access not authorized example Ethernet TCP IP 16 17 Inconsistent network configuration example Ethernet TCP IP 16 18 Connection temporarily unavailable For a CIP request it may be that another explicit message is in progress for this device or a TCP connection or encapsulation session is in progress 16 21 Application server stopped 16 30 Transmission error For a connected CIP request it may occur when the connection opening times out 16 80 16 8 7 Forward_Open response errors 16 80 Internal error 16 81 Configuration error the length of the explicit message or the RPI rate needs to be adjusted 16 82 Device error target device does
140. n the same LAN segment All devices on a VLAN use the same IP subnet In a port based or static VLAN an administrator configures VLAN membership by assigning individual switch ports to the VLAN Any device connected to that port is effectively added to the VLAN NOTE A single port can be a member of multiple VLANs VLANs permit the creation of logically separate groups of network devices without having to physically re wire those devices When a switch receives a message directed to a specific VLAN it forwards that message only to the switch ports that are members of that VLAN The switch does not send the message to its ports that are not members of that VLAN In the example below switch ports 1 2 and 3 are assigned to VLAN A while switch ports 4 5 and 6 are assigned to VLAN B VLANA VLANB Controller A Controller B 134 31008211 7 2012 Optimizing Performance Simple Network Management Protocol SNMP Agent An SNMP agent is a software component that responds to queries about the management data of the switch and reports events to another device acting as an SNMP manager The management data for a switch can include e operational state information interface status mode of operation etc e configuration parameters IP address features enabled disabled timer values etc e performance statistics frame counters event logs etc
141. n to create 12 12 13 13 One or several items 14 14 Byte word double word 15 15 float an array 16 16 Canoe 6 Repeat steps 2 5 for each group of numeric input item you need to create In this example that inlcudes items for each of the following groups e Byte 12 Default Items Name Root AVI1270_CH1_inputstatus e Word 14 15 Default Items Name Root AVI1270_CH2_inputdata e Byte 16 Default Items Name Root AVI1270_CH2_inputstatus e Byte 17 Default Items Name Root AVO1250_CH1_outputstatus e Byte 18 Default Items Name Root AVO1250_CH2_outputstatus 7 Click on the Numeric Output Items tab to open that page 31008211 7 2012 109 Adding Devices to an EtherNet IP Network Creating Numeric Output Items To create numeric output items for the NIC 2212 example beginning with a output data word for the AVO 1250 module Step Action 1 The Numeric Output Items tab opens Items Declaration 2 fx Discrete Input Items Discrete Output Items Numeric Input Items Numeric Output Items ffsevDevice Offset Connection Item Name a 0 0 Default Items Name Root Ga T 2 2 BLOCKA 3 3 4 4 foa 5 5 Define Item s orso Select a zone and click on the Define Item s button to create One or several items Byte word double word float an array L Cancel Note In this example both the Offset Device and Offset Conn
142. n tool Services The services available in Unity Pro include but are not limited to the services listed below Service Code Description Available in Hex Dec Function Block EIP config tool 0 0 Reserved 1 1 Get_Attributes_All X X 2 2 Set_Attributes_All X X 3 3 Get_Attribute_List X 4 4 Set_Attribute_List Xx 5 5 Reset X X 6 6 Start X xX 7 7 Stop X X 8 8 Create X xX 9 9 Delete X xX A 10 Multiple_Service_Packet X E B C 11 12 Reserved D 13 Apply_Attributes X X E 14 Get_Attribute_Single X X F 15 Reserved 10 16 Set_Attribute_Single X xX 11 17 Find_Next_Object_Instance X X 12 13 18 19 Reserved 14 20 Error Response DeviceNet only 15 21 Restore X X 16 22 Save X xX X indicates the service is available indicates the service is not available 150 31008211 7 2012 Explicit Messaging in Unity Pro Service Code Description Available in Hex Dec Function Block EIP config tool 17 23 No Operation NOP X X 18 24 Get_Member X X 19 25 Set_Member X X 1A 26 Insert_Member X X 1B 27 Remove_Member X X 1C 28 GroupSync X 1D 31 29 49 Reserved X indicates the service is available indicates the service is not available 31008211 7 2012 151 Explicit Messaging in Unity Pro Configuring Explicit Messaging Using SEND_REQ Overview Use the SE
143. nds the sample configuration of the EtherNet IP communications network described in the previous chapter where you e created a project e added a power supply module CPU and EtherNet IP communication module to the project e configured the EtherNet IP communication module What Is in This Section This section contains the following topics Topic Page Setting Up Your Network 86 Automatically Detect and Add the STB NIC 2212 88 Configuring STB NIC 2212 Properties 89 Connecting to the Advantys STB Island 93 Configuring I O Items 98 31008211 7 2012 85 Adding Devices to an EtherNet IP Network Setting Up Your Network Overview This sample network includes the following hardware and software e acontroller rack with e TSX PSY 2600 M 115 230 VAC power supply e TSX P57 4634 14A controller e TSX ETC 100 10 100 Base T EtherNet IP communication module e a remote STB Advantys island with STB NIC 2212 EtherNet IP network interface module STB PDT 3100 power distribution module STB DDI 3230 2 pt digital input module STB DDO 3200 2 pt digital output module STB DDI 3420 4 pt digital input module STB DDO 3410 4 pt digital output module STB DDI 3610 6 pt digital input module STB DDO 3600 6 pt digital output module STB AVI 1270 2 pt analog input module STB AVO 1250 2 pt analog output module e aPC running both Unity Pro version 4 0 or higher and Advantys configuration software version 4 0 o
144. ned to the output variable apply only to this example and can be changed in your explicit messaging configurations Output pin Variable Data type Array 0 3 of 4 INT RECP Received_Data Configuring the Address Variable The Address variable identifies the explicit message originating device in this example the TSX ETC 100 communication module and the target device Note that the Address variable does not include the Xway address elements Network Station because we are not bridging through another PLC station Use the ADDR function to convert the following character string to an address ADDR 0 4 0 10 where e rack 0 e module slot number 4 160 31008211 7 2012 Explicit Messaging in Unity Pro e channel 0 e destination address target device number 10 Configuring the Request_Code Variable The Request_Code variable identifies the function type for the SE block in this case a CIP request D REQ function Variable Description Value hex Request_Code Code identifies a CIP request 16 000E Configuring the Data_to_Send Variable The Data_to_Send variable identifies the type of explicit message and the CIP Configuring the Management_Param Variable request Variable Description Value hex Data_to_Send 0 Message type 16 0000 e 0000 unconnected or 0001 connected In th
145. nnected explicit message that performs a warm reset of a third party device in this case the Rockwell Automation 1734 AENT PointlO adapter using the Reset service You can perform the same explicit messaging service using the SEND_REQ function block see page 164 Configuring the Explicit Message To configure then execute an unconnected explicit message that will perform a warm reset of a third party device follow these steps Step Action 1 Launch the EtherNet IP configuration tool from the Configuration page of the communication module s Properties window 2 In the EtherNet IP configuration tool begin on line operations by clicking the Go Online button 3 Click on the Network Detection tab to enable online actions E pevice Library fa Network Te 4 Open the Online Action window by selecting Network Online Action In the Explicit Messaging page complete the following fields IP Address Type in the IP address of the STB NIC 2212 In this example the IP address is 192 168 001 011 Class Type in the number that identifies the object class In this example the number representing the assembly class object is 1 Instance Type in the number that identifies the instance of the class object In this example the number is 1 Attribute Do not select this checkbox The Reset service operates at the instance level not the attribute level Name Select the name of the explicit mess
146. not support this service 16 83 Device resource issue no resource is available to open the connection 16 84 System resource issue unable to reach the device 16 85 Data sheet error incorrect EDS file 16 86 Invalid connection size 16 90 16 9 F Register session response errors 16 90 Target device does not have sufficient resources 16 98 Target device does not recognize message encapsulation header 16 9F Unknown error from target Legend Code only managed by PCMCIA cards TSX FPP20 and TSX FPP10 158 31008211 7 2012 Explicit Messaging in Unity Pro SEND_REQ Example Get_Attributes_Single Overview The following unconnected explicit messaging example shows you how to use the SEND_REQ function block to retrieve the vendor ID from a third party device in this case a Rockwell Automation 1734 AENT PointlO EtherNet IP adapter revision 2 1 using the Get_Attributes_Single service You can perform the same explicit messaging service using the Online Action window of the Unity Pro EtherNet IP configuration tool see page 169 Implementing the SEND_REQ Function Block To implement the SEND_REQ function block you need to create and assign variables for the following blocks as follows TON R_TRIG IN start Te a PT e cae g ie AND_B
147. nts the relevant instructions must be followed Failure to use Schneider Electric software or approved software with our hardware products may result in injury harm or improper operating results Failure to observe this information can result in injury or equipment damage 2012 Schneider Electric All rights reserved 31008211 7 2012 Table of Contents Safety Information 0 00 eee e ee eee eee 7 About the BOOK ivicicceveee ied tease awe as 9 Chapter 1 Installation 000 e eee eee eee 11 Hardware Installation 0 0 0 0 0 00 c eee eee 12 Module Specifications 0 0 eee 15 Chapter 2 Configuring the TSX ETC 100 EtheNet IP Communication Module 2 000eeeee eens 17 2 1 Creating a Project in Unity Pro 2 18 Creating a Project 2 0 0 0 cece eee eee 19 Configuring the TSX ETC 100 EtherNet IP Communication Module 21 2 2 Using the Unity Pro EtherNet IP Configuration Tool 28 EtherNet IP Configuration Tool User Interface 0 29 Devices Window 2 26 0 eee eet ed Se eared Ee eb ae 33 Configuring Properties in the Devices Window 35 2 3 Configuring Network Channel Properties 000000 eeu 37 Configuring Channel Properties The General page 38 Configuring Channel Properties The Ethernet page 40 Configuring Channel Properties The EtherNet IP page 41 Configuring C
148. o 0 6 MWES 6 4 Output Item Name Data Type Offset Device DitsevConnection Position in Byte Address DD03200_outputdata_QXo Output bit 0 0 0 AMW165 0 DD03200_o0utputdata_QX1 Output bit 0 0 1 WMW1651 0009410_outputdata_QxX2 Output bit 0 0 2 MMW 65 2 DD03410_outputdata_QX3 Output bit 0 0 3 MMI 65 3 pp0941 O_outputdata_QX4 Output bit 0 0 4 AMW165 4 DD03410_outputdata _QX5 Output bit 0 0 MW 65 5 DD03600_outputdata_Qxs Output bit 1 i 0 MW 65 8 0D03600_outputdata_Qxg Output bit 1 1 1 AMW165 9 DD03600_outputdata_QX10 Output bit 1 1 2 SMWV165 10 D0D03600_outputdata_QxX11 Output bit 1 1 3 SIMI 65 141 0D003600_outputdata_QX12 Output bit 1 1 4 AMW165 12 DD03600_outputdata_QX13 Output bit 1 1 5 EMIW165 13 4V01250_CH1_outputdata_ Output word 2 2 MW 66 MB4V01250_CH2_outputdata_ Output word 4 4 MI 67 JEN gt This shift of MW input and output memory address assignments occurs because the assignment of a remote device s or a local slave s l O to a specific MW memory address depends upon the node s relative position among active nodes in the EtherNet IP network You can avoid this shift in input and output MW memory addresses When you activate the local slave function be sure to change the local slave s device Number from the default value of 000 to a value larger than the device number of the last device in the network In this example setting the local slave s device Number to 002 w
149. oad and Bandwidth Calculation Example 145 Explicit Messaging In Unity Pro 0 20005 149 Explicit Messaging Services 0 000 cece eee ee 150 Configuring Explicit Messaging Using SEND_REQ 152 SEND_REQ Communication and Operation Reports 156 SEND_REQ Example Get_Attributes_Single 159 SEND_REQ Example Reset 0 0000 ee eee cece ee eens 164 Explicit Messaging Online Action Get_Attributes_Single 169 Explicit Messaging Online Action Reset 0 0e0 ee 171 31008211 7 2012 Chapter 6 CIP Objects 0 00 e cece eee ee eens 173 Adapter Diagnostic Object 0 0 0 c cee tee 174 Assembly Object sc evtern age ea be Pha eed Gb awe bean 179 Connection Manager Object 000 eects 181 Ethernet Link Object 0 0 cece eee eee 183 Identity Objects iiie niee a ante een Bae Meee wats eae 187 Module Diagnostic Object 0 cece eee 189 Scanner Diagnostic Object 0 0 cece 191 TCP IP Interface Object 6 2 tees 195 Chapter 7 Diagnostics 0 00 e eee e eee eee eee 197 1 LED Indicators 24 car Sawn ee ed Ree er ee 198 LED Indicators for the TSX ETC 100 Module 0 00 198 7 2 Diagnostic Testing Using Unity Pro 0 0 0 2 eee eee eee 200 Accessing the Unity Pro Diagnostic Tools 2 055 201 Communication Channel Diagnos
150. oject Module name ETC1 Input area Output area MW index 0 MW index 100 Max size 100 Max size 100 EIP config Tool E rr Update application EtherNevIP gt ma M Local Bus E s 140 NO 2 Click the Update application button 31008211 7 2012 23 Configuring Step Action 3 The Unity Pro software converts the EtherNet IP configuration data to variables and derived data types then prepares to import them into the Unity Pro project If any conflict exists between a newly created item and an existing one Unity Pro displays those conflicts in the Import Trouble Report below Import Trouble Report x e Name New Name Keep Replace Rename Duplicate DTT ST_ETC1IN ST_ETC1_IN_O x Duplicate DTT ST_ETC1_IN_D ST_ETC1_IN_D x Duplicate DTT ST_ETC1_IN_D ST_ETC1_IN_D x Duplicate DTT ST_ETC1_OUT ST_ETC1_OUT_O x Duplicate DTT ST_ETC1_OUT_ ST_ETC1_OUT_ x Duplicate DTT ST_ETC1_OUT_ ST_ETC1_OUT_ x The variable exist ETC1_IN ETC1_IN_O K The variable exist ETC1_OUT ETC1_OUT_0 Xx Cancel Keep All Replace All In this example the Unity Pro project configuration already includes the listed variables and derived data types 4 If the Import Trouble Report opens use its command buttons as follows e Keep Keeps the component of the current project e Replace Replaces the project component with the one from the import e Rename Renames the imported component allowing you to ke
151. ol TCP IP is a connection oriented protocol that is used by Modbus TCP and EtherNet IP for Explicit Messaging A trap is an event directed by an SNMP agent that indicates either e a change has occurred in the status of an agent or e an unauthorized SNMP manager device has attempted to get data from or change data on an SNMP agent 228 31008211 7 2012 Glossary UDP user datagram protocol UDP is a transport layer protocol that supports connectionless communications Applications running on networked nodes can use UDP to send datagrams to one another Unlike TCP UDP does not attempt to provide deterministic delivery or ordering of datagrams However by avoiding the overhead required by deterministic delivery and checking of datagrams UDP is faster than TCP UDP may be the preferred protocol for time sensitive applications where dropped datagrams are preferable to delayed datagrams UDP is the primary transport for Implicit Messaging in EtherNet IP unconnected messaging In EtherNet IP unconnected messaging uses TCP without a CIP connection to send explicit messages More overhead is contained within each unconnected message than for a connected message The unconnected message is not necessarily provided destination node resources Unconnected Messaging is used for non periodic requests 31008211 7 2012 229 Glossary 230 31008211 7 2012 Index 0 9 1734 AENT configuring 120 viewing I
152. only Request Packet Interval RPI The refresh period for this I O connection Value range 2 65535 ms Default 30 ms Time out Multiplier The value multiplied against the RPI rate which triggers an inactivity timeout Value list 4 8 16 32 64 128 256 512 Default 4 Input Size in bytes The number of bytes reserved for input data in bytes Value range 1 509 Default 1 Input Instance The instance identifier for inputs 101 Output Size in bytes The number of bytes reserved for output data in bytes Value range 1 505 Default 1 Output Instance The instance identifier for outputs 102 Configuration Instance The instance identifier for configuration data 103 Note The Input Size and Output Size parameter settings are determined by the size in bytes of the input data and output data sections of your specific application Click OK to save your settings and close the Properties window The next step is to configure I O settings For an example of I O configuration for a generic remote device see how the following I O items were configured e discrete input items see page 101 e discrete output items see page 104 e numeric input items see page 107 numeric output items see page 110 82 31008211 7 2012 Adding Devices to an EtherNet IP Network Managing Project Files Overview Managing Unity Pro project files that contain EtherN
153. ords configured for outputs Max size Configuration page in Unity Pro Output Current Size The actual number of outputs used in the application network design in the configuration tool s Devices window Note When configuring an offset and a reserved size for both inputs and outputs be sure that inputs and outputs do not overlap Configuration Size Maximum Number of Devices The maximum number of devices that can be added to the configuration predefined Current Number of Devices The number of devices currently in the configuration network design in the configuration tool s Devices window Maximum Number of Connections The maximum number of connections that can be managed by the module predefined Current Number of Connections The number of connections in the configuration network design in the configuration tool s Devices window Maximum Number of Packets The maximum number of packets the module is able to manage predefined Current Number of Packets The number of packet s that will be generated by the current configuration network design in the configuration tool s Devices window 31008211 7 2012 39 Configuring Configuring Channel Properties The Ethernet page The Ethernet Page Use the Ethernet page of the Channel Properties window to e view and edit the Baud Rate e view the Frame format Chann
154. ould preserve the remote device s original MW input and output memory address assignments 68 31008211 7 2012 Adding Devices to an EtherNet IP Network Recommended Practices To avoid the problem of shifting input and output MW memory address assignments consider the following recommended practices when developing your application e As described above when activating the local slave function of an EtherNet IP communication module change the local slave device Number from its default value of 000 to a value larger than the device number for the last device in your network e When adding a new remote device to your EtherNet IP network always add it to the end of the device list and assign it a device Number larger than any other device number on your network e When configuring function blocks in Unity Pro do not directly assign input and output pins to a specific MW memory address Instead assign input and output pins to the derived data types and variables automatically created by Unity Pro 31008211 7 2012 69 Adding Devices to an EtherNet IP Network 3 2 Adding and Configuring Remote Devices Overview This section describes how to e adda generic device to your EtherNet IP network e configure properties for the generic device e save transfer and re use Unity Pro project files that include EtherNet IP module settings What Is in This Section This section contains the following topics
155. ove clarity and accuracy If you see a difference between the manual and online information use the online information as your reference For additional information you can also refer to the online help files for both the e Unity Pro software e Unity Pro EtherNet IP Configuration Tool software Title of Documentation Reference Number Advantys STB EtherNet IP Network Interface Applications Guide 31008204 You can download these technical publications and other technical information from our website at www schneider electric com We welcome your comments about this document You can reach us by e mail at techcomm schneider electric com 10 31008211 7 2012 Installation Overview This chapter provides installation information for the TSX ETC 100 EtherNet IP communication module What Is in This Chapter This chapter contains the following topics Topic Page Hardware Installation 12 Module Specifications 15 31008211 7 2012 11 Installation Hardware Installation Overview The following information describes how to install the TSX ETC 100 EtherNet IP communication module External Features Use the following illustration to identify the external features of the TSX ETC 100 module LED Display TSX ETC 100 MAC 12 34 86 78 90 10 MAG Address aad Mod Status LED Display Net Status 107100 Base T RJ
156. pecific EtherNet IP configuration may and probably will differ from the examples presented in this manual This document is valid from Unity Pro 6 0 The technical characteristics of the devices described in this manual also appear online To access this information online Step Action 1 Go to the Schneider Electric home page www schneider electric com 2 In the Search box type the reference of a product or the name of a product range e Do not include blank spaces in the model number product range e To get information on a grouping similar modules use asterisks 3 If you entered a reference go to the Product datasheets search results and click on the reference that interests you If you entered the name of a product range go to the Product Ranges search results and click on the product range that interests you 4 If more than one reference appears in the Products search results click on the reference that interests you 31008211 7 2012 Related Documents User Comments Step Action 5 Depending on the size of your screen you maybe need to scroll down to see the data sheet 6 To save or print a data sheet as a pdf file click Download XXX product datasheet The characteristics that are presented in this manual should be the same as those characteristics that appear online In line with our policy of constant improvement we may revise content over time to impr
157. play 2 additional pages e Ethernet IP by operating in Advanced mode File Preferences Advanced e Module Information by operating online File Go Online Displaying Property Values Most property windows let you display a description of a selected property Select a property in the Name column to display a brief description of the selected property in the Description area at the bottom of the window Channel Properties as x General Ethernet EtherNet P Baud Rate Auto 10 100 Mb Frame format Ethernet II Description Allows you to select the baud rate The choice Auto 10 700Mb squares with an automatic detection i the baud rate Default baud rate Auto 10 100Mb Cancel Help 31008211 7 2012 35 Configuring Property Types Properties can be either read write or read only as indicated by its icon This icon Indicates the property is hi Read only This property value is locked and cannot be edited m Read write This property value can be edited Editing Property Values To edit a read write property value follow these steps Step Action 1 Select a read write property 2 There are two ways to perform an edit e Double click the left mouse button on the property name Click the ellipsis button located at the right of the list header bar then select Properties in the popup menu A window opens in this
158. poses you need a connection to the PLC either through the CPU s Ethernet port or other supported programming paths 31008211 7 2012 145 Optimizing Performance Network Diagram The proposed network diagram looks like this Ethernet CPU Communication Module Remote I O Scanner D Unity Pro and Advantys _4 Ethemet switch Remote I O Drive C oDoooooGg Do oo 05 D9 In o0 Oe OO I O modules I O modules Remote I O Adapter A Remote I O Adapter B Network Load and Bandwidth Limits When performing calculations keep in mind that the Ethernet module and remote devices cannot exceed their implicit messaging and bandwidth limits Device Load Limits Bandwidth Limits Ethernet Communication Module 12000 pps 80 Mbps I O Adapter A 8000 pps 70 Mbps I O Adapter B 8000 pps 70 Mbps 146 31008211 7 2012 Optimizing Performance Device Load Limits Bandwidth Limits 1 0 Drive C 8000 pps 70 Mbps 1 0 Scanner D 12000 pps 80 Mbps Switch 16000 pps 90 Mbps Remote Device Connections and RPI For the purpose of this example it is assumed that the remote devices require the following numbers of CIP connections and are configured for the stated requested packet interval RPI settings Device CIP I O Connections RPI Setting I O Packet Size I O Ad
159. pported not supported 2 Instance attributes ID hex Description Type GET SET Value 01 Module Status WORD xX 01 started 02 stopped 03 running 02 CNF Version WORD X 0x0100 03 CRC UDINT X 04 O Connection Status STRUCT IX Size Table WORD size 16 bytes Table WORD table of I O status 8 WORDS 1 INPUT and OUTPUT status of I O connection are OK O at least 1 INPUT or OUTPUT status of I O connection is not OK 05 Cco Mode WORD X X 01 activate status to CCO in the module 02 block access to CCO X supported not supported 31008211 7 2012 189 CIP objects Services The CIP Module Diagnostic object performs the following services upon the listed object types ID hex Description Class Instance Notes 01 Get_Attributes_All xX X 0E Set_Attributes_Single X X supported not supported 190 31008211 7 2012 CIP objects Scanner Diagnostic Object Overview The Scanner Diagnostic CIP object consists of the attributes and services described below Attributes The Scanner Diagnostic CIP object consists of the following attributes 1 Class attributes ID hex Description GET SET 01 Revision X _ 02 Max Instance X X supported not supported 2 Instance attributes ID hex Description Type GET SET Value 01 Control Bits
160. r higher e an Ethernet switch connected to the above EtherNet IP devices with twisted pair Ethernet cable and RJ45 connectors It is strongly recommended you select a managed switch that supports the IGMP protocol 86 31008211 7 2012 Adding Devices to an EtherNet IP Network Network Topology The network example topology looks like this TSX P57 4634 PC with Unity Pro and Advantys controller 192 168 001 099 _TSX ETC 100 192 168 001 004 Ethemet switch TSX PSY 2600 M power supply i STB DDI 3610 STB NIC 2212 192 168 001 006 STB DDO 3600 STB PDT 3100 TB AVI 1270 power supply T STB AVO 1250 STB DDO 3200 STB DDO 3410 STB DDI 3230 STB DDI 3420 To re create this example be sure to e use the IP addresses for your own configuration s e PC e TSX ETC 100 EtherNet IP communication module e STBNIC 2212 EtherNet IP network interface module e check all wiring NOTE Unity Pro software running in the PC is used to configure the TSX P57 60 controller In this example the PC is indirectly wired to the CPU s Ethernet port via the Ethernet switch Alternatively you could bypass the switch and directly wire the PC to another one of the CPU s ports 31008211 7 2012 87 Adding Devices to an EtherNet IP Network Automatically Detect and Add the STB NIC 2212 Overview Use the Unity Pro EtherNet IP configuration tool to automatically detect the STB NIC
161. rNet IP Communication Module 8 Replacing the EtherNet IP Communication Module Overview When to Replace Replacing the module involves removing the old module and mounting a new one in its place You can replace the EtherNet IP communication module at any time using another module with compatible firmware A communication module can be replaced when power to the module is either e off cold swap or e on hot swap The replacement module obtains its IP address and operating parameters over the backplane connection from the CPU The transfer occurs either immediately hot swap or when power is next cycled to the device cold swap NOTE The operating parameters the CPU sends to a replacement module do not include any parameter values that were edited in the original module using explicit messaging SET commands Explicit messaging can be performed in the Online Action window of the Unity Pro EtherNet IP configuration tool 31008211 7 2012 219 Replacing the EtherNet IP Communication Module 220 31008211 7 2012 Glossary Adapter Advanced mode BOOTP Broadcast A An adapter is the target of real time I O data connection requests from scanners It cannot send or receive real time I O data unless it is configured to do so by a scanner and it does not store or originate the data communications parameters necessary to establish the connection An adapter accepts explicit message requests conn
162. rget address is not a e loopback address 127 000 000 000 to 127 255 255 255 e multicast address 224 000 000 000 to 239 255 255 255 e reserved address 240 000 000 000 to 255 255 255 255 e broadcast address The ping function can be performed from either the e General page of a device s properties window e Ping page of the Online Action window Pinging a Network Device To ping a network device Step Action 1 Be sure the Unity Pro EtherNet IP configuration tool is operating online 2 Do one of the following e Select Network Online Action then click on the Ping page or e Select a device in the Devices window then select Devices Properties 3 If you are working in the Ping page of the Online Action window type in the IP Address of the target device Notes e The default is the IP address of the device currently selected in the Network Detection list e f you are working in the General page of a device s Properties window the Unity Pro EtherNet IP configuration tool uses the IP address of the device selected in the Devices window 4 To send e asingle ping de select the Loop checkbox e aseries of pings 1 every 100 ms select Loop Optional Select Stop on Error to stop pinging if an error occurs Click Ping once to begin pinging Click Ping a second time to stop looped pinging where no error has been detected 216 31008211 7 2012 Diagnostics Viewing Outpu
163. rize Trap on Authentication Error Causes the SNMP agent to send a trap notice to the SNMP manager if an unauthorized manager sends a Get or Set command to the agent Default FALSE 54 31008211 7 2012 Configuring TCP IP Properties Configuring the DHCP Server The DHCP Client List Page The EtherNet IP communication module can be configured to perform the function of DHCP server Connected network devices can subscribe to this DHCP service and obtain their IP parameters from the module Use this page to e enable and disable the DHCP service and e view a list of all network devices indicating whether each connected network device does or does not subscribe to the DHCP service NOTE The DHCP service is not enabled or disabled for a specific network device in this page See the topic Enabling the DHCP Service see page 56 below for information on how to enable the DHCP service for a specific device Viewing the DHCP Client List The DHCP Client List includes a row for each networked EtherNet IP device identifying the devices that have subscribed to the DHCP service TCP IP Static 192 169 001 004 x General SNMP DHCP Client List Disable DHCP Server Number IP Address Enable DHCP Identifier Type Identifier l 192 168 001 006 TRUE Device Name STBNIC2212 ea 192 168 001 011 TRUE Device Name 1734 AENT The list contains the following information for each networked device
164. rm the following steps to name the module and to set addresses and sizes for both inputs and outputs Step Action 1 In the Project section type in a name for your module in the Module name input box in this example ETC1 Note After the module name is entered and the EtherNet IP configuration is validated by clicking the button the module name cannot be edited In the Input area and Output area type in the size and starting position of both the inputs and outputs These values can later be edited For this example the following values are entered In the Input area e Inthe MW index field type in a starting address for inputs in this example 0 e Inthe Max size field type in the maximum number of 16 bit words dedicated to inputs in this example 100 In the Output area e Inthe MW index field type in a starting address for outputs in this example 100 e Inthe Max size field type in the maximum number of 16 bit words dedicated to outputs in this example 100 Notes e The inputs and outputs can be located at any available address and do not need to be located in adjacent areas It is important only that the space allocated to inputs and outputs do not overlap e The specified MW range for both inputs and outputs must be available in the CPU For more information refer to the Unity Pro help file topic Processor Configuration Screen In Unity Pro select Edit Validate or clic
165. s folder then click the right Select New Animation Table in the pop up menu A new animation table and its properties dialog both open In the Properties dialog edit the following values Name Type in a table name For this example Received_Data Functional module Accept the default lt None gt Comment Optional Type your comment here Number of animated characters Type in 100 representing the size of the data buffer in words Name 5 The completed Properties dialog looks like this Properties x Functional module Received_Data Comment None Extended String Animation Number of animated characters 100 range 20 300 ce Click OK to close the dialog 162 31008211 7 2012 Explicit Messaging in Unity Pro Step Action 6 In the animation table s Name column type in the name of the variable assigned to the databuffer Received_Data and hit Enter The animation table displays the Received_Data variable 7 Expand the Received_Data variable to display its word array where you can view the CIP response at Received_Data 0 4 Received_Data Modification Force l Extended Strings Name hd Value Type Comment E Received_Data ARRAY O 4 Received_Data 0 16 008E INT Received_Data 1 16 0000 WORD Received_Data 2 16 0001 WORD Received_Dala 3 16 0000 WORD
166. se pages need to be edited for this example In this page Do the following General input device name configure IP address add the device to the project configuration Connections configure the requested packet interval RPI specify the size and location of inputs and outputs Online Parameters Accept the default settings if any Module Informations Read only page no configuration required Port Configuration Read only page no configuration required EDS File Read only page no configuration required 31008211 7 2012 89 Adding Devices to an EtherNet IP Network Configuring the STB NIC 2212 The following settings are used in this sample configuration Be sure to use settings that are appropriate for your actual application Step Action 1 Click on the General page General Connectiongoniine Parameter Module Informations Port Configuration EDS File Device Designation Device Name STB NIC 2212 CEN EDS IAs Number joor X E Active Configuration Comment Network Properties Name IP Address 192 168 001 006 Enable DHCP FALSE Description 4 Ping Ping Ping Result 1 Loop Stop on Errol Clear Cancel Help 2 In the General page edit the following settings Device Name STB NIC 2212 Number The relative position in the EtherNet IP device list For this example select 001 Ac
167. section select either e Add File s to add one or more EDS files you will individually select or e Add all the EDS Files from the Directory to add all files from a folder you will select e Select Look in Subfolders to also add EDS files in subfolders beneath the folder you select Click the Browse button The Open dialog opens ied BE Lookin ETHERNETIP_IP_EDS co B temp 24 004D000000790101 eds 001000400101 004D00800010101 eds i 0001000A000A0101 eds i 0010004001 D01 004D00C007A0101 eds 0001 000400040201 eds al 0010004001 E01 004D00000720101 eds si 00010004001 40101 eds al 0010004001 F01 004D00C00730101 eds 0001000400080201 eds 001 000400601 004D00C00730201 eds ai o00100040001B101 eds 001 000A006B01 w File name Files of type Cancel es ee Les ie ie 31008211 7 2012 117 Adding Devices to an EtherNet IP Network Step Action 5 Use the Open dialog to navigate to and select e one or more EDS files or e a folder containing EDS files 6 Click Open The dialog closes and your selection appears in the Directory or File Name field 7 Click Next The wizard compares the selected EDS files against existing files in the Device Library 8 Conditional If one or more selected EDS files are duplicates and if notice of redundant files is enabled in the Display Options dialog the configuration too
168. ssis Size in the Module Slot Device 00 1734 AENT Revision 2 1 In the Chassis page do the following a Select 1734 Chassis 3 in the Chassis Type Available in the Device Library list The Available Modules for the Chassis list is populated and two Empty rows appear in the Configured Modules list b Select 1734 IB4 C 4pt DC Input in the Available Modules for the Chassis list c Click the Insert button s The module appears in position 01 in the Configured Modules list d Select 1734 OB2E C 2pt DC Output in the Available Modules for the Chassis list e Click the Insert button i The module appears in position 02 in the Configured Modules list 122 31008211 7 2012 Adding Devices to an EtherNet IP Network Step Action The configured Chassis page looks like this 1734 AENT PointlO EtherNetAP Adapter Revision 2 1 x General Chassis Connections Online Parameters Module Information Port Configuration EDS File Chassis Type Available in the Device Library Set Chassis Size in the Module 2 Get Chassis Size in the Module Configured Modules t x Slot Device 00 1734 AENT PointlO EtherNet IP A 01 1734 IB4 C 4pt DC Input 02 1734 OB2E C 2pt DC Output 1734 Chassis 3 Available Modules for the Chassis Module a 1734 232ASC RS 232 ASCIIRev 1 9 1734 232ASC C RS 232 ASCIIRev 3 1 1734 485ASC RS 485 ASCIIRev 1 9 1734 485ASC C RS 485 ASCI
169. t Messages in the Unity Pro EtherNet IP Configuration Tool Overview Use the Unity Pro EtherNet IP configuration tool s Output Message window to diagnose the health of your EtherNet IP network This window maintains a log of network events You can e show or hide the window e display for each item in the window its e date and time e level of significance e copy the contents of the Output Message window to your PC s Windows Clipboard e clear the contents of the window Show Hide the Output Message Window The Output Message window is displayed in the Unity Pro EtherNet IP configuration tool by default To hide the window select File Preferences Output Window To reopen the Output Message window repeat the above command Add Date Time and Level to Output Message Window Items Copy Clear To show or hide the date and time or level of significance for Output Message window entries Step Action 1 Select File Message View Configuration The Output Message View Configuration dialog opens 2 Select or de select either or both e Add Date to Messages e Add Level to Messages 3 Click OK To copy the contents of the Output Message window to your PC s Windows Clipboard select File Message View Copy To clear the contents of the Output Message window select File Message View gt Clear 31008211 7 2012 217 Diagnostics 218 31008211 7 2012 Replacing the Ethe
170. tatus 13 BYTE HMWT Status 14 BYTE AMS Status 15 BYTE MW8 DEVICE_A ST_ETC1_IN_DEVICE_A MW9 DEVICE_B ST_ETC1_IN_DEVICE_B MW19 Si ETC1_OUT ST_ETC1_OUT MW 104 P E A 4 To determine which Status bit is mapped to a specific remote device a In the Unity Pro EtherNet IP configuration tool open the Properties window for a remote device Open the Connections page and click on the General node below Generic EDS x General Connections Online Parameters Port Configuration EDS File Configured Connections Connections Parameters Connection Bit Health Offset 1 E Generic EDS st Exclusive Owner Check Device Identity Time out Multiplier x4 Configuration Setting Input T gt 0 In the above example the Connection Bit Health Offset value of 1 maps to the first bit in the first byte of the Status variable which can be represented as Status 0 1 26 31008211 7 2012 Configuring Step Description You can also use the Data Editor to display DDT variables DDT variables are either input and output items you created using the Unity Pro EtherNet IP configuration tool or e attributes defined by the remote device s EDS file or padding representing the reserved but unused input or output memory space for a remote device The Data Editor presents DDT variables in separate input and output groups sorted by device as shown below
171. ted 180 31008211 7 2012 CIP objects Connection Manager Object Overview The Connection Manager CIP object consists of the attributes and services described below Attributes The Connection Manager CIP object consists of the following attributes 1 Class attributes ID hex Description GET SET 01 Revision X 02 Max Instance X X supported not supported 2 Instance attributes ID hex Description Type GET SET Value 01 Open Requests UINT X X Number of Forward Open service requests received 02 Open Format Rejects UINT X X Number of Forward Open service requests that were rejected due to bad format 03 Open Resource Rejects UINT X X Number of Forward Open service requests that were rejected due to lack of resources 04 Open Other Rejects UINT X X Number of Forward Open service requests that were rejected for reasons other than bad format or lack of resources 05 Close Requests UINT X X Number of Forward Close service requests received X supported not supported 31008211 7 2012 181 CIP objects ID hex Description Type GET SET Value 06 Close Format Requests UINT Number of Forward Close service requests that were rejected due to bad format 07 Close Other Requests UINT Number of Forward Close service requests that were rejected for
172. tep in this example is to view the address the Unity Pro EtherNet IP configuration tool assigns to each newly created input and output item To do this Step Action 1 In the Devices window of the Unity Pro EtherNet IP configuration tool the item at Position 000 should still be selected If not select it as shown below i BE 2 gt Module ETC1 Auto 10 100 Mb In MW8 Out MWo TCP IP Static 192 168 001 004 H 000 192 168 001 006 STB_NIC_2212 id Item Configuration Device Name STB_NIC_2212 bp Position 000 Read Input Write Output Data The automatically configured input and output items appear on the right side of the screen in the I O area as depicted in the next step below If necessary use the horizontal scroll bar to scroll to the far right of the input or output area and display the Address column which identifies the location of the input or output in the TSX ETC 100 ata Type Address A a a a Input bit 0 0 1 MWB NiCstatus_IX2 Input bit 0 0 2 WMWB 2 f NiCstatus_x3 Input bit o 0 3 AMWB 3 NiCstatus_X4 Input bit 0 0 4 AMWB 4 NiCstatus_X5 Input bit 0 0 5 AMWB8 5 NiCstatus_X6 Input bit o 0 6 AMWB 6 a r Output Item Name Data Type OffsevDeviceDtfseConnection Position in Byte Address DD03200_outputdata_Qxo Output bit 0 0 0 MIO 0DD03200_outputdata_QXi Output bit 0 0 1 MWO 0D03410_outputdata_Qx2 Output bit 0 0 2 AMWO 2
173. th of data send receive parameter e Input before send length of Data_to_Send parameter e Output after receive length of Received Data parameter Activity Bit This bit indicates the execution status of the communication function It is set to 1 when launched and returns to O when its execution is complete It is the first bit of the first element of the table Example if the management table has been declared as follows Tab Gest ARRAY 0 3 OF INT the activity bit is the bit with the notation Tab Gest 1 0 NOTE The notation previously used requires configuration of the project properties in such a way as to authorize the extraction of bits on integer types If this is not the case Tab Gest 1 0 cannot be accessed in this manner 154 31008211 7 2012 Explicit Messaging in Unity Pro Configuring the Data_to_Send Parameter The Data_to_ Send parameter varies in size It consists of contiguous registers that include in sequence both the message type and the CIP request Content Length Byte Data Type Description Offset Message 1 word 0 INT e 0 unconnected message Type e 1 connected message CIP Set by Management_Param 3 2 Byte Service the service performed by the Request size of Data_to_Send explicit message 3 Byte Request_Path_Size the number of words in the Request_Path field 4 Byte Array Request_Path The path of the request including class ID inst
174. that page 106 31008211 7 2012 Adding Devices to an EtherNet IP Network Creating Numeric input Items To create numeric input items for the STB NIC 2212 example beginning with a channel 1 input data word for the STB AVI 1270 module Step Action 1 The Numeric Input Items tab looks like this Items Declaration 2 x Discrete Input Items Discrete Output Items Numeric Input Items Numeric Output Items OffsetDevice Offset Connection Item Name Oo o Default Items Name Root _ BLOCKA Ey 2 2 Os 3 O 4 4 p5 a 5 5 Define Item s Os 6 7 7 elete Os 8 S a Select a zone and click 10 on the Define Item s 11 11 buton to create 12 12 13 13 Cne or several items 14 14 Byte word double word 15 15 float ar array 16 16 cerca Note In this example both the Offset Device and Offset Connection columns represent the byte address All items you create will be either an 8 bit byte or a 16 bit word 2 In the Default Items Name Root input box type AVI1270_CH1_inputdata 31008211 7 2012 107 Adding Devices to an EtherNet IP Network Step Action 3 In the Items List select bytes or rows 10 and 11 Items Declaration 2 x Discrete Input Items Discret
175. the EtherNet IP communication module s local slave function is not activated when it is automatically added to a newly created network instead it must be manually activated This topic describes e the effect of activating the local slave on the MW memory address assignment for inputs and outputs of previously configured EtherNet IP network e recommended practices to follow for consistent MW memory address assignment to remote device inputs and outputs Activating the Local Slave When a new network is created the Unity Pro EtherNet IP configuration tool adds a local slave node and by default assigns it the device Number of 000 Because the local slave function is not yet activated the local slave s inputs and outputs are not initially assigned a MW memory address The following example describes the effect of activating the EtherNet IP communication module s local slave function after another remote device has already been configured and added to the network The sample EtherNet IP network consists only of two nodes e the de activated local slave at position 000 e asingle activated remote device at position 000 The sample EtherNet IP network has been configured as follows e Total EtherNet IP network inputs and outputs are set in the Configuration page of the EtherNet IP communication module in Unity Pro e 100 input words are reserved beginning at MW01 e 100 output words are reserved beginning at MW101 66
176. the EtherNet IP configuration The properties are determined by the communication module s EDS file the configuration design and settings entered in the Configuration page of Unity Pro for the communication module LM x General Ethernet EtherNetiP Ll e Module Name ETC1 Input Offset 1 Word 2 Input Reserved Size 100 Word Input Current Size 52 Word hp i Output Offset 101 Word 2 Output Reserved Size 100 Word Output Current Size 27 Word Configuration Size Maximum Number of Devices 64 Current Number of Devices 6 Maximum Number of Connections 128 Current Number of Connections 17 e Maximum Number of Packets 10000 Packet s Current Number of Packets 666 Packet s Description 38 31008211 7 2012 Configuring Properties Name Description Value set by Module Name Module Name The name of the EtherNet IP module Configuration page in Unity Pro Input Input Offset The starting address for inputs MW index Configuration page in Unity Pro Input Reserved Size The total number of words configured for inputs Max size Configuration page in Unity Pro Input Current Size The actual number of inputs used in the application network design in the configuration tool s Devices window Output Output Offset The starting address for outputs MW index Configuration page in Unity Pro Output Reserved Size The total number of w
177. the Input Data table to display in the middle of the page a description of the cell data and its source module 98 31008211 7 2012 Adding Devices to an EtherNet IP Network Step Action 3 Make a note of the word bit s module and item information for that cell 4 Repeat steps 2 and 3 for each cell containing either an S or an integer NOTE The Fieldbus Image presents input and output data in the form of 16 bit words starting with word 1 You need to rearrange this data for the Unity Pro EtherNet IP configuration tool which presents the same data in the form of 8 bit bytes starting with byte 0 This process yields the following tables of input and output data Input Data Advantys Fieldbus Image Unity Pro EIP Items STB Module Description Word Bit s Byte Bit s 1 0 15 0 0 7 NIC 2212 NIC status 1 0 7 2 0 1 2 0 1 DDI 3230 input data 2 3 2 3 DDI 3230 input status 4 5 4 5 DDO 3200 output data echo 6 7 6 7 DDO 3200 output status 8 11 3 0 3 DDI 3420 input data 12 15 4 7 DDI 3420 input status 3 0 3 4 0 3 DDO 3410 output data echo 4 7 4 7 DDO 3410 output status 8 13 5 0 5 DDI 3610 input data 14 15 6 7 NA not used 4 0 5 6 0 5 DDI 3610 input status 6 7 6 7 NA not used 8 13 7 0 5 DDO 3600 output data echo 14 15 6 7 NA not used 5 0 5 8 0 5 DDO 3600 output status 6 15 8 6 7 NA not used 9 0 7
178. the local station wPortLocal UINT Port number of the local station 07 ST_PRODUCTION STRUCT X bValid WORD 0 data of the struct production is not valid 1 data of the struct production is valid dwCurrentTime UDINT Internal Use number of ticks before next production dwProductionTime UDINT Internal Use number of ticks between production SequenceNumber UDINT Number of the dwquence in the production stCheckTime STRUCT dwLastTime UDINT Internal Use dwMaxTime UDINT Maximum time between 2 productions dwMinTime UDINT Minimum time between 2 productions dwRPI UDINT API of the connection wOverRun UINT Number of times the production was too long wUnderRun UINT Number of times the production was too short dwCurrentTime UDINT Internal Use X supported not supported 192 31008211 7 2012 CIP objects ID hex Description Type GET SET Value 08 ST_CONSUMPTION STRUCT X bValid WORD 0 data of the struct consumption is not valid 1 data of the struct consumption is valid dwCurrentTime UDINT Internal Use number of ticks before timeout dwConsumptionTime UDINT Internal Use number of ticks of the timeout SequenceNumber UDINT Number of the sequence in the consumption stCheckTime STRUCT dwLastTime UDINT Internal Use dwMaxTime UDINT Maximum time between 2 consumptions dwMinTime UDINT Minimum time between 2 consumptions dwRPI UD
179. ther e accept the default i e the next available number or e select a different number from the drop down list Link Parameters Select this setting to e lock the IP Address setting and e set the last octet of the IP Address equal to the value selected in the Number parameter De select this setting to unlock the IP Address setting Active Configuration Select this setting to include this remote device in EtherNet IP network communications De select this setting to exclude this device from network communications but save the device s configuration settings IP Address The IP Address of this remote device This setting is editable when the Link Parameters field is de selected e locked when the Link Parameters field is selected By default e the first 3 octet values equal the first 3 octet values of the EtherNet IP module s IP address e when the Link Parameters field is selected the last octet value equals the value selected in the Number parameter Enable DHCP TRUE activates the DHCP client in this remote device On startup this device requests its IP address from a DHCP server Note the EtherNet IP module can be configured to act as a DHCP server DHCP Client Identifier If the DHCP client is enabled select the identifier the DHCP server will use to recognize this remote device e MAC Address e Device Name Mac Address Device Name Type in the value of the DHCP cl
180. tics in Unity Pro 204 Communication Module Diagnostics in Unity Pro 207 7 3 Diagnostic Testing Using the Unity Pro EtherNet IP Configuration Tool 213 Diagnostic Testing Using the Unity Pro EtherNet IP Software 214 Ping a Network Device 0 c eee eet tees 216 Viewing Output Messages in the Unity Pro EtherNet IP Configuration Tool 217 Chapter 8 Replacing the EtherNet IP Communication Module 219 Replacing the EtherNet IP Communication Module 219 Glossary soit ee een eres OW eee ee ee ee el 221 INDEX neriicetas hun Clio rnin ted Senge tal eels 231 31008211 7 2012 5 31008211 7 2012 Safety Information Za Important Information NOTICE Read these instructions carefully and look at the equipment to become familiar with the device before trying to install operate or maintain it The following special messages may appear throughout this documentation or on the equipment to warn of potential hazards or to call attention to information that clarifies or simplifies a procedure The addition of this symbol to a Danger safety label indicates that an electrical hazard exists which will result in personal injury if the instructions are not followed personal injury hazards Obey all safety messages that follow this symbol to avoid possible injury or death A DANGER DANGER indicates an imminently hazardous situation which if not avoided will resu
181. tive Configuration Be sure this checkbox is selected IP Address 192 168 001 006 90 31008211 7 2012 Adding Devices to an EtherNet IP Network Step Action 3 Click on the Connections page STB NIC 2212 In6 Outi x General Connections Online Parameter Module Information Port Configuration EDS File Configured Connections Connections Parameters 59 Read Input Write Output Data General Check Device Identity Configuration Setting Add Remove Description Previous Next Cancel Help 4 In the Configured Connections list click on General to display the general connection settings in the Connection Parameters list shown below Configured Connections Connections Parameters STB NIC 2212 Name value Unit Read Input Write Output Data on Bit Health Offset Requested Packet Interval 30 ms Q e eve en ny Time out Multiplier x4 oO Configuration Setting Input T gt O Input Size 19 bytes Input Mode Multicast Input Type Fixed Priority Scheduled Trigger Type Cyclic Output O gt T Output Size 6 bytes Output Mode Point to Point Output Type Fixed Priority Scheduled 31008211 7 2012 91 Adding Devices to an EtherNet IP Network Step Action 5 In the Connections page edit the following general connection settings Request Packet Interval 30 ms Input Size in bytes 19
182. to 0 It may be helpful to use the S21 to examine the first cycle after a cold or warm start For more information refer to Unity Pro online help for S21 Communication Report This report is common to all functions It is significant when the value of the activity bit switches from 1 to 0 The reports with a value between 16 01 and 16 FE concern errors detected by the processor that executed the function The different values of this report are indicated in the following table Value Communication report least significant byte 16 00 Correct exchange 16 01 Exchange stop on timeout 16 02 Exchange stop on user request CANCEL 16 03 Incorrect address format 16 04 Incorrect destination address 16 05 Incorrect management parameter format 16 06 Incorrect specific parameters 16 07 Problem in sending to the destination 16 08 Reserved 16 09 Insufficient receive buffer size 16 0A Insufficient send buffer size 16 0B No processor system resources 16 0C Incorrect exchange number 16 0D No telegram received 16 0E Incorrect length 16 0F Telegram service not configured 16 10 Network module missing 16 11 Request missing 16 12 Application server already active 156 31008211 7 2012 Explicit Messaging in Unity Pro Operation Report Value Communication report least significant byte 16 13 UNI TE V2 transaction number incorrect 16 FF M
183. tputs e use the Unity Pro EtherNet IP configuration software to create input and output items defining each item s e name e data type e identity the address assigned to each new input and output item using the Unity Pro EtherNet IP configuration software I O Item Types and Sizes The goal is to create a collection of input items and output items that equal the input size and output size specified in the STB NIC 2212 Connection properties page In this example items need to be created for e 19 bytes of inputs e 6 bytes of outputs The Unity Pro EtherNet IP configuration tool provides great flexibility in creating input and output items You can create input and output items in groups of 1 or more single bits 8 bit bytes 16 bit words 32 bit dwords or 32 bit IEEE floating values The number of items you create depends upon the data type and size of each item In the sample project the following items were created e discrete bits for digital inputs and outputs e 8 bit bytes or 16 bit words for analog inputs and outputs Mapping Input and Output Items Use the Fieldbus Image page of the I O Image Overview window in the Advantys configuration software to identify the number and type of I O items you need to create as follows Step Action 1 In the Advantys configuration software select Island 1 O Image Overview The I O Image window opens to the Fieldbus Image page 2 Select the first cell word 1 cell 0 in
184. twork Management Protocol SNMP Agent 135 128 31008211 7 2012 Optimizing Performance Role of a Switch in an Ethernet Network Overview Schneider Electric recommends the use of managed switches not unmanaged switches or hubs in process control networks A managed switch provides more functionality than an unmanaged switch including the ability to turn switch ports on or off configure port speed and duplex settings control and monitor message traffic within segments e e e e prioritize message traffic Recommended Switch Features When acquiring an Ethernet switch for your process control network confirm that the switch includes the following features Multiple speed 10 100 1000 Mbps Full duplex QoS IGMP snooping RSTP VLAN support Port mirroring SNMP agent 31008211 7 2012 129 Optimizing Performance Transmission Speed Duplex and Auto Negotiation Introduction Duplex Auto Negotiation Recommendation Most Ethernet switches support multiple transmission speeds full and half duplex communication and offer auto negotiation capability Hubs by contrast are not designed to support full duplex transmissions Full duplex enables a switch port to both transmit and receive messages simultaneously over two dedicated communication channels Half duplex by contrast permits a port to transmit or receive messages in only one direction at a time Signal collisions are possible in
185. unction Your configuration may be different Configuring the Local Slave To configure the local slave function follow these steps Step Action 1 In the Devices window right click on the EtherNet IP Local Slave icon then select Properties in the popup menu gi Module EIP Auto 10 100 Mb IN MW1 OUT MW101 TCP IP Static 192 168 001 004 001 EtherNet IP Local Slave 005 192 bm Generic EDS id Properties The General page of the Local Slave properties window opens 62 31008211 7 2012 Configuring Step Action 2 Enter settings refer to the table below for the following parameters to configure local slave functionality for the EtherNet IP module General Configuration Device Designation Device Name Number foot Active Configuration jv Comment x Connection Health Bit Offset 0 Assembly Instances Instance Size Outputs T gt O 7104 256 1 509 Bytes Inputs O gt T 102 256 1 505 Bytes Configuration 103 0 0 200 Words Pre Next Cancel Note When using explicit messaging to read the EtherNet IP module s assembly object be sure to allocate sufficient room for the response because the size of the response will equal the sum of the size of the assembly Reply service 1 byte General Status 1 byte Local slave properties are described below 3 The next task is to configure slave inputs and outputs 3
186. ve outputs in bytes An integer from 0 509 In this example accept the default of 256 Inputs O gt T Instance A read only value always set to 102 Inputs O gt T Size The maximum size reserved for local slave inputs in bytes An integer from 0 509 In this example accept the default of 256 Configuration Instance A read only value always set to 103 Configuration Size A read only value always set to 0 64 31008211 7 2012 Adding Devices to an EtherNet IP Network 3 Overview This chapter presents examples of how to add devices to and how to configure these device for operations on your EtherNet IP network What Is in This Chapter This chapter contains the following sections Section Topic Page 3 1 Adding Devices to an EtherNet IP Network 66 3 2 Adding and Configuring Remote Devices 70 3 3 Configuring the STB NIC 2212 85 3 4 Connecting to Third Party Devices 113 31008211 7 2012 65 Adding Devices to an EtherNet IP Network 3 1 Adding Devices to an EtherNet IP Network Effect of Device Position on Input and Output MW Memory Addresses Introduction The Unity Pro EtherNet IP configuration tool assigns a MW memory address to the Inputs and outputs of a remote device or a local slave when it is activated By default e a remote EtherNet IP device is activated when it is added to an EtherNet IP network but e
187. vice to go into one of the faulted states Minor Recoverable Fault A TRUE setting indicates the device detected a problem with itself which is thought to be recoverable The problem does not cause the device to go into one of the faulted states 45 Configuring Connection Manager Properties After selecting Connection Manager the following information is displayed Property Description Open Counters Open Requests The number of forward open service requests received Format Rejects The number of forward open service requests which were rejected due to bad format Resource Rejects The number of forward open service requests which were rejected due to lack of resources Other Rejects The number of forward open service requests which were rejected for reasons other than bad format or lack of resources Close Counters Close Requests The number of forward close service requests received Format Rejects The number of forward close service requests which were rejected due to bad format Other Rejects The number of forward close service requests which were rejected for reasons other than bad format Other Counters Connection TimeOuts The total number of connection timeouts that have occurred in connections controlled by this Connection Manager Numbers of Connection The number of connections TCP IP Interface Properties
188. w all versions OK PLC Min OS ver Description Cancel Modicon M340 Premium Help _ TSX H57 24M 02 40 57 2 Hot Standby 768Kb Program PCMCIA U TSX H57 44M 02 40 57 4 Hot Standby 2Mb Program PCMCIA USB TSX P57 0244M 02 30 57 0 128Kb Program CANopen SX P57 104M 02 30 57 1 224Kb Program Unitelway TSX P57 154M 02 30 7 1 224Kb Program Fipio Unitelway TSX P57 1634M 02 30 57 1 224Kb Program Ethernet TCP IP Unitelway TSX P57 204M 02 30 57 2 768Kb Program Unitelway TSX P57 254M 02 30 57 2 768Kb Program Fipio Unitelway TSX P57 2634M 02 30 57 2 768Kb Program Ethernet TCP IP Unitelway SX P57 304M 02 30 57 3 1 75Mb Program Unitelway TSX P57 354M 02 30 57 3 1 75Mb Program Fipio Unitelway SX P57 3634M 02 30 57 178M Program Ethemet TOPIE unitolway 4 Click OK The Project Browser opens Project Browser 5 In the Project Browser double click Local Bus Unity Pro displays e the Hardware catalog and e a Local Bus window with the selected CPU in the second position slot 0 and a TSX PSY 2600M power supply in the first position 31008211 7 2012 19 Configuring Step Action 6 In the Hardware catalog use your mouse to drag a TSX ETC 100 EtherNet IP communication module from the Communication section to a position in the backplane In this example the module is placed in the third position slot 2 7 The modules that you have selected are now displayed in the
189. y list a Deletes the selected device chassis or module from the Device Library list but retains the associated EDS File in your PC s EDS File folder You can use the Add an EDS File button a to restore the deleted device to the list Notes e Do not delete a device that has been added to your EtherNet IP network e You can delete only device specific devices you cannot delete a generic device Display device properties Opens the properties window for the selected device In the properties window click the View or Print EDS File button to display the EDS File ina text file window In the text file window select File Print to print the contents of the EDS file Insert a device into your EtherNet IP configuration Inserts the selected device to the last position in your EtherNet IP design Note You cannot manually insert a chassis or module into the configuration These are added during the configuration of modular devices Sort the Device Library list ERs Opens the Sort Device Library window where you can select a sort order for the devices chassis and modules displayed in the Device Library Filter the Device Library list List Click inside the drop down list to display and select one of the following filtering options e Display Devices displays only devices module and chassis entries are filtered out e Display Modules and Chassis displays both chassis and for modul
190. you how to use the Online Action window in the Unity Pro EtherNet IP configuration tool to execute an unconnected explicit message that retrieves the vendor ID from a third party device in this case a Rockwell Automation 1734 AENT PointlO adapter revision 2 1 using the Get_Attributes_Single service You can perform the same explicit messaging service using the SEND_REQ function block see page 159 Configuring the Explicit Message To configure then execute an unconnected explicit message that will retrieve the vendor ID from a third party device follow these steps Step Action 1 Launch the EtherNet IP configuration tool from the Configuration page of the communication module s Properties window 2 In the EtherNet IP configuration tool begin on line operations by clicking the Go Online button 3 Click on the Network Detection tab to enable online actions E Device Library Pee NeR e 4 Open the Online Action window by selecting Network Online Action 31008211 7 2012 169 Explicit Messaging in Unity Pro Step Action 5 In the Explicit Messaging page complete the following fields IP Address Type in the IP address of the third party device In this example the IP address is 192 168 001 011 Class Type in the number that identifies the object class In this example the number representing the assembly class object is 1 Instance Type

Download Pdf Manuals

image

Related Search

Related Contents

製品安全データシート  Manual v2 LW109A    Maquette-lettre infoDRTEFP  Avamys - GSK.ca  Microzone 300, 500 Manual  vitedit - 7 à Poitiers  

Copyright © All rights reserved.
Failed to retrieve file