background image

M

ODBUS

 TCP C

ONFIGURATION

Modbus TCP Protocol

ADVANCED MICRO CONTROLS INC.

70

Notes

Summary of Contents for NEXUS NX2A4E2

Page 1: ...MICRO CONTROLS INC ADVANCED U s e r M anual Manual 940 0N090 E2 Technology...

Page 2: ...ls and workmanship for a period of 18 months Within this warranty period AMCI shall at its option repair or replace free of charge any equipment covered by this warranty which is returned shipping cha...

Page 3: ...Blocks 24 Multi word Data Format 24 Single Resolver Data Format 25 Dual Resolver Data Format 26 Reference Configuring Network Interfaces Firewall Settings 29 Disable All Unused Network Interfaces 29 C...

Page 4: ...60 Configure the NX2A4E2 60 Task EtherNet IP Explicit Messaging Required Message Instructions 61 Create Four New Data Files 61 Add the Message Instructions to your Ladder Logic 62 Troubleshooting 65 T...

Page 5: ...ory 940 0N090 Initial Release Navigating this Manual This manual is designed to be used in both printed and on line formats Its on line form is a PDF document which requires Adobe Acrobat Reader versi...

Page 6: ...site Chapter Title Page Intended Audience NX2A4E2 Introduc tion 7 Anyone new to the NX2A4E2 This chapter gives a basic overview of the features available on the unit typical applications and spec ific...

Page 7: ...resolver transducers are typically single turn devices but can have a gear train between the input shaft and the internal resolver Dual resolver transducers are designed for high resolution multi turn...

Page 8: ...transducers Dual Resolver Transducers This type of transducer has two resolvers in the transducer package that are geared in such a way that the trans ducer yields a high resolution absolute position...

Page 9: ...econds in the next thirty four the input transition is considered noise and the brake cycle is aborted The next transition on the Brake Input starts another brake cycle If the Brake Trigger Input is n...

Page 10: ...nd gives you programmable control over whether or not transducer faults are self clearing or latched Self clearing faults clear themselves as soon as the resolver signals return to valid values Latche...

Page 11: ...arameter defines the type of dual resolver transducer attached to the NX2A4E2 This parameter has five values 100 180 1 000 1 800 and 128 The 100 180 1 000 and 1 800 values program the module to inter...

Page 12: ...ption Figure R1 3 shows the front panel layout of the NX2A4E2 Resolver Interface Note that the unit ships with four Phoenix Contact connectors that are not shown for clarity The RS485 channel which is...

Page 13: ...l This state can be disabled if the channel is not used Solid Green The channel is not in fault and is reporting position data This state can be disabled if the channel is not used LED State EtherNet...

Page 14: ...ee Stop Time Monitoring found on page 9 for a complete description of how the brake input is used LED State EtherNet IP Definition Modbus TCP Definition PROFINET Definition Off No Power No power or no...

Page 15: ...me Programmable to 24 or 120 milliseconds Stop Time Monitor On board timer measures the time between the on to off transition of a digital input and the cessa tion of movement on transducer channel on...

Page 16: ...NX2A4E2 INTRODUCTION NX2A4E2 User Manual ADVANCED MICRO CONTROLS INC 16 Notes...

Page 17: ...gle resolver channel then channels 3 and 4 both become single resolver channels and the programming for channel 4 is also applied to channel 3 Input data is broken down into four word blocks for singl...

Page 18: ...ule uses words 1 through 9 to program channel 1 Note that only one channel can be programmed at a time If this bit is a 1 then bits 7 6 and 5 of this word must be 0 Bit 03 Apply_Preset4 When set to 1...

Page 19: ...the channel s front panel status LED The channel itself remains active and transmits fault information to the host controller When this bit is a 0 the LED is disabled When this bit is set to 1 the LE...

Page 20: ...4E2 to interface with two dual resolver transducers two programming blocks are needed Figure R2 4 Single Resolver Output Data Format Multi word Data Format The Full Scale Count Linear Offset and Prese...

Page 21: ...0 Bit 02 Apply_Preset2 When set to 1 the module sets the multi turn position for the second dual resolver channel to the value of the MCH2 Preset Value parameter The MCH2 Preset Value has a factory d...

Page 22: ...t to 0 the tachometer response time is set to 120 milli seconds When set to 1 the tachometer response time is set to 24 milliseconds Bit 01 XFltLatch When set to 0 the transducer fault latch is disabl...

Page 23: ...value of 36 in word 2 and a value of 0 in word 3 Linear Offset Words 4 5 This parameter changes the range of counts available over the programmed number of turns The reported position value equals th...

Page 24: ...n the Data Block is for single resolver transducer and the right block is for when the Data Block is for one dual resolver transducer Words 16 and 17 will only contain data if the NX2A4E2 has a single...

Page 25: ...the chan nel s front panel status LED is blinking green the fault can be cleared by issuing a programming block with the Reset_Error bit set to 1 If the status LED is blinking red then there is an err...

Page 26: ...ord Format Bit 15 Acknowledge Used to control the flow of programming data to the NX2A4E2 The NX2A4E2 sets this bit in response to the Transmit bit being set by the host Programming error bits in the...

Page 27: ...er outside its valid range of Linear Offset to Linear Offset Full Scale Count 1 Bit 04 LinearOffset_Err Set to 1 when you attempt to program the channel s Linear Offset parameter outside its valid ran...

Page 28: ...DATA FORMATS NX2A4E2 User Manual ADVANCED MICRO CONTROLS INC 28 Notes...

Page 29: ...ften go out the wrong port The easiest way to avoid this problem is to temporarily disable all network interfaces that are not attached to the NX2A4E2 This includes all wireless interfaces as well as...

Page 30: ...s window Double click on the appropri ate interface In the window that opens select Internet Protocol Version 4 TCP IP v4 from the list and then click on the Properties button Set the address and subn...

Page 31: ...ounded before the unit is mounted on it 1 1 3 Remove Power Before Servicing Remove power before removing or installing the NX2A4E2 module 1 2 General Wiring Guidelines When wiring any control system t...

Page 32: ...be installed When mounting an NX2A4E2 on DIN Rail the included plastic DIN rail brackets will electrically isolate the unit A grounding wire must be run from the grounding pin on the power connector t...

Page 33: ...ector to the system ground bus must be installed Refer to 1 4 Power Wiring on page 35 for additional information You will need to ground the resolver cable shields at the unit There is a shield pin on...

Page 34: ...e resolver cable shields at the unit There is a shield pin on each trans ducer input connector but you have the option to ground them on the DIN rail as well 1 Remove a panel bracket two 8 screws and...

Page 35: ...et switch connects the two In non redundant applications either port can be used to attach the module to the network The remaining port can be used to extend the network to another device if this woul...

Page 36: ...is a number commonly used in the industry By specifying the maximum load and statical life AMCI gives you data you need to choose the right transducer for your application Note that these load ratings...

Page 37: ...ish to use a different cable contact AMCI to verify your cable type 1 8 Transducer Connector Pinout The transducer input connectors labeled RESOLVER 1 2 and RESOLVER 3 4 have eight contacts The mating...

Page 38: ...on the power connector This grounding pin must be attached to the system ground bus for proper operation The use of a 12 AWG stranded wire for the earth ground connection is strongly recommended See...

Page 39: ...the stator pairs AMCI standard method is to reverse the S2 S4 pair which is the green black pair of the CTL cables 2 When using a foreign single resolver transducer note how the signals are paired in...

Page 40: ...oreign dual resolver transducer to an NX2A4E2 module for the first time This is because the resolvers must appear to be rotating in the same direction before the NX2A4E2 can decode the multi turn posi...

Page 41: ...do not connect them to earth ground at any other point This is the proper method to wire all transducers attached to the NX2A4E2 If the shields of the transducer cable are connected to the body of the...

Page 42: ...c without the need for an external current limiting resistor Figure T1 12 below shows how to wire discrete DC sourcing and sinking sensors to input 1 of the NX2A4E2 Figure T1 12 Input Wiring 1 10 1 Ca...

Page 43: ...ess is with the ping command as described in Configuring Network Interfaces which starts on page 29 If the unit does not respond to this address then it may take some effort to determine the correct a...

Page 44: ...for EtherNet IP It is not a suggested method for setting the IP address on a NX2A4E2 If your system requires you to use DHCP contact AMCI Tech Support for assistance When the eight DP switches are se...

Page 45: ...rfaces on your computer must be on the same subnet before you can communicate with an NX2A4E2 Refer to Configuring Network Interfaces which starts on page 29 if needed 2 2c 1 Disconnect the NX2A4E2 fr...

Page 46: ...ubnet Mask and Default Gateway fields The Default Gateway setting is not optional It must be set to a valid address on the chosen subnet Because the Default Gateway is often not used in device level n...

Page 47: ...power the NX2A4E2 PREREQUISITE Task 1 5 Network Connections found on page 35 You must attach your NX2A4E2 to your computer PREREQUISITE Reference 3 Configuring Network Interfaces found on page 29 The...

Page 48: ...rogram the NX2A4E2 the AMCI Net Configurator utility must act as a bus master Therefore physically disconnect your host controller from the NX2A4E2 before starting the Net Configurator utility 2 2d 4...

Page 49: ...Manual Connect button and enter the IP address of the NX2A4E2 Figure T2 6 Scan for NX2A4E2 If scanning for the NX2A4E2 click on the IP Address of the module and click on the Connect button The Net Co...

Page 50: ...lue for it AMCI suggests setting the Default Gateway to the IP address of your host controller 2 2d 9 Set the Communications Protocol The factory default protocol for the NX2A4E2 is EtherNet IP In ord...

Page 51: ...i com 51 PROTOCOL SPECIFIC INFORMATION Manual Sections The remainder of this manual is divided into three sections one for each supported protocol Each section has the protocol name in the page header...

Page 52: ...PROTOCOL SPECIFIC INFORMATION NX2A4E2 User Manual ADVANCED MICRO CONTROLS INC 52 Notes...

Page 53: ...re Installation Tool 1 Once Studio 5000 is running in the menu bar select Tools EDS Hardware Installation Tool This will open the EDS Wizard Figure T3 1 Opening the EDS Wizard 2 Click on Next to advan...

Page 54: ...gure T3 2 EDS Options Screen 2 The registration screen will open Select the Register a single file radio button Figure T3 3 EDS Registration Screen 3 Click on the Browse button and browse to the folde...

Page 55: ...on the Next button to advance to the Change Graphic Image screen This screen gives you the ability to change the icon associated with the device Figure T3 5 Change ECS Icon Screen 6 Click on the Chan...

Page 56: ...INSTALLING AN EDS FILE EtherNet IP Protocol ADVANCED MICRO CONTROLS INC 56 Notes...

Page 57: ...it to the I O Configuration tree before adding the driver to your project Refer to your Rockwell Automation documentation if you need instructions for configuring the ethernet port 4 2 Add the NX2A4E2...

Page 58: ...to the filter as shown in figure T4 2 This will limit the results in the Catalog Number list 4 Select the Catalog Number AMCI NX2A4E2 in the list 5 Click on the Create button to create the module Figu...

Page 59: ...changes You will see a warning message stating that the values will be changed to their default click Yes to clear the message and proceed Figure T4 4 NX2A4E2 Module Definition Screen The NX2A4E2 will...

Page 60: ...change the data size right click on the NX2A4E2 in the I O tree and select Properties in the pop up menu Then follow the instructions in section 4 2 above starting with step 6 on page 58 4 4 Buffer t...

Page 61: ...data read from the NX2A4E2 This file must be at least 21 words in length An Integer file to contain the data written to the NX2A4E2 This file must be at least 10 words in length A Message MG data file...

Page 62: ...nd press Enter 3 Double click in the Communication Command field click on the select CIP Generic and press Enter 4 If the Message Instruction is being used to read data from the NX2A4E2 enter the inte...

Page 63: ...r 9 For Read operations the Service Code field will change to E hex For Write operations the Ser vice Code field will change to 10 hex For both read and write operations the Class field will change to...

Page 64: ...A4E2 Please note that the Data Table Address Send field may be different in your application Figure T5 4 Write Message Instruction Setup Screen Click on the MultiHop tab on the top of the window As sh...

Page 65: ...s 1 Double click on Channel Configuration in the Project Tree and then select the Channel 1 tab The fol lowing window will open Figure R3 2 MicroLogix Ethernet Configuration Screen 2 Enter the IP addr...

Page 66: ...ETHERNET IP EXPLICIT MESSAGING EtherNet IP Protocol ADVANCED MICRO CONTROLS INC 66 Notes...

Page 67: ...ins Discrete Inputs 48 through 63 The Coil and Holding Register tables in the Modbus data model map to the same physical memory locations in the NX2A4E2 units These registers hold data that is from th...

Page 68: ...e register contain no meaningful data The NX2A4E2 uses dual port memory and does not switch banks until the last register is read from or written to If you do not read from or write to all of the regi...

Page 69: ...Exceptions Table T5 3 Supported Modbus Exceptions Function Code Function Name SD4840E2 Register Addressing method 1 Read Coils OUTPUT Bit Addresses starting at 16 384 2 Read Discrete Inputs INPUT Bit...

Page 70: ...MODBUS TCP CONFIGURATION Modbus TCP Protocol ADVANCED MICRO CONTROLS INC 70 Notes...

Page 71: ...DML File Installation 1 Open or create a new project that will include the NX2A4E2 and open the Project View of the project 2 In the menu select Options Manage general station description files GSD 3...

Page 72: ...dware Catalog vertical tab to open the Hardware Catalog 3 You can search for NX2 or browse to the NX2A4E2 icon by clicking through Other field devices PROFINET IO IO Advanced Micro Controls Inc AMCI_P...

Page 73: ...ick on the NX2A4E2 icon and select Properties from the pop up menu The Inspector window will open at the bottom of the screen Under the General tab select the General heading You can rename the NX2A4E...

Page 74: ...view in the Hardware Catalog will change Expand the Module tree to show both the Input and Output modules 2 To map the I O bytes to the CPU double click on the 42 bytes IN and 20 bytes OUT icons in t...

Page 75: ...appropriate domain Use the Media redundancy role drop down menu to select Client 3 Continuing in the Inspector window select Advanced options Port 1 Port interconnection Under Partner port the partne...

Page 76: ...LEADERS IN ADVANCED CONTROL PRODUCTS ADVANCED MICRO CONTROLS INC...

Reviews: