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.
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.
PLX30 Series Contents Ethernet and Serial Gateways User Manual Contents Your Feedback Please ........................2 How to Contact Us ..........................2 ® ProSoft Technology Product Documentation ..................2 Literature Content Disclaimer ......................2 Important Installation Instructions ....................... 3 PLX30 Product Warnings ........................3 Agency Approvals and Certifications ....................
Page 6
Contents PLX30 Series User Manual Ethernet and Serial Gateways 4.2.2 RS-232 - Null Modem (DTE without Hardware Handshaking) ....... 49 4.2.3 RS-232 - DTE to DCE Modem Connection ............49 4.2.4 RS-422 Interface Connections ................50 4.2.5 RS-485 Interface Connections ................50 EIP Protocol EIP Functional Overview ..................
Page 7
PLX30 Series Contents Ethernet and Serial Gateways User Manual 7.4.1 Modbus Protocol Specification ................141 ASCII Protocol ASCII Functional Overview ................... 154 8.1.1 General Specifications ..................154 8.1.2 Data Flow ......................155 8.1.3 Modes of Operation ....................158 ASCII Configuration ....................163 8.2.1...
Page 8
Contents PLX30 Series User Manual Ethernet and Serial Gateways Page 8 of 200 ProSoft Technology, Inc. September 19, 2012...
PLX30 Series Start Here Ethernet and Serial Gateways User Manual Start Here In This Chapter System Requirements ............ 10 Package Contents ............11 Mounting the Gateway on a DIN-rail ......12 Connecting Power to the PLX30 Gateway ..... 13 ProSoft Technology, Inc.
Start Here PLX30 Series User Manual Ethernet and Serial Gateways System Requirements The ProSoft Configuration Builder configuration software for the gateway requires the following minimum hardware and software components: ® Pentium II 450 MHz minimum. Pentium III 733 MHz (or better) recommended ...
Tool for wiring and securing the power connector HRD250 ProSoft Solutions Contains sample programs, utilities, DVD-001 documentation and videos for the gateway If any of these components are missing, please contact ProSoft Technology Support for replacements. ProSoft Technology, Inc. Page 11 of 200 September 19, 2012...
Start Here PLX30 Series User Manual Ethernet and Serial Gateways Mounting the Gateway on a DIN-rail PLX30 Series of Gateways Page 12 of 200 ProSoft Technology, Inc. September 19, 2012...
PLX30 Series Start Here Ethernet and Serial Gateways User Manual Connecting Power to the PLX30 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 14
Start Here PLX30 Series User Manual Ethernet and Serial Gateways Page 14 of 200 ProSoft Technology, Inc. September 19, 2012...
PLX30 Series Configuring Your Gateway Ethernet and Serial Gateways User Manual Configuring Your Gateway In This Chapter Installing ProSoft Configuration Builder Software ..16 Using the Online Help ............. 19 Setting Up the Project ............. 20 Renaming PCB Objects ..........23 Configuring the Drivers ...........
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
PLX30 Series Configuring Your Gateway Ethernet and Serial Gateways User Manual To Install ProSoft Configuration Builder from the Product DVD-ROM Insert the ProSoft Solutions DVD-ROM into the DVD-ROM drive of your PC. Wait for the DVD menu to appear. Note: It may be necessary to manually open the DVD menu as not all DVD-ROM drives AutoRun.
Page 18
Configuring Your Gateway PLX30 Series User Manual Ethernet and Serial Gateways Note: On the Main DVD menu screen the correct platform and product number must be selected through the dark drop down menus on the top right to be linked to the correct product information.
PLX30 Series Configuring Your Gateway Ethernet and Serial Gateways User Manual Using the Online Help Most of the information needed to help you use ProSoft Configuration Builder is provided in a Help System that is always available whenever you are running ProSoft Configuration Builder.
Configuring Your Gateway PLX30 Series User Manual Ethernet and Serial Gateways Setting Up the Project To begin, start ProSoft Configuration Builder (PCB). If you have used other Windows configuration tools before, you will find the screen layout familiar. ProSoft Configuration Builder’s (PCB's) window consists of a tree view on the left, and an information pane on the upper right side, and a configuration pane on the lower right side of the window.
Page 21
PLX30 Series Configuring Your Gateway Ethernet and Serial Gateways User Manual 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 22
Configuring Your Gateway PLX30 Series User Manual Ethernet and Serial Gateways In the Product Line Filter area of the dialog box, select the PLX30 radio button. 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.
PLX30 Series Configuring Your Gateway Ethernet and Serial Gateways User Manual Renaming PCB Objects The Default Project and Default Location folders may be renamed in the tree view. Select the object, and then click the right mouse button to open a shortcut menu.
Configuring Your Gateway PLX30 Series User Manual Ethernet and Serial Gateways Configuring the Drivers Click the [+] sign next to the Gateway icon to expand gateway information. Click the [+] sign next to any icon to view gateway information and configuration options.
Page 25
PLX30 Series Configuring Your Gateway Ethernet and Serial Gateways User Manual 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. ProSoft Technology, Inc. Page 25 of 200...
Page 26
Configuring Your Gateway PLX30 Series User Manual Ethernet and Serial Gateways To edit the row, click the Edit Row button. This will open an Edit dialog box where you can edit the row parameters. When configuration is complete, download the configuration to the gateway.
PLX30 Series Configuring Your Gateway Ethernet and Serial Gateways User Manual Using the CommonNet Data Map Note: This is an advanced configuration feature and is not required for the basic operation of the gateway. The Data Map section allows data to be copied between areas in the gateway's internal database.
Page 28
Configuring Your Gateway PLX30 Series User Manual Ethernet and Serial Gateways The following illustration shows an example Data Map. The following table describes the parameters for configuring the Data Map. Description Value Parameter 0 to highest This parameter specifies the beginning internal database...
PLX30 Series Configuring Your Gateway Ethernet and Serial Gateways User Manual Configuring an IP Address Use this procedure to configure the Ethernet settings for your Gateway. You must assign an IP address, subnet mask and gateway address. After you complete this step, you can connect to the Gateway with an Ethernet cable.
Configuring Your Gateway PLX30 Series User Manual Ethernet and Serial Gateways Downloading the Project to the Gateway For the gateway to use the settings you configured, you must download (copy) the updated Project file from your PC to the gateway.
Page 31
PLX30 Series Configuring Your Gateway Ethernet and Serial Gateways User Manual Right-click your PLX30-series gateway and select IP Configuration from the shortcut menu. Enter the same IP address and network mask that you entered in the Ethernet configuration of the gateway. Click OK. The gateway will reboot.
Configuring Your Gateway PLX30 Series User Manual Ethernet and Serial Gateways Printing a Configuration File Select the Gateway icon, and then click the right mouse button to open a shortcut menu. On the shortcut menu, choose VIEW CONFIGURATION. This action opens the View Configuration window.
PLX30 Series Diagnostics and Troubleshooting Ethernet and Serial Gateways User Manual Diagnostics and Troubleshooting In This Chapter LED Indicators ..............33 Using Diagnostics in ProSoft Configuration Builder ..36 LED Indicators Troubleshooting can be performed using several methods. The first and quickest is to scan the LEDs on the gateway to determine the existence and possibly the cause of a problem.
Diagnostics and Troubleshooting PLX30 Series User Manual Ethernet and Serial Gateways 3.1.1 Main Gateway LEDs State Description Power is not connected to the power terminals or source is (Power) insufficient to properly power the gateway (208 mA at 24 Vdc is required).
PLX30 Series Diagnostics and Troubleshooting Ethernet and Serial Gateways User Manual 3.1.3 Serial Port LEDs (for Gateways with Serial Ports) State Description No activity on the port. FlashingGreen The port is actively receiving data. No activity on the port. FlashingAmber The port is actively transmitting data.
Diagnostics and Troubleshooting PLX30 Series User Manual Ethernet and Serial Gateways Using Diagnostics in ProSoft Configuration Builder ProSoft Configuration Builder (PCB) has many useful tools to help you with diagnostics and troubleshooting. You can use PCB to connect to your gateway and retrieve current status values, configuration data and other valuable information.
Page 37
PLX30 Series Diagnostics and Troubleshooting Ethernet and Serial Gateways User Manual This opens the Diagnostics window. If there is no response from the gateway, as in the example above, follow these steps: Click the Setup Connection button. In the Connection Setup dialog box, select ETHERNET from the Select Connection Type dropdown menu.
Page 38
Ethernet and Serial Gateways 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. Page 38 of 200 ProSoft Technology, Inc.
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. ProSoft Technology, Inc.
Page 40
Diagnostics and Troubleshooting PLX30 Series User Manual Ethernet and Serial Gateways The following menu commands are common to all PLX30-series gateways: Submenu Description Menu Command Command Displays the gateway’s current software version and other Version Module important values. You may be asked to provide this information when calling for technical support.
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.)
Diagnostics and Troubleshooting PLX30 Series User Manual Ethernet and Serial Gateways 3.2.3 Using the Data Analyzer (Serial Protocols Only) The Data Analyzer is an extremely valuable troubleshooting tool available in PCB. It allows you to “see” the data packets entering and leaving the serial ports on the gateway.
Page 43
PLX30 Series Diagnostics and Troubleshooting Ethernet and Serial Gateways User Manual If you wish to capture the Data Analyzer session to a log file, click the Log File button. 10 Click the Start Data Analyzer button to start the Data Analyzer. Click it again to stop it.
Diagnostics and Troubleshooting PLX30 Series User Manual Ethernet and Serial Gateways Gateway Status Data in Upper Memory The gateway places useful status data in dedicated upper memory locations in its internal database. The Data Map functionality of the gateway can be used to map this data into the normal user data range of the gateway’s database (registers 0...
PLX30 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 200 September 19, 2012...
Hardware Information PLX30 Series User Manual Ethernet and Serial Gateways Hardware Specifications Description Specification 24 Vdc nominal Power Supply 10 Vdc to 36 Vdc allowed Positive, Negative, GND Terminals 208mA normal @ 24 Vdc normal Current Load 300 mA maximum @ 36 Vdc maximum -25°C to 70°C (-13°F to 158°F )
PLX30 Series Hardware Information Ethernet and Serial Gateways User Manual 4.1.1 Serial Port Specifications Specifications Type 2500 Vrms port signal isolation per UL 1577 Serial Port Isolation serial port communication signal uses RF(Radio Frequency) modulation signal as isolation media, IC chip model is SiliconLabs Si844x(Si8440,Si8441,Si8442).
Hardware Information PLX30 Series User Manual Ethernet and Serial Gateways Serial Port Cables (for Gateways with Serial Ports) This section contains information on the cable and pin assignments for the PLX30 gateway's serial ports (RS-232/422/485). The PLX30 gateway will come with one or four serial ports, depending on the configuration purchased.
PLX30 Series Hardware Information Ethernet and Serial Gateways User Manual 4.2.2 RS-232 - Null Modem (DTE without Hardware Handshaking) This type of connection can be used to connect the gateway to a computer or field device communication port. Note: If the port is configured to use RTS/CTS handshaking, then a jumper is required between the RTS and the CTS line on the gateway connection.
Hardware Information PLX30 Series User Manual Ethernet and Serial Gateways 4.2.4 RS-422 Interface Connections The following illustration applies when the RS-422 interface is selected. 4.2.5 RS-485 Interface Connections The following illustration applies when the RS-485 interface is selected. NOTE: This type of connection is commonly called a RS-485 half-duplex, 2-wire connection. If you...
PLX30 Series EIP Protocol Ethernet and Serial Gateways User Manual EIP Protocol In This Chapter EIP Functional Overview ..........52 EIP Configuration ............54 EIP Diagnostics .............. 70 EIP Reference ..............77 This chapter contains information specific to PLX30-series gateways with an EtherNet/IP (EIP) protocol driver.
EIP Protocol PLX30 Series User Manual Ethernet and Serial Gateways EIP Functional Overview The PLX30-series EIP gateway can be used to interface many different protocols into the Rockwell Automation family of processors as well as other software-based solutions. The following illustration shows the functionality of the EtherNet/IP protocol.
PLX30 Series EIP Protocol Ethernet and Serial Gateways User Manual 5.1.1 EtherNet/IP™ Client In Client mode, the gateway controls the read/write data transfer between the gateway and other EtherNet/IP devices. Connected Clients: 2 Number of Clients Supported Unconnected Clients: 1...
EIP Protocol PLX30 Series User Manual Ethernet and Serial Gateways EIP Configuration 5.2.1 EIP Class 3 Server Connection The EIP Class 3 Server Connection is used when the gateway is acting as a server (slave) device responding to message instructions initiated from a Client (Master) device such as an HMI, DCS, or PLC5.
Page 55
PLX30 Series EIP Protocol Ethernet and Serial Gateways User Manual MSG Instruction Type - PCCC Database Address File size 100 Database Address File size 100 0 N10:0 0 N10:0 999 N19:99 999 N19:99 1000 N20:0 1000 N20:0 1999 N29:99 1999 N29:99...
EIP Protocol PLX30 Series User Manual Ethernet and Serial Gateways 5.2.2 EIP Class 1 Connection The EIP Class 1 Connection is used when the gateway acts as an EIP adapter transferring data to and from a PLC (the EIP scanner), using a direct I/O connection.
Page 57
PLX30 Series EIP Protocol Ethernet and Serial Gateways User Manual 4. Next add a New Module under the Generic EtherNet Bridge and add a CIP-Connection. Here the parameters for the I/O connection are specified. The input and output sizes need to match the input and output sizes configured in PCB.
EIP Protocol PLX30 Series User Manual Ethernet and Serial Gateways 5.2.3 EIP Class 3 Client/UClient [x] Connection The PLX30 gateway supports two connected Clients and one unconnected Client (most devices use connected Clients; be sure refer to the user manual of the target device for verification).
Page 59
PLX30 Series EIP Protocol Ethernet and Serial Gateways User Manual Class 3 Client/UClient[x] Commands There is a separate command list for each of the different message types supported by the protocol. Each list is processed from top to bottom, one after the other, until all specified commands are completed, and then the polling process begins over again.
Page 60
EIP Protocol PLX30 Series User Manual Ethernet and Serial Gateways Class 3 Client/UClient [x] Commands SLC500 2 Address Fields Description Value Parameter Enable Specifies if the command should be executed and under Enable Disable what conditions. Conditional Write Enable - The Command is executed each scan of the...
Page 61
PLX30 Series EIP Protocol Ethernet and Serial Gateways User Manual Value Description Parameter file will be used. 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.
Page 62
EIP Protocol PLX30 Series User Manual Ethernet and Serial Gateways Class 3 Client/UClient [x] Commands SLC500 3 Address Fields This command is typically used when accessing data in a Timer or Counter. I.e. T.1.1.2 is the address of the accumulator in Timer 1.
Page 63
PLX30 Series EIP Protocol Ethernet and Serial Gateways User Manual Value Description Parameter Binary Specifies the file type to be associated with the File Type Counter command. Timer Control Integer Float ASCII String Status Specifies the SLC 500 file number to be associated with File Number the command.
Page 64
EIP Protocol PLX30 Series User Manual Ethernet and Serial Gateways Class 3 Client/UClient [x] Commands PLC5 Binary Description Value Parameter Enable Specifies if the command should be executed and Enable Disable under what conditions. Conditional Write Enable - The Command is executed each scan of the...
Page 65
PLX30 Series EIP Protocol Ethernet and Serial Gateways User Manual Value Description Parameter the command. If a value of -1 is entered for the parameter, the field will not be used in the command, and the default file will be used.
Page 66
EIP Protocol PLX30 Series User Manual Ethernet and Serial Gateways Class 3 Client/UClient [x] Commands PLC5 ASCII Description Value Parameter Enable Specifies if the command should be executed and Enable Disable under what conditions. Conditional Write Enable - The Command is executed each scan of the...
Page 67
PLX30 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 200 September 19, 2012...
Page 68
EIP Protocol PLX30 Series User Manual Ethernet and Serial Gateways Class 3 Client/UClient [x] Commands Controller Tag Access Description Value Parameter Enable Specifies if the command should be executed and Enable Disable under what conditions. Conditional Write Enable - The Command is executed each scan of the...
Page 69
PLX30 Series EIP Protocol Ethernet and Serial Gateways User Manual Class 3 Client/UClient [x] Commands Basic Description Value Parameter Enable Specifies if the command should be executed and Enable Disable under what conditions. Conditional Write Enable - The command is executed each scan of the...
EIP Protocol PLX30 Series User Manual Ethernet and Serial Gateways EIP Diagnostics 5.3.1 PCB Diagnostics Menu The best way to troubleshoot the EIP driver is to use ProSoft Configuration Builder to access the diagnostic capabilities of the gateway through the Ethernet debug port.
Page 71
PLX30 Series EIP Protocol Ethernet and Serial Gateways User Manual EIP Client Status Data The following table lists the addresses in upper memory where general error and status data for each EIP connected and unconnected Client can be found. Address Range...
Page 72
EIP Protocol PLX30 Series User Manual Ethernet and Serial Gateways The structure of the command list error data area (which is the same for all Clients) is displayed in the following table. Offset Description Command #1 Error Code Command #2 Error Code...
PLX30 Series EIP Protocol Ethernet and Serial Gateways User Manual 5.3.3 EIP Error Codes The gateway error codes are listed in this section. Error codes returned from the command list process are stored in the command list error memory region. A word is allocated for each command in the memory area.
Page 74
EIP Protocol PLX30 Series User Manual Ethernet and Serial Gateways Remote STS Error Codes Code (Hex) Description Code (Int) 0x0000 Success, no error 0x1000 Illegal command or format 4096 0x2000 Host has a problem and will not communicate 8192 0x3000...
Page 75
PLX30 Series EIP Protocol Ethernet and Serial Gateways User Manual Code (Hex) Description Code (Int) 0xF01A File is open; another node owns it -4070 0xF01B Another node is the program owner -4069 Reserved 0xF01C -4068 0xF01D Reserved -4067 0xF01E Data table element protection violation...
Page 76
EIP Protocol PLX30 Series User Manual Ethernet and Serial Gateways Register Session Response Errors Error (Int) Error (Hex) Description 0xFFCE Message length received not valid 0xFFCD Status error reported 0xFFCC Invalid version Forward Open Response Errors Error (Int) Error (Hex)
PLX30 Series EIP Protocol Ethernet and Serial Gateways User Manual EIP Reference 5.4.1 SLC and MicroLogix Specifics Messaging from a SLC 5/05 The gateway can be used to receive messages from a SLC 5/05 containing an Ethernet interface. The gateway supports both read and write commands. A discussion of each operation is provided in the following topics.
Page 78
EIP Protocol PLX30 Series User Manual Ethernet and Serial Gateways The TARGET DEVICE DATA TABLE ADDRESS must be set to a valid file element (such as, N11:0) for SLC and PLC5 messages. The MULTIHOP option must be set to YES. The MULTIHOP tab portion of the dialog box must be completed as displayed in the following window: Set the IP address value to the gateway’s Ethernet IP address.
Page 79
PLX30 Series EIP Protocol Ethernet and Serial Gateways User Manual Set the READ/WRITE parameter to READ. The gateway supports a TARGET DEVICE parameter value of 500CPU or PLC5. In order to complete the configuration of the MSG instruction, select theSETUP SCREEN area of the MSG object.
Page 80
EIP Protocol PLX30 Series User Manual Ethernet and Serial Gateways SLC File Types This section contains information specific to the SLC and MicroLogix processor based family when used with the PCCC command set. The SLC and MicroLogix processor commands support a file type field entered as a single character to denote the data table to interface with in the command.
PLX30 Series EIP Protocol Ethernet and Serial Gateways User Manual 5.4.2 PLC5 Processor Specifics Messaging from a PLC5 The gateway can be used to receive messages from a PLC5 containing an Ethernet interface. The gateway supports both read and write commands. A...
Page 82
EIP Protocol PLX30 Series User Manual Ethernet and Serial Gateways The MULTIHOP option must be set to YES. TheMULTIHOP tab portion of the dialog box must be completed as shown in the following window: 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.
Page 83
PLX30 Series EIP Protocol Ethernet and Serial Gateways User Manual Select the COMMUNICATION COMMAND to execute from the following list of supported commands. PLC5 Type Read PLC2 Unprotected Read PLC5 Typed Read to PLC PLC Typed Logical Read The TARGET DEVICE DATA TABLE ADDRESS must be set to a valid file element (such as, N11:0) for SLC and PLC5 messages.
Page 84
EIP Protocol PLX30 Series User Manual Ethernet and Serial Gateways PLC-5 Sub-Element Fields This section contains information specific to the PLC-5 processor with relation to the PCCC command set. The commands specific to the PLC-5 processor contain a sub-element code field. This field selects a sub-element field in a complex data table.
PLX30 Series EIP Protocol Ethernet and Serial Gateways User Manual 5.4.3 ControlLogix and CompactLogix Processor Specifics In order to exchange data between a Control/CompactLogix processor and the gateway, the MSG instruction is used. There are two basic methods of data transfer supported by the gateway when using the MSG instruction: Encapsulated PCCC messages and CIP Data Table messages.
Page 86
EIP Protocol PLX30 Series User Manual Ethernet and Serial Gateways The MESSAGE CONFIGURATION dialog box must be completed to define the data set to be transferred from the processor to the gateway. An example of the dialog box follows: Complete the dialog box for the data area to be transferred. For PLC5 and SLC messages, theDESTINATION ELEMENT should be an element in a data file (such as, N10:0).
Page 87
PLX30 Series EIP Protocol Ethernet and Serial Gateways User Manual Verify that the CIP radio-button is selected as the COMMUNICATION METHOD. The PATH specifies the message route from the processor to the EIP gateway. Path elements are separated by commas. In the example path shown, the first element is "Enet", which is the user-defined name given to the 1756-ENET...
Page 88
EIP Protocol PLX30 Series User Manual Ethernet and Serial Gateways Complete the dialog box for the data area to be transferred. For PLC5 and SLC messages, theSOURCE ELEMENT should be an element in a data file (such as, N10:0). For the PLC2 Unprotected Read message, the SOURCE ELEMENT is the address in the gateway’s internal database and cannot be set to value less...
Page 89
PLX30 Series EIP Protocol Ethernet and Serial Gateways User Manual CIP Data Table Operations This method of data transfer uses CIP messages to transfer data between the ControlLogix or CompactLogix processor and the gateway. Tag names define the elements to be transferred. The following topics describe the support for the read and write operations.
Page 90
EIP Protocol PLX30 Series User Manual Ethernet and Serial Gateways In the previous example, the first element in the database is the starting location for the write operation of ten elements. The COMMUNICATION information must also be configured. An example of the dialog box follows: Verify that the CIP radio-button is selected as the COMMUNICATION METHOD.
Page 91
PLX30 Series EIP Protocol Ethernet and Serial Gateways User Manual 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: Complete the dialog box for the data area to be transferred. CIP Data Table messages require a tag database element for both the source and destination.
EIP Protocol PLX30 Series User Manual Ethernet and Serial Gateways Verify that the CIP radio-button is selected as the COMMUNICATION METHOD. The PATH specifies the message route from the processor to the EIP gateway. Path elements are separated by commas. In the example path shown, the first element is "Enet", which is the user-defined name given to the 1756-ENET...
PLX30 Series MBTCP Protocol Ethernet and Serial Gateways User Manual MBTCP Protocol In This Chapter MBTCP Functional Overview.......... 94 MBTCP Configuration ............. 98 MBTCP Diagnostics ............106 MBTCP Reference ............109 This chapter contains information specific to PLX30-series gateways with a Modbus TCP/IP (MBTCP) protocol driver.
MBTCP Protocol PLX30 Series User Manual Ethernet and Serial Gateways MBTCP Functional Overview The PLX30 Modbus TCP/IP (MBTCP) protocol can be used to interface many different protocols into the Schneider Electric Quantum family of processors as well other devices supporting the protocol. The MBTCP protocol supports both Client and server connections.
PLX30 Series MBTCP Protocol Ethernet and Serial Gateways User Manual Modbus TCP/IP Server The server driver accepts incoming connections on Service Port 502 for Clients using Modbus TCP/IP MBAP messages and connections on Service Port 2000 (or other Service Ports) for Clients using Encapsulated Modbus messages.
Page 96
MBTCP Protocol PLX30 Series User Manual Ethernet and Serial Gateways The following illustration describes the flow of data between the Ethernet Clients and the internal database. Multiple Server Access to Database The MBTCP gateway provides server functionality using reserved Service Port...
Page 97
PLX30 Series MBTCP Protocol Ethernet and Serial Gateways User Manual The following virtual addresses are not part of the normal gateway user database and are not valid addresses for standard data. However, these addresses may be used for incoming commands that are requesting floating-point data.
MBTCP Protocol PLX30 Series User Manual Ethernet and Serial Gateways MBTCP Configuration 6.2.1 MBTCP Servers This section contains database offset information used by the server when accessed by external Clients. These offsets can be utilized to segment the database by data type.
Page 99
PLX30 Series MBTCP Protocol Ethernet and Serial Gateways User Manual Value Description Parameter Code 1 command is received requesting Coil address 0 (virtual Modbus Coil address 00001 or 000001), the data returned in the response will be the value at register 50, bit 0 in the gateway's database.
MBTCP Protocol PLX30 Series User Manual Ethernet and Serial Gateways 6.2.2 MBTCP Client[x] The MBTCP Client [x] section of the configuration specifies the parameters for the client to be emulated on the gateway. The command list for the client is entered in a separate section.
Page 101
PLX30 Series MBTCP Protocol Ethernet and Serial Gateways User Manual Value Description Parameter only if the Float Flag is set to YES. For example, if the Float Offset value is set to 3000 and the Float Start parameter is set to 7000, the data returned as floating-point data for register 47001 (or 407001) will actually come from internal gateway registers 3000 and 3001.
MBTCP Protocol PLX30 Series User Manual Ethernet and Serial Gateways 6.2.3 MBTCP Client[x] Commands The MBTCP Client[x] Commands section defines the Modbus TCP/IP commands to be issued from the gateway to server devices on the network. These commands can be used for data collection and/or control of devices on the TCP/IP network.
Page 103
PLX30 Series MBTCP Protocol Ethernet and Serial Gateways User Manual Value Description Parameter Specifies if the command is to be executed and under what Enable conditions. CONDITIONAL No (0) - the command is disabled and will not be executed in the normal polling sequence.
Page 104
MBTCP Protocol PLX30 Series User Manual Ethernet and Serial Gateways Value Description Parameter done only when using an even number of words, such as when 32-bit integer or floating-point data is involved. xxx.xxx.xxx.xxx IP address of the device being addressed by the command.
Page 105
PLX30 Series MBTCP Protocol Ethernet and Serial Gateways User Manual Value Description Parameter (00001 - 00001 = 0). For Coil address 00115, specify 114 (00115 - 00001 = 114) For register read or write commands (FC 3, 6, or 16) 4X range, for 40001, specify a value of 0 (40001 - 40001 = 0).
MBTCP Protocol PLX30 Series User Manual Ethernet and Serial Gateways MBTCP Diagnostics 6.3.1 PCB Diagnostics The best way to troubleshoot the MBTCP driver is to use ProSoft Configuration Builder to access the diagnostic capabilities of the gateway through the Ethernet debug port.
Page 107
PLX30 Series MBTCP Protocol Ethernet and Serial Gateways User Manual MBTCP Client Status Data The following table lists the addresses in upper memory that hold status data for each MBTCP Client. Address Range Client 15500 through 15509 15526 through 15535...
Page 108
MBTCP Protocol PLX30 Series User Manual Ethernet and Serial Gateways MBTCP Client Command List Error Data A status/error code is held in upper memory for each command in each MBTCP Client’s command list. The following table lists the addresses in upper memory that hold command list error data for each MBTCP Client.
PLX30 Series MBTCP Protocol Ethernet and Serial Gateways User Manual 6.3.3 MBTCP Error Codes Standard Modbus Exception Code Errors Description Code Illegal function Illegal data address Illegal data value Failure in associated device Acknowledge Busy; message was rejected MBTCP Client Specific Errors...
MBTCP Protocol PLX30 Series User Manual Ethernet and Serial Gateways MBTCP Reference 6.4.1 Modbus Protocol Specification Read Coil Status (Function Code 01) Query This function allows the user to obtain the ON/OFF status of logic coils used to control discrete outputs from the addressed server only. Broadcast mode is not supported with this function code.
Page 111
PLX30 Series MBTCP Protocol Ethernet and Serial Gateways User Manual Because the server interface device is serviced at the end of a controller's scan, data will reflect coil status at the end of the scan. Some servers will limit the quantity of coils provided each scan;...
Page 112
MBTCP Protocol PLX30 Series User Manual Ethernet and Serial Gateways Because the server interface device is serviced at the end of a controller's scan, data will reflect input status at the end of the scan. Some servers will limit the quantity of inputs provided each scan;...
Page 113
PLX30 Series MBTCP Protocol Ethernet and Serial Gateways User Manual In the example below, the registers 40108 to 40110 have the decimal contents 555, 0, and 100 respectively. Error Check Field Func ByteCnt Hi Data Lo Data Hi Data Lo Data...
Page 114
MBTCP Protocol PLX30 Series User Manual Ethernet and Serial Gateways Force Single Coil (Function Code 05) Query This message forces a single coil either ON or OFF. Any coil that exists within the controller can be forced to either state (ON or OFF). However, because the controller is actively scanning, unless the coil is disabled, the controller can also alter the state of the coil.
Page 115
PLX30 Series MBTCP Protocol Ethernet and Serial Gateways User Manual Coils that are reprogrammed in the controller logic program are not automatically cleared upon power up. Thus, if such a coil is set ON by function Code 5 and (even months later), an output is connected to that coil, the output will be "hot".
Page 116
MBTCP Protocol PLX30 Series User Manual Ethernet and Serial Gateways A server device can, however, be forced into 'Listen Only Mode' in which it will monitor the messages on the communications system but not respond to them. This can affect the outcome of your application program if it depends upon any further exchange of data with the remote device.
Page 117
PLX30 Series MBTCP Protocol Ethernet and Serial Gateways User Manual The data fields in responses to other kinds of queries could contain error counts or other data requested by the sub-function code. ProSoft Technology, Inc. Page 117 of 200 September 19, 2012...
Page 118
MBTCP Protocol PLX30 Series User Manual Ethernet and Serial Gateways Modbus Exception Responses When a Modbus Master sends a request to a server device, it expects a normal response. One of four possible events can occur from the Master's query: ...
Page 119
PLX30 Series MBTCP Protocol Ethernet and Serial Gateways User Manual If the output address does not exist in the server device, the server will return the exception response with the exception code shown (02). This specifies an illegal data address for the server.
Page 120
MBTCP Protocol PLX30 Series User Manual Ethernet and Serial Gateways Force Multiple Coils (Function Code 15) Query This message forces each coil in a consecutive block of coils to a desired ON or OFF state. Any coil that exists within the controller can be forced to either state (ON or OFF).
Page 121
PLX30 Series MBTCP Protocol Ethernet and Serial Gateways User Manual Preset Multiple Registers (Function Code 16) Query Holding registers existing within the controller can have their contents changed by this message (a maximum of 60 registers). However, because the controller is actively scanning, it also can alter the content of any holding register at any time.
Page 122
MBTCP Protocol PLX30 Series User Manual Ethernet and Serial Gateways Page 122 of 200 ProSoft Technology, Inc. September 19, 2012...
PLX30 Series MBS Protocol Ethernet and Serial Gateways User Manual MBS Protocol In This Chapter MBS Functional Overview ..........124 MBS Configuration ............127 MBS Diagnostics ............134 MBS Reference ............141 This chapter contains information specific to PLX30-series gateways with a Modbus Serial (MBS) protocol driver.
MBS Protocol PLX30 Series User Manual Ethernet and Serial Gateways MBS Functional Overview The Modbus Serial protocol supports both Master and slave implementations of the protocol. Each of the gateway serial ports is individually configurable to communicate to separate networks.
PLX30 Series MBS Protocol Ethernet and Serial Gateways User Manual 7.1.2 Modbus Master/Slave Port Specifications Specifications Type General Parameters Up to 4000 registers (words) available. Internal Database Port 0: Baud Rate: 110 to 115K baud possible Communication parameters 110 to 38.4K baud recommended for all applications.
MBS Protocol PLX30 Series User Manual Ethernet and Serial Gateways 7.1.3 Gateway Internal Database The internal gateway database is central to the functionality of the gateway. This database is shared between all the ports on the gateway, permitting data from devices on one communication network port to be viewed and controlled by devices on another port or network.
PLX30 Series MBS Protocol Ethernet and Serial Gateways User Manual MBS Configuration 7.2.1 MBS Port [x] The Modbus Port [x] sections of the PCB Tree Window, where x stands for 1, 2, 3 or 4, set the Modbus Master and slave port communication parameters and specify the protocol-specific settings.
Page 128
MBS Protocol PLX30 Series User Manual Ethernet and Serial Gateways Value Description Parameter 0 to 65535 RTS On Specifies the number of milliseconds to delay data transmission Ready To Send after (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.
Page 129
PLX30 Series MBS Protocol Ethernet and Serial Gateways User Manual Value Description Parameter all commands, no commands will be executed. If the value in the first control register is changed to one (1), command zero will be executed continuously. If the value is the control register for a write...
Page 130
MBS Protocol PLX30 Series User Manual Ethernet and Serial Gateways Slave Configuration Parameters Description Value Parameter 0 TO 65535 Minimum Specifies the number of milliseconds to wait before responding to a Response command received on the port from a remote Master. This delay is Delay sometimes required to accommodate slower Master devices.
PLX30 Series MBS Protocol Ethernet and Serial Gateways User Manual 7.2.2 MBS Port [x] Commands The Modbus Port[x] Commands (where x can be 1, 2, 3 or 4) sections of the PCB tree Window are used to define a Master serial port Command List. This list holds the parameters needed to poll slave devices attached to a Master port.
Page 132
MBS Protocol PLX30 Series User Manual Ethernet and Serial Gateways Value Description Parameter 1234) Word Swap (1) -The words are swapped (1234=3412) Word and Byte Swap (2) - The words are swapped, then the bytes in each word are swapped (1234=4321) Byte Swap (3) - The bytes in each word are swapped (1234=2143) These swap operations affect 4-byte (or 2-word) groups of data.
Page 133
PLX30 Series MBS Protocol Ethernet and Serial Gateways User Manual Value Description Parameter For Coil address 00115, specify 114 (00115 - 00001 = 114) For register read or write commands (FC 3, 6, or 16) 4X range, for 40001, specify a value of 0 (40001 - 40001 = 0).
MBS Protocol PLX30 Series User Manual Ethernet and Serial Gateways MBS Diagnostics 7.3.1 PCB Diagnostics The best way to troubleshoot the MBS driver is to use ProSoft Configuration Builder to access the diagnostic capabilities of the gateway through the Ethernet debug port.
Page 135
PLX30 Series MBS Protocol Ethernet and Serial Gateways User Manual Port 1 General Modbus Error and Status Layout The addresses listed are for Port 1only; but the format is the same for each port. The start address for each port is given in the previous section.
Page 136
MBS Protocol PLX30 Series User Manual Ethernet and Serial Gateways These status values are state registers. They are used as ‘scratchpad’ areas by the operating firmware to keep track of the current logical state of activities on a slave port. These state registers are constantly changing as the gateway progresses through the various stages needed to process communication on the serial ports.
Page 137
PLX30 Series MBS Protocol Ethernet and Serial Gateways User Manual Master Port: Command List Errors The individual command errors for each Master port are returned to the address locations specified in the following table. Each port can have up to 100 commands configured.
Page 138
MBS Protocol PLX30 Series User Manual Ethernet and Serial Gateways Master Port: Modbus Slave List Status Slave List Status values for each Master port are returned to the address locations specified in the following table. Address Range Modbus Port 4510 to 4764...
Page 139
PLX30 Series MBS Protocol Ethernet and Serial Gateways User Manual When the Master first suspends polling of a particular slave, it creates an Error Delay Counter for this slave address and set the value in that counter equal to the Error Delay Counter parameter in the configuration file. Then, each time a command in the list is scanned that has the address of a suspended slave, the delay counter value for that slave will be decremented.
MBS Protocol PLX30 Series User Manual Ethernet and Serial Gateways 7.3.3 Error/Status Codes These are error codes that are part of the Modbus protocol or are extended codes unique to this gateway. Modbus Error Codes These error codes are generated or returned on both the Master and slave ports.
PLX30 Series MBS Protocol Ethernet and Serial Gateways User Manual MBS Reference 7.4.1 Modbus Protocol Specification Read Coil Status (Function Code 01) Query This function allows the user to obtain the ON/OFF status of logic coils used to control discrete outputs from the addressed server only. Broadcast mode is not supported with this function code.
Page 142
MBS Protocol PLX30 Series User Manual Ethernet and Serial Gateways Because the server interface device is serviced at the end of a controller's scan, data will reflect coil status at the end of the scan. Some servers will limit the quantity of coils provided each scan;...
Page 143
PLX30 Series MBS Protocol Ethernet and Serial Gateways User Manual Response An example response to Read Input Status is as shown in Figure C4. The data is packed one bit for each input. The response includes the server address, function code, quantity of data characters, the data characters, and error checking.
Page 144
MBS Protocol PLX30 Series User Manual Ethernet and Serial Gateways Response The addressed server responds with its address and the function code, followed by the information field. The information field contains 1 byte describing the quantity of data bytes to be returned. The contents of the registers requested (DATA) are two bytes each, with the binary content right justified within each pair of characters.
Page 145
PLX30 Series MBS Protocol Ethernet and Serial Gateways User Manual Response The addressed server responds with its address and the function code followed by the information field. The information field contains 1 byte describing the quantity of data bytes to be returned. The contents of the registers requested (DATA) are 2 bytes each, with the binary content right justified within each pair of characters.
Page 146
MBS Protocol PLX30 Series User Manual Ethernet and Serial Gateways Response The normal response to the Command Request is to re-transmit the message as received after the coil state has been altered. Func Data Coil # Hi Data Coil # Lo...
Page 147
PLX30 Series MBS Protocol Ethernet and Serial Gateways User Manual Response The response to a preset single register request is to re-transmit the query message after the register has been altered. Func Data Reg Hi Data Reg Lo Data Input Reg Hi...
Page 148
MBS Protocol PLX30 Series User Manual Ethernet and Serial Gateways Example and State Diagram Here is an example of a request to remote device to Return Query Data. This uses a sub-function code of zero (00 00 hex in the two-byte field). The data to be returned is sent in the two-byte data field (A5 37 hex).
Page 149
PLX30 Series MBS Protocol Ethernet and Serial Gateways User Manual Modbus Exception Responses When a Modbus Master sends a request to a server device, it expects a normal response. One of four possible events can occur from the Master's query: ...
Page 150
MBS Protocol PLX30 Series User Manual Ethernet and Serial Gateways If the output address does not exist in the server device, the server will return the exception response with the exception code shown (02). This specifies an illegal data address for the server.
Page 151
PLX30 Series MBS Protocol Ethernet and Serial Gateways User Manual Force Multiple Coils (Function Code 15) Query This message forces each coil in a consecutive block of coils to a desired ON or OFF state. Any coil that exists within the controller can be forced to either state (ON or OFF).
Page 152
MBS Protocol PLX30 Series User Manual Ethernet and Serial Gateways Preset Multiple Registers (Function Code 16) Query Holding registers existing within the controller can have their contents changed by this message (a maximum of 60 registers). However, because the controller is actively scanning, it also can alter the content of any holding register at any time.
PLX30 Series ASCII Protocol Ethernet and Serial Gateways User Manual ASCII Protocol In This Chapter ASCII Functional Overview ........... 154 ASCII Configuration ............163 ASCII Diagnostics ............165 This chapter contains information specific to PLX30-series gateways with an ASCII protocol driver.
ASCII Protocol PLX30 Series User Manual Ethernet and Serial Gateways ASCII Functional Overview The ASCII protocol permits the PLX30 Gateway to interface any ASCII device to the many protocols and networks available. ASCII devices include barcode scanners, weigh scales, many field instruments, printers, and terminals. The protocol supports one to four serial communication ports that provide accessibility from one to four independent serial networks.
PLX30 Series ASCII Protocol Ethernet and Serial Gateways User Manual 8.1.2 Data Flow The following illustration shows receive and transmit data flow of the ASCII protocol. Data received from the ASCII device is accepted by the receive driver and placed in the receive database location configured by the user.
Page 156
ASCII Protocol PLX30 Series User Manual Ethernet and Serial Gateways Receive Data Data received by the receive driver is placed in the gateway’s internal database in a fixed format at the location selected by the user. The receiver driver is disabled if the database start location is set to a value of -1.
Page 157
PLX30 Series ASCII Protocol Ethernet and Serial Gateways User Manual Transmit Data Data to transmit by the transmit driver is placed in the gateway’s internal database in a fixed format at the location selected by the user. The transmit driver is disabled if the database start location is set to a value of -1. The following table shows the structure of transmit data.
ASCII Protocol PLX30 Series User Manual Ethernet and Serial Gateways 8.1.3 Modes of Operation The gateway can operate in several different modes with each port acting independently. The configuration of each port’s driver determines its mode. The following topics describe these modes and describe the flow of data between the pieces of hardware (ASCII device and PLX30Gateway).
Page 159
PLX30 Series ASCII Protocol Ethernet and Serial Gateways User Manual Transmit-Only Mode A port on the gateway configured to function in transmit-only mode is set up to only transmit data from the PLX30gateway’s internal database (received from an external source) to an ASCII device. When the transmit driver (Tx Driver) recognizes a new write block containing data (data placed in the gateway’s...
Page 160
ASCII Protocol PLX30 Series User Manual Ethernet and Serial Gateways Transmit-Receive Mode A port configured in transmit-receive mode can send and receive data from an ASCII device such as a terminal. This mode functions the same way as transmit- only mode or receive-only mode, but handles both the transmit and receive functions.
Page 161
PLX30 Series ASCII Protocol Ethernet and Serial Gateways User Manual Termination of Received Data When data is received on the application port, the user must define in the configuration when this data will be transferred to the internal database within the gateway.
Page 162
ASCII Protocol PLX30 Series User Manual Ethernet and Serial Gateways Any combination of bits is acceptable to the gateway and should be set to match the device on the specific port. An example of each termination type is given below.
PLX30 Series ASCII Protocol Ethernet and Serial Gateways User Manual ASCII Configuration In order for the ASCII driver to function, a minimum amount of configuration data must be transferred to the gateway from the gateway's file system. Care must be taken in constructing the gateway configuration parameters.
Page 164
ASCII Protocol PLX30 Series User Manual Ethernet and Serial Gateways Value Description Parameter Handshaking Specifies the handshaking used on the port. No-No hardware or software handshaking DTR-DSR Yes-RTS/CTS hardware handshaking XON-XOFF DTR/DSR- DTR/DSR hardware handshaking XON/XOFF- software handshaking TERMINATION Defines the receive termination characteristics for the port.
PLX30 Series ASCII Protocol Ethernet and Serial Gateways User Manual ASCII Diagnostics 8.3.1 PCB Diagnostics The best way to troubleshoot the MBS driver is to use ProSoft Configuration Builder to access the diagnostic capabilities of the gateway through the Ethernet debug port.
Page 166
PLX30 Series User Manual Ethernet and Serial Gateways Page 166 of 200 ProSoft Technology, Inc. September 19, 2012...
PLX30 Series SIE Protocol Ethernet and Serial Gateways User Manual SIE Protocol In This Chapter SIE Functional Overview ..........168 SIE Configuration ............169 SIE Diagnostics ............183 SIE Reference .............. 187 This chapter contains information specific to PLX30-series gateways with a Siemens Industrial Ethernet (SIE) protocol driver.
SIE Protocol PLX30 Series User Manual Ethernet and Serial Gateways SIE Functional Overview The PLX30 Siemens Industrial Ethernet (SIE) protocol can be used to interface easily with multiple Siemens Industrial Ethernet server-compatible instruments and devices. The SIE protocol improves performance when controlling multiple servers on a Siemens Industrial Ethernet network, by supporting up to 20 Clients.
PLX30 Series SIE Protocol Ethernet and Serial Gateways User Manual SIE Configuration 9.2.1 SIE Client x This section defines general configuration for the SIE Client (Master). Description Parameter Value Specifies the number of milliseconds to wait between the initial Minimum 0 to 65535 issuances of a command.
Page 170
SIE Protocol PLX30 Series User Manual Ethernet and Serial Gateways Commands Supported by the Gateway The format of each command in the list depends on the Siemens Industrial Ethernet Function Code being executed. The type of functions that will be supported will also depend on the server device and what it can support.
Page 171
PLX30 Series SIE Protocol Ethernet and Serial Gateways User Manual Flag: Function Data Type Address Type Flag BOOL READ BOOL Write BYTE READ BYTE Write DINT READ DINT Write REAL READ REAL Write READ Write TIME READ TIME Write Count...
Page 172
SIE Protocol PLX30 Series User Manual Ethernet and Serial Gateways Input: Function 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...
Page 173
PLX30 Series SIE Protocol Ethernet and Serial Gateways User Manual S7-200: Data Block: Function Data Type Address Type BOOL READ BOOL Write BYTE READ BYTE Write DINT READ DINT Write REAL READ REAL Write READ Write Flag: Function Data Type...
Page 174
SIE Protocol PLX30 Series 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 174 of 200 ProSoft Technology, Inc.
Page 175
PLX30 Series SIE Protocol Ethernet and Serial Gateways User Manual S7-1200: Data Block: Function Data Type Address Type BOOL READ BOOL Write BYTE READ BYTE Write DINT READ DINT Write REAL READ REAL Write READ Write TIME READ TIME Write...
Page 176
SIE Protocol PLX30 Series User Manual Ethernet and Serial Gateways Output: Data Type Address Type Function BOOL Output READ BOOL Write BYTE READ BYTE Write DINT READ DINT Write REAL READ REAL Write READ Write TIME READ TIME Write Count...
Page 177
PLX30 Series SIE Protocol Ethernet and Serial Gateways User Manual Command List Parameters Value Description Parameter DISABLED Specifies if the command is to be executed and under what Enable ENABLED conditions. CONDITIONAL Disabled (0) - the command is disabled and will not be executed in the normal polling sequence.
Page 178
SIE Protocol PLX30 Series User Manual Ethernet and Serial Gateways Value Description Parameter 400/S7-1200 0 to 999 Rack Rack number of the S7-300, S7-400 or S7-1200 CPU. Note: Rack number is not used for the S7-200 CPU. 0 to 12 Slot Slot number of the S7-300, S7-400 or S7-1200 CPU.
Page 179
PLX30 Series SIE Protocol Ethernet and Serial Gateways User Manual Notes on Addressing in S7 Processors S7-300/S7-1200 Processor: Byte Address in Data Block: DB1.DBB1 DB1.DBB3 2#0000_0110 2#0000_0000 2#0110_0001 2#0011_0110 2#1100_0110 DB1.DBB0 DB1.DBB2 DB1.DBB4 Word Address in Data Block: DB1.DBW1 DB1.DBW3 2#0000_0110 2#0000_0000 2#0110_0001 2#0011_0110 2#1100_0110 DB1.DBW0...
Page 180
SIE Protocol PLX30 Series User Manual Ethernet and Serial Gateways If DB1.DBD0 is used as the first address in the Siemens processor, the next double word address that can be used without overwriting the data would be DB1.DBD4. All of the above share the same memory locations in the processor.
Page 181
PLX30 Series SIE Protocol Ethernet and Serial Gateways User Manual PCB screen shot showing Client command to send INT data to DB1 address 0: Row 1 in the SIMATICS Manager screen shot below shows the data transferred from the gateway.
Page 182
SIE Protocol PLX30 Series User Manual Ethernet and Serial Gateways The first byte of DB1.DBW0 is the same as DB1.DBB0. The second byte of DB1.DBW0 is the same as DB1.DBB1, and is the same as the first byte of DB1.DBW1.
PLX30 Series SIE Protocol Ethernet and Serial Gateways User Manual SIE Diagnostics The best way to troubleshoot the SIE driver is to use ProSoft Configuration Builder to access the diagnostic capabilities of the gateway through the Ethernet debug port. For instructions on how to access Diagnostics, see...
SIE Protocol PLX30 Series User Manual Ethernet and Serial Gateways As the commands in the Client Command List are polled and executed, an error code is maintained in the gateway for each command. The current error value for each command is displayed in the Command List Errors section of each Client’s status data area.
Page 185
PLX30 Series SIE Protocol Ethernet and Serial Gateways User Manual Decimal Description -32505 0x8107 Data type not consistent -32502 0x810A Object does not exist -31999 0x8301 Insufficient CPU memory -31742 0x8402 CPU already in RUN or already in STOP -31740...
Page 186
SIE Protocol PLX30 Series User Manual Ethernet and Serial Gateways SIE Client Specific Error Codes Decimal Description 0xffdf Failed to connect to server specified in command 0xffde Failed to create a socket 0xffdc SIE command response timeout (same as -11)
PLX30 Series SIE Protocol Ethernet and Serial Gateways User Manual SIE Reference 9.4.1 Maximum Register Counts CPU315-2 DP Data Block: Function Data Type Max Reg Cnt Max Reg Cnt Address Type READ BOOL Write BOOL READ BYTE Write BYTE READ...
Page 188
SIE Protocol PLX30 Series User Manual Ethernet and Serial Gateways Flag: 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...
Page 189
PLX30 Series SIE Protocol Ethernet and Serial Gateways User Manual Input: Function Data Type Max Reg Cnt Max Reg Cnt Address Type Input READ BOOL Write BOOL READ BYTE Write BYTE READ DINT Write DINT READ REAL Write REAL READ...
Page 190
SIE Protocol PLX30 Series User Manual Ethernet and Serial Gateways CPU1212C: Data Block: Function Data Type Max Read Max Write Address Type READ BOOL Write BOOL READ BYTE Write BYTE READ DINT Write DINT READ REAL Write REAL READ Write...
Page 191
PLX30 Series SIE Protocol Ethernet and Serial Gateways User Manual Output: Function Data Type Max Reg Cnt Max Reg Cnt Address Type Output READ BOOL Write BOOL READ BYTE Write BYTE READ DINT Write DINT READ REAL Write REAL READ...
Page 192
SIE Protocol PLX30 Series User Manual Ethernet and Serial Gateways CPU224XP: Data Block: Function Data Type Max Read Max Write Address Type READ BOOL Write BOOL READ BYTE Write BYTE READ DINT Write DINT READ REAL Write REAL READ Write...
Page 193
PLX30 Series SIE Protocol Ethernet and Serial Gateways User Manual Output: Function Data Type Max Reg Cnt Max Reg Cnt Address Type Output READ BOOL Write BOOL READ BYTE Write BYTE READ DINT Write DINT READ REAL Write REAL READ...
Page 194
SIE Protocol PLX30 Series User Manual Ethernet and Serial Gateways Page 194 of 200 ProSoft Technology, Inc. September 19, 2012...
PLX30 Series Support, Service and Warranty Ethernet and Serial Gateways User Manual 10 Support, Service and Warranty In This Chapter 10.1 Contacting Technical Support........196 10.2 Warranty Information ............ 198 ProSoft Technology, Inc. Page 195 of 200 September 19, 2012...
User Manual Ethernet and Serial Gateways 10.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 197
PLX30 Series Support, Service and Warranty Ethernet and Serial Gateways User Manual Web Site: www.prosoft-technology.com/support Internet E-mail address: support@prosoft-technology.com Tel: +603.7724.2080, E-mail: asiapc@prosoft-technology.com Asia Pacific Languages spoken include: Chinese, English (location in Malaysia) Tel: +86.21.5187.7337 x888, E-mail: asiapc@prosoft-technology.com Asia Pacific...
User Manual Ethernet and Serial Gateways 10.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 CD/DVD or at www.prosoft-technology/warranty. Documentation is subject to change without notice.
PLX30 Series Index Ethernet and Serial Gateways User Manual Downloading the Project to the Gateway • 30 Index EIP Client Command List Error Data • 71 EIP Command Entry Form • 92 EIP Functional Overview • 52 EIP Protocol • 51 EIP Reference •...
Need help?
Do you have a question about the PLX30 Series and is the answer not in the manual?
Questions and answers