U U S S E E R R 1560 M M AA NN UU AA LL
ProSoft Technology, Inc 1560-MBP Modbus Plus SCANport Gateway Catalog Numbers: 1560-MBP-1 1560-MBP-2 Modbus Plus SCANport Gateway - 115 VAC Modbus Plus SCANport Gateway - 24 VDC Table of Contents Quick Start Guide ..................................................................................... 4 Revisions ................................................................................................. 5 1 Product Specifications ....................................................................
Contents Please Read This Notice Successful application of the 1560-MBP card requires a reasonable working knowledge of the Allen-Bradley hardware to be interfaced with, and the application in which the combination is to be used.
Quick Start Guide Contents Quick Start Guide In this section we have assembled a simple step-by-step procedure for installing and making the 1560-MBP unit operational. This discussion presumes that the application decisions such as Modbus Plus addressing and hierarchy, SCANport cable length, etc. have been addressed prior to this point. Step-by-Step The following steps will allow the 1560-MBP to be setup in the shortest period of time (the following steps refer to the Allen-Bradley drive implementation.
Revisions Contents Revisions 3/15/97 Rev 1.0 Initial Release 5/5/97 Rev 1.1 Modify product to allow slave addresses within any group of 16 slave addresses on one PLC Host when using Global Data. Also protect Control and Reference words from overwrite if Global Control Enabled.
Chapter 1 — Product Specifications 1 Contents Product Specifications The ProSoft Technology, Inc. 1560-MBP card is a hardware product designed to be a communications front end for AllenBradley SCANport compatible products (1336 Plus/Force/ Vector, 1305, SMC Dialogue Plus, SMP3, etc.). The product includes the following functionality: 1.1 Modbus Plus Specifications • • • • 1.
Chapter 1 — Product Specifications • • • • • • • • Contents Mounting : DIN Rail mounting Dimensions : 44 mm (width) x 76 mm (height) x 123 mm (depth) Communication port connections: Modbus Plus - Female 9-pin D shell connector SCANport - Standard SCANport connector Status LED SCANport Status (bi-color Red/Green) Modbus Plus Status (green) Current Consumption: 65 ma at 24 VDC Input Voltage 85 to 264 VAC, 1 Phase, 45 to 63 Hz 24 VDC Operating Temp 0 to 50° C Storage Temp -40 to 85° C 7
Chapter 2 — Modbus Plus Port Functionality 2 Modbus Plus Port Functionality 2.1 Modbus Plus Communications Contents The 1560-MBP Modbus Plus card supports the Modbus Plus protocol using proprietary technology licensed from Schneider Automation. With the Modbus Plus capability, the module is able to communicate data from Allen-Bradley SCANport compatible devices to a Modbus Plus host PLC, and vice-versa. The following discusses the functional capabilities of the 1560MBP card. 2.1.
Chapter 2 — Modbus Plus Port Functionality Contents MSTR Type 5 Write Global Data This command is used in a host processor to ‘publish’ Global Data which all slaves on the Modbus Plus highway may access. The 1560-MBP units can be configured to read the Control and Reference values from this Global Data table. 2.1.2 Modbus Register Map A pre-defined register map has been provided in the 1560MBP unit. This map is detailed in Appendix A, and shown below.
Chapter 3 — Hardware Setup Contents 3 Hardware Setup 3.1 1560-MBP Card Setup 3.1.1 Connecting Power to the 1560-MBP Card Connecting power requires a simple termination of the 120 VAC or 24 VDC cable to the front of the module. The connections are shown in the following diagram: 115 VAC Hot L 24 VDC + 115 VAC Neutral N 24 VDC Common Ground G Ground + Com G 3.1.2 Dip Switch Configuration Configuration of the 1560-MBP consists of setting up some dip switches.
Chapter 3 — Hardware Setup Contents Switch SW 1 Function Datalink Options Description Details SW1-7 and 8 Allows the User to select the level of Datalink support the 1560-MBP unit will have when talking to the SCANport device. 8 off off on on 7 off on off on No Datalinks Datalink A only Datalink A&B only Datalink A,B,C,D Some devices do not support Datalinks, in which case the ‘No Datalinks’ option must be selected.
Chapter 3 — Hardware Setup Contents off off off off off on on on on on on on on on on on on on on on on on on on on on on on on on on on on on on on on on on off on on off off off off off off off off off off off off off off off off on on on on on on on on on on on on on off on on on on on on on off off off off off off off off on on on on on on on on off off off off off off off off on on on on on on on on off on on on on off off off off on on on on off off off off on on on on off off off off on on on on
Chapter 3 — Hardware Setup Contents Switch SW 2 (cont’d.) Function Details Description Enables the 1560-MBP SW2-7 Global Data Base Control to automatically gather Off = Disable Global Data the Control Word and Base Control Speed Reference On = Enable Global Data values from the Base Control selected Host Global Database. Important When enabled, the 1560 will use two words from the global database based on the selected Modbus Plus address (SW1-1 to 6).
Chapter 3 — Hardware Setup Contents off off off off off off off off off off off off off off on on on on on on on on on on on on on on on on on on on on on on on on on on on on on on on on 14 on on on on on on on on on on on off on on off off off off off off off off off off off off off off off off on on on on on on on on on on on on on off on on off off off off off off on on on on on on on on off off off off off off off off on on on on on on on on off off off off off off off off on on on on on on on on
Chapter 4 — Programming Considerations 4 Contents Programming Considerations Transferring data to/from the 1560-MBP is performed either using the standard MSTR instruction, or using the Peer Cop functionality available in some Schneider processors. (Note that Peer Cop functionality is somewhat limited. See Appendix C.
Chapter 4 — Programming Considerations Word 0 2 4 6 8 10 12 Contents Slave 33 1560-MBP Control Word Reference Adaptor I/O-A1 Adaptor I/O-A2 Adaptor I/O-B1 Adaptor I/O-B2 Adaptor I/O-C1 Adaptor I/O-C2 Adaptor I/O-D1 Adaptor I/O-D2 Slave 37 30 Slave 48 Global Data Sent from Host (2 words per slave) From Global Data Table MSTR Type 1 accessible only Global Write Space (Slave 37) Relationship between Global Data from Host and 1560-MBP Control & Reference Words: The diagram shows an example if Slave 37 w
Chapter 4 — Programming Considerations 1560-MBP Modbus Plus Address Global Data Table Index 13,29,45,61 24 25 26 27 28 29 30 31 14,30,46,62 15,31,47,63 16,32,48,64 Contents Description Control Word Reference Word Control Word Reference Word Control Word Reference Word Control Word Reference Word Modicon Programming Example - MSTR 5 enable abort - 40400 40410 MSTR 00032 Contents of registers in control block - active - error - success 40400 = 5 Global write data instruction 40401 = 0 Error code 40
Chapter 4 — Programming Considerations Contents In the example (at the bottom of the previous page) the 1560-MBP responding at Node 37 would retrieve its control and reference values from the 8th and 9th words of the Global Data block. In the Host PLC we have placed this data in registers 40418 and 40419, as this corresponds to the 8th and 9th position in the Global Data packet. 4.1.
Chapter 4 — Programming Considerations Contents Modicon Programming Example - MSTR Type 1 Contents of registers in control block enable abort - 40001 40010 MSTR 00002 - active - error - success 40001 = 1 Write instruction 40002 = 0 Error code 40003 = 1 Length of the write 40004 = 119 slave register to Write (40119) 40005 = 37 MBP Node address to write to 40006 = 1 Slave Input Path for routing 40010 = Source of the data to the device attached to the 1560-MBP This instruction would write one value into
Chapter 4 — Programming Considerations Contents Please note that not all A-B Scanport devices support Datalinks. In particular, the SMC Dialogue Plus does not. To operate with the SMC Dialogue Plus do not enable Datalink Messaging.
Chapter 4 — Programming Considerations Contents Modicon Programming Example - MSTR Type 2 enable abort - 40050 40060 MSTR 00020 Contents of registers in the control block 40050 = 2 Read Instruction 40051 = 0 Error Code 40052 = 13 Length of the read - error 40053 = 21 slave register to read (40021) 40054 = 37 Node address to retrieve data from - success 40055 = 1 Slave Input Path for routing 40060-40092 = data returned from the 1560MBP - active The MSTR instruction shown above reads the status register
Chapter 4 — Programming Considerations 4.3 Contents The MBP Status Registers (40021 to 40100) The register space between 40021 and 40100 has been set aside for miscellaneous status data. This data is intended to be used for assisting in troubleshooting.
Chapter 4 — Programming Considerations Modbus Address Name Values 0 to 0xFFFF Contents Description 40028 Parameter Write Update Counter 40029 Not Defined at this time Reserved for future use 40030 Not Defined at this time Reserved for future use 40031 Product Revision Firmware Release Provides the firmware revision level. The data should be viewed in hex mode as follows: Revision 1.0 0x0010 = 1.
Chapter 4 — Programming Considerations Modbus Address 40033 Name MBP Status Contents Description Values This register is used to communicate the last Invalid MBP Status value.
Chapter 5 — Troubleshooting 5 Contents Troubleshooting Several hardware diagnostics capabilities have been implemented using the LED indicator lights on the front of the 1560-MBP card. 5.1 LED Locations The location of the LEDs on the units are shown in the following diagrams: L Modbus Plus Port Status N SCANport Status G LED Locations 5.1.1 LED Troubleshooting Table The following table details the meaning of the LEDs in the 1560MBP unit.
Chapter 5 — Troubleshooting NAME SCANport Status Color Green Red Contents Status Indication Two Flashes then OFF for two seconds The node is hearing the token being passed among other nodes, but is never receiving the token. Check the network for an open circuit or defective termination. Three Flashes then OFF for 1.7 seconds The node is not hearing any other nodes. It is periodically claiming the token but finding no other node to which to pass it.
Chapter 5 — Troubleshooting 5.2 Contents MBPSTAT Diagnostics This troubleshooting section applies to Users that have access to a utility from Modicon called MBPSTAT. This utility is shipped with the SA-85 Modbus Plus Communications Card, and allows easy access to Modbus Plus Network status and statistics.
Chapter 6 — Cable Diagram 6 Contents Cable Diagram The communication connection to the 1560-MBP card is made via a DB9 pin female connection on the front of the card. The physical terminations are shown in the following diagram: 1560-MBP DB-9 Female Modbus Plus Network TxRxD+ 1 TxRxD+ TxRxD- 2 TxRxD- COM 3 COM Refer to the Modicon Modbus Plus Network Planning & Installation Guide (publication No. GM-MBL-001) for additional information.
Chapter 7 — Technical Support Contents 7 Technical Support 7.1 Technical Support Contacts ProSoft Technology survives on its ability to provide meaningful support to its customers. Should any questions or problems arise, please feel free to contact us at: ProSoft Technology, Inc. 9801 Camino Media Suite 105 Bakersfield, CA 93311 (661) 664-7208 (661) 664-7233 Fax e-mail : prosoft@prosoft-technology.com http://www.prosoft-technology.com Before calling for support, please prepare yourself for the call.
Appendix A — Modbus Register Map Contents Appendix A 1560-MBP Modbus Register Map 1560-MBP Modbus Type R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W Addr 40001 40002 40003 40004 40005 40006 40007 40008 40009 40010 Description Command Control Word Reference Control Word Adaptor I/O - In A1 Adaptor I/O - In A2 Adaptor I/O - In B1 Adaptor I/O - In B2 Adaptor I/O - In C1 Adaptor I/O - In C2 Adaptor I/O - In D1 Adaptor I/O - In D2 R R R R R R R R R R 40011 40012 40013 40014 40015 40016 40017 40018 40019 40020 40
Appendix B — Device Specific Hints Contents Appendix B Device Specific Hints SMC Dialogue Plus The SMC Dialogue Plus does not support Datalinks, therefore the configuration of SW1-7 and 8 should not include any of the Datalinks Enabled. If a Datalink is enabled, the SCANport Status LED will toggle, indicating an error in the SCANport communications. The version of SMC which was tested (Rev 1.05) had 88 parameters. Each parameter was accessible in the Modbus register listing shown in Appendix A.
Appendix B — Device Specific Hints C1 C2 D1 D2 19 4 Contents Maximum Frequency Last fault Setting up the Adaptor I/O - Data In Selects the parameters which will be made accessible for configuration/ writing from the 1560-MBP. As with the Data Out parameters, there are eight possible selections. These may be chosen by the programmer to meet the needs of the application.
Appendix C — Peer Cop Example Contents Appendix C Single Drive Peer Cop Application Example Overview This example shows how to configure a PLC to control and monitor a single drive using Peer Cop. Note that this example may easily be extended to 16 drives on one network. Additional sets of 16 drives may be controlled by adding Modbus Plus Network Option Modules to the PLC. In this example, a 984-785E is connected to a 1560-MBP controlling a 1336Plus drive.
Appendix C — Peer Cop Example Contents The 1560 MBP-1560 Dip Switch 2 Configuration is as follows: Switch Position Description 1 On Set the 1560-MBP Node Address 6 2 Off 3 On 4 Off 5 Off 6 Off 7 On Enable Global Data Control from a host.
Appendix C — Peer Cop Example Contents This configuration indicates that PLC words 40100 through 40131 will be sent in Node 7 (this PLC) Global Data. Since the 1560-MBP is configured to look at Node 7 as the Host, words 40110 will be the Drive Control word, and 40111 will be the Reference to the drive (The remaining registers are for 1560-MBP units located at nodes 1-5 (words 4010040109), and 7-16 (words 40112-40131).
Appendix C — Peer Cop Example Contents The Global Input Data from Node 6, starting with offset 1 for a length of 9 words, will be assigned to PLC registers 40200 through 40209.
Appendix C — Peer Cop Example Contents This allows a coil to control a specific function in the drive. You could use bit manipulation instructions operating on word 40100 (such as MBIT), but it is far simpler to just assign coils to specific functions, and then move these coils into the Control Word.
Appendix C — Peer Cop Example Contents Addressing Pay careful attention to the dip switch address configuration. EACH 1560-MBP on the network must have it own unique address. This MUST also be different from the PLC address. ALL drives should in general have their Host address set to the PLC ís address. Hints Note that the Stop bit is set to 1 to stop drive. If communication is lost, the PLC is unable to remotely stop the drive.
Appendix D — Mounting & Cabling Contents Appendix D Mounting and SCANport Cabling Instructions Mounting Instructions Following are the mounting dimensions and layout drawings for the enclosed style communication module, such as the 1560-MBP. The following drawings are excerpted from A-B document 1203-5.5. 44mm (1.75) 70mm (2.7) DIN Rail DIN Rail Mounting Clip 45mm (1.8) Top View 123mm (4.8) 45mm (1.8) 25mm (1) DIN Rail DINN Rail 76mm (3.
Appendix D — Mounting & Cabling Contents Cable Requirements SCANport cables are available in either Male to Male or Male to Female configurations. Cables of up to 10 meters (33 feet) can be connected from the SCANport device to the 1560-MBP. If a Port Expander is used, the cable length from the master to the Port Expander must be subtraced from the cable length used to connect the device to the expander (B1 + C = max 10 meters).
Appendix E — SCANport Datalinks Contents Appendix E SCANport Datalink Operation (Excerpted from A-B Publication 1203-5.2 - May 1995) In the following discussion, the term ‘Datalink’ is used extensively. When configuring some SCANport devices, the term ‘Adaptor I/O’ is used in place of Datalink. A Datalink is a type of pointer used by some SCANport devices to transfer information between a SCANport communication interface (such as the 1560-MBP) and a SCANport device (such as a VFD, SMP3, etc.).
Repair and Warranty Contents Repair and Warranty Service and Repair The 1560-MBP card is an electronic product, designed and manufactured to function under somewhat adverse conditions. As with any product, through age, misapplication, or any one of many possible problems, the card may require repair. The 1560-MBP product has a one year parts and labor warranty according to the limits specified in the warranty.
Repair and Warranty Contents Limitation of Liability EXCEPT AS EXPRESSLY PROVIDED HEREIN, PROSOFT MAKES NO WARRANT OF ANY KIND, EXPRESSED OR IMPLIED, WITH RESPECT TO ANY EQUIPMENT, PARTS OR SERVICES PROVIDED PURSUANT TO THIS AGREEMENT, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF MERCHANT ABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
Contents Power, input and output (I/O) wiring must be in accordance with Class I, Division 2 wiring methods, Article 501-4 (b) of the National Electrical Code, NFPA 70 and Section 18-152 for installation within Canada. A. This equipment is suitable for use in Class I, Division 2, Groups A, B, C, and D or nonhazardous locations only. B. Warning – Explosion hazard – Substitution of components may impair suitability for Class I, Division 2. C.