Home

Advantys ETB - LUCKINSlive

image

Contents

1. 64 IEC I O Wiring Diagrams lisse BB 65 Chapter 6 Application Example Configuring the Advantys ETB I O Module for use with a Quantum Processor 67 6 1 Configuring IP Parameters leere 68 Accessing the Embedded Web Pages 69 Setting a Static IP Address 71 6 2 Configuring the I O and Watchdog in Unity Pro 72 Recommended Practices for Using the PLC 73 Introducing the Unity Pro Project 74 Declaring Variables in Unity Pro LL 75 Configuring VO SCanning i 79 Resetting the Watchdog with Structure Text Code 80 Configuring I O with Function Block Code 82 Chapter 7 Diagnostics nennen nennen 87 Zali LEDS octal te Ghd Sue webs ceder dte enh dud pe Dea OL 88 LED Behaviors 2 22 58 eR a eroe RE RR RA pi Ep M nas 89 Scrolling LED Messages eee ree 91 7 2 Diagnostic Web Pages cece eee 92 VO Data VO Value III 93 VO Data VO Status 94 Diagnosis Ethernet Statistics 96 Diagnosis Network Interface 2222er seen een nenn 98 Chapter 8 Replacing the Advantys ETB I O Module 99 Replacing the Module eh 99 Appendices iiss ee ur rr E i a 103 Appendix A Process Image Maps for the Advantys ETB I O Modules 105 Modbus Registers i 106 Output Data Registers eee 107 Input Data
2. 10 System View te eee re eee pi 11 Advantys ETB for Modbus TCP IP 15 Chapter 2 Specifications and Physical Description 23 Specifications ssaa fi et mE AUR RR HERRERA 24 Front Faces oie VERIS erbe er GR ISI 26 Size and Dimensions LL 27 Connector Pin Assignments LL 28 VO Assignments Li 30 HMI Display 22 erraten 31 Chapter 3 Configuration 0 33 3 1 Using the Embedded Web Pages 0 cee eee eee 34 Accessing the Embedded Web Pages eee eeaeee 35 General Information IP Physical Information Page 37 General Information Password Setup 38 3 2 Configuring IP Address Settings 39 Introducing IP Parameters LL 40 Recommended Practices for IP Configuration 41 Configuring IP Parameters Using Web Pages 42 Configuring IP Parameters Using HMI Push Buttons 46 IP Address TCP Connection LL 48 3 3 Configuring Module Settings llle 49 Recommended Practices for Configuring Module Settings 50 Configuring I O for ETBIEM16CP00 ee 51 Configuring the Watchdog 0 cee eect tees 54 Chapter 4 Installing the Module 57 Mounting the Module 58 Connecting Cables ee 59 EIO0000000158 7 2009 3 Chapter 5 I O Wiring Diagrams leen 63 Module Wired with Schneider Electric Cables
3. mimimim ETB_Configura ETB_Configura ETB_Configura ETB_Configura ETB_Configura OOOO TB_Configuration 1 TB Configuration 2 TB Configuration 3 TB Configuration 4 TB Configuration 5 TB Configuration 6 TB Configuration 7 e TB_Configuration 20 TB_Configuration 21 TB_Configuration 22 TB_Configuration 23 e tion 36 tion 37 tion 38 tion 39 tion 40 Config_Read_Databuf This variable array holds the I O point and watchdog configuration values that are periodically read from the ETBE1M16CP00 module using aMBP_MSTR function block This data is compared against the data stored in the ETB_Configuration variable array to check the accuracy of the module s configuration ARRAYT1 40 OF INT INT INT INT INT INT INT INT INT INT INT INT INT INT INT INT INT MW 501 MW 501 MW 502 MW 503 MW 504 MW 505 MW 506 MW 507 MW 520 MW 521 MW 522 MW 523 MW 536 MW 537 MW 538 MW 539 MW 540 e olelelelisle e e e ejolojojojojo E Watchdog Value Watchdog State Watchdog Behavior Reserved State ofthe Firmware Fallback Value for Point 1 A Fallback Value for Point 1 B Fallback Value for Point 8 A Fallback Value for Point 8 B pud VO Configuration for Point 1 A VO Configuration for Point 1 B e YO Configuration for Point 8 A VO Configuration for Point 8 B PNP NPN Type InputFilter Delay Reserved 76 EIO0000000158 7 2009
4. A auto negotiation auto sensing bit s BootP default DHCP The ability of a device at the MAC sub layer to identify the speed 10 or 100 Mb s and the duplex or half mode of a connection and to adjust it according to clause 28 of the IEEE 802 3u standard Bits per second unit of transmission speed bootstrap protocol A TCP IP network protocol that offers network nodes request configuration information from a BOOTP server node D A value automatically assigned by the computer in a software program Usually this value can be changed dynamic host configuration protocol Communications protocol that assigns IP addresses to devices on the network based on BootP EIO0000000158 7 2009 115 Glossary E embedded web pages ETB Ethernet fallback state fallback value gateway Embedded Web pages accessed by an installed HTTP server provide Ethernet communications modules with easy access to devices anywhere in the world from standard browsers such as Internet Explorer or Netscape Navigator Ethernet Terminal Block A LAN cabling and signaling specification used to connect devices within a defined area e g a building Ethernet uses topology such as bus or star to connect different nodes on a network F A stable state to which an Advantys I O module can return in the event that its communication connection is disrupted The value that a device assumes during fallback Typically t
5. 44 EIO0000000158 7 2009 Configuration Step Action Click OK to accept your IP parameter changes Configure your DHCP server to serve a constant IP address based either upon a MAC address or a Device Name Physically connect the module to the network Look at the module s scrolling 4 character HMI to confirm that the intended IP address is displayed Connect to the module using the new IP address Configuring the Module to Receive IP Parameters from a BootP Server After accessing the IP Configuration page configure the module to receive IP parameters from a BootP server as follows Step Action Stop all other communication with the module In the IP Configuration page select BootP Client Click Apply to save your changes Microsoft Internet Explorer If the IP address is modified you will lose the Ethernet connection a Na Do you want to continue Click OK to accept your IP parameter changes Configure your BootP server to serve a constant IP address based upon the MAC address of the module Physically connect the module to the network Look at the module s scrolling 4 character HMI to confirm that the intended IP address is displayed Connect to the module using the new IP address EIO0000000158 7 2009 45 Configuration Configuring IP Parameters Using HMI Push Buttons Introduction You can u
6. Media counters Field Description Alignment Errors Number of detected alignment errors in Rx packets Single Collisions Successfully transmitted frames on a port for which transmit is inhibited by exactly one collision Multiple Collisions Successfully transmitted frames on a port for which transmit is inhibited by more than one collision Deferred Transmissions Transmitted packets by a port for which the first transmit attempt is delayed due to the busy medium Excessive Collisions Count of frames for which transmit is unsuccessful due to excessive collisions Frame Too Long Received oversize packets with good CRC max 1536 or 1522 bytes EIO0000000158 7 2009 97 Diagnostics Diagnosis Network Interface Description This read only page displays information about the network interface by port e Speed e Negotiation e Duplex The module enables auto negotiation so the speed and duplex are automatically configured Like all the web pages in this section this is a static page and you must click Refresh to update the information NOTE Port 0 is on the bottom right of the module and port 1 is on the bottom left Network Interface Speed 100 Mbps Negotiation Auto Duplex Full Speed 10 Mbps 100 Mbps Negotiation Manual Auto Duplex Half Full 98 EIO0000000158 7 2009 Replacing the Advantys ETB I O Module 8 Replacing the
7. Application Config Read Control This variable array holds the Control parameter elements of a MBP_MSTR block used to read the I O and watchdog settings in the ETBE1M16CP00 module Name a _ we v Address w Value Comment 4 Config Read Control ARRAY 1 9 OF INT MW 581 Config Read Control 1 NT MW581 2 Operation type 2 READ Config Read Control 2 NT MW582 Error status Config Read Control 3 NT MW583 39 Number of registers to read Config Read Con trol 4 NT MW 584 2050 Starting register to read Config Read Control 5 NT MW 585 16 0300 Routing register MSB 3 for NOE Config Read Control 6 NT AMW 586 192 Byte 4 of IP address DU Config Read Control 7 NT MW587 168 Byte 3 of IP address Config Read Control 8 NT MW 588 1 Byte 2 of IP address Config Read Control 9 NT MW 589 21 Byte 1 of IP address v Config Write Control This variable array also contains the Control parameter elements of a MBP_MSTR block but in this case for the purpose of performing a write operation In this case the contents of the ETB Configuration variable array are written to the ETBE1M16CP00 module when e the module is initialized or e the PLC detects that an I O or watchdog setting in the PLC differs from the same setting in the module This variable array writes to the same module address ranges that are read by the Config Read Control variable array The values of the elements are als
8. Config Read Success 82 E100000000158 7 2009 Application FB Sequence 2 The second FB sequence reads the current I O and watchdog configuration of the module and compares it against the configuration stored in the ETB Configuration Variable If the two sets of data are e the same the variable Enable ETB Module is set to 1 and the module continues operations with its present configuration e different the variable Enable ETB Module is set to 0 and the next sequence of function block code executes FBI 11 MBP MSTR Config Read Enable ENABLE ACTIVE Config Read Active Config Read Abort ABORT ERROR Config Read Error SUCCESS Config Read Success CONTROL Config Read Control DATABUF Config Read Databuf 4 EQUAL ARINT EN ENO Config Read Databuf IN1 OUT Config Arrays Value ETB Configuration IN2 1 P Enable ETB Module EIO0000000158 7 2009 83 Application FB Sequence 3 If the I O and watchdog settings stored in the PLC differ from the data read from the module FB sequence 3 writes the stored data from the PLC to the module This sequence runs until the Config Write Success parameter is set to 1 Enable ETB Module Config Read Success Config Write Active Config Write Error Config Write Success MBP MSTR ENABLE ACTIVE Config Write Active Config Write Abort ABORT ERROR Config Write Error SUCCESS Config Write Success CONTROL Config Write Control DATABUF ET
9. 90 female connector single ended 2 m 6 56 ft long ES ETXPC511M400040 7 8 mini change 5 pin power cable 90 d female connector single ended 4 m 13 12 ft long power tee ETXPA513M auxiliary power tee 7 8 mini change 5 Pin straight connector C l 9 power receptacle EXTPA511M3 auxiliary power receptacle 7 8 mini change 5 Pin straight female connectors H field attachables ETXPA5M1 field attachable connector 7 8 mini change 5 Pin straight male connectors ETXPA5M3 field attachable connector 7 8 mini EIO0000000158 7 2009 17 Introduction Type Model Number Description Image Ethernet cables TCSECL2M2MO6S2 4 pin Ethernet cable M12 D coded male to M12 D coded male 90 connectors 0 6 m 1 97 ft long TCSECL2M2M18S2 4 pin Ethernet cable M12 D coded male to M12 D coded male 90 connectors 1 m 3 28 ft long TCSECL2M2M2S2 4 Pin Ethernet Cable M12 D coded male to M12 D coded male 90 connectors 2 m 6 56 ft long Ethernet patch TCSECL1M3M1S2 cord straight Ethernet patch cord RJ45 male to M12 D coded 4 pole male 1 m 3 28 ft TCSECL1M3M3S2 straight Ethernet patch cord RJ45 male to M12 D coded 4 pole male 3 m 9 84 ft TCSECL1M3M10S2 straight Ethernet patch cord RJ45 male to M12 D coded 4 pole male 10 m 32 81 ft TCSECL1M3M25S2 straight Ethernet patch cor
10. Module Introduction The below steps show you how to replace your Modbus TCP IP module by first configuring it on a bench The configuration data from the original module must be transferred to the replacement for proper system operation A WARNING UNINTENDED EQUIPMENT OPERATION You must set up the replacement to match the same connections and configurations in the original module as this is necessary for proper system operation Failure to follow these instructions can result in death serious injury or equipment damage The following table shows the steps needed to replace your module Details of each step are provided after the table Step Action 1 remove power remove original module apply module power assign IP address and if required master controller IP address configure remaining module settings for replacement mount replacement attach cables os OD a PP OIN verify settings and apply output power EIO0000000158 7 2009 99 Replacement Removing Original Module Remove the power supply I O and network connectors making note of which cables go to which port It is recommended that you mark the connector locations appropriately to make sure you reassemble them in the same order Then detach the module from the mounted surface Assigning IP Address and Master Controller IP Address You must assign the replacement module an IP address
11. O point LEDs 5 eight 5 pin I O port connectors numbered from bottom to top 2 points per port connector 6 eight white port labels 7 two buttons for selecting the method of IP address assignment 8 four character scrolling display 9 twoLink LEDs 10 two 4 pin Ethernet network connectors NOTE The MAC address label is located on the back of the module 26 E100000000158 7 2009 Specifications and Physical Description Size and Dimensions Description The module conforms to the following dimensions a M KEY mm _37 1 5 60 0 323 1 3 q ty 220 0 8 7 210 0 8 3 107 0 4 2 q EIO0000000158 7 2009 27 Specifications and Physical Description Connector Pin Assignments Introduction The module s pin assignments are described below for e 5 pin power connectors 7 8 mini change cables e 5pin I O port connectors M12 or Ultra Lock M12 cables e 4pin Ethernet network connectors M12 D coded cables Power Connectors The pin assignments for the power connectors are outlined in the following figure with the male on the left and the female on the right Output Power 0 Vdc Module Input Power 0 Vdc Protective Earth PE Module Input Power 24 Vdc Output Power 24 Vdc akon IO Port Connectors The following figure displays an ETB I O port connector on the left of the module and
12. are e Apply Output Fallback Value places each output into a pre configured on or off state or e Hold Output Value maintains the state of each output at the time communication with the Modbus master is lost Fallback Value The pre determined state on or off each output point will for each output point adopt if communication with the Modbus master is lost for a time period longer than the Watchdog Timeout The Watchdog Status is e inactive off if the module remains in communication with the Modbus master and e active on if communication with the Modbus master is lost You can configure watchdog settings using either e the PLC or e the module s embedded web pages Configuring the watchdog settings via the PLC simplifies module replacement because the configuration is stored on the PLC and does not have to be re configured in the web pages when a module is replaced Refer to the application example see page 72 to configure the module in Unity Pro with a Quantum PLC via a NOE 771 01 communications module 54 EIO0000000158 7 2009 Configuration Web Pages In the Watchdog Error page you can e configure watchdog settings for the module and e view the watchdog state active or inactive of the module Watchdog Error 0 atoms 8 Apply Output Fallback Value O Hold Output Value INACTIVE Write Data Refresh EIO0000000158 7 2
13. dialog opens Microsoft Internet Explorer 2 If the IP address is modified you will lose the Ethernet connection v Do you want to continue Click OK to accept your IP parameter changes NOTE If you changed the actual IP address assigned to the module you must point your browser to that new address to continue viewing the web pages Configuring User Defined Static IP Parameters After accessing the IP Configuration page configure user defined static IP parameters as follows Step Action 1 Stop all other communication with the module 2 In the IP Configuration page select Static IP 3 Type in values for the following IP parameters IP Address 4 decimal octet values from 0 255 Subnet Mask 4 decimal octet values from 0 255 Gateway Address 4 decimal octet values from 0 255 optional Click Apply to save your static IP parameters The following dialog opens Microsoft Internet Explorer 2 If the IP address is modified you will lose the Ethernet connection v Do you want to continue Click OK to accept your IP parameter changes Look at the module s scrolling 4 character HMI to confirm that the intended IP address is displayed Connect to the module using the new IP address EIO0000000158 7 2009 43 Configuration Applying the Factory Default Static IP Address After accessing the IP Configuration page appl
14. its corresponding point assignments Note that the port connectors on the right side of the module are rotated 90 counter clockwise from the ones on the left 1 2 gt 3 4 1 24 Vdc 2 Point B Input or Output 3 GND 4 Point A Input or Output 5 PE 28 E100000000158 7 2009 Specifications and Physical Description Ethernet Network Connectors The following figure shows the pin assignments of the two Ethernet Network connectors on the module 2 s 4 TX RX TX RX AON EI00000000158 7 2009 29 Specifications and Physical Description O Assignments Description The I O assignments for the modules with fixed I O sizes are as follows Connector Number Point 2 Connector Number a 8B Point 2 oua 8A GA Point 4 3A Point 4 1B Point 2 1A Point 4 4B Point 2 4A Point 4 2B Point 2 2A Point 4 30 EIO0000000158 7 2009 Specifications and Physical Description HMI Display Introduction The Advantys ETB I O modules include a 4 character scrolling display with 2 push buttons Use these tools to configure certain IP address see page 46 parameters and view diagnostic LED messages see page 91 1 Push buttons 2 Screw to lock HMI door 3 HMI Display EI00000000158 7 2009 31 Specifications and Physical Description 32 EIO0000000158 7 2009 Configuration Overview Th
15. point 8 A Event Status 400800 RW 1 0 or 1 point 8 B Event Status 400801 RO 1 O or 1 Global Status 400802 RO 1 Oor 1 Output Power Status 1 The values indicate e 0 OK e 1 shortcircuit or overload 2 Event Status references the occurrence 1 or non occurrence 0 of an event since the last power cycle Registers 400803 401024 are not used EIO0000000158 7 2009 111 Process Image Maps Module Information Registers Description This range of registers contains information on the I O process image and shows information about firmware and version Modbus Register Address Access Length words Description 401025 RO 1 firmware version minor 401026 RO 1 firmware version major 401030 RO 4 firmware name 401034 RO 1 editable I O configuration 401035 RO 8 model number Registers 401036 402048 are not used 112 EIO0000000158 7 2009 Process Image Maps O and Watchdog Configuration Registers Description To save a new I O module configuration simply write a 1 to the save client configuration register 402049 and then write a 0 to the same register Modbus Register Access Length Values Description Address words 402049 R W 1 0 to save the configuration save client configuration 402050 R W 1 0 100ms watchdog value 0 not active Note This value is multiplied by a factor of 100 to
16. produce the watchdog timeout setting Applied to points with fallback set to ON 402051 R W 1 0 not active watchdog state 1 active 402052 R W 1 0 apply output fallback watchdog behavior 1 hold output 402054 R W 1 0 0K firmware state 1 PB on Firmware 402055 R W 1 used when I O pin is an output fallback for point 1 A 0 OFF 0 ON 402056 R W 1 used when I O pin is an output fallback for point 1 B 0 OFF 0 ON 402069 R W 1 used when I O pin is an output fallback for point 8 A 0 OFF 0 ON 402070 R W 1 used when I O pin is an output fallback for point 8 B 0 OFF 0 ON 402071 RO or 1 0 input pin O configuration for point 1 A RW 1 output pin 2 universal I O other universal I O 402072 RO or 1 0 input pin O configuration for point 1 B RW 1 output pin 2 universal I O other universal I O EIO0000000158 7 2009 113 Process Image Maps Modbus Register Access Length Values Address words 402085 RO or 1 0 input pin I O configuration for point 8 A RW 1 output pin 2 universal I O other universal I O 402086 RO or 1 0 input pin I O configuration for point 8 B RW 1 output pin 2 universal I O other universal I O 402087 RO or 1 0 PNP PNP NPN input type RW 1 PNP 402088 RO or 1 0 0ms input filter delay RW 1 0 5 ms 2 1 ms 3 1 5 ms 4 2 ms 5 2 5 ms 6 5ms Registers 402089 403072 are not used 114 E100000000158 7 2009 Glossary
17. the Current Status and Event Status are red or when just the Event Status is red Output Power Status signals presence or absence of output power e green output power is present e red output power is absent NOTE You can also use this web page to reset the Event Status of individual points Click Reset to clear the Event Status for individual I O points This also refreshes the web page 94 EIO0000000158 7 2009 Diagnostics VO Status o ij m 00000000 j oo off HB 1 i js o0 i j i 7 0000 i DICIDIDIO 000 4 oo i 0000 i 2 3 Refresh Current Status EIO0000000158 7 2009 95 Diagnostics Diagnosis Ethernet Statistics Description This page displays the details of the Ethernet interface counters and Ethernet media counters by port e Click Reset to set all values to 0 e Click Refresh to update the information on the web page NOTE Port 0 is on the bottom right of the module and port 1 is on the bottom left Ethernet Statistics Interface Counters Media Counters x n In Octets In Ucast Packets Alignment Errors 0 Single Collisions P 4 T qe In NUcast Packets In Discards Multiple Collisions Deferred Trans In Errors In Unknown Protos Excessive Collisions Frame Too Long Out Octets 1011147 Out Ucast Packets Out NUcast Packets Out D
18. the Unity Pro Project Local Bus The application example includes the following devices comprising the Local Bus in Unity Pro Project Components IN Local Bus Jol x 1 140 CPU 534 14A U 02 60 Y The application example includes the following components created in Unity Pro and described in the remainder of this section declaration of variables see page 75 used in the program I O scanning see page 79 by the PLC of module registers structured text see page 80 programming designed to reset the watchdog if communications between the PLC and the module are lost and then restored function block see page 82 programming designed to download the I O and watchdog settings from the PLC to the module whenever the PLC detects the values of these settings in the module differ from the same settings stored in the PLC 74 EIO0000000158 7 2009 Application Declaring Variables in Unity Pro Introduction The application includes a collection of variables that are declared in the Variables page of the Data Editor as in the following figure These variables are named so that they describe the purpose they serve in the application program Data Editor of x Variables DDT Types Function Blocks DFB Types Filter T Name f EDT DDT IODDT Config_Arrays_Value output of comparison of configuration arrays Config Read Abort Config Read Active Config Read Control 9 OFINT MW581 Config Read D
19. troubleshoot your module What s in this Section This section contains the following topics Topic Page I O Data I O Value 93 I O Data I O Status 94 Diagnosis Ethernet Statistics 96 Diagnosis Network Interface 98 92 E100000000158 7 2009 Diagnostics I O Data I O Value Description This web page displays the current state of the inputs and outputs for the module Like all the web pages in this section this is a static page and you must click Refresh to update the information O Value EIO0000000158 7 2009 93 Diagnostics VO Data I O Status Description This page displays the I O status of the module Like all the web pages in this section this is a static page and you must click Refresh to update the information NOTE You can also retrieve the Current Status information by looking at the LEDs see page 89 Current Status shows the current condition of I O points e green no detected output power loss and no detected short circuit on the input power e red detected output power loss or detected short circuit on the input power Event Status latches Current Status since last cleared e green no detected error present with the I O points since the last reset e red detected error present with the I O points since the last reset General Status reflects status of all I O points e green neither the Current Status or Event Status is red e red when both
20. with a MBP MSTR function block to detect the watchdog state and toggle the save module configuration command as explained below IF NOT FirstPass AND ETB Read Input Data 36 1 THEN WatchDog Reset 130 ds i a Watchdog Write Enable 1 FirstPass TRUE ELSIF FirstPass AND ETB Read Input Data 36 0 THEN WatchDog Reset 0 Watchdog Write Enable 1 FirstPass FALSE END IF The following is an example of how this code should execute Scan 1 The conditions required by the IF NOT line are satisfied because e the variable FirstPass is false by default and e the variable ETB Read Input Data 36 the watchdog state is active Consequently the next 3 lines of code execute e the Watchdog Write Enable Boolean is turned ON triggering the operation of a MBP MSTR block e the Watchdog Reset Boolean is set to 1 toggling ON the save module configuration register when the MBP_MSTR block executes The conditions required by the ELSIF line are not yet met because the watchdog has not yet been set to inactive Scan 2 or later The conditions required by the IF NOT line are no longer both satisfied because the variable FirstPass has been set to TRUE above However the conditions required by the ELSIF line are both satisfied because e the variable FirstPass is TRUE and e the variable ETB Read Input Data 36 the watchdog state is now 0 which indicates that the watchdog is again inactive Conse
21. 0000000158 7 2009 Specifications and Physical Description 2 Overview This chapter describes the physical electrical and environmental characteristics of the Modbus TCP IP modules What s in this Chapter This chapter contains the following topics Topic Page Specifications 24 Front Face 26 Size and Dimensions 27 Connector Pin Assignments 28 I O Assignments 30 HMI Display 31 EIO0000000158 7 2009 23 Specifications and Physical Description Specifications Description The specifications for each Modbus TCP IP module are listed below Equipment Damage Do not unplug the cables while the module is powered as this may damage the module s connectors Failure to follow these instructions can result in equipment damage Data Model Number ETB1EM16EPPO ETB1EM08E08SPPO ETB1EM12E04SPPO ETB1EM16CP00 Inputs 16 8 12 16 configurable Outputs 0 8 4 input and output points Ethernet connector M12 Ultra LockTM female D Code I O connector M12 Ultra Lock A Code Power in left connector mini Change 5 Pole male Power out right connector mini Change 5 Pole female Module and input power 24 VDC 13 30V Output power N A 24 VDC 13 30V Output current N A 2 0 A point Sum 8A Max Short circuit current N A 6 5 A typical Output switching N A 200 Hz frequency Output vol
22. 00158 7 2009 Configuration Configuring I O for ETB1EM16CPOO Introduction PLC The ETB1EM16CP00 module contains configurable points that can be configured for in out or automatic This topic shows you how to configure the ETB1EM16CP00 module s I O points and only applies to this specific module NOTE By default each point is pre configured as an auto configurable I O point A WARNING UNINTENDED EQUIPMENT OPERATION If the point is connected to a sensor and used as an input do not write a 1 to the corresponding output bit of the process image as this can conflict with the current state of the input Failure to follow these instructions can result in death serious injury or equipment damage In addition to configuring the O Type described above for each point you can also configure the following settings that apply to all inputs e Input Type PNP or NPN e Input Filter the minimum time period in milliseconds an input signal must persist in order for the module to recognize it as valid and not merely noise There are two methods to configure the I O settings of the module Regardless of which method you use you must configure all I O settings e PLC e embedded web pages You can use the PLC to set the I O configuration When a configurable I O point setto auto configuration acts as an output that output value will appear in both the input and output process images This is also true f
23. 009 55 Configuration After accessing the embedded web pages see page 35 select Watchdog Error on the left to open the Watchdog Error web page where you can configure watchdog behavior Step Action 1 Type in an integer value from 0 to 65535 for Watchdog Timeout This value will be multiplied by 100 ms to determine the timeout NOTE Setting the timeout value to 0 disables the watchdog The default timeout is 10 x 100ms 1s 2 Select a watchdog behavior e Apply Output Fallback Value to place each output into its fallback state or e Hold Output Value to have each output maintain its pre existing state 3 For each point configured as an output select a Fallback Value describing the behavior of that point if the module enters a fallback state e 0 off e 1 on NOTE These behaviors will only be applied if Apply Output Fallback Value is selected 4 Click Write Data to save your changes 56 E100000000158 7 2009 Installing the Module Overview This chapter describes how to mount the module and attach the cables What s in this Chapter This chapter contains the following topics Topic Page Mounting the Module 58 Connecting Cables 59 EIO0000000158 7 2009 57 Installation Mounting the Module Description Each module has 5 mounting holes which are circled in the diagram below Use of the middle hole is optional Use M5 10 bolts
24. 050 I O cable Ultra Lock and M12 connector 5 m 16 40 ft long ETXSC412U2M3010 YO cable Ultra Lock and M12 connector 1 m 3 28 ft long ETXSC412U2M3020 O cable Ultra Lock and M12 connector 2 m 6 56 ft long ETXSC412U2M3050 O cable Ultra Lock and M12 connector 5 m 16 40 ft long ETXSC413U1M3003 VO splitter cable Ultra Lock 1 end M12s other end 30 cm 0 98 ft long 16 EIO0000000158 7 2009 Introduction change 5 Pin straight female connectors Type Model Number Description Image power cables ETXPC511M300040 7 8 mini change 5 pin power cable female straight connector single ended 4 m 13 12 ft long ETXPC512M1M3010 7 8 mini change 5 pin power cable straight connectors 1 m 3 28 ft long ETXPC512M1M3020 7 8 mini change 5 pin power cable straight connectors 2 m 6 56 ft long ETXPC512M1M3050 7 8 mini change 5 pin power cable straight connectors 5 m 16 40 ft long ETXPC512M2M4006 7 8 mini change 5 pin power cable 90 connectors 0 6 m 1 97 ft long ETXPC512M2M4010 7 8 mini change 5 pin power cable 90 connectors 1 m 3 28 ft long ETXPC512M2M4020 7 8 mini change 5 pin power cable 90 connectors 2 m 6 56 ft long ETXPC511M400020 7 8 mini change 5 pin power cable
25. 122 EIO0000000158 7 2009 Index I O status ETB1EMO8E08SPP0 94 ETB1EM12E04SPPO 94 ETB1EM16CP00 94 ETB1EM16EPPO 94 input ETB1EMOS8EO08SPPO 51 ETB1EM12E04SPPO 51 ETB1EM16CP00 51 ETB1EM16EPPO 51 input assignments ETB1EMOS8EO08SPPO 30 ETB1EM12E04SPPO 30 ETB1EM16CP00 30 ETB1EM16EPPO 30 input data read only ETB1EMOS8EO08SPPO 93 ETB1EM12E04SPPO 93 ETB1EM16CP00 93 ETB1EM16EPPO 93 input data registers ETB1EMO8E08SPP0 108 ETB1EM12E04SPPO 108 ETB1EM16CP00 108 ETB1EM16EPPO 108 input status ETB1EMO8E08SPP0 94 ETB1EM12E04SPPO 94 ETB1EM16CP00 94 ETB1EM16EPPO 94 installation cables 59 connecting cables 59 ETB1EMOS8EO08SPPO 58 ETB1EM12E04SPPO 58 ETB1EM16CP00 58 ETB1EM16EPPO 58 Ethernet cables 60 ground cable 60 I O cables 60 network cables 60 power cables 61 IP address assigning 42 BootP 45 DHCP 44 factory default 44 Master Controller 48 static 43 static IP address 71 user defined 43 IP address source 46 IP configuration 40 IP67 ETB1EMO8EO08SPPO 10 ETB1EM12E04SPPO 10 ETB1EM16CP00 10 ETB1EM16EPPO 10 L LEDs light emitting diodes ETB1EMOS8EO8SPPO 89 ETB1EM12E04SPPO 89 ETB1EM16CP00 89 ETB1EM16EPPO 89 light emitting diodes LEDs ETB1EMOSEO8SPPO 89 ETB1EM12E04SPPO 89 ETB1EM16CP00 89 ETB1EM16EPPO 89 M Master Controller IP Address 48 Modbus registers 106 module information registers ETB1EMO8EO08SPPO 112 ETB1EM12E04SPPO 112 ETB1EM16C
26. 158 7 2009 Application Accessing the Embedded Web Pages Description Follow these steps to access the module s embedded web pages where you can configure the module s IP addressing settings Step Action 1 Use an Ethernet cable to connect the module to a PC running a standard web browser NOTE Both the PC and the module must be part of the same subnet 2 Type the module s factory default IP address of 192 168 1 1 in the address line of your web browser A dialog opens prompting you for a user name and password f User name Password LU Remember my password 3 Enter the following factory default settings e User name admin e Password admin EIO0000000158 7 2009 69 Application Step Action 4 Click OK The home page is displayed IP Information 192 168 1 1 Physical Information Mac Address 00 A0 91 30 0106 Serial Number 825229650 Firmware Version 3 6 12 0 Firmware Name IP67 ETH 5 Click on IP Configuration on the left side of this screen to open the page where you can configure IP addressing parameters see page 71 70 EIO0000000158 7 2009 Application Setting a Static IP Address Description Use the module s IP Configuration web page to set a static IP address and edit the related settings The following page opens when you select the description for IP Configuration This page indicates that the module is configured to use the f
27. 16CP00 35 ETB1EM16EPPO 35 wiring 65 EIO0000000158 7 2009 125 Index 126 E100000000158 7 2009
28. 1EM16EPPO 61 output data registers programmable logic controller PLC ETB1EM08E08SPPO 107 I O configuration 51 ETB1EM12E04SPPO 107 watchdog configuration 54 ETB1EM16CP00 107 push buttons 46 ETB1EM16EPPO 107 124 E100000000158 7 2009 Index R registers ETB1EMO8E08SPP0 106 ETB1EM12E04SPPO 106 ETB1EM16CP00 106 ETB1EM16EPPO 106 Ethernet configuration 110 VO 113 input data 108 module information 112 module status 111 output data 107 watchdog 113 replacing module ETB1EMOS8EO08SPPO 99 ETB1EM12E04SPPO 99 ETB1EM16CP00 99 ETB1EM16EPPO 99 S size ETB1EM08E08SPPO 27 ETB1EM12E04SPPO 27 ETB1EM16CPO0 27 ETB1EM16EPP0 27 source of IP address 46 specifications ETB1EMO8E08SPP0 24 ETB1EM12E04SPPO 24 ETBIEMI6CP00 24 ETB1EM16EPPO 24 static IP address ETB1EMO8EO8SPPO 71 ETB1EM12E04SPPO 71 ETB1EM16CPOO0 71 ETB1EMI16EPPO 71 T TCP connections 48 topology 11 W watchdog reset 80 85 watchdog configuration ETB1EMO8E08SPP0 54 ETB1EM12E04SPPO 54 ETB1EM16CP00 54 ETB1EM16EPPO 54 PLC programmable logic controller 54 programmable logic controller PLC 54 watchdog registers ETB1EMO8E08SPP0 113 ETB1EM12E04SPPO 113 ETB1EM16CP00 113 ETB1EM16EPPO 173 web pages 42 92 accessing 69 ETB1EMO8E08SPP0 35 71 ETB1EM12E04SPPO 35 71 ETB1EM16CP00 35 71 ETB1EM16EPPO 35 71 in out configuration 52 web server 92 ETB1EMO8E08SPP0 35 ETB1EM12E04SPPO 35 ETB1EM
29. B Configuration 84 EIO0000000158 7 2009 Application Resetting the Watchdog FB Sequence 4 The following sequence of FB code works in coordination with the structured text code to toggle the save module configuration word at Modbus register 402050 to ON and then to OFF FBI 16 10 MBP MSTR Watchdog Write Enable ENABLE ACTIVE Watchdog Write Active Watchdog Write Abort ABORT ERROR Watchdog Write Error SUCCESS Watchdog Write Success CONTROL Watchdog Write Control DATABUF Watchdog Reset Watchdog Write Enable EIO0000000158 7 2009 85 Application 86 EIO0000000158 7 2009 Diagnostics Overview This chapter describes the tools available for diagnosing the state of the module What s in this Chapter This chapter contains the following sections Section Topic Page 7 1 LEDs 88 7 2 Diagnostic Web Pages 92 EIO0000000158 7 2009 87 Diagnostics 7 1 LEDs Introduction The Advantys ETB I O modules provide LEDs to diagnose the state of the modules You can use the LED descriptions in this section to troubleshoot your module What s in this Section This section contains the following topics Topic Page LED Behaviors 89 Scrolling LED Messages 91 88 E100000000158 7 2009 Diagnostics LED Behaviors Description The module provides LEDs for you to visually check its status You can use the LEDs to monitor
30. EIO00000001 58 00 Advantys ETB IP67 Ethernet Block I O Modules for Modbus TCP IP User Guide 7 2009 Schneider www schneider electric com Electric Schneider Electric assumes no responsibility for any errors that may appear in this document 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 requirements 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 2009 Schneider Electric All rights reserved EIO0000000158 7 2009 Table of Contents Safety Information eee eee 5 About the BOOK u 2422 aaa 7 Chapter 1 Introducing the Advantys ETB I O Modules 9 Features of the Advantys ETB I O Modules
31. IP address in the address line of the browser and hit Enter on your keyboard You can see the IP address on the module s HMI display If no IP address displays see the topic on Scrolling LED Messages see page 91 b A dialog box opens and prompts you for a user name and password User name Password O Remember my password Enter the factory default settings for User name and Password e User name admin e Password admin NOTE If you previously changed the password you must instead enter the new password in this dialog box EIO0000000158 7 2009 35 Configuration Step Action 4 Click OK The home page is displayed IP Information IP Address 192 168 1 1 Physical Information Mac Address 00 A0 91 3001 06 Serial Number 825229650 Firmware Version 3 6 120 Firmware Name IP67_ETH 5 Click on a specific web page description on the left side to open that page 36 EIO0000000158 7 2009 Configuration General Information IP Physical Information Page Description This read only page displays the information describing the selected Advantys ETB I O module including its IP address MAC address serial number and firmware information IP Information IP Address 192 168 1 1 Physical Information Mac Address 00 A0 91 30 01 06 Serial Number 825229650 Firmware Version 3 6 12 0 Firmware Name IP67 ETH EIO0000000158 7 2009 37 Con
32. P Address Subnetwork Mask Rack Module 10 Scanning Global Data SNMP Address Server NO WEB Gateway Address 192 168 1 7 255 255 255 0 IP Configuration Messaging 10 Scanning t YES WEB Leet Le Lal 192 168 1 200 NTP r NT Bandwidth n Health Block 1 IW Wi v Device Control Block MW from 1 to 8 Repetitive Rate Step 16 zd Scanned peripherals Health Repetive RD RD WR WR n IP address Device Name Unit ID Sas Timeout rate Master Ref DR vede Master Ref TE Description y ms ms Object Slave g P Object Slave gi E 192 168 1 21 255 Index x 1500 16 MW201 256 1 Set to 0 MW251 0 1 VO Data 192 168 1 21 255 Index w 1500 64 MW202 257 35 Setto 0 v mm 0 0 Read Status Words a zi E zi zi a x a P pi E z zi E zi zi EIO0000000158 7 2009 79 Application Resetting the Watchdog with Structure Text Code Description Example When the Advantys ETB I O module loses communication with the Modbus master and if the watchdog timeout is set to a value other than 0 the module s watchdog is enabled After communication between the Modbus master and the module is restored the watchdog does not automatically return to its original inactive state but instead remains active Your application must reset the state of the watchdog to inactive by includi
33. P00 112 ETB1EM16EPPO 112 module status registers ETB1EMO8EO08SPPO 111 ETB1EM12E04SPPO 111 ETB1EM16CPOO0 111 ETB1EM16EPPO 111 EIO0000000158 7 2009 123 Index mounting ETB1EMO8E08SPP0 58 ETB1EM12E04SPPO 58 ETB1EM16CP00 58 ETB1EM16EPPO 58 N network cables ETB1EM08E08SPPO 60 ETB1EM12E04SPPO 60 ETB1EM16CP00 60 ETB1EM16EPPO 60 network interface read only ETB1EMO8E08SPP0 98 ETB1EM12E04SPPO 98 ETB1EM16CP00 98 ETB1EM16EPPO 98 network topology 11 O output ETB1EMO8EO8SPPO 51 ETB1EM12E04SPPO 51 ETB1EM16CP00 51 ETB1EM16EPPO 51 output assignments ETB1EMOS8EO08SPPO 30 ETB1EM12E04SPPO 30 ETB1EM16CP00 30 ETB1bEM16EPPO 30 output data read only ETB1EMOS8EO08SPPO 93 ETB1EM12E04SPPO 93 ETB1EM16CP00 93 ETB1EM16EPPO 93 output status ETB1EMO8E08SPP0 94 ETB1EM12E04SPPO 94 ETB1EM16CP00 94 ETB1EM16EPPO 94 P password setup 38 pin assignments ETB1EMO8E08SPP0 28 ETB1EM12E04SPPO 28 ETB1EM16CP00 28 ETB1EM16EPPO 28 Ethernet connectors 29 network connectors 29 power connectors 28 PLC programmable logic controller I O configuration 51 watchdog configuration 54 point assignments I O port connectors 28 point status ETB1EMO8E08SPP0 94 ETB1EM12E04SPPO 94 ETB1EM16CP00 94 ETB1EM16EPPO 94 port assignments ETB1EMO8E08SPP0 30 ETB1EM12E04SPPO 30 ETB1EM16CP00 30 ETB1EM16EPPO 30 power cables ETB1EMO8EO8SPPO 61 ETB1EM12E04SPPO 61 ETB1EM16CP00 61 ETB
34. Registers ee eee 108 Ethernet Configuration Registers 000 eese 110 Module Status Registers LL 111 Module Information Registers 0 00 eese 112 I O and Watchdog Configuration Registers 113 Glossary scia aaa EGRE ACA rer 115 INDEX iii ae 121 EIO0000000158 7 2009 Safety Information 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 or Warning 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 result in death or serious injury A WARNING WARNING indicates a potentially hazardous situation which if not avoided can result in death or serious injury 1 This is the safety alert symbol It is used to alert you to potential EIO0000000158 7 2009 5 PLEASE NOTE A CAUTION CAUTION indicates a
35. Status 108 E100000000158 7 2009 Process Image Maps Modbus Register Address Access Length In word Description 400275 RO 1 PIN P1 B Event Status 400288 RO 1 PIN P8 A Event Status 400289 RO 1 PIN P8 B Event Status 400290 RO 1 Global Status 400291 RO 1 Power Status 400292 RO 1 Watchdog State EIO0000000158 7 2009 109 Process Image Maps Ethernet Configuration Registers Description The following registers contain the Ethernet configuration Modbus Register Access Length Value Description Address words 400513 R W 1 0 to save the save Ethernet modification configuration 400514 R W 1 0 static address IP address source 12 DHCP 2 BOOTP 3 FACTORY 400515 R W 1 2 lower octets 0 255 IP address low byte 400516 R W 1 2 higher octets 0 255 P address high byte 400517 R W 1 2 lower octets 0 255 maximum subnet address low byte 400518 R W 1 2 higher octets 0 255 maximum subnet address high byte 400519 RO 3 read from device MAC address 400522 RO 2 read from device serial number 400524 RO 1 read from device current TCP connection 400525 RO 1 read from device total TCP connections 400526 RO 1 read from device timeout number 400527 R W 1 2 lower octets 0 255 gateway IP address low byte 400528 R W 1 2 higher octets 0 255 gateway IP address high byte 400529 R W 5 us
36. actory default IP address IP Configuration Static IP IP Address Subnet Mask Gateway Address DHCP Client Device Name BOOTP Client Factory IP 192 168 1 1 La To configure the module to use a static IP address follow these steps Step Action 1 In the IP Configuration page select Static IP 2 Type in values for the following IP parameters NOTE Type in values that are accurate for your module For the purpose of this example the following values are used IP Address 192 168 1 21 Subnet Mask 255 255 255 0 Gateway Address 0 0 0 0 Click Apply to save your static IP configuration settings The following dialog opens Microsoft Internet Explorer 2 If the IP address is modified you will lose the Ethernet connection w Do you want to continue Click OK to accept your IP address change EIO0000000158 7 2009 71 Application 6 2 Configuring the I O and Watchdog in Unity Pro Introduction This section of the application example shows you how to use Unity Pro to configure the ETBE1M16CP00 module s inputs outputs and watchdog settings What s in this Section This section contains the following topics Topic Page Recommended Practices for Using the PLC 73 Introducing the Unity Pro Project 74 Declaring Variables in Unity Pro 75 Configuring I O Scanning 79 Resetting the Watchdog with Structure Text Code 80 C
37. al connectors power output port EIO0000000158 7 2009 61 Installation 62 EIO0000000158 7 2009 I O Wiring Diagrams At a Glance This chapter shows you examples of how to connect Schneider Electric cables to your module IEC I O wiring diagrams are also available for your reference What s in this Chapter This chapter contains the following topics Topic Page Module Wired with Schneider Electric Cables 64 IEC I O Wiring Diagrams 65 EIO0000000158 7 2009 63 VO Wiring Diagrams Module Wired with Schneider Electric Cables Description The below image shows you examples of how to connect Schneider Electric cables see page 16 to your module Homm ETXSC413U1M3003 I O splitter cable Ultra Lock 1 end and M12s other end ETXSC412M1M3010 I O cable M12 connectors ETXSC412U1M3010 I O cable Ultra Lock 1 end and M12 other end VO kon 64 EIO0000000158 7 2009 VO Wiring Diagrams IEC VO Wiring Diagrams Introduction These diagrams show the wiring of an I O port wired to support e 2 outputs e 2inputs e 1 input and 1 output NOTE These diagrams are here for your convenience and to aid in troubleshooting 2 Outputs Use this diagram to field wire two actuators to a module using 2 outputs per port 3C 2 Inputs Use this diagram to field wire two sensors to a
38. atabuf 40 OF INT MW541 Config_Read_Enable Config_Read_Error Config_Read_Success Config_Write_Abort Config_Write_Active Config_Write_Control 9 OFINT MW611 Config Write Error Config Write Success Enable ETB Module ETB Configuration 40 OF INT MW501 ETB Module Info 17 OF INT MW271 ETB Read Input Data 36 OF INT MW201 ETB Scanning Health IW 1 15 health offirst entry in scanner First Scan Bit 96921 system bit goes high on first scan after start FirstPass local variable for Watchdog reset ST TestBit 01 manual toggle for testing ETB config read write Watchdog Reset MW601 Watchdog_Write_About Watchdog Write Active Watchdog Write Control 40 OF INT MW591 Watchdog Write Enable Watchdog Write Error Watchdog Write Success e e e e e e e e e e e J co a e e e e e e e La e L e gt Of the variables declared above and used in the program the following variables are of particular significance EIO0000000158 7 2009 75 Application ETB Configuration This variable array holds the I O point and watchdog configuration values that are stored in the PLC It is also used as the Databuf parameter of a MPB MSTR function block that writes these stored values to the ETBE1M16CP00 module when the module is initialized and whenever an I O or watchdog setting in the PLC differs from the same setting in the module Name ETB Configuration 00000 mim mm mm m
39. ble with a ring or spade connector at the PE size M3 screw 1 in the above diagram Refer to your electric code for proper grounding instructions VO Cables Connect I O cables to the module 3 in the above diagram by either screwing a threaded connector to the inside of the port or by pressing an Ultra Lock connector over the outside of the port Depending on your application needs you may elect to use I O splitter cables Ethernet Network Cables Connect Ethernet network cables to the module 4 in the above diagram by screwing a threaded connector to the inside of the port 60 E100000000158 7 2009 Installation Power Cables Sealing Plugs Connect the power cable 2 in the above diagram by using a threaded cable connector and screwing it to the outside power input connector or inside power output connector of the module power connector Cover unused ports with sealing plugs Not covering ports in harsh environments may cause contaminants to come in contact with internal components of the module A WARNING Equipment Damage Make sure you cover unused ports with sealing plugs to maintain the IP67 rating of the modules Failure to follow these instructions can result in death serious injury or equipment damage Use this sealing plug To cover this connector ETXSA12B M12 connectors Ethernet and I O ports ETXPA78BE 7 8 external connectors power input port ETXPA78BI 7 8 intern
40. ce by allowing only essential traffic on the attached individual Ethernet segments Packets are filtered or forwarded based upon their source and destination addresses T If communication stops the program waits the specified number of seconds before trying to communicate again The arrangement of the nodes and connecting hardware that comprises the network Types include ring bus star and tree 120 EIO0000000158 7 2009 Index A accessories ETB1EM08E08SPPO 16 ETB1EM12E04SPPO 16 ETB1EM16CP00 16 ETB1EM16EPPO 16 application example configuring I O 82 ETB1EMO8E08SPP0 67 ETB1EM12E04SPPO 67 ETB1EM16CP00 67 ETB1EM16EPP0 67 IP address 77 local bus 74 variable declarations 75 BootP 45 C cables ETB1EMO8EO08SPP9O 16 59 64 ETB1EM12E04SPPO 16 59 64 ETBIEMIG6CPO00 16 59 64 ETBIEMI6EPPO 16 59 64 code function blocks 82 structured text 80 connecting cables ETB1EMO8E08SPP0 59 ETB1EM12E04SPPO 59 ETB1EM16CP00 59 ETB1EM16EPPO 59 D default IP address 44 description ETB1EMO8E08SPP0 24 ETB1EM12E04SPPO 24 ETB1EM16CP00 24 ETB1EM16EPPO 24 DHCP 44 diagnosing HMI messages ETB1EI08E08SPPO 91 ETB1EI12E04SPP0 91 ETBI1EI16CP00 97 ETBIEI16EPPO 91 diagnosing LEDs ETB1EMO8E08SPP0 89 ETB1EM12E04SPPO 89 ETB1EM16CP00 89 ETB1EM16GEPPO 89 dimensions ETB1EMO8E08SPP0 27 ETB1EM12E04SPPO 27 ETB1EM16CP00 27 ETB1EM16EPPO 27 EIO0000000158 7 2009 121 Inde
41. ctric com EIO0000000158 7 2009 7 EIO0000000158 7 2009 Introducing the Advantys ETB I O Modules 1 Overview This chapter introduces the Advantys ETB I O family of modules for Modbus TCP IP networks What s in this Chapter This chapter contains the following topics Topic Page Features of the Advantys ETB I O Modules 10 System View 11 Advantys ETB for Modbus TCP IP 15 EIO0000000158 7 2009 9 Introduction Features of the Advantys ETB I O Modules Introduction IP67 Rated The Advantys ETB family of I O modules includes modules designed for use with either the Modbus TCP IP or the EtherNet IP protocols This manual describes modules designed for the Modbus TCP IP protocol Advantys ETB I O modules combine the functionality of a block I O with an embedded 2 port Ethernet switch These modules can be used in applications where I O is mounted directly on equipment without an enclosure They can be exposed to water or oil spray Each Advantys ETB I O module is housed in an IP67 rated enclosure that when properly installed according to IEC 60529 provides protection against the ingress of e dust e water when temporarily immersed for up to 30 minutes to a depth of 1 meter Data Access for the ETB I O Modbus TCP IP Module Module data is accessible via Modbus messaging and embedded web pages and includes e input and output data input and output status I O configura
42. d RJ45 male to M12 D coded 4 pole male 25 m 82 02 ft TCSECL1M3M40S2 straight Ethernet patch cord RJ45 male to M12 D coded 4 pole male 40 m 131 23 ft TCSECL1M1M1S2 straight Ethernet patch cord M12 D coded 4 pole male to M12 D coded 4 pole male 1 m 3 28 ft TCSECL1M1M3S2 straight Ethernet patch cord M12 D coded 4 pole male to M12 D coded 4 pole male 3 m 9 84 ft TCSECL1M1M10S2 straight Ethernet patch cord M12 D coded 4 pole male to M12 D coded 4 pole male 10 m 32 81 ft a 3 TCSECL1M1M25S2 straight Ethernet patch cord M12 D coded 4 pole male to M12 D coded 4 pole male 25 m 82 02 ft TCSECL1M1M40S2 straight Ethernet patch cord M12 D coded 4 pole male to M12 D coded 4 pole male 40 m 131 23 ft 18 EIO0000000158 7 2009 Introduction Type Model Number Description Image sealing plugs ETXSA12B sealing plug for M12 connectors 10 per package IM ETXPA78BE sealing plug for 7 8 mini change connectors external 1 per package ETXPA78BI sealing plug for 7 8 mini change connectors internal 1 per package adapter ETXADRJM12 adapter RJ 45 to M12 for panel u mounting qm EIO0000000158 7 2009 19 Introduction 20 EIO0000000158 7 2009 Introduction EIO0000000158 7 2009 21 Introduction 22 EIO
43. d even after a power cycle No IP address server is required on the network When replacing a module you need to manually configure the same IP parameters in the replacement module You also need to manually maintain a list of assigned IP addresses Do not use duplicate IP addresses on your network A BootP server is required on your network to assign IP parameters to modules This server can exist on a PC or PLC and must be configured to assign specific IP settings to a module with a specific MAC address Each time a module is power cycled it will need to get its IP parameters from the BootP server If the server is not present the module will not get an IP address When replacing a module you only need to configure the new module for BootP and reconfigure the server to assign the IP settings to the new module s MAC address A DHCP server is required on your network to assign IP parameters to modules This server can exist on a PC or PLC There are two ways for a module to get its IP parameters from a DHCP server either by referencing a Device Name or instead a MAC address if the Device Name is blank The DHCP server must be configured in a similar manner to assign specific IP settings to a module by either method Each time a module is power cycled it needs to get its IP parameters from the DHCP server If the server is not present the module will not get an IP address When replacing a module using a Device Name to assign IP parameters you
44. dule is waiting for a response from a DHCP server BOOT The module is waiting for a response from a BootP server FACT The module is applying the factory IP address of 192 168 1 1 IP address information displayed on the HIMI Message Description DHCP 192 168 1 1 The IP address of 192 168 1 1 was acquired by a DHCP server BOOTP 192 168 1 1 The IP address of 192 168 1 1 was acquired by a BootP server FACTORY 192 168 1 1 The IP address is set to the factory IP address of 192 168 1 1 STATIC 192 168 1 21 The IP address of 192 168 1 21 was manually set by the user either through the embedded web pages or push buttons DEFx The module detects an IP conflict and defends its own IP address NOTE x number of times the module defends its IP address IP CONFLICT on The module detects an IP address conflict on 192 168 1 1 192 168 1 1 Module status information displayed on the HMI Message Description WLNK There is no Ethernet link on any ports of the switch PING The module is receiving PING requests on the network IO ERR A detected I O error exists on one or more points WD ACTIV The watchdog was triggered and is now active EIO0000000158 7 2009 91 Diagnostics 7 2 Diagnostic Web Pages Introduction The Advantys ETB I O modules provide embedded web pages that you can use to display the state of the modules Use these pages to verify settings and
45. e for communication purposes in the Advantys ETB I O modules What s in this Chapter This chapter contains the following topics Topic Page Modbus Registers 106 Output Data Registers 107 Input Data Registers 108 Ethernet Configuration Registers 110 Module Status Registers 111 Module Information Registers 112 YO and Watchdog Configuration Registers 113 EIO0000000158 7 2009 105 Process Image Maps Modbus Registers Description Each module presents a data image containing 3072 registers These registers are grouped into blocks according to their specific purpose as shown below 400001 Block 1 17 registers Output Data 400017 400018 Block 2 239 registers Reserved 400256 400257 Block 3 36 registers Input Data 400292 400293 Block 4 219 registers Reserved 400512 400513 Block 5 256 registers Ethernet Configuration 400768 400769 Block 6 256 registers IO Module Status 401024 401025 Block 7 1024 registers I O Module Information 402048 402049 Block 8 1024 registers I O Configuration 403072 106 EIO0000000158 7 2009 Process Image Maps Output Data Registers Description Modbus register 400001 maps output data to module I O points as follows Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 T Point 8 B Point 1 A Poem Point 1 B Font Be Point 2 A ROMERO Poin
46. e of 192 168 1 1 e a DHCP server e a BootP server You can select the source of the IP address by using either e web pages see page 42 e HMI push buttons see page 46 NOTE Stop I O communication with the module before you attempt to change the IP parameters as no such changes are possible during I O communication NOTE Assign a unique IP address to each Advantys ETB I O module before connecting it to your network Do not simultaneously connect multiple unconfigured Advantys ETB I O modules to your network because each unconfigured module is set to the same factory IP address of 192 168 1 1 NOTE Your IP address changes take effect and are displayed on the module s 4 character scrolling HMI panel when they are made You do not need to power cycle the module 40 EIO0000000158 7 2009 Configuration Recommended Practices for IP Configuration Overview Static BootP DHCP Each method of assigning an IP address has advantages and disadvantages Unlike the Internet PLCs typically communicate to I O modules using an IP address rather than a name It is key that the module uses the same IP address even after being power cycled For the majority of applications using a static IP address is the easiest to implement however it is important for you to choose the method of assigning an IP address that is appropriate for your network environment A static IP address is stored locally on the module and is retaine
47. e with DHCP server DHCP client Identifier 400534 R W 1 2 lower octets 0 255 Master controller IP address low byte 400535 R W 1 2 higher octets 0 255 Master controller IP address high byte 1 For example the IP address 172 16 27 172 would be represented as low byte OX1BAC 27 172 where 0x1B 27 and OxAC 172 e high byte OXAC10 172 16 where OxAC 172 and 0x10 16 NOTE It is recommended practice to use the module web pages to set the Ethernet parameters Only the master controller IP address set in registers 400534 and 400535 should be set using the PLC Registers 400536 400768 are not used 110 E100000000158 7 2009 Process Image Maps Module Status Registers Description These registers indicate module status They only use the first bit in each word like in the input process image Use RW access registers to write to and reset the event status using MBP_MSTR function blocks NOTE The RO access registers are for reference as they duplicate the information provided in the input process image Modbus Register Address Access Length words Values Description 400769 RO 1 O or 1 point 1 A Current Status 400770 RO 1 O or 1 point 1 B Current Status 400783 RO 1 O or 1 point 8 A Current Status 400784 RO 1 O or 1 point 8 B Current Status 400785 RW 1 0 or 1 point 1 A Event Status 400786 RW 1 0 or 1 point 1 B Event Status 2 400799 RW 1 0 or 1
48. ep Action 4 Select the desired source of IP address from the list XXX This selection displays the last octet of the present IP address Make this selection with the push buttons and use either the left or right push button to toggle the last octet of the IP address to a number from 1 to 254 use your PC s web browser to navigate to the IP Configuration page where you can configure the Subnet Mask and Gateway Address parameters DHCP Make this selection with the push buttons and e configure a DHCP server with the MAC address or Device Name and use your PC s web browser to navigate to the IP Configuration page where you can enter the Device Name if necessary BootP Make this selection with the push buttons and configure a BootP server with the MAC address and IP parameters for this module FACTORY This selection applies the factory IP address Subnet Mask Gateway Address and Device Name 5 When the desired source displays on the HMI remove pressure from the push button to select it as the new source of the IP address Your IP addressing changes will be applied 3 seconds after you remove pressure from the push button 6 Look at the module s 4 character HMI to confirm that the desired IP address has been applied Replace the plastic cover with a Phillips screwdriver Connect to the module using the new IP address EIO0000000158 7 2009 47 Configuration IP Address TCP Connection Descr
49. figuration General Information Password Setup Description Use this page to modify the password for web page access e Click Apply to save your changes NOTE You will then need to re login using your user name and new password NOTE You cannot change the existing user name or add new ones e Click Cancel to close the window without saving your changes Password Setup Password length must be less than 64 characters and must not contain any spaces Enter new password 00000 Re enter to confirm 00000 Reset to factory default admin 38 EIO0000000158 7 2009 Configuration 3 2 Configuring IP Address Settings Introduction This section shows you how to configure the Advantys ETB I O module s e IP parameters for the Advantys ETB I O module and e the IP address for an optional Master IP device What s in this Section This section contains the following topics Topic Page Introducing IP Parameters 40 Recommended Practices for IP Configuration 41 Configuring IP Parameters Using Web Pages 42 Configuring IP Parameters Using HMI Push Buttons 46 IP Address TCP Connection 48 EIO0000000158 7 2009 39 Configuration Introducing IP Parameters Introduction The module can obtain its IP address from any one of the following 3 sources e astatic IP address stored locally on the module that can be either e auser defined value or e the factory default valu
50. he fallback value is either configurable or the last stored value for the device G A combination of hardware and software that interconnects otherwise incompatible networks or networking devices Gateways include packet assembler disassembler pads and protocol converters 116 EIO0000000158 7 2009 Glossary HMI 1 0 I O module IEC Internet IP address human machine interface The screen of a device the design of which makes its use intuitive to the user input output The transfer of data to and from a computer In a programmable controller system an I O module interfaces directly to the sensors and actuators of the machine process This module is the component that mounts in an I O base and provides electrical connections between the controller and the field devices Normal I O module capacities are offered in a variety of signal levels and capacities International Electrotechnical Commission Carrier Founded in 1884 to focus on advancing the theory and practice of electrical electronics and computer engineering as well as computer science IEC 1131 is the specification that deals with industrial automation equipment A series of interconnected local regional national and international networks linked using TCP IP Internet links may be government university and research sites It provides E mail remote login and file transfer services Internet protocol That part of the TCP IP protocol fam
51. hernet switch located in each module eliminates the need for additional Ethernet switches 1 Quantum PLC 2 Ethernet switch 3 Advantys ETB I O modules 12 EIO0000000158 7 2009 Introduction Combination of Star and Daisy chain Combining star and daisy chain topology allows you to connect Advantys ETB I O modules with mixed I O blocks or additional network equipment Quantum PLC Advantys STB Island Ethernet switch Altivar drive Advantys ETB I O modules Magelis HMI device oOouRWN EI00000000158 7 2009 13 Introduction Application This diagram shows you an example of how to arrange your Advantys ETB I O modules in a daisy chain topology cabinet mounted PLC 1 2 Ethernet interface module on PLC system 3 Ethernet adapter 4 Ethernet connector cable 5 24 VDC power supply Note Alternatively the power supply could be mounted in the cabinet 6 power supply cable 7 machine 8 Advantys ETB I O modules mounted on machine 14 EIO0000000158 7 2009 Introduction Advantys ETB for Modbus TCP IP Introduction This topic provides you with the part numbers and descriptions of the Advantys ETB I O modules as well as the associated cables and accessories Advantys ETB I O Modules for Modbus TCP IP Advantys ETB I O modules provide 16 I O points on 8 I O por
52. iable array holds the data returned by scanning the ETBE1M16CPOO module s inputs Although the scan includes 36 words of input data only array element 36 watchdog state is relevant to this application example as it is used in the structured text code 78 EIO0000000158 7 2009 Application Configuring I O Scanning Description Model Family For the purpose of this application example I O scanning is configured to read 1 word of input data and 35 words of status data for the ETBE1M16CP00 module including e the input data the port identifier the current status for each of the 16 communication points 1 A 8 B the event status for each of the 16 communication points 1 A 8 B the module s global status the module s power status e the module s watchdog state I O scanning is configured in the I O Scanning page of the Network Configuration window Access this window from the Project Browser by selecting Project Name Communication Networks Network Name On each scan the PLC copies 36 words on input data to the ETB Input Data see page 78 variable array The last element in the array ETB Input Data 36 holds the module s watchdog state The application s function block code uses this element to toggle the save client configuration register which thereby resets the watchdog after communications have been lost and then restored Module Address Module Utilities Module IP Address I
53. ily that tracks the Internet addresses of nodes routes outgoing messages and recognizes incoming messages The 32 bit address associated with a workstation in connection with TCP IP Internet EIO0000000158 7 2009 117 Glossary LED link MAC address Modbus network NPN inputs NPN outputs Light emitting diode An indicator that lights up when electricity passes through it It indicates the operation status of a communications module Physical connection between two nodes in a network It can consist of a data communication circuit or a direct channel cable connection The media access control address of a device which is burned into a DNI card and is added near the beginning of the packet Modbus is an application layer messaging protocol Modbus provides client and server communications between devices connected on different types of buses or networks Modbus TCP is the Modbus type that transmits data over Ethernet N An interconnected system of computers that can communicate with each other and share files data and resources The field sensor sink or pull current from input circuitry of the module to 0 VDC NPN outputs are sinking type outputs also referred to as True Low When energized the outputs pull current through the load to turn on the field device 118 EIO0000000158 7 2009 Glossary ping PLC PNP inputs PNP outputs port process image protocol packet Inter
54. in the perimeter slotted holes and an M4 8 bolt in the center hole to attach the module to a flat surface Make sure to properly torque so as not to overtighten and damage the module case The topic Size and Dimensions see page 27 provides dimensions that you can use to prepare your panel or machine for mounting 58 EIO0000000158 7 2009 Installation Connecting Cables Introduction Connect the cables to complete the physical installation of the module The chapter YO Wiring Diagrams see page 64 shows a diagram using Schneider Electric cables see page 16 A WARNING Personal Injury Make sure you disconnect the power before attaching any cables Failure to follow these instructions can result in death serious injury or equipment damage Step Action 1 Attach a PE ground cable per your local electric code 2 Connect I O cables 3 Connect Ethernet network cables 4 Connect the power cables 5 Cover unused ports with sealing plugs EIO0000000158 7 2009 59 Installation 8 q 5 6 859 a op i 1 2 l o HAZ o 1 Physical Earth PE 2 two 5 pin power connectors including input left and output right 3 eight 5 pin I O port connectors 2 points each 4 two 4 pin Ethernet network connectors Ground Cable Attach the module to a ground ca
55. iption Use the TCP Connection page to e input the IP address of master controller and e display TCP connection statistics TCP Connection Current TCP Connection Total TCP Connection TCP Time out 0 Master Controller IP Address Identifying a Master Controller Use the Master Controller IP Address field to enter the IP address of master device This device is exclusively permitted to execute write commands to the module s outputs Other devices can still read the module information Changes made to the Master Controller IP Address field take effect when you click Apply If the value of this field remains set to the default of 0 0 0 0 no master device is identified and any device can execute write commands to the module s outputs TCP Connection Data The TCP Connection page displays the following statistics describing the module s TCP connection Field Description Current TCP Connection This shows the number of presently open TCP connections Total TCP Connection This shows a count of TCP connections since the last Refresh command or power cycle TCP Time out This shows a count of times that communications have been lost since the last Refresh command or power cycle Click Refresh to clear the two counting fields 48 EIO0000000158 7 2009 Configuration 3 3 Configuring Module Settings Overview This section shows you how to use the embedded web pages to configure the follo
56. is chapter shows you how to configure the IP and I O settings for your module Note that the Application see page 67 chapter provides examples of configuring these settings What s in this Chapter This chapter contains the following sections Section Topic Page 3 1 Using the Embedded Web Pages 34 3 2 Configuring IP Address Settings 39 3 3 Configuring Module Settings 49 EIO0000000158 7 2009 33 Configuration 3 1 Using the Embedded Web Pages Overview Advantys ETB I O modules contain embedded web pages This section introduces these web pages and shows you how to manage your password The remaining web pages are described elsewhere in this document What s in this Section This section contains the following topics Topic Page Accessing the Embedded Web Pages 35 General Information IP Physical Information Page 37 General Information Password Setup 38 34 E100000000158 7 2009 Configuration Accessing the Embedded Web Pages Introduction Before you begin be sure that both your PC and the Advantys ETB I O module are configured with IP addresses that are located in the same subnet or alternatively are connected via a routing mechanism Step Action 1 Using either a straight or crossed Ethernet cable connect the module to a PC running a standard web browser On your PC open a web browser then a Enter the module s
57. iscards Out Errors I CI In Octets In Ucast Packets 0 Alignment Errors Single Collisions LUE A In NUcast Packets u In Discards 0 Multiple Collisions Deferred Trans In Errors In Unknown Pratos Excessive Collisions Frame Too Long Out Octets Out Ucast Packets Out NUcast Packets 0 Out Discards Out Errors 0 96 EIO0000000158 7 2009 Diagnostics Interface counters Field Description In Octets Number of packets received in the interface In Ucast Packets Number of unicast packets received in the interface In NUcast Packets Number of non unicast packets received in the interface In Discards Number of inbound packets discarded In Errors Number of incoming packets with detected errors undersize fragments oversize jabbers detected symbol error detected CRC error detected alignment error In Unknown Protos Inbound packets discarded due to unknown or unsupported protocol Out Octets Number of output packets transmitted in the interface Out Ucast Packets Number of unicast output packets transmitted in the interface Out NUcast Packets Number of non unicast output packets transmitted in the interface Out Discards Number of outbound packets discarded Out Errors Number of outbound packets that could not be transmitted due to detected errors
58. lacement depends on how they were configured for the original module If configured with the PLC e The module settings for the replacement are automatically configured once the IP address and if applicable master controller IP address assignments are complete If configured with the embedded web pages e Obtain the originally configured module settings e See the topic on Configuring the Watchdog see page 54 for instructions on assigning module settings such as fallback values and see the topic on Configuring I O see page 51 for instructions on configuring the I O parameters for ETB1EM16CPO00 NOTE You can only configure the I O settings for ETB1EM16CP00 and using the PLC will facilitate future module replacement Mounting Replacement Screw the module back in place making sure to properly torque so as not to overtighten and damage the module case Attaching Cables Attach the cables to the replacement in the same locations as they were on the original module Verifying Settings Verify that the connections and configurations match those of the original module Then apply output power and check module functionality EIO0000000158 7 2009 101 Replacement 102 E100000000158 7 2009 Appendices EIO0000000158 7 2009 103 104 E100000000158 7 2009 Process Image Maps for the Advantys ETB I O Modules A Overview The following topics describe the Modbus registers that are availabl
59. master controller IP address if applicable and the related settings identical to the ones assigned to the original For a static IP address and the related settings e Retrieve the original IP address e Refer to the topic Configuring IP Parameters see page 43 to use the web pages or see the topic Manipulating Push Buttons see page 46 to use the HMI push buttons Make sure to modify the IP address and the related settings to match those of the original For a BootP assigned IP address e Retrieve the original IP address e Referto the topic Configuring IP Parameters see page 45 to use the web pages or see the topic Manipulating Push Buttons see page 46 to use the HMI push buttons Make sure to modify the server to serve the original IP address to the module s MAC address For a DHCP assigned IP address e Retrieve the original Device Name e Referto the topic Configuring IP Parameters see page 44 to use the web pages or see the topic Manipulating Push Buttons see page 46 to use the HMI push buttons Make sure to modify the Device Name to match that of the original If applicable make sure you set the master controller IP address to be identical to the one assigned to the original Refer to the topic Identifying a Master Controller see page 48 for instructions on assigning this address 100 E100000000158 7 2009 Replacement Configuring Remaining Module Settings Configuring the module settings for the rep
60. module using 2 inputs per port EI00000000158 7 2009 65 VO Wiring Diagrams 1 Input and 1 Output The ETB1EM16CP00 is a configurable module that allows you to connect to any combination of up to 16 inputs or outputs This diagram shows a connection where an input and output are connected to a single port 66 EIO0000000158 7 2009 Application Example Configuring the Advantys ETB I O Module for use with a Quantum Processor 6 Overview This chapter presents a sample configuration of the ETB1EM16CP00 configurable I O module connected to a Quantum PLC via a NOE 771 01 communications module The application example shows you how to configure the module s e IP parameters using the module s embedded web pages and e O and watchdog settings using Unity Pro running on a PC connected to the Quantum PLC What s in this Chapter This chapter contains the following sections Section Topic Page 6 1 Configuring IP Parameters 68 6 2 Configuring the I O and Watchdog in Unity Pro 72 EIO0000000158 7 2009 67 Application 6 1 Configuring IP Parameters Introduction This application example uses the ETB1EM16CP00 module s embedded web pages to configure its IP parameters What s in this Section This section contains the following topics Topic Page Accessing the Embedded Web Pages 69 Setting a Static IP Address 71 68 EIO0000000
61. need to configure the replacement module for DHCP and set the same Device Name as the module being replaced If using the MAC address to assign IP parameters you need configure the replacement module for DHCP and leave the Device Name blank You also need to change the MAC address used by your DHCP server to that of the replacement module EIO0000000158 7 2009 41 Configuration Configuring IP Parameters Using Web Pages Introduction You can use the module s IP Configuration embedded web page see page 35 to e specify the source of IP parameters for the module e configure user defined static IP parameters and e input a Device Name value for DHCP server assigned IP parameters IP Configuration Static IP IP Address Subnet Mask Gateway Address DHCP Client Device Name BOOTP Client Factory IP 192 168 1 1 caa Accessing the IP Configuration Page To access the IP Configuration embedded web page for IP parameter configuration Step Action 1 Access the embedded web pages see page 35 using the module s present IP address initially the factory default address of 192 168 1 1 The Home page opens On the left side of the web page under IP Address select IP Configuration Make your edits in the IP Configuration page 42 EIO0000000158 7 2009 Configuration Step Action After your edits are complete click Apply to save the new IP configuration The following
62. net groper To test the network by trying to reach a destination with an ICMP echo request and waiting for a reply type ping exe at the command line programmable logic controller An industrial control computer also known simply as a controller The sensor sources or push current from the field sensor to the input circuit of the module typically a 24 VDC signal PNP outputs are source type output also referred to as True High When energized the output pushes current through the load to turn the output device on The physical connector on a device enabling the connection to be made Serves as a real time data area for the data exchange process The process image includes an input buffer that contains current data and status information from the module and an output buffer that contains the current outputs for the module Any standard method of communicating over a network EIO0000000158 7 2009 119 Glossary server subnet switch timeout topology A computer that provides resources to be shared on the network such as files file server or terminals terminal server A part of a network that shares a network address with the other parts of a network A subnet may be physically and or logically independent of the rest of the network A part of an internet address called a subnet mask which is ignored in IP routing distinguishes the subnet A multiport Ethernet device designed to increase network performan
63. ng instructions that e detect that the watchdog is active and e toggle ON and OFF the command that saves the module configuration In the following example for a Unity Pro project using a Quantum master structured text code resets the watchdog to its inactive state NOTE A power cycle will also reset the watchdog if communications have been restored The sample program uses both structured text and function block code to reset the watchdog On each scan first the structured text then the function block code executes This example employs the following variables Variable name Data Type Starting address Comment in PLC in Module FirstPass BOOL An unassigned variable with default value of FALSE Watchdog Reset BOOL MW601 mE A located variable assigned to the Databuf parameter of a MBP_MSTR block that toggles the save module configuration register Watchdog Write Enable BOOL E An unassigned variable assigned to the Enable parameter of a MBP MSTR block that toggles the save module configuration register ETB Read Input Data ARRAYT 1 36 MW201 Modbus The element at array position 36 contains see page 78 OF INT Register the watchdog state detected by I O 400257 scanning see page 79 80 EIO0000000158 7 2009 Application The following structured text code executed in multiple scans employs the above described variables and operates in conjunction
64. o the same as the Config Read Control variable array except that the first element the Operation type is set to 1 indicating a write operation EIO0000000158 7 2009 77 Application Watchdog Write Control This variable array contains the Control parameter elements of a MBP_MSTR block It operates in conjunction with both the structured text and a MBP_MSTR function block to toggle the save client configuration bit ON or OFF which must be performed after communications are restored and before resuming normal operations Unlike the Config Read Control and Config Write Control variable arrays the Watchdog Write Control variable array writes to a single register Name CICLO M Watchdog Write Control Watchdog Write Contro Watchdog Write Contro Watchdog Write Contro Watchdog Write Contro Watchdog Write Contro Watchdog Write Contro Watchdog Write Contro Watchdog Write Contro Watchdog Write Contro ETB Input Data 1 2 3 4 5 6 7 8 9 Type v Address w ARRAY 1 9 OF INT MW 591 INT MW591 INT MW592 INT MW593 INT MW594 INT MW595 INT MW596 INT MW597 INT MW 598 INT MW 599 Value 1 2049 16 0300 192 168 1 21 Comment v Operation type 1 WRITE Error status Number of registers to read Starting register to read Routing register MSB 3 for NOE Byte 4 ofIP address ES Byte 3 of IP address Byte 2 of IP address Byte 1 of IP address v This var
65. onfiguring I O with Function Block Code 82 72 E100000000158 7 2009 Application Recommended Practices for Using the PLC Overview The below actions are the recommended practices for using the module in conjunction with the PLC While these steps are preferred for optimal operation they are not required for normal system function MSTR Blocks Set the following parameters using MSTR blocks to facilitate device replacement e O Module Configuration e Save I O Module Configuration VO Data While in normal operation continually monitor the global status of the module before trusting input data and writing output data e If the global status is 0 you can write I O data e Ifthe global status is 1 do not write I O data as the information should not be trusted and the actuator may not turn on Code Writing Review module configuration at startup and after any system interruption The PLC reads the module settings and compares the data to the configuration assignments e If the data matches e You can trust the data that is read from the module e You can write new data on the PLC e f the data does not match e Do not write new data on the PLC e Instead rewrite the configuration assignments to the module e Read back the data to confirm a match e If the data matches you can trust the information read from the module and can write new data on the PLC EIO0000000158 7 2009 73 Application Introducing
66. or the pre configured modules For example with the ETB1EM08E08SPPO module the output shows as an echo in the input process image Configuring I O settings via the PLC simplifies module replacement because the configuration is stored on the PLC and does not have to be re configured in the web pages when a module is replaced Refer to the application example see page 72 to configure ETB1EM16CP00 in Unity Pro with a Quantum PLC via a NOE 771 01 communications module EIO0000000158 7 2009 51 Configuration Web Pages The IN OUT Configuration page displays the configuration of the module s input and output points This page is configurable for ETB1EM16CP00 and read only for all other modules IN OUT Configuration j I lololo Jeg ojo o O O I E gt O se sE DO lolololo T vi ae is lolo lolololo O o sB 1 O o o 4 3A 1B mo eee e 8 0 gt O O 5 o ojojo Input Type Input Filter 52 EIO0000000158 7 2009 Configuration After you access the embedded web pages see page 35 you can configure the I O settings for ETB1EM16CP00 as follows Step Action 1 Navigate to the IN OUT Configuration page by clicking the left pane of the main web page 2 Select an I O Type for each point e IN the selec
67. potentially hazardous situation which if not avoided can result in minor or moderate injury CAUTION CAUTION used without the safety alert symbol indicates a potentially hazardous situation which if not avoided can result in equipment damage 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 the installation and has received safety training to recognize and avoid the hazards involved EIO0000000158 7 2009 About the Book A At a Glance Document Scope Advantys ETB IP67 Ethernet modules are block I O with embedded 2 port Ethernet switches The modules are intended for high moisture environments and they provide connectivity to sensors actuators through Ethernet Modbus messaging This document describes the following ETB IP67 models Model Number Description ETB1EM16CP00 16 I O points each point configurable as input or output ETB1EM16EPPO 16 PNP inputs 0 outputs ETB1EM12E04SPPO 12 PNP inputs 4 PNP outputs ETB08E08SPPO 8 PNP inputs 8 PNP outputs Validity Note User Comments We welcome your comments about this document You can reach us by e mail at techcomm schneider ele
68. power I O points and network link status e 2 power LEDs output O and input module I e 16 logic sided I O point LEDs e 2 Ethernet network link LEDs NOTE If you cannot see the physical 16 I O point LEDs you can instead use the web page labeled I O Status see page 94 EIO0000000158 7 2009 89 Diagnostics The following table shows the LEDs and their indications LED Position Indication 1 O green on output power source present e off output power source not present 2 green e on input module power source present e off input module power source not present 3 PWR not used 4 VO green input or output active e red detected error on I O points see page 28 e off input or output not active 5 Link e solid green link at 100 Mbit without activity e flashing green link at 100 Mbit with activity e solid yellow link at 10 Mbit without activity e flashing yellow link at 10 Mbit with activity 90 EIO0000000158 7 2009 Diagnostics Scrolling LED Messages Description The module s scrolling LED displays messages for you to check the module s status During normal operation only the source of the IP address the address itself and the state of the I O scanning is displayed The HMI shows the following specific data when available Source information displayed on the HMI Message Description DHCP The mo
69. quently the next 3 lines of code execute e theWatchdog Write Enable Boolean is turned ON triggering the operation of a MBP MSTR block e the Watchdog Reset Boolean is set to 0 toggling OFF the save module configuration register when the MBP_MSTR block executes Subsequent scan Because none of the conditions required by the IF NOT and the ELSIF lines are satisfied none of the conditional code executes Normal operation has resumed EIO0000000158 7 2009 81 Application Configuring I O with Function Block Code Introduction The sample application program employs function block code to e check the accuracy of I O and watchdog settings in the ETBE1M16CP00 I O module and e communicate the watchdog reset after communication between the PLC and the module is restored after a communication loss The application includes a total of four sequences of function block code described below Checking I O and Watchdog Settings The application program uses the following three function block sequences to check the accuracy of the module s I O and watchdog settings FB Sequence 1 This FB sequence triggers the first read of the ETB module s I O and watchdog settings It begins when the First Scan Bit a system bit is set to 1 and runs until the Config Read Success bitis set to 0 in FB Sequence 2 below 7 Enable ETB Module First Scan Bit Config Read Enable Config Read Error TestBit 01 Config Read Enable
70. se the push buttons located on the front of the module above the 4 character HMI display see page 23 to e setthe source of the module s IP address e assign the factory address of 192 168 1 1 and e assign a new static IP address by modifying the last octet of the current IP address NOTE The remaining IP parameters Subnet Mask Gateway Address and Device Name cannot be configured using the HMI push buttons Push Button Behavior Use the below diagrams when manipulating the push buttons The right push button increments A PL XXX XXX XXxx 001 gt XXX XXX XXX 254 DHCP gt BOOTP FACTORY Ti The left push button decrements XXX XXXx xXxx 001 j XXX XXX XXX 204 DHCP ke BOOTP M FACTORY Manipulating Push Buttons To set the source of the IP address Step Action 1 Stop all communication with the module 2 Use a Phillips screwdriver to open the plastic cover on the display 3 When the IP addressing source is displayed use the screwdriver or a similar shaped object to toggle either of the push buttons Press the push button once to advance to the next selection or hold the button down and the display will increment by itself 46 EIO0000000158 7 2009 Configuration St
71. t 2 B rome ee Point 3 A Pome A Point 3 B Hos B Point 4 A Point5 A Point 4 B The value configured for each output 0 or 1 drives the output point Registers 400002 400017 are not used EIO0000000158 7 2009 107 Process Image Maps Input Data Registers Introduction The input data image consists of 36 registers Register numbers Description 400257 The data from up to 16 inputs or the echo from the outputs 400258 400292 The following input status data e the current status of each input point the event status of each input point global status power status watchdog status Input Data Modbus register 400257 maps input data to module I O points as follows Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Point 8 B Point 1 A Point 8 A Point 1 B Point 7 B Point 2 A Point 7 A Point 2 B Ponte Point 3 A Kl Point 3 B Fonts B Point 4 A Point5 A Point 4 B All data presented by Modbus registers 400257 through 400292 are read only Input Status Registers The following registers contain input status data all of which are assigned to bit O within the word Modbus Register Address Access Length In word Description 400258 RO 1 PIN P1 A Current Status 400259 RO 1 PIN P1 B Current Status 400272 RO 1 PIN P8 A Current Status 400273 RO 1 PIN P8 B Current Status 400274 RO 1 PIN P1 A Event
72. tage on N A 1 Vdc state drop point Output type N A sourcing PNP Input signal voltage 2V 5V Co Input signal voltage 10V 30V e Input filter 2 5 ms configurable 24 EIO0000000158 7 2009 Specifications and Physical Description Data Model Number ETB1EM16EPPO ETB1EM08E08SPPO ETB1EM12E04SPPO ETB1EM16CP00 Input short circuit per 600 mA 24 Vdc current limit on pin 1 per port point Input current per 140 mA point Input type PNP PNP NPN configurable Operating temperature 25 C 70 C Storage temperature 40 C 85 C Vibration resistance conforms to IEC68 2 6 EMC EN 61000 6 2 Protection class IP67 MTBF 296 000 hours at 30 C GB ground benign EIO0000000158 7 2009 25 Specifications and Physical Description Front Face Description The front face of the module includes the mounting holes connectors port connector labels LEDs push buttons and the HMI display The details and locations of these features are shown below 4 i Jo OR 3 4 i 1 2 0 e my f LINK LINK 9 o FAN o 9 1 five mounting holes including the center one 2 two 5 pin power connectors including input left and output right to connect the next module in the system 3 three power LEDs O output PWR not used both input and module 4 sixteen I
73. ted point is configured as an input e OUT the selected point is configured as an output e IN OUT the selected point will auto configure as an e input if it detects that it is connected to a sensor or output if it detects that it is connected to an actuator 3 Select the Input Type for all points acting as inputs e PNP e NPN 4 Select an Input Filter value Valid values include 0 ms 0 5 ms 1ms 1 5 ms 2ms 2 5 ms 5 ms 5 Click Apply to save your I O configuration changes NOTE If the module needs to be replaced you need to re configure the replacement module with the same parameters EIO0000000158 7 2009 53 Configuration Configuring the Watchdog Introduction PLC During normal operations each Advantys ETB I O module remains in continuous communication with the Modbus master usually a PLC If communication with the Modbus master is lost the behavior of the Advantys ETB I O module s outputs is governed by its watchdog settings The following settings are configurable Setting Description Watchdog Timeout The time period in milliseconds that the module waits after the communication with the Modbus master is lost and before adopting the pre configured Watchdog Behavior Watchdog Behavior The behavior that the module s output points will adopt if communication with the Modbus master is lost for a continuous period greater than the Watchdog Timeout Choices
74. tion settings module Ethernet Modbus TCP IP communication configuration settings e e e e module firmware data EIO0000000158 7 2009 Introduction System View Description Advantys ETB I O modules can be used with a protocol compliant scanner as part of control system architecture The modules built in unmanaged 2 port Ethernet Switch allows you to use the network topology that meets your application needs These topologies include the following e star e daisy chain e combination of star and daisy chain Star Star topology allows you to connect mixed I O blocks or additional network equipment Performing maintenance on one module for example by removing the network cable or by cycling power to the module does not affect other modules Quantum PLC Ethernet switch Advantys STB Island Magelis HMI device Advantys ETB I O modules CAGQNA EI00000000158 7 2009 11 Introduction Daisy chain You can create a daisy chain topology by using the module s embedded switch ports to connect a series of up to 8 Advantys ETB I O modules NOTE When considering the daisy chain topology note that e Performing maintenance on any module not physically located at the end of the daisy chain for example by removing the network cable or by cycling power to the module affects any modules located down the chain from the maintained module e The embedded dual port Et
75. ts 2 points per port Each model is distinguished by the number of I O ports designated as inputs and outputs The Modbus TCP IP product line includes the following modules Model Number Description ETB1EM16CP00 16 I O points each configurable as an input or output NOTE You can configure ETB1EM16CPOO for either PNP or NPN inputs ETB1EM16EPPO 16 PNP inputs 0 outputs ETB1EM12E04SPPO 12 PNP inputs 4 PNP outputs ETB1EM08E08SPPO 8 PNP inputs 8 PNP outputs 1 PNP Inputs refer to the sensor source or push current from the field sensor to the input circuit of the module 2 PNP Outputs are the source type output also referred to as true high output When energized the output pushes current through the load to turn on the output point EIO0000000158 7 2009 15 Introduction Cables and Accessories The Modbus TCP IP product line includes the following cables and accessories Type Model Number Description Image sensing cables ETXSC412M1M3010 YO cable M12 connector 1 m 3 28 ft long ETXSC412M1M3020 I O cable M12 connector 2 m 6 56 ft long ETXSC412M1M3050 I O cable M12 connector 5 m 16 40 ft long n f il ETXSC412U1M3010 VO cable Ultra Lock and M12 connector 1 m 3 28 ft long ETXSC412U1M3020 I O cable Ultra Lock and M12 connector 2 m 6 56 ft long ETXSC412U1M3
76. wing e O assignments for the module with configurable I O e watchdog settings for Modbus TCP IP modules What s in this Section This section contains the following topics Topic Page Recommended Practices for Configuring Module Settings 50 Configuring I O for ETB1EM16CPOO 51 Configuring the Watchdog 54 EIO0000000158 7 2009 49 Configuration Recommended Practices for Configuring Module Settings Overview PLC Web Pages You can configure the Advantys ETB I O module s I O and watchdog settings using either the PLC or web pages Configuring the I O and watchdog using the PLC instead of the embedded web pages is recommended because e configuration settings can be saved in the PLC and can be easily reapplied to a replacement module e applying configuration settings saved in the PLC reduces the likelihood of errors introduced by manually configuring the module The embedded web pages offer a convenient method for configuring the module s I O and watchdog settings However configuration settings made to a module via its web pages cannot be transferred to a replacement module If you elect to configure a module using its embedded web pages you should also e edit your application program in the PLC to include the same configuration settings or e maintain a record of the configuration settings which can be re applied if and when the module needs to be replaced 50 EIO00000
77. x Display ETB1EMO8EO8SPPO 31 ETB1EM12E04SPPO 31 ETB1EM16CP00 31 ETB1EM16EPPO 31 E embedded web pages 42 92 accessing 69 ETB1EMO8EO8SPPO 35 71 ETB1EM12E04SPPO 35 71 ETB1EM16CP00 35 71 ETB1EMI16EPPO 35 71 in out configuration 52 Ethernet cables ETB1EM08E08SPPO 60 ETB1EM12E04SPPO 60 ETB1EM16CP00 60 ETB1EM16EPPO 60 Ethernet configuration registers ETB1EMOS8EO08SPPO 110 ETB1EM12E04SPPO 110 ETB1EM16CP00 110 ETB1EM16EPPO 110 Ethernet status ETB1EM08E08SPPO 96 ETB1EM12E04SPPO 96 ETB1EM16CP00 96 ETB1EM16EPPO 96 F fallback ETB1EMOS8EO8SPPO 54 ETB1EM12E04SPPO 54 ETB1EM16CP00 54 ETB1EM16EPPO 54 G ground cable ETB1EMO8E08SPP0 60 ETB1EM12E04SPPO 60 ETB1EM16CP00 60 ETB1EM16EPPO 60 H HMI human machine interface 46 ETB1EMO8E08SPP0 31 ETB1EM12E04SPPO 31 ETB1EM16CP00 31 ETB1EM16EPPO 31 human machine interface HMI 46 ETB1EMO8EO8SPPO 31 ETB1EM12E04SPPO 31 ETB1EM16CPO00 31 ETB1EM16EPPO 31 I O assignments ETB1EMO8E08SPP0 30 ETB1EM12E04SPPO 30 ETB1EM16CP00 30 ETB1EM16EPPO 30 I O cables ETB1EMO8E08SPP0 60 ETB1EM12E04SPPO 60 ETB1EM16CP00 60 ETB1EM16EPPO 60 I O configuration PLC programmable logic controller 51 programmable logic controller PLC 51 I O data read only ETB1EMO8E08SPP0 93 ETB1EM12E04SPPO 93 ETB1EM16CP00 93 ETB1EM16EPPO 93 I O registers ETB1EMO8EO8SPPO 113 ETB1EM12E04SPPO 113 ETB1EM16CP00 113 ETB1EM16EPPO 113
78. y the factory default static IP address as follows Step Action 1 Stop all other communication with the module 2 In the IP Configuration page select Factory IP NOTE This also sets the Subnet Mask to 255 255 255 0 and the default Gateway Address to 0 0 0 0 Click Apply to save the factory default IP address of 192 168 1 1 Microsoft Internet Explorer X Do you want to continue 2 If the IP address is modified you will lose the Ethernet connection Click OK to accept your IP parameter changes Look at the module s scrolling 4 character HMI to confirm that the factory default IP address is displayed Connect to the module using the factory default IP address of 192 168 1 1 Configuring the Module to Receive IP Parameters from a DHCP Server After accessing the IP Configuration page configure the module to receive its IP address from a DHCP server as follows Step Action 1 Stop all other communication with the module 2 In the IP Configuration page select DHCP Client 3 Type in a Device Name up to eight alphanumeric characters including underscores NOTE If the Device Name field is left blank the DHCP server assigns IP parameters based on the module s MAC address 4 Click Apply to save your IP parameter changes Microsoft Internet Explorer Do you want to continue 2 If the IP address is modified you will lose the Ethernet connection

Download Pdf Manuals

image

Related Search

Related Contents

  Graco Inc. 224-094 Paint Sprayer User Manual  König CMP-SWITCH95U video splitter  Tristar KP-6243 hob  05 2013 Solar EN.indd  

Copyright © All rights reserved.
Failed to retrieve file