ProSoft Technology PLX3 Series User Manual

ProSoft Technology PLX3 Series User Manual

Ethernet and serial gateways
Table of Contents

Advertisement

Quick Links

PLX3x Series
Ethernet and Serial Gateways
May 26, 2016
USER MANUAL

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the PLX3 Series and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for ProSoft Technology PLX3 Series

  • Page 1 PLX3x Series Ethernet and Serial Gateways May 26, 2016 USER MANUAL...
  • Page 2: Your Feedback Please

    Neither ProSoft Technology nor any of its affiliates or subsidiaries shall be responsible or liable for misuse of the information contained herein. Information in this document including illustrations, specifications and dimensions may contain technical inaccuracies or typographical errors.
  • Page 3: Important Installation Instructions

    Important Installation Instructions 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 for installation in the U.S., or as specified in Section 18-1J2 of the Canadian Electrical Code for installations in Canada, and in accordance with the authority having jurisdiction.
  • Page 5: Table Of Contents

    3.3.2 Protocol-Specific Status Data in Upper Memory ............. 43 Hardware Information Hardware Specifications..................46 4.1.1 Serial Port Specifications ..................47 Serial Port Cables (for Gateways with Serial Ports) ..........48 ProSoft Technology, Inc. Page 5 of 218 May 26, 2016...
  • Page 6 7.2.2 MBS Port [x] Commands ..................129 MBS Diagnostics ....................132 7.3.1 PCB Diagnostics ....................132 7.3.2 MBS Status Data in Upper Memory ..............132 7.3.3 Error/Status Codes ....................138 Page 6 of 218 ProSoft Technology, Inc. May 26, 2016...
  • Page 7 10.4.2 PND Status Data in Upper Memory ..............213 10.4.3 Configuration Error Codes..................214 Support, Service and Warranty 11.1 Contacting Technical Support ................215 11.2 Warranty Information ..................... 216 Index ProSoft Technology, Inc. Page 7 of 218 May 26, 2016...
  • Page 8 Contents PLX3x Series User Manual Ethernet and Serial Gateways Page 8 of 218 ProSoft Technology, Inc. May 26, 2016...
  • Page 9: Start Here

    256-color VGA graphics adapter, 800 x 600 minimum resolution (True Color 1024  768 recommended)  DVD drive Supported operating systems:  Microsoft Windows 7 (32 bit)  Microsoft Windows XP Professional with Service Pack 1 or 2 ProSoft Technology, Inc. Page 9 of 218 May 26, 2016...
  • Page 10: Package Contents

    Power Connector PLX3x gateway power connector J180 Mini screwdriver Tool for wiring and securing the power connector HRD250 ProSoft Solutions Contains sample programs, utilities, DVD-001 documentation and videos for the gateway Page 10 of 218 ProSoft Technology, Inc. May 26, 2016...
  • Page 11: Mounting The Gateway On A Din-Rail

    PLX3x Series Start Here Ethernet and Serial Gateways User Manual Mounting the Gateway on a DIN-rail ProSoft Technology, Inc. Page 11 of 218 May 26, 2016...
  • Page 12: Jumper Settings

    IP address back to the default.  MODE 3 - Reserved: This is the bottom jumper, reserved for internal ProSoft Technology use only. The firmware will not run when these pins are shorted. SD Card PLX3x products can be ordered with an optional SD card (Part Number SDI-1G).
  • Page 13: Connecting Power To The Plx3X Gateway

    User Manual Connecting Power to the PLX3x Gateway WARNING: Ensure that polarity is not reversed when applying power to the gateway. This will cause damage to the gateway’s power supply. ProSoft Technology, Inc. Page 13 of 218 May 26, 2016...
  • Page 14 PLX3x Series User Manual Ethernet and Serial Gateways Page 14 of 218 ProSoft Technology, Inc. May 26, 2016...
  • Page 15: Configuring Your Gateway

    You can also to use PCB to retrieve a configuration from a working gateway by uploading the configuration from the gateway. ProSoft Technology, Inc. Page 15 of 218 May 26, 2016...
  • Page 16: Installing Prosoft Configuration Builder Software

    You must install the ProSoft Configuration Builder (PCB) software to configure the gateway. You can always get the newest version of ProSoft Configuration Builder from the ProSoft Technology website. To install ProSoft Configuration Builder from the ProSoft Technology website Open your web browser and navigate to http://www.prosoft- technology.com/pcb Click the link at the Current Release Version section to download the latest version of ProSoft Configuration Builder.
  • Page 17: Using The Online Help

    When you first start PCB, the tree view consists of folders for Default Project and Default Location, with a Default Gateway in the Default Location folder. The following screen shows the PCB window with a new project. ProSoft Technology, Inc. Page 17 of 218 May 26, 2016...
  • Page 18 To add the gateway to the project Use the mouse to select DEFAULT MODULE in the tree view, and then click the right mouse button to open a shortcut menu. Page 18 of 218 ProSoft Technology, Inc. May 26, 2016...
  • Page 19 In the STEP 1: Select Module Type drop-down list, select the model number that matches your gateway, and then click OK to save your settings and return to the PCB Main window. ProSoft Technology, Inc. Page 19 of 218 May 26, 2016...
  • Page 20: Renaming Pcb Objects

    Select the object, and then click the right mouse button to open a shortcut menu. From the shortcut menu, choose RENAME. Type the name to assign to the object. Click away from the object to save the new name. Page 20 of 218 ProSoft Technology, Inc. May 26, 2016...
  • Page 21: Configuring The Drivers

    Note: Depending on the parameter, the editable field will accept typed input in the form of text or a valid numerical value, or it will have a dropdown list with options to choose from. ProSoft Technology, Inc. Page 21 of 218...
  • Page 22 User Manual Ethernet and Serial Gateways Double-clicking any icon will open an Edit dialog box with a table. To add a row to the table, click the Add Row button. Page 22 of 218 ProSoft Technology, Inc. May 26, 2016...
  • Page 23 PLX3x Series Configuring Your Gateway Ethernet and Serial Gateways User Manual ProSoft Technology, Inc. Page 23 of 218 May 26, 2016...
  • Page 24 For protocol-specific configuration information, see the Configuration section in the appropriate protocol chapter of this manual: EIP configuration (page 54) MBTCP configuration (page 98) configuration(page125) ASCII configuration (page 161) SIE configuration (page 167) PND configuration (page 194) Page 24 of 218 ProSoft Technology, Inc. May 26, 2016...
  • Page 25: Using The Commonnet Data Map

    The byte and/or word order can be rearranged during the copy process. For example, by rearranging byte or word order, floating-point values can be converted to the correct format for a different protocol. ProSoft Technology, Inc. Page 25 of 218 May 26, 2016...
  • Page 26 The value that is specified for the Delay Preset is not a fixed amount of time. It is the number of firmware scans that must transpire between copy operations. Page 26 of 218 ProSoft Technology, Inc. May 26, 2016...
  • Page 27: Configuring An Ip Address

    Double-click the ETHERNET CONFIGURATION icon. This action opens the Edit dialog box. The IP address shown is the gateway default IP address. Edit the values for my_ip, netmask (subnet mask) and gateway (default gateway). ProSoft Technology, Inc. Page 27 of 218 May 26, 2016...
  • Page 28 EIP protocol first. A second set of values are available for the second protocol; in this case, MBTCP. When you are finished editing, click OK to save your changes and return to the ProSoft Configuration Builder window. Page 28 of 218 ProSoft Technology, Inc. May 26, 2016...
  • Page 29: Downloading The Project To The Gateway

    DOWNLOAD FROM PC TO DEVICE. Click the BROWSE DEVICE(S) button to launch the ProSoft Discovery Service window, which displays the ProSoft devices on the network and their IP addresses. ProSoft Technology, Inc. Page 29 of 218 May 26, 2016...
  • Page 30 The gateway will perform a platform check to read and load its new settings. When the platform check is complete, the status bar in the Download dialog box will display the message Module Running. Page 30 of 218 ProSoft Technology, Inc. May 26, 2016...
  • Page 31: Printing A Configuration File

    In the View Configuration window, open the FILE menu, and choose PRINT. This action opens the Print dialog box. In the Print dialog box, choose the printer to use from the drop-down list, select printing options, and then click OK. ProSoft Technology, Inc. Page 31 of 218 May 26, 2016...
  • Page 32 PLX3x Series User Manual Ethernet and Serial Gateways Page 32 of 218 ProSoft Technology, Inc. May 26, 2016...
  • Page 33: Diagnostics And Troubleshooting

    User Manual Diagnostics and Troubleshooting In This Chapter  LED Indicators .................. 34  Using Diagnostics in ProSoft Configuration Builder ......36  Gateway Status Data in Upper Memory ........... 43 ProSoft Technology, Inc. Page 33 of 218 May 26, 2016...
  • Page 34: Led Indicators

    Green Flash No power (Module Solid Red Major fault Status) for Solid Green Device operational Flashing Red Minor fault protocol Flashing Green Standby only Alternating Red Self-test and Green Flash Page 34 of 218 ProSoft Technology, Inc. May 26, 2016...
  • Page 35: Ethernet Port Leds

    3.1.3 Serial Port LEDs (for Gateways with Serial Ports) State Description No activity on the port. Flashing Green The port is actively receiving data. No activity on the port. Flashing Amber The port is actively transmitting data. ProSoft Technology, Inc. Page 35 of 218 May 26, 2016...
  • Page 36: Using Diagnostics In Prosoft Configuration Builder

    To connect to the gateway’s communication port Start PCB, and then select the gateway. Click the right mouse button to open a shortcut menu. On the shortcut menu, choose DIAGNOSTICS. Page 36 of 218 ProSoft Technology, Inc. May 26, 2016...
  • Page 37 IP address in the Ethernet field. Click the Connect button. Verify that the Ethernet is connected properly between your computer’s communication port and the gateway. If you are still not able to establish a connection, contact ProSoft Technology for assistance. ProSoft Technology, Inc.
  • Page 38: Diagnostics Menu

    Use these commands only if you fully understand their potential effects, or if you are specifically directed to do so by ProSoft Technology Technical Support Engineers. Page 38 of 218 ProSoft Technology, Inc.
  • Page 39 * Use the scroll bar on the right edge of the window to navigate through the database. Each page displays 100 words of data. The total number of pages available depends on your gateway’s configuration. ProSoft Technology, Inc. Page 39 of 218 May 26, 2016...
  • Page 40: Capturing A Diagnostic Session To A Log File

    To email the log file to ProSoft Technology’s technical support team, click the Email Log File button. (For this to work, Microsoft Outlook must be installed on your PC.)
  • Page 41: Using The Data Analyzer (Serial Protocols Only)

    Data Analyzer session. The time tick will print at the time interval you specify in the Data Analyzer Setup dialog box. For example, if you select 10 mS Ticks, it will print every 10 milliseconds. ProSoft Technology, Inc. Page 41 of 218 May 26, 2016...
  • Page 42 Each set of brackets holds one word (2 bytes) of data. For Modbus protocol users: To interpret the data packets, refer to the Modbus Protocol Specification, which can be found in this manual (page 139) or at www.modbus.org. Page 42 of 218 ProSoft Technology, Inc. May 26, 2016...
  • Page 43: Gateway Status Data In Upper Memory

    Diagnostics sections of the protocol chapters: EIP diagnostics (page 70) MBTCP diagnostics (page 105) MBS diagnostics (page 132) ASCII diagnostics (page 163) SIE diagnostics (page 181) PND diagnostics (page 213) ProSoft Technology, Inc. Page 43 of 218 May 26, 2016...
  • Page 44 PLX3x Series User Manual Ethernet and Serial Gateways Page 44 of 218 ProSoft Technology, Inc. May 26, 2016...
  • Page 45: Hardware Information

    PLX3x Series Hardware Information Ethernet and Serial Gateways User Manual Hardware Information In This Chapter  Hardware Specifications ..............46  Serial Port Cables (for Gateways with Serial Ports)......48 ProSoft Technology, Inc. Page 45 of 218 May 26, 2016...
  • Page 46: Hardware Specifications

    Shipped With Each Unit 2.5 mm screwdriver ProSoft Solutions DVD J180 Power Connector (1 to 4) RJ45-DB9M Serial Adapter Cable (serial protocol only) (1 to 4) DB9 to Screw Terminal Adapter (serial protocol only) Page 46 of 218 ProSoft Technology, Inc. May 26, 2016...
  • Page 47: Serial Port Specifications

    RS-485/422 port interface lines TVS diode protected Serial Port Protection at +/- 27V standoff voltage. RS-232 port interface lines fault protected to +/- 36V power on, +/- 40V power off. ProSoft Technology, Inc. Page 47 of 218 May 26, 2016...
  • Page 48: Serial Port Cables (For Gateways With Serial Ports)

    To enable hardware handshaking, set the port configuration to use RTS/CTS handshaking. (For MBS protocol, set the Use CTS Line parameter to Yes. For ASCII protocol, set the Handshaking parameter to Yes.) Page 48 of 218 ProSoft Technology, Inc. May 26, 2016...
  • Page 49: Null Modem (Dte Without Hardware Handshaking)

    4.2.3 RS-232 - DTE to DCE Modem Connection This type of connection is required between the gateway and a modem or other communication device. For most modem applications, RTS/CTS handshaking should be enabled in the port configuration. ProSoft Technology, Inc. Page 49 of 218 May 26, 2016...
  • Page 50: Interface Connections

    As an alternative, you could try setting the gateway to use the RS-422 interface and connect the full-duplex device according to the RS-422 wiring diagram. For additional assistance, please contact ProSoft Technical Support. Page 50 of 218 ProSoft Technology, Inc. May 26, 2016...
  • Page 51: Eip Protocol

    EIP Functional Overview ..............52  EIP Configuration................54  EIP Diagnostics ................70  EIP Reference .................. 77 This chapter contains information specific to the PLX3x-series gateway EtherNet/IP (EIP) protocol driver. ProSoft Technology, Inc. Page 51 of 218 May 26, 2016...
  • Page 52: Eip Functional Overview

    PLX31-EIP-MBTCP - 2 connections PLX31-EIP-MBS - 2 connections PLX31-EIP-MBS4 - 8 connections PLX31-EIP-ASCII - 1 connection PLX31-EIP-ASCII4 - 4 connections PLX31-EIP-SIE – 2 connections Connected Client Class 3 Unconnected Client Server Page 52 of 218 ProSoft Technology, Inc. May 26, 2016...
  • Page 53: Ethernet/Ip™ Client

    Polling of Command List continuous and on change of data (write only). Number of Commands (up to 100 per Client) Other Configurable Parameters Min Command Delay Response Timeout Retry Count Command Error Pointer ProSoft Technology, Inc. Page 53 of 218 May 26, 2016...
  • Page 54: Eip Configuration

    BitAData[500] SIntData[2000] DIntData[500] RealData[500] 1999 Int_data[1999] BoolData[31984] SIntData[3998] 2000 Int_data[2000] BoolData[32000] BitAData[1000] SIntData[4000] DIntData[1000] RealData[1000] 2999 Int_data[2999] BoolData[47984] SIntData[5998] 3000 Int_data[3000] BoolData[48000] BitAData[1500] SIntData[6000] DIntData[1500] RealData[1500] 3999 Int_data[3999] BoolData[63999] SIntData[9998] Page 54 of 218 ProSoft Technology, Inc. May 26, 2016...
  • Page 55 Protected Typed Logical Write With Two 0x0F Address Fields 0xAA Protected Typed Logical Write With Three 0x0F Address Fields 0xAB Protected Typed Logical Write With Mask (Three Address Fields) 0x0F ProSoft Technology, Inc. Page 55 of 218 May 26, 2016...
  • Page 56: Eip Class 1 Connection

    2. Click Find and search for Generic EtherNet Bridge click Create. 3. Set the IP address to the gateway. This creates the communication path from the processor to the PLX3x gateway Page 56 of 218 ProSoft Technology, Inc. May 26, 2016...
  • Page 57 Address module to the PLC 0-248 This parameter specifies the number of integers being Output Size transferred to the PLC's output image (248 integers max) ProSoft Technology, Inc. Page 57 of 218 May 26, 2016...
  • Page 58: Eip Class 3 Client/Uclient [X] Connection

    0 to 10 This parameter specifies the number of times a command will be Retry Count retried if it fails. Page 58 of 218 ProSoft Technology, Inc. May 26, 2016...
  • Page 59 Programmable Automation Controllers (PACs), Programmable Logic Controllers (PLCs), or other EtherNet/IP server devices, you must construct a command list. The following tables describe the command list parameters for each message type. ProSoft Technology, Inc. Page 59 of 218 May 26, 2016...
  • Page 60 Specifies the PLC-5 file number to be associated with the File Number command. If a value of -1 is entered for the parameter, the field will not be used in the command, and the default Page 60 of 218 ProSoft Technology, Inc. May 26, 2016...
  • Page 61 Specifies the element in the file where the command will Element start. Number This field can be used to give a 32 character comment to Comment the command. ProSoft Technology, Inc. Page 61 of 218 May 26, 2016...
  • Page 62 Specifies the function code to be used in the command. Func Code 502 - Protected Typed Read 510 - Protected Typed Write 511 - Protected Typed Write w/Mask Page 62 of 218 ProSoft Technology, Inc. May 26, 2016...
  • Page 63 Sub Element command. Refer to the AB documentation for a list of valid sub-element codes. This field can be used to give a 32 character comment Comment to the command. ProSoft Technology, Inc. Page 63 of 218 May 26, 2016...
  • Page 64 Specifies the file type to be associated with the File Type Counter command. Timer Control Integer Float ASCII String Status Specifies the PLC5 file number to be associated with File Number Page 64 of 218 ProSoft Technology, Inc. May 26, 2016...
  • Page 65 Sub Element command. Refer to the AB documentation for a list of valid sub-element codes. This field can be used to give a 32 character comment Comment to the command. ProSoft Technology, Inc. Page 65 of 218 May 26, 2016...
  • Page 66 Specifies the file type to be associated with the File Type Counter command. Timer Control Integer Float ASCII String Status Specifies the PLC-5 Address as a string. For example File String Page 66 of 218 ProSoft Technology, Inc. May 26, 2016...
  • Page 67 PLX3x Series EIP Protocol Ethernet and Serial Gateways User Manual Value Description Parameter N10:300 This field can be used to give a 32 character comment Comment to the command. ProSoft Technology, Inc. Page 67 of 218 May 26, 2016...
  • Page 68 333 - CIP Data Table Write Bool Specifies the data type of the target controller tag Data Type SINT name. DINT REAL DWORD Specifies the controller tag in the target PLC. Tag Name Page 68 of 218 ProSoft Technology, Inc. May 26, 2016...
  • Page 69 5 - Unprotected Write Specifies the word address where to start the operation. Word Address This field can be used to give a 32 character comment Comment to the command. ProSoft Technology, Inc. Page 69 of 218 May 26, 2016...
  • Page 70: Eip Diagnostics

    See Using the CommonNet Data Map (page 25). Note that all the status values are initialized to zero (0) at power-up, cold boot and during warm boot. Page 70 of 218 ProSoft Technology, Inc. May 26, 2016...
  • Page 71 Therefore, the size of the command list error data area depends on the number of commands defined. ProSoft Technology, Inc. Page 71 of 218 May 26, 2016...
  • Page 72 Description Offset Connection State 0 through 1 Open Connection Count 2 through 3 Socket Read Count 4 through 5 Socket Write Count 6 through 7 Peer IP 8 through 15 Page 72 of 218 ProSoft Technology, Inc. May 26, 2016...
  • Page 73: Eip Error Codes

    Duplicate token holder detected 0x0400 Local port is disconnected 1024 0x0500 Application layer timed out waiting for response 1280 0x0600 Duplicate node detected 1536 0x0700 Station is offline 1792 0x0800 Hardware fault 2048 ProSoft Technology, Inc. Page 73 of 218 May 26, 2016...
  • Page 74 Data conversion error -4075 0xF016 Scanner not able to communicate with 1771 rack adapter -4074 0xF017 Type mismatch -4073 0xF018 1171 Gateway response was not valid -4072 0xF019 Duplicate label -4071 Page 74 of 218 ProSoft Technology, Inc. May 26, 2016...
  • Page 75 CPF bad command code 0xFFD3 CPF status error reported 0xFFD2 CPF incorrect connection ID value returned 0xFFD1 Context field not matched 0xFFD0 Incorrect session handle returned 0xFFCF CPF not correct message number ProSoft Technology, Inc. Page 75 of 218 May 26, 2016...
  • Page 76 Status error reported 0xFFC1 CPF bad command code 0xFFC0 TNS in PCCC message not matched 0xFFBF Vendor ID in PCCC message not matched 0xFFBE Serial number in PCCC message not matched Page 76 of 218 ProSoft Technology, Inc. May 26, 2016...
  • Page 77: Eip Reference

    DEVICE parameter value of 500CPU or PLC5. In order to complete the configuration of the MSG instruction, select the SETUP SCREEN area of the MSG object. This displays the following dialog box. ProSoft Technology, Inc. Page 77 of 218 May 26, 2016...
  • Page 78 SLC5/05 Read Commands Read commands transfer data to the SLC processor from the gateway. An example rung used to execute a read command is shown in the following diagram: Page 78 of 218 ProSoft Technology, Inc. May 26, 2016...
  • Page 79 Set the IP address value to the gateway’s Ethernet IP address. The "Insert" key must be pressed to add the second line for ControlLogix Backplane and set the slot number to zero. ProSoft Technology, Inc. Page 79 of 218 May 26, 2016...
  • Page 80 This field selects a sub-element field in a complex data table. For example, to obtain the current accumulated value for a counter or timer, the sub- element field should be set to 2. Page 80 of 218 ProSoft Technology, Inc. May 26, 2016...
  • Page 81: Plc5 Processor Specifics

    (such as, N11:0) for SLC and PLC5 messages. For the PLC2 Unprotected Write message, set the address to the database index (such as, 1000) to consider with the command. ProSoft Technology, Inc. Page 81 of 218 May 26, 2016...
  • Page 82 In order to complete the configuration of the MSG instruction, select the SETUP SCREEN area of the MSG object. This displays the following dialog box. Page 82 of 218 ProSoft Technology, Inc. May 26, 2016...
  • Page 83 Set the IP address value to the gateway’s Ethernet IP address. The "Insert" key must be pressed to add the second line for ControlLogix Backplane and set the slot number to zero. ProSoft Technology, Inc. Page 83 of 218 May 26, 2016...
  • Page 84 *All PD values are floating point values, so they are two words long. Description Code Control RLEN DLEN Data file # Element # Rack/Grp/Slot Description Code Control Error RLEN DLEN Page 84 of 218 ProSoft Technology, Inc. May 26, 2016...
  • Page 85: Controllogix And Compactlogix Processor Specifics

     PLC2 Unprotected Write  PLC5 Typed Write  PLC5 Word Range Write  PLC Typed Write An example rung used to execute a write command is shown in the following diagram: ProSoft Technology, Inc. Page 85 of 218 May 26, 2016...
  • Page 86 For a PLC2 unprotected write or read function, the database address should be entered in octal format. The COMMUNICATION information must also be configured. The following is an example of the dialog box. Page 86 of 218 ProSoft Technology, Inc. May 26, 2016...
  • Page 87 An example rung used to execute a read command is shown in the following diagram: The MESSAGE CONFIGURATION dialog box must be completed to define the data set to transfer to the processor from the gateway. An example of the dialog box follows: ProSoft Technology, Inc. Page 87 of 218 May 26, 2016...
  • Page 88 More complex paths are possible if routing to other networks using multiple 1756- ENET gateways and racks. Refer to the Support Knowledgebase for more information on Ethernet routing and path definitions. Page 88 of 218 ProSoft Technology, Inc. May 26, 2016...
  • Page 89 The gateway simulates a tag database as an array of elements defined by the maximum register size for the gateway (user configuration parameter "Maximum Register" in the [Gateway] section) with the tag name INT_DATA. ProSoft Technology, Inc. Page 89 of 218 May 26, 2016...
  • Page 90 Ethernet routing and path definitions. CIP Data Table Read CIP data table read messages transfer data to the processor from the gateway. An example rung used to execute a read command is shown: Page 90 of 218 ProSoft Technology, Inc. May 26, 2016...
  • Page 91 Additionally, the COMMUNICATION information must also be configured. An example of the dialog box follows: ProSoft Technology, Inc. Page 91 of 218 May 26, 2016...
  • Page 92: Eip Command Entry Form

    Address Interval Code Address Number Code Code Time IP Address = IP address of processor to reach Slot Number = -1 for PLC5 & SLC, processor slot number of ControlLogix Page 92 of 218 ProSoft Technology, Inc. May 26, 2016...
  • Page 93: Mbtcp Protocol

    MBTCP Functional Overview ............94  MBTCP Configuration ............... 98  MBTCP Diagnostics ................ 105  MBTCP Reference ................109 This chapter contains information specific to the PLX3x-series gateway Modbus TCP/IP (MBTCP) protocol driver. ProSoft Technology, Inc. Page 93 of 218 May 26, 2016...
  • Page 94: Mbtcp Functional Overview

    Modbus TCP/IP Client  Actively reads data from and writes data to Modbus TCP/IP devices using MBAP  Up to 10 Client connections with multiple commands to talk to multiple servers Page 94 of 218 ProSoft Technology, Inc. May 26, 2016...
  • Page 95: Internal Database

    In addition to data from the Client and server, status and error information generated by the gateway can also be mapped into the internal database. ProSoft Technology, Inc. Page 95 of 218 May 26, 2016...
  • Page 96 Clients. Access to the database is controlled by the command type received in the incoming message from the Client. The following table specifies the relationship of the gateway’s internal database to the addresses required in the incoming Modbus TCP/IP requests. Page 96 of 218 ProSoft Technology, Inc. May 26, 2016...
  • Page 97 (whether a read or a write command) are immediately routed to the slave devices on the serial port. Response messages from the slave devices are routed to the TCP/IP network to be received by the originating host. ProSoft Technology, Inc. Page 97 of 218 May 26, 2016...
  • Page 98: Mbtcp Configuration

    Function Code 1 commands (Read Coils) and written by Function Codes 5 (Force Single Coil) or Function Code 15 (Force Multiple Coils). For example, if this parameter is set to 50 and a Function Page 98 of 218 ProSoft Technology, Inc. May 26, 2016...
  • Page 99 This parameter specifies the number of seconds the server will wait Connection seconds to receive new data. If the server does not receive any new data Timeout during this time, it will close the connection. ProSoft Technology, Inc. Page 99 of 218 May 26, 2016...
  • Page 100: Mbtcp Client[X]

    7000 and above will be considered as floating-point data. 0 TO 3998 This parameter specifies the starting register for floating-point Float Offset data in the internal gateway database. This parameter is used Page 100 of 218 ProSoft Technology, Inc. May 26, 2016...
  • Page 101 Error Delay recognized for the command. If this parameter is set to 0, there will be no delay. ProSoft Technology, Inc. Page 101 of 218 May 26, 2016...
  • Page 102: Mbtcp Client[X] Commands

    0 to 63999(for or a 16-bit register (word) address, depending on the Modbus bit-level Function Code used in the command. addressing) For Modbus functions 1, 2, 5, and 15, this parameter is Page 102 of 218 ProSoft Technology, Inc. May 26, 2016...
  • Page 103 Do not use node address 0 for read operations. 1, 2, 3, 4, 5, 6, Modbus Specifies the Modbus Function Code to be executed by the 15, or 16 ProSoft Technology, Inc. Page 103 of 218 May 26, 2016...
  • Page 104 In such cases, it is not usually necessary to subtract 1 from the converted decimal number, as this addressing scheme typically uses the exact offset address expressed as a hexadecimal number. Page 104 of 218 ProSoft Technology, Inc. May 26, 2016...
  • Page 105: Mbtcp Diagnostics

    Number of Command Responses Number of Command Errors Number of Requests Number of Responses Number of Errors Sent Number of Errors Received Configuration Error Word Current Error Code Last Error Code ProSoft Technology, Inc. Page 105 of 218 May 26, 2016...
  • Page 106 For details on error codes, see MBTCP Client Command List Error Data (page 108). Page 106 of 218 ProSoft Technology, Inc. May 26, 2016...
  • Page 107 Command #15 Error Code Command #16 Error Code A non-zero error code for a command indicates an error. To interpret the status/error codes, refer to MBTCP Error Codes (page 108). ProSoft Technology, Inc. Page 107 of 218 May 26, 2016...
  • Page 108: Mbtcp Error Codes

    Description Code Timeout while transmitting message Timeout waiting for response after request (same as -36) Incorrect slave/server address in response Incorrect function code in response Invalid CRC/LRC value in response Page 108 of 218 ProSoft Technology, Inc. May 26, 2016...
  • Page 109: Mbtcp Reference

    The quantity of data characters is always specified as quantity of RTU characters, that is, the number is the same whether RTU or ASCII is used. ProSoft Technology, Inc. Page 109 of 218 May 26, 2016...
  • Page 110 The quantity of data characters is always specified as a quantity of RTU characters, that is, the number is the same whether RTU or ASCII is used. Page 110 of 218 ProSoft Technology, Inc. May 26, 2016...
  • Page 111 Some servers will limit the quantity of register content provided each scan; thus for large register quantities, multiple transmissions will be made using register content from sequential scans. ProSoft Technology, Inc. Page 111 of 218 May 26, 2016...
  • Page 112 PC scans will be required, and the data provided will be form sequential scans. In the example below the register 3009 contains the decimal value 0. Func Byte Count Data Input Reg Hi Data Input Reg Lo Error Check Field Page 112 of 218 ProSoft Technology, Inc. May 26, 2016...
  • Page 113 Note: The Modbus protocol does not include standard functions for testing or changing the DISABLE state of discrete inputs or outputs. Where applicable, this may be accomplished via device specific Program commands (In ProSoft products, this is only accomplished through ladder logic programming). ProSoft Technology, Inc. Page 113 of 218 May 26, 2016...
  • Page 114 Device memory bit and register data addresses are not accessed by the diagnostics. However, certain functions can optionally reset error counters in some remote devices. Page 114 of 218 ProSoft Technology, Inc. May 26, 2016...
  • Page 115 (A5 37 hex). Response Request (Hex) Field Name (Hex) Field Name Function Function Sub-function Hi Sub-function Hi Sub-function Lo Sub-function Lo Data Hi Data Hi Data Lo Data Lo ProSoft Technology, Inc. Page 115 of 218 May 26, 2016...
  • Page 116 PLX3x Series User Manual Ethernet and Serial Gateways The data fields in responses to other kinds of queries could contain error counts or other data requested by the sub-function code. Page 116 of 218 ProSoft Technology, Inc. May 26, 2016...
  • Page 117 (01) is for a Read Output Status operation. It requests the status of the output at address 1245 (04A1 hex). Note that only that one output is to be read, as specified by the number of outputs field (0001). ProSoft Technology, Inc. Page 117 of 218 May 26, 2016...
  • Page 118 Specialized use in conjunction with gateways, indicates Failed To Respond that no response was obtained from the target device. Usually means that the device is not present on the network. Page 118 of 218 ProSoft Technology, Inc. May 26, 2016...
  • Page 119 Thus, if such a coil is set ON by function code 15 and (even months later) an output is connected to that coil, the output will be hot. ProSoft Technology, Inc. Page 119 of 218 May 26, 2016...
  • Page 120 The normal response to a function 16 query is to echo the address, function code, starting address and number of registers to be loaded. Func Hi Addr Lo Addr Quantity Error Check Field Page 120 of 218 ProSoft Technology, Inc. May 26, 2016...
  • Page 121: Mbs Protocol

    MBS Functional Overview .............. 122  MBS Configuration................125  MBS Diagnostics ................132  MBS Reference ................139 This chapter contains information specific to the PLX3x-series gateway Modbus Serial (MBS) protocol driver. ProSoft Technology, Inc. Page 121 of 218 May 26, 2016...
  • Page 122: Mbs Functional Overview

    Error codes available on an individual command basis. In addition, a Status Data slave status list is maintained per active Modbus Master port. 1 to 247 (software selectable) Node Address RS232, RS422, and RS485 RS Interface Page 122 of 218 ProSoft Technology, Inc. May 26, 2016...
  • Page 123: Modbus Master/Slave Port Specifications

    Modbus Slave 1 to 247 (software selectable) Node address Error codes, counters and port status available per Status Data configured slave port starting at memory register 4400. ProSoft Technology, Inc. Page 123 of 218 May 26, 2016...
  • Page 124: Gateway Internal Database

    Modbus TCP/IP requests. Modbus Address Database Address 40001 (five-digit addressing) or 400001 (six-digit addressing) 41001 or 410001 1000 42001 or 420001 2000 43001 or 430001 3000 44000 or 440000 3999 Page 124 of 218 ProSoft Technology, Inc. May 26, 2016...
  • Page 125: Mbs Configuration

    For slower devices that require more time to re-synchronize, use two stop bits. All devices communicating through this port must use the same number of stop bits. ProSoft Technology, Inc. Page 125 of 218 May 26, 2016...
  • Page 126 (1), two (2), or three (3) into a 100-register area of the gateway database, beginning at the address entered in this parameter. If commands in the list are specified with an Enable code of zero for Page 126 of 218 ProSoft Technology, Inc. May 26, 2016...
  • Page 127 To use this feature, configure the commands as disabled (enable code = 0). This Command Control feature can be disabled by setting this parameter to a value of 0 to -1. ProSoft Technology, Inc. Page 127 of 218 May 26, 2016...
  • Page 128 Certain applications may require validation of Modbus Delay messages with more than 3.5 character time between consecutive bytes (example: modem applications). A value of 0 will cause the default end of message delay to be used. Page 128 of 218 ProSoft Technology, Inc. May 26, 2016...
  • Page 129: Mbs Port [X] Commands

    No change(0) - No change is made in the byte ordering (1234 = ProSoft Technology, Inc. Page 129 of 218 May 26, 2016...
  • Page 130 Address calculation examples: For bit-level Coil commands (FC 1, 5, or 15) to read or write a Coil 0X address 00001, specify a value of 0 (00001 - 00001 = 0). Page 130 of 218 ProSoft Technology, Inc. May 26, 2016...
  • Page 131 In such cases, it is not usually necessary to subtract 1 from the converted decimal number, as this addressing scheme typically uses the exact offset address expressed as a hexadecimal number. ProSoft Technology, Inc. Page 131 of 218 May 26, 2016...
  • Page 132: Mbs Diagnostics

    The status data area is initialized with zeros whenever the gateway is restarted. This occurs during a cold-start (power-on), reset (reset push-button pressed) or a warm-boot operation (commanded from a debug screen or after downloading a new configuration). Page 132 of 218 ProSoft Technology, Inc. May 26, 2016...
  • Page 133 Modbus Error and Status Data area. The status values, Port STATE and Port COMM STATE (circled in red), can be found only in the PCB diagnostic menus under Comm Status for a port as shown in the following graphic. ProSoft Technology, Inc. Page 133 of 218 May 26, 2016...
  • Page 134 Waiting for RTS-On Delay timer to timeout Sending data Waiting for all data to be sent and starting RTS-Off Delay Timer Waiting for RTS-Off Delay timeout and then turning OFF RTS line after timeout Page 134 of 218 ProSoft Technology, Inc. May 26, 2016...
  • Page 135 Error Codes are not archived in the gateway's database. To see if the port has experienced an error since the most recent restart and what the most recently occurring error was, if any, you can check the Last Error/Index. ProSoft Technology, Inc. Page 135 of 218 May 26, 2016...
  • Page 136 (timeout expired on a command, retries failed), the Master will set the state of the slave to a value of 2 in this status table. This suspends communication with the slave device for a user-specified Error Delay Count. Page 136 of 218 ProSoft Technology, Inc. May 26, 2016...
  • Page 137 247. Note: The values in the slave List Status tables are initialized to zero (0) at power-up, cold boot and during warm boot. ProSoft Technology, Inc. Page 137 of 218 May 26, 2016...
  • Page 138: Error/Status Codes

    Internal address > maximum address Invalid node address (<0 or > 255) Count parameter set to 0 Invalid function code All parameters set to 0 All parameters set to -1 Page 138 of 218 ProSoft Technology, Inc. May 26, 2016...
  • Page 139: Mbs Reference

    The quantity of data characters is always specified as quantity of RTU characters, that is, the number is the same whether RTU or ASCII is used. ProSoft Technology, Inc. Page 139 of 218 May 26, 2016...
  • Page 140 The following table is a sample read input status request to read inputs 10197 to 10218 from server number 11. Func Data Start Pt Hi Data Start Pt Lo Data #of Pts Hi Data #of Pts Lo Error Check Field Page 140 of 218 ProSoft Technology, Inc. May 26, 2016...
  • Page 141 The example below reads registers 40108 through 40110 from server 584 number 11. Adr Func Data Start Reg Hi Data Start Reg Lo Data #of Regs Hi Data #of Regs Lo Error Check Field ProSoft Technology, Inc. Page 141 of 218 May 26, 2016...
  • Page 142 The example below requests the contents of register 3009 in server number 11. Adr Func Data Start Reg Hi Data Start Reg Lo Data #of Regs Hi Data #of Regs Lo Error Check Field Page 142 of 218 ProSoft Technology, Inc. May 26, 2016...
  • Page 143 The example below is a request to server number 11 to turn ON coil 0173. Func Data Coil # Hi Data Coil # Lo Data On/off Ind Data Error Check Field ProSoft Technology, Inc. Page 143 of 218 May 26, 2016...
  • Page 144 Note: Functions 5, 6, 15, and 16 are the only messages that will be recognized as valid for broadcast. Func Data Start Reg Data Start Reg Data #of Regs Hi Data #of Regs Lo Error Check Field Page 144 of 218 ProSoft Technology, Inc. May 26, 2016...
  • Page 145 The data passed in the request data field is to be returned (looped back) in the response. The entire response message should be identical to the request. Data Field (Response) Data Field (Request) Sub-function Echo Request Data 00 00 ProSoft Technology, Inc. Page 145 of 218 May 26, 2016...
  • Page 146 Data Hi Data Hi Data Lo Data Lo The data fields in responses to other kinds of queries could contain error counts or other data requested by the sub-function code. Page 146 of 218 ProSoft Technology, Inc. May 26, 2016...
  • Page 147 (01) is for a Read Output Status operation. It requests the status of the output at address 1245 (04A1 hex). Note that only that one output is to be read, as specified by the number of outputs field (0001). ProSoft Technology, Inc. Page 147 of 218 May 26, 2016...
  • Page 148 Specialized use in conjunction with gateways, indicates Failed To Respond that no response was obtained from the target device. Usually means that the device is not present on the network. Page 148 of 218 ProSoft Technology, Inc. May 26, 2016...
  • Page 149 Thus, if such a coil is set ON by function code 15 and (even months later) an output is connected to that coil, the output will be hot. ProSoft Technology, Inc. Page 149 of 218 May 26, 2016...
  • Page 150 The normal response to a function 16 query is to echo the address, function code, starting address and number of registers to be loaded. Func Hi Addr Lo Addr Quantity Error Check Field Page 150 of 218 ProSoft Technology, Inc. May 26, 2016...
  • Page 151: Ascii Protocol

    In This Chapter  ASCII Functional Overview ............. 152  ASCII Configuration ................ 161  ASCII Diagnostics ................163 This chapter contains information specific to the PLX3x-series gateway ASCII protocol driver. ProSoft Technology, Inc. Page 151 of 218 May 26, 2016...
  • Page 152: Ascii Functional Overview

    Stop Bits: 1 or 2 o RTS On and Off Timing: 0 to 65535 milliseconds o Minimum Response Delay: 0 to 65535 milliseconds o Hardware or Software Handshaking: RTS/CTS, DTR/DSR, or XON/XOFF Page 152 of 218 ProSoft Technology, Inc. May 26, 2016...
  • Page 153: Data Flow

    Receive and transmit data block structure is discussed in the following topics. ProSoft Technology, Inc. Page 153 of 218 May 26, 2016...
  • Page 154 1 when an odd number of bytes are received and the swap option is utilized. This is to avoid losing the last byte of data in the message. Page 154 of 218 ProSoft Technology, Inc. May 26, 2016...
  • Page 155 Note: If an odd number of bytes are sent by the end device when the swap option is used, then the last byte of the message may be lost. ProSoft Technology, Inc. Page 155 of 218 May 26, 2016...
  • Page 156: Modes Of Operation

    The Tx DB Start parameter must contain a value of -1. This value indicates that the port will not transmit any data. Page 156 of 218 ProSoft Technology, Inc. May 26, 2016...
  • Page 157 The Rx DB Start parameter must contain a value of -1. This value indicates that the port will not receive any data. ProSoft Technology, Inc. Page 157 of 218 May 26, 2016...
  • Page 158 Rx DB Start parameter and the Tx DB Start parameter both contain values that specify data storage starting locations. A -1 value in either parameter will disable the particular function that the parameter serves. Page 158 of 218 ProSoft Technology, Inc. May 26, 2016...
  • Page 159 If the data can be handled by the processor in this mode and it is appropriate for your application, this is the fastest method of communication between the device and the processor. ProSoft Technology, Inc. Page 159 of 218 May 26, 2016...
  • Page 160 The first block sent to the controller will contain the characters "ABCD", and the second block will contain the characters "EFGH". The characters "IJ" will not be sent until two more characters are received on the port. Page 160 of 218 ProSoft Technology, Inc. May 26, 2016...
  • Page 161: Ascii Configuration

    Ready To Send (RTS) is asserted. 0 to 65535 RTS Off Specifies the number of milliseconds to delay after the last byte of data is sent before the RTS modem signal is set low. ProSoft Technology, Inc. Page 161 of 218 May 26, 2016...
  • Page 162 RTS on time. This may be required when communicating with slow devices. YES or NO Swap Tx Specifies if byte swapping of transmitted data will occur. Data Bytes Page 162 of 218 ProSoft Technology, Inc. May 26, 2016...
  • Page 163: Ascii Diagnostics

    30, 31, and 32 = Intercharacter Delay 100 and 101 = Message Delay before Transmit Total transmit character count Total transmit message count Reserved No valid data 7 to 9 ProSoft Technology, Inc. Page 163 of 218 May 26, 2016...
  • Page 164 PLX3x Series User Manual Ethernet and Serial Gateways Page 164 of 218 ProSoft Technology, Inc. May 26, 2016...
  • Page 165: Sie Protocol

     SIE Configuration................167  SIE Diagnostics ................181  SIE Reference ................193 This chapter contains information specific to PLX3x-series gateways with a Siemens Industrial Ethernet (SIE) protocol driver. ProSoft Technology, Inc. Page 165 of 218 May 26, 2016...
  • Page 166: Sie Functional Overview

    In addition to data from the Client, status and error information generated by the gateway can also be mapped into the internal database. Page 166 of 218 ProSoft Technology, Inc. May 26, 2016...
  • Page 167: Sie Configuration

    If the user specifies a value of 10 for the parameter, the command will be executed no more frequently than every 1 second. ProSoft Technology, Inc. Page 167 of 218 May 26, 2016...
  • Page 168 REAL Write READ Write TIME READ TIME Write COUNT READ COUNT Write Timer: Function Data Type Address Type TIME Timer READ Counter: Function Data Type Address Type Count Counter READ Page 168 of 218 ProSoft Technology, Inc. May 26, 2016...
  • Page 169 Data Type Address Type Output BOOL READ BOOL Write BYTE READ BYTE Write DINT READ DINT Write REAL READ REAL Write READ Write TIME READ TIME Write Count READ Count Write ProSoft Technology, Inc. Page 169 of 218 May 26, 2016...
  • Page 170 Data Type Address Type Input BOOL READ BOOL Write BYTE READ BYTE Write DINT READ DINT Write REAL READ REAL Write READ Write TIME READ TIME Write Count READ Count Write Page 170 of 218 ProSoft Technology, Inc. May 26, 2016...
  • Page 171 READ REAL Write READ Write Output: Function Data Type Address Type BOOL Output READ BOOL Write BYTE READ BYTE Write DINT READ DINT Write REAL READ REAL Write READ Write ProSoft Technology, Inc. Page 171 of 218 May 26, 2016...
  • Page 172 User Manual Ethernet and Serial Gateways Input: Function Data Type Address Type BOOL Input READ BOOL Write BYTE READ BYTE Write DINT READ DINT Write REAL READ REAL Write READ Write Page 172 of 218 ProSoft Technology, Inc. May 26, 2016...
  • Page 173 Function Address Type BOOL Flag READ BOOL Write BYTE READ BYTE Write DINT READ DINT Write REAL READ REAL Write READ Write TIME READ TIME Write Count READ Count Write ProSoft Technology, Inc. Page 173 of 218 May 26, 2016...
  • Page 174 Address Type Function BOOL Input READ BOOL Write BYTE READ BYTE Write DINT READ DINT Write REAL READ REAL Write READ Write TIME READ TIME Write Count READ Count Write Page 174 of 218 ProSoft Technology, Inc. May 26, 2016...
  • Page 175 Therefore, data swapping using these Swap Codes should be done only when using an even number of words, such as when 32-bit integer or floating-point data is involved. ProSoft Technology, Inc. Page 175 of 218 May 26, 2016...
  • Page 176 Data Types, the address is a byte address. For Read or Write operations using the BOOL Data Type, the address is a bit address. Please see below for notes on addressing. Page 176 of 218 ProSoft Technology, Inc. May 26, 2016...
  • Page 177 Double Word Address in Data Block: DB1.DBD1 2#0000_0110 2#0000_0000 2#0110_0001 2#0011_0110 2#1100_0110 DB1.DBD0 The gray area above represents the byte memory locations being overlapped when double word address is used consecutively (DB1.DBD0, DB1.DBD1, DB1.DBD2, etc). ProSoft Technology, Inc. Page 177 of 218 May 26, 2016...
  • Page 178 DB1.DBB2 DB1.DBB3 DB1.DBB4 DB1.DBD0 Example: Sending an integer value of 11733 from gateway register 1000 to a Siemens S7- 300 processor demonstrates the addressing scheme in the Siemens S7-300 processor: Page 178 of 218 ProSoft Technology, Inc. May 26, 2016...
  • Page 179 DB1.DBW 0 and by DB1.DBB0 are one and the same, as explained previously. Same memory space Same memory space DB1.DBW0DB1.DBW1 2#0010_1101 2#1101_0101 2#1101_0101 2#0101_0111 DB1.DBB0 DB1.DBB1 DB1.DBB1 DB1.DBB2 The first byte of DB1.DBW0 is the same as DB1.DBB0. ProSoft Technology, Inc. Page 179 of 218 May 26, 2016...
  • Page 180 Note: To access the first address of Data Block, Flag, Input and Output memory locations in the S7-200 processor, use the following address syntax. Data Block -> VB0, VW0, VD0 Flag -> MB0, MW0, MD0 Input -> IB0, IW0, ID0 Output -> QB0, QW0, QD0 Page 180 of 218 ProSoft Technology, Inc. May 26, 2016...
  • Page 181: Sie Diagnostics

    For every command that has an error, the gateway automatically sets the poll delay parameter to 30 seconds. This instructs the gateway to wait 30 seconds before it attempts to issue the command again. ProSoft Technology, Inc. Page 181 of 218 May 26, 2016...
  • Page 182: Sie Error Codes

    0x8103 Object access not allowed -32508 0x8104 Context is not supported. Step7 says: Function not implemented or error in telegram -32507 0x8105 Invalid address -32506 0x8106 Data type not supported Page 182 of 218 ProSoft Technology, Inc. May 26, 2016...
  • Page 183 -11263 0xd401 Invalid SZL ID -11262 0xd402 Invalid SZL index -11258 0xd406 Diagnosis: Info not available -11255 0xd409 Diagnosis: DP error -9215 0xdc01 Invalid BCD code or Invalid time format ProSoft Technology, Inc. Page 183 of 218 May 26, 2016...
  • Page 184 Too few parameters 0xffd7 Invalid enable code 0xffd6 Internal address > maximum address 0xffd4 Count parameter set to 0 0xffd3 Invalid function code 0xffd2 Invalid swap code 0xffd1 Invalid TSAP code Page 184 of 218 ProSoft Technology, Inc. May 26, 2016...
  • Page 185: Sie Reference

    Write TIME READ COUNT Write COUNT Timer: Function Data Type Max Reg Cnt Address Type Timer READ TIME Counter: Function Data Type Max Reg Cnt Address Type Counter READ Count ProSoft Technology, Inc. Page 185 of 218 May 26, 2016...
  • Page 186 Max Reg Cnt Address Type Output READ BOOL Write BOOL READ BYTE Write BYTE READ DINT Write DINT READ REAL Write REAL READ Write READ TIME Write TIME READ Count Write Count Page 186 of 218 ProSoft Technology, Inc. May 26, 2016...
  • Page 187 Max Reg Cnt Address Type Input READ BOOL Write BOOL READ BYTE Write BYTE READ DINT Write DINT READ REAL Write REAL READ Write READ TIME Write TIME READ Count Write Count ProSoft Technology, Inc. Page 187 of 218 May 26, 2016...
  • Page 188 Max Reg Cnt Address Type Flag READ BOOL Write BOOL READ BYTE Write BYTE READ DINT Write DINT READ REAL Write REAL READ Write READ TIME Write TIME READ Count Write Count Page 188 of 218 ProSoft Technology, Inc. May 26, 2016...
  • Page 189 Max Reg Cnt Address Type Input READ BOOL Write BOOL READ BYTE Write BYTE READ DINT Write DINT READ REAL Write REAL READ Write READ TIME Write TIME READ Count Write Count ProSoft Technology, Inc. Page 189 of 218 May 26, 2016...
  • Page 190 Function Data Type Max Reg Cnt Max Reg Cnt Address Type Flag READ BOOL Write BOOL READ BYTE Write BYTE READ DINT Write DINT READ REAL Write REAL READ Write Page 190 of 218 ProSoft Technology, Inc. May 26, 2016...
  • Page 191 Max Reg Cnt Address Type Function Data Type Max Reg Cnt Input READ BOOL Write BOOL READ BYTE Write BYTE READ DINT Write DINT READ REAL Write REAL READ Write ProSoft Technology, Inc. Page 191 of 218 May 26, 2016...
  • Page 193: Pnd Protocol

    PND Functional Overview ..............  PND Configuration ................194  Step 7 Configuration .............. PND Input/Output Error Status ............This chapter contains information specific to the PLX3x-series gateway PND protocol driver. ProSoft Technology, Inc. Page 193 of 218 May 26, 2016...
  • Page 194: Pnd Functional Overview

    PND module using ProSoft Configuration Builder (PCB). This configuration provides the ability to communicate with a Siemens processor via the PROFINET protocol. 1. Launch ProSoft Configuration Builder. 2. Create a new PLX31-EIP-PND module. 3. Click OK. Page 194 of 218 ProSoft Technology, Inc. May 26, 2016...
  • Page 195 Select Slot 1. Select the number of input bytes. In this example, select Input 32 Byte from the drop down list. ProSoft Technology, Inc. Page 195 of 218 May 26, 2016...
  • Page 196 PND Protocol PLX3x Series User Manual Ethernet and Serial Gateways Select Slot 2. Select the number of output bytes. In this example, select Output 32 Byte from the drop down list. Page 196 of 218 ProSoft Technology, Inc. May 26, 2016...
  • Page 197 Siemens processor in order for them to communicate. The total combined Input bytes and total combined Output bytes must not be greater than 1440. 10. Save and download the configuration to the module. ProSoft Technology, Inc. Page 197 of 218 May 26, 2016...
  • Page 198: Step 7 Configuration

    Add a station to the project in which the network will be configured. Click on the SIMATIC 300 station. Configure the station by double-clicking the hardware icon under SIMATIC 300. Page 198 of 218 ProSoft Technology, Inc. May 26, 2016...
  • Page 199 PLX3x Series PND Protocol Ethernet and Serial Gateways User Manual The HW Config window opens. Click on Options > Install GSD file. ProSoft Technology, Inc. Page 199 of 218 May 26, 2016...
  • Page 200 PND Protocol PLX3x Series User Manual Ethernet and Serial Gateways The Install GSD File dialog opens. Click Browse and locate the GSD file. Page 200 of 218 ProSoft Technology, Inc. May 26, 2016...
  • Page 201 Select the file and click the Install button. The system informs you when the install is complete. Click OK. 10 From the HW Config page, select a rack and a power supply. ProSoft Technology, Inc. Page 201 of 218 May 26, 2016...
  • Page 202 Ethernet and Serial Gateways 11 Drag and drop the processor to be used in the network. The example uses 315-2 PN/DP. 12 Right-click on the PN-IO option and select Insert PROFINET IO System. Page 202 of 218 ProSoft Technology, Inc. May 26, 2016...
  • Page 203 13 Insert the ProfiNet bus network where the ProSoft module will be added by clicking on the PN-IO option and select New. The Properties - Ethernet Interface dialog opens. 14 Click the New button. The Properties - New subnet Industrial Ethernet dialog opens. ProSoft Technology, Inc. Page 203 of 218 May 26, 2016...
  • Page 204 PND Protocol PLX3x Series User Manual Ethernet and Serial Gateways 15 Click OK on the following prompt. 16 Add the PLX31-EIP-PND module to the network. Page 204 of 218 ProSoft Technology, Inc. May 26, 2016...
  • Page 205 17 Configure the interface port for the ProSoft module as shown. 18 Configure the inputs and outputs to match the PCB configuration. The example uses 32 inputs and 32 outputs. ProSoft Technology, Inc. Page 205 of 218 May 26, 2016...
  • Page 206 19 Verify the name and IP address by clicking PLC > Ethernet > Verify Device Name… If the status is not green, the module needs the name and IP to be assigned. This is done by clicking PLC > Ethernet > Assign Device Name. Page 206 of 218 ProSoft Technology, Inc. May 26, 2016...
  • Page 207 PLX3x Series PND Protocol Ethernet and Serial Gateways User Manual 20 Once the status is green, save and download the program. ProSoft Technology, Inc. Page 207 of 218 May 26, 2016...
  • Page 208 PLX3x Series User Manual Ethernet and Serial Gateways Once you download the program, the RUN LED and the DC5V on the processor should be green. There should be no red LEDs. Page 208 of 218 ProSoft Technology, Inc. May 26, 2016...
  • Page 209: Monitoring Data In Step 7

    To monitor the values coming out of the processor, click on the Input and choose the Monitor/Modify option. The values coming into the processor are displayed at the input section. ProSoft Technology, Inc. Page 209 of 218 May 26, 2016...
  • Page 210 PLX3x Series User Manual Ethernet and Serial Gateways To modify the values that the processor sends to the module, choose the Output, select the desired value, and select Modify Value. Page 210 of 218 ProSoft Technology, Inc. May 26, 2016...
  • Page 211: Creating A Variable Table To Display Floating Point Input Values

    Ethernet and Serial Gateways User Manual 10.3.2 Creating a Variable Table to Display Floating Point Input Values Select Insert New Object > Variable Table. Assign a name to the table and click OK. ProSoft Technology, Inc. Page 211 of 218 May 26, 2016...
  • Page 212 PND Protocol PLX3x Series User Manual Ethernet and Serial Gateways Double-click on the table to monitor. Page 212 of 218 ProSoft Technology, Inc. May 26, 2016...
  • Page 213: Pnd Diagnostics

    Total number of read message errors 6005 / 13005 Output Error message status. See below for error code descriptions. 6006 / 13006 Connection Status 6007 / 13007 Driver Enabled? 1=Yes, 0=No ProSoft Technology, Inc. Page 213 of 218 May 26, 2016...
  • Page 214: Configuration Error Codes

    Error code No error Input Swap Error Output Swap Error Get Network Data Adapter Get IP Address Error Get NetMask Error Get Gateway Error Get MAC Address Error PROFINET Mapping Error Page 214 of 218 ProSoft Technology, Inc. May 26, 2016...
  • Page 215: Support, Service And Warranty

     Warranty Information ..............216 11.1 Contacting Technical Support ProSoft Technology, Inc. (ProSoft) is committed to providing the most efficient and effective support possible. Before calling, please gather the following information to assist in expediting this process: Product version number...
  • Page 216: Warranty Information

    (location in Sao Paulo) Languages spoken include: Portuguese, English 11.2 Warranty Information For complete details regarding ProSoft Technology’s TERMS & CONDITIONS OF SALE, WARRANTY, SUPPORT, SERVICE AND RETURN MATERIAL AUTHORIZATION INSTRUCTIONS, please see the documents on the Product DVD or at www.prosoft-technology/legal...
  • Page 217: Index

    MBS Protocol • 121 DFNT Servers 1 Through 4 • 72 MBTCP Client [x] • 100 Diagnostics (Function Code 08) • 114, 145 MBTCP Client [x] Commands • 102 Diagnostics Menu • 38 ProSoft Technology, Inc. Page 217 of 218 May 26, 2016...
  • Page 218: Prosoft Technology, Inc

    Preset Single Register (Function Code 06) • 114, 144 Your Feedback Please • 2 Printing a Configuration File • 31 ProSoft Technology® Product Documentation • 2 Read Coil Status (Function Code 01) • 109, 139 Read Holding Registers (Function Code 03) • 111, 141 Read Input Registers (Function Code 04) •...

Table of Contents

Save PDF