ATS Communication Overview 485 Communication link Viewpoint ATS IBM Compatible LonWork / Modbus GEZC Service School Slide 1 of 23 Contents 1. Introduction 2. LonWork 3. Modbus Cards 4. Modbus Factory Configuration 5. Modbus Test Software 6. ModScan 7. EnerVista Viewpoint Software 8. Modbus Protocol 9. Repeater / Opto-isolator 10. Troubleshooting 11. Frequently Asked Questions (FAQ) LonWork / Modbus GEZC Service School Slide 2 of 23 1. Introduction • LonWork – • Proprietary Protocol • Closed Loop system • Need binding in the factory • Modbus – • 485 Communication link Open Architecture • Configurable Address 1 ~ 247 • Support up to 32 devices. • One master & Multiple slaves LonWork / Modbus Viewpoint ATS IBM Compatible GEZC ATS Controller Slide 3 of 23 2. LonWork / Modbus LonWork GEZC ATS Controller Slide 4 of 23 2. 1. LonWork Need rebind if additional units (either annunciators or LonWork cards) are added LonWork / Modbus GEZC ATS Controller Slide 5 of 23 3. Modbus (for MX150/250) If MX200/150/250 firmware version is 5.4 or below • use Modbus 1.96 • See O&M manual, 50R-2200 • Regs up to 48 • Card Assy P/N: 50P-1105 • Configuration Assy P/N: 50P-1124 LonWork / Modbus If MX150/250 firmware version is 6.0 or above • use Modbus 2.1 • See O&M manual, 71R-2200 • Regs up to 232 • Card Assy P/N: 50P-2035 • Configuration Assy P/N: 50P-1124 GEZC Service School Slide 6 of 23 4. Modbus Factory Configuration Connection differences between Modbus and MX150/250 Factory Configuration For MX150/250 factory configuration: 1. Connect TD(A) of 50W-1208 to Pin 2 (socket J4) of MX150/250 Controller via PS5133. 2. Connect TD(B) of 50W-1208 to Pin 1 (socket J4) of MX150/250 Controller via PS5133. For Modbus configuration/communication: 1. Connect TD(A) of 50W-1208 to the upper position via PS5140. 2. Connect TD(B) of 50W-1208 to the lower position via PS5140. LonWork / Modbus GEZC Service School RS232-to-485 Converter: 50W-1208 Belden Shielded Twisted Pair cable: Slide 7 of 23 4. Modbus Factory Configuration Modbus Factory Configuration Software (50P-1111) Rev 1.8 Belden Twisted Pair cable RS232-to-485 Converter: 50W-1208 Supporting accessory: One Port USB-232 converter (with GEZC’s part number: 50W-1223 or NI part number: 778472-01) shall be used. For information about the USB converter, visit -http://sine.ni.com/nips/cds/view/p/lang/en/nid/12844 LonWork / Modbus GEZC Service School Slide 8 of 23 4. Modbus Configuration Software (50P-1111) LonWork / Modbus GEZC Service School Slide 9 of 23 4. Modbus Configuration Software (50P-1111) LonWork / Modbus GEZC Service School Slide 10 of 23 5. Modbus Test Software (50P-1170) LonWork / Modbus GEZC Service School Slide 11 of 23 5. Modbus Test Software (50P-1170) LonWork / Modbus GEZC Service School Slide 12 of 23 5. Modbus Test Software (50P-1170) LonWork / Modbus GEZC Service School Slide 13 of 23 6. ModScan Software Step 1: Open browser to “modscan” folder Step 2: Double click “ModScan32.exe” Step 3: Click “OK” without enter info. Step 4: Wait till OK appears. Then click OK again. • Need to know register map • ModScan trial version have limited com time LonWork / Modbus GEZC Service School Slide 14 of 23 6. ModScan Software • Need to know register map • ModScan trial version have limited com time LonWork / Modbus GEZC Service School Slide 15 of 23 7. EnerVista ViewPoint GEZC P/N: EnerVista O&M manual: http://www.geindustrial.com/products/manuals/enervista/EVVPmon510.pdf Trial Version can be downloaded at: http://www.geindustrial.com/multilin/enervista/viewpoint/monitoring.htm LonWork / Modbus GEZC Service School Slide 16 of 23 7. Step 1: Step 2: Step 3: Step 4: LonWork / Modbus EnerVista ViewPoint Create a device name and intended COM settings (depends on the dominant equipment). From the field “Device Type”, select OTHERS. From the field “Order Code”, enter MX150 or MX250. From the field “Version”, select 5.4x or 6.0x. GEZC Service School Slide 17 of 23 8. Modbus Protocol • Supported Modicon functions • 01 -- Coils Read • 03 -- Registers Read • 05 -- Coil Write Single • 06 -- Register Write Single • 15 -- Coil Write Multiple • 16 -- Register Write Multiple • Query and Response • Handshaking • Exception response • Fn -- 81, 83 LonWork / Modbus GEZC Service School Slide 18 of 23 9. Repeater / Opto-Isolator (50W-1225) • Optically isolated • Repeater • Support 2-or-4 wires (half duplex and full duplex) • Allows grounding both @ master and slave devices -- No ground loop issue • Product description Link -- http://www.bb-elec.com/product_family.asp?FamilyId=1 • Datasheet link -- http://www.bb-elec.com/bb-elec/literature/485OP_2004ds.pdf LonWork / Modbus GEZC Service School Slide 19 of 23 9. Repeater / Opto-Isolator (50W-1225) Length of cable shall be less than 1 foot to prevent transients pick up from adjacent power line MX150/250 Controller RS485 twisted pair (from PLC or PC) (-) (+) Data In (A) Data In (A) Data In (B) Data In (B) Data Out (A) Data Out (B) Cable gnd shield Signal Gnd PROT Gnd A B Modbus Assy Data Out (A) B&B Model: 485OP RS485 to RS485 Optical Isolator/ Repeater Connect to MX chassis ground Data Out (B) Signal Gnd PROT Gnd +12VDC Ground Circuit Gnd J4 1 3 Wiring Diagram for 485OP Connection LonWork / Modbus GEZC Service School Slide 20 of 23 +12V (Output) 400mA max. 10. Troubleshooting Technique of Troubleshooting • Make sure Network option is ON • • For MX150/250 -- can be set in user menu For MX200 – Must be set in factory mode LonWork / Modbus GEZC Service School Slide 21 of 23 10. Troubleshooting Technique of Troubleshooting • Make sure cable is less than 3000ft Otherwise add repeater. • Perform local communication 1 master – to – 1 slave device • Perform global communication a. Configuration via 50P-1111 b. EnerVista: b.1 – Setup b.2 – Plug-n-play • Have spare (good) devices (I.e. Converter, Modbus card) LonWork / Modbus GEZC Service School Slide 22 of 23 11. Q&A • Terminating Resistor – For noise cancellation • Noise issue due to EMI effect (I.e. Motor drive) • Typically chassis ground one (master) end of shield but not both. (use Belden shielded pair) • Network length – • up to 3000 feet • More than 3000 feet will need a repeater • Need to understand the register map • Modbus’ connection is polarity specific • LonWork’s connection is non-polarity specific • Conversion of Half-to-full duplex or vice versa: LonWork / Modbus GEZC Service School Use 50W-1225 Slide 23 of 23