LonWork / Modbus GEZC Service School Slide 1 of 23
ATS Communication Overview
IBM Compatible
485 Communication link
Viewpoint ATS
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)
GEZC Service School Slide 2 of 23LonWork / Modbus
1. Introduction
IBM Compatible
485 Communication link
Viewpoint ATS
GEZC ATS Controller
• LonWork –
• Proprietary Protocol
• Closed Loop system
• Need binding in the factory
• Modbus –
• Open Architecture
• Configurable Address 1 ~ 247
• Support up to 32 devices.
• One master & Multiple slaves
Slide 3 of 23LonWork / Modbus
2. LonWork
GEZC ATS Controller Slide 4 of 23LonWork / Modbus
2. LonWork
1. Need rebind if additional units (either annunciators or LonWork cards) are added
GEZC ATS Controller Slide 5 of 23LonWork / Modbus
3. Modbus (for MX150/250)
Slide 6 of 23
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
GEZC Service School
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
LonWork / Modbus
4. Modbus Factory Configuration
Slide 7 of 23
Connection differences between Modbus and MX150/250 Factory Configuration
RS232-to-485 Converter: 50W-1208Belden Shielded Twisted Pair cable:
GEZC Service School
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
4. Modbus Factory Configuration
Slide 8 of 23
Modbus Factory Configuration Software (50P-1111) Rev 1.8
Belden Twisted Pair cableRS232-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
GEZC Service SchoolLonWork / Modbus
4. Modbus Configuration Software (50P-1111)
Slide 9 of 23GEZC Service SchoolLonWork / Modbus
4. Modbus Configuration Software (50P-1111)
Slide 10 of 23GEZC Service SchoolLonWork / Modbus
5. Modbus Test Software (50P-1170)
Slide 11 of 23GEZC Service SchoolLonWork / Modbus
5. Modbus Test Software (50P-1170)
Slide 12 of 23GEZC Service SchoolLonWork / Modbus
5. Modbus Test Software (50P-1170)
Slide 13 of 23GEZC Service SchoolLonWork / Modbus
6. ModScan Software
Slide 14 of 23
• Need to know register map• ModScan trial version have limited com time
GEZC Service School
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.
LonWork / Modbus
6. ModScan Software
Slide 15 of 23
• Need to know register map• ModScan trial version have limited com time
GEZC Service SchoolLonWork / Modbus
7. EnerVista ViewPoint
Slide 16 of 23
GEZC P/N: EnerVista O&M manual: http://www.geindustrial.com/products/manuals/enervista/EVVPmon510.pdfTrial Version can be downloaded at: http://www.geindustrial.com/multilin/enervista/viewpoint/monitoring.htm
GEZC Service SchoolLonWork / Modbus
7. EnerVista ViewPoint
Slide 17 of 23
Step 1: Create a device name and intended COM settings (depends on the dominant equipment).Step 2: From the field “Device Type”, select OTHERS. Step 3: From the field “Order Code”, enter MX150 or MX250.Step 4: From the field “Version”, select 5.4x or 6.0x.
GEZC Service SchoolLonWork / Modbus
8. Modbus Protocol
Slide 18 of 23
• 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
GEZC Service SchoolLonWork / Modbus
9. Repeater / Opto-Isolator (50W-1225)
Slide 19 of 23
• 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
GEZC Service SchoolLonWork / Modbus
9. Repeater / Opto-Isolator (50W-1225)
Slide 20 of 23GEZC Service School
Data In (A)
Data In (B)
Data Out (A)
Data Out (B)
Signal Gnd
PROT Gnd
Ground
+12VDC
B&BModel: 485OP
RS485 to RS485 Optical Isolator/Repeater
Data In (A)
Data In (B)
Data Out (B)
Signal Gnd
PROT Gnd
RS485 twisted pair(from PLC or PC)
Data Out (A)
(-)(+)
Cable gnd
shield
ModbusAssy
A
B
Connect to MX
chassis ground
J4
1
3
+12V (Output)400mA max.
Circuit Gnd
MX150/250 Controller
Length of cable shall be less than 1 foot to prevent transients pick up from adjacent power line
Wiring Diagram for 485OP Connection
LonWork / Modbus
10. Troubleshooting
Slide 21 of 23
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
GEZC Service SchoolLonWork / Modbus
10. Troubleshooting
Slide 22 of 23
Technique of Troubleshooting
• Make sure cable is less than 3000ftOtherwise add repeater.
• Perform local communication1 master – to – 1 slave device
• Perform global communicationa. Configuration via 50P-1111b. EnerVista:
b.1 – Setupb.2 – Plug-n-play
• Have spare (good) devices(I.e. Converter, Modbus card)
GEZC Service SchoolLonWork / Modbus
11. Q&A
Slide 23 of 23
• 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: Use 50W-1225
GEZC Service SchoolLonWork / Modbus