background image

EIP Protocol 

PLX3x Series ♦ Multi-Protocol Gateways 

User Manual 

 

 

 

Page 64 of 215 

ProSoft Technology, Inc. 

 

January 25, 2018 

 

Parameter 

Value 

Description 

File Type 

Binary 
Counter 
Timer 
Control 
Integer 
Float 
ASCII 
String 
Status 

Specifies the file type to be associated with the command. 

File Number  -1 

Specifies the SLC 500 file number to be associated with 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. 

Element 
Number 

 

Specifies the element in the file where the command will start. 

Sub 
Element 

 

Specifies the sub-element to be used with the command. Refer to the 
AB documentation for a list of valid sub-element codes. 

Comment 

 

Optional 32 character comment for the command. 

 

 

Class 3 Client[x]/UClient Commands PLC5 Binary 

Parameter  Value 

Description 

Enable 

Enable 
Disable 
Conditional Write 

Specifies if the command should be executed and under what 
conditions. 

E

NABLE

 

- The Command is executed each scan of the command list 

D

ISABLE 

- The command is disabled and will not be executed 

C

ONDITIONAL 

W

RITE

 - The Command executes only if the internal data 

associated with the command changes 

Internal 
Address 

0 to 3999 

Specifies the database address in the module

’s internal database to be 

associated with the command. If the command is a read function, the 
data received in the response message is placed at the specified 
location. If the command is a write function data used in the command 
is sourced from specified data area. 

Poll 
Interval 

0 to 65535 

Specifies the minimum interval to execute continuous commands. The 
parameter is entered in 1/10 of a second. If a value of 100 is entered for 
a command, the command executes no more frequently than every 10 
seconds. 

Reg Count  0 to 125 

Specifies the number of data points to be read from or written to the 
target device. 

Swap 
Code 

None 
Word swap 
Word and Byte swap 
Byte swap 

Specifies if the data from the server is to be ordered differently than it 
was received. This parameter is typically used when dealing with 
floating-point or other multi-register values. 

N

ONE

 - No change is made (abcd) 

W

ORD SWAP

 - The words are swapped (cdab) 

W

ORD AND 

B

YTE SWAP

 - The words and bytes are swapped (dcba) 

B

YTE SWAP

 - The bytes are swapped (badc) 

IP Address  xxx.xxx.xxx.xxx 

Specifies the IP address of the target device to be addressed by this 
command. 

Slot 

-1 

Specifies the slot number for the device. Use a value of -1 when 

Содержание PLX3x Series

Страница 1: ...PLX3x Series Multi Protocol Gateways January 25 2018 USER MANUAL...

Страница 2: ...misuse of the information contained herein Information in this document including illustrations specifications and dimensions may contain technical inaccuracies or typographical errors ProSoft Technol...

Страница 3: ...uthority having jurisdiction The following warnings must be heeded WARNING EXPLOSION HAZARD SUBSTITUTION OF COMPONENTS MAY IMPAIR SUITABILITY FOR CLASS I DIV 2 WARNING EXPLOSION HAZARD WHEN IN HAZARDO...

Страница 4: ......

Страница 5: ...ng Gateway Ports 20 2 5 Configuring Gateway Parameters 23 2 5 1 Renaming PCB Objects 23 2 5 2 Printing a Configuration File 23 2 6 Configuring the Ethernet Port 23 2 7 Mapping Data in Module Memory 24...

Страница 6: ...Class 1 Connection 56 5 2 3 Configuring EIP Class 3 Client x UClient Connection 60 5 3 Network Diagnostics 70 5 3 1 EIP PCB Diagnostics 70 5 3 2 EIP Status Data in Upper Memory 71 5 3 3 EIP Error Code...

Страница 7: ...guring a Port for Transmit Only Mode 145 8 2 4 Configuring a Port for Transmit Receive Mode 145 8 2 5 Termination of Received Data 145 8 3 ASCII Diagnostics 147 8 3 1 ASCII PCB Diagnostics 147 8 3 2 A...

Страница 8: ...alues 192 10 3 3 Creating a Variable Table to Display Floating Point Input Values 201 10 3 4 Creating a Variable Table to Display Floating Point Input Values 203 10 4 PND Diagnostics 205 10 4 1 PND PC...

Страница 9: ...rview This document explains the features of the PLX3x gateway It guides you through configuration showing how to map data between a device or network through the gateway to a PLC or PAC The ProSoft C...

Страница 10: ...ows XP Professional with Service Pack 1 or 2 Microsoft Windows 2000 Professional with Service Pack 1 2 or 3 not tested Microsoft Windows Server 2003 not tested 1 3 Package Contents The following compo...

Страница 11: ...DB9M Serial Adapter Cable CABLE14 RJ45 to DB9 male serial adapter cable 1 Power Connector J180 PLX3x gateway power connector 1 Mini screwdriver HRD250 Tool for wiring and securing the power connector...

Страница 12: ...per disables ProSoft Configuration Builder PCB upload and download functions If an upload or download request is made through PCB the error message Error This module has been secured Jumper 3 has been...

Страница 13: ...ory If you remove the SD card and reboot to the module the module loads the configuration data from the module s memory If there is no configuration data in the module s memory the module uses the fac...

Страница 14: ...ly when you have finished downloading 7 When the download is complete locate and open the file and then follow the instructions on your screen to install the program Note To use the ProSoft Configurat...

Страница 15: ...y mounted connect one end of the Ethernet cable to the ETH 1 Port and the other end to an Ethernet hub or switch accessible from the same network as the PC Or connect directly from the Ethernet Port o...

Страница 16: ...Series Multi Protocol Gateways User Manual Page 16 of 215 ProSoft Technology Inc January 25 2018 1 To open PDS right click on the gateway icon in PCB and click on DIAGNOSTICS 2 In the Diagnostics dial...

Страница 17: ...y Inc Page 17 of 215 January 25 2018 3 In the Connection Setup dialog box click the BROWSE DEVICE S button under the ProSoft Discovery Service PDS heading 4 In the ProSoft Discovery Service dialog box...

Страница 18: ...ft Technology Inc January 25 2018 5 Right click module and then select ASSIGN TEMPORARY IP 6 The module s default IP address is 192 168 0 250 7 Enter an unused IP within your subnet and then click OK...

Страница 19: ...configuration tools before you will find the screen layout familiar The ProSoft Configuration Builder PCB window consists of a tree view on the left an information pane and a configuration pane on the...

Страница 20: ...ou can disable one or more ports on the gateway if you do not need them See Disabling Gateway Ports page 20 5 Click OK to save your settings and return to the PCB Main window 2 4 Disabling Gateway Por...

Страница 21: ...s that you can disable have UNCHECK IF NOT USED in the ACTION REQUIRED column Click the port name to disable the port When you disable a port a red circle replaces the green checkmark MBS Port 3 in th...

Страница 22: ...Module Type dialog box with the correct MODULE TYPE Warning Note that all of the ports are enabled by default and that the port state in the Choose Module Type dialog box DOES NOT MATCH THE ACTUAL ST...

Страница 23: ...and Default Location folders in the tree view You can also rename the MODULE icon to customize the project 1 Right click the object you want to rename and then choose RENAME 2 Type the new name for th...

Страница 24: ...see the protocol for that port You cannot change the protocol assigned to a port 2 7 Mapping Data in Module Memory Use the DATA MAP section in the ProSoft Configuration Builder to copy data between a...

Страница 25: ...pand the module tree by clicking the next to the module name 2 Click the next to COMMONNET and then double click DATA MAP 3 In the Edit Data Map dialog box click ADD ROW 4 Click EDIT ROW to edit the p...

Страница 26: ...e copy process in order to change the alignment of bytes between different protocols Use this parameter when dealing with floating point or other multi register values because there is no standard for...

Страница 27: ...1000 1001 and 1002 or any other different Delay Preset values you like This prevents the copies from happening concurrently and prevents possible process scan delays 2 8 Downloading the Project to the...

Страница 28: ...lick DOWNLOAD to transfer the Ethernet configuration to the module If the Test Connection procedure fails you will see an error message To correct the error follow these steps 1 Click OK to dismiss th...

Страница 29: ...ew in ProSoft Configuration Builder right click the PLX3X GATEWAY icon and then choose UPLOAD FROM DEVICE TO PC This opens the Upload dialog box 2 In the Upload dialog box in the Select Connection Typ...

Страница 30: ...procedure fails you will see an error message To correct the error follow these steps 1 Click OK to dismiss the error message 2 In the Upload dialog box click BROWSE DEVICE S to open ProSoft Discover...

Страница 31: ...ubleshoot the module using several methods Monitor the LED indicators on the gateway Use the Diagnostics functions in ProSoft Configuration Builder PCB Examine the data in the status data area upper m...

Страница 32: ...ents the configuration values and initializes the hardware This occurs during power cycle or after you press the Reset button ERR Error Off Normal operation FlashingAmber An error condition has been d...

Страница 33: ...port is actively transmitting or receiving data 3 1 3 Serial Port LEDs for Gateways with Serial Ports This table describes gateway serial port LEDs LED State Description RX Off No activity on the port...

Страница 34: ...ight click the gateway name and choose DIAGNOSTICS This opens the Diagnostics window Note The image above is for a specific version of the PLX3x gateway The contents of the Diagnostics window for your...

Страница 35: ...n 3 In the Connection Setup dialog box select ETHERNET from the SELECT CONNECTION TYPE list 4 Type in the gateway s IP address in the ETHERNET field 5 Click CONNECT 6 Verify that the Ethernet is conne...

Страница 36: ...Technical Support engineers The following menu commands are common to all PLX3x gateways Menu Command Submenu Command Description Module Version Displays the gateway s current software version and ot...

Страница 37: ...3 2 To log a Diagnostics session to a text file from the toolbar click the LOG FILE button Click the button again to stop the capture 3 To view the log file from the toolbar click the VIEW LOG FILE bu...

Страница 38: ...ch as Wireshark To use the Data Analyzer 1 Open a Diagnostics window See Using Diagnostics in ProSoft Configuration Builder page 33 2 From the toolbar click the SETUP DATA ANALYZER button 3 In the Dat...

Страница 39: ...s data packets displayed in hexadecimal number format Data LEAVING the serial port is enclosed in angle brackets Data ENTERING the port is enclosed in square brackets Each set of brackets holds one wo...

Страница 40: ...Prosoft Configuration Builder to map this data into the user data area of the gateway s database registers 0 through 3999 Remote devices such as HMIs or processors can then access the status data See...

Страница 41: ...memory locations for protocol specific status data The location of the status data area for the gateway protocol drivers depend on the protocols For more information see EIP Status Data in Upper Memo...

Страница 42: ...PLX3x Series Multi Protocol Gateways User Manual Page 42 of 215 ProSoft Technology Inc January 25 2018...

Страница 43: ...e Fault FLT Network Status NS EtherNet IP Class I or Class III Connection Status EtherNet IP Only Module Status MS Module Configuration Status EtherNet IP Only Ethernet Communication Port Link Activit...

Страница 44: ...rface lines fault protected to 36V power on 40V power off 4 2 Serial Port Cables for Gateways with Serial Ports This section contains information on the cable and pinout assignments for the PLX3x gate...

Страница 45: ...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 4 2...

Страница 46: ...S 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...

Страница 47: ...ou have RS 485 4 wire full duplex devices they can be connected to the gateway s serial ports by wiring together the TxD and RxD from the two pins of the full duplex device to Pin 1 on the gateway and...

Страница 48: ...PLX3x Series Multi Protocol Gateways User Manual Page 48 of 215 ProSoft Technology Inc January 25 2018...

Страница 49: ...nctional Overview 49 EIP Configuration 53 Network Diagnostics 70 EIP Reference 76 5 1 EIP Functional Overview You can use the PLX3x gateway EIP gateway to interface many different protocols into the R...

Страница 50: ...ions PLX3x EIP SIE 2 connections PLX3x EIP PND 8 connections Class 3 Connected Client 2 Unconnected Client 1 Server 5 Supported PLC Types PLC2 PLC5 SLC CLX CMPLX MICROLX Supported Message Types PCCC a...

Страница 51: ...r you can map status and error information generated by the gateway into the user data area of the internal database The internal database is divided into two areas Upper memory for the module status...

Страница 52: ...you define in ProSoft Configuration Builder specifies what data is to be transferred between the gateway and each of the servers on the network No ladder logic is required in the processor server for...

Страница 53: ...ver slave device responding to message instructions initiated from a client master device such as an HMI DCS PLC or PAC To set the server file size in PCB 1 In ProSoft Configuration Builder click the...

Страница 54: ...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_...

Страница 55: ...ange Write Binary Address X 0x0F 0x01 Word Range Read Binary Address X 0x0F Typed Range Read Binary Address X 0x0F Typed Range Write Binary Address X 0x0F 0x26 Read Modify Write Binary Address 0x0F 0x...

Страница 56: ...can handle up to eight I O connections depending on the model each with 248 words of input data and 248 words of output data Adding the Gateway to RSLogix5000 v 20 1 Start Rockwell Automation RSLinx a...

Страница 57: ...hnology Inc Page 57 of 215 January 25 2018 6 Click your PLX3x gateway and then click CREATE This opens the New Module dialog box 7 In the New Module dialog box enter a name for the gateway then enter...

Страница 58: ...When finished click OK The new gateway appears in the Controller Organizer under the EtherNet IP bridge Adding the Gateway to RSLogix5000 v 16 through v 19 Note Class 1 connections are not supported i...

Страница 59: ...nfigure Class 1 connections in PCB 1 In ProSoft Configuration Builder click the next to the gateway then click the next to EIP Class 1 Connection x The value of x depends on the number of ports on you...

Страница 60: ...Class 3 UClient connection when the gateway is acting as a client master initiating message instructions to the server slave devices The PLX3x EIP protocol supports one unconnected client connection...

Страница 61: ...ails Class 3 Client x UClient 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...

Страница 62: ...e target device Swap Code None Word swap Word and Byte swap Byte swap Specifies if the data from the server is to be ordered differently than it was received This parameter is typically used when deal...

Страница 63: ...rval to execute continuous commands The parameter is entered in 1 10 of a second If a value of 100 is entered for a command the command executes no more frequently than every 10 seconds Reg Count 0 to...

Страница 64: ...internal data associated with the command changes Internal Address 0 to 3999 Specifies the database address in the module s internal database to be associated with the command If the command is a rea...

Страница 65: ...d list DISABLE The command is disabled and will not be executed CONDITIONAL WRITE The Command executes only if the internal data associated with the command changes Internal Address 0 to 3999 Specifie...

Страница 66: ...eived in the response message is placed at the specified location If the command is a write function data used in the command is sourced from specified data area Poll Interval 0 to 65535 Specifies the...

Страница 67: ...e specified location If the command is a write function data used in the command is sourced from specified data area Poll Interval 0 to 65535 Specifies the minimum interval to execute continuous comma...

Страница 68: ...ers It is strongly recommended not be use in the comment section Note Due to the behavior of Connected Clients please note the following You cannot configure multiple commands with different Class obj...

Страница 69: ...d the command executes no more frequently than every 10 seconds Reg Count 0 to 125 Specifies the number of data points to be read from or written to the target device Swap Code None Word swap Word and...

Страница 70: ...rver Connections Comm Status Status information for each Class 3 Server Connection Displays port numbers IP addresses socket status and read and write counts EIP Class 3 Client UClient x Config Config...

Страница 71: ...0 through 7909 Connected Client 1 8100 through 8109 Unconnected Client 0 12800 through 12809 The content of each client s status data area is structured in the same way The following table describes t...

Страница 72: ...on 0 Command 1 Error Code 1 Command 2 Error Code 2 Command 3 Error Code 3 Command 4 Error Code 4 Command 5 Error Code 97 Command 98 Error Code 98 Command 99 Error Code 99 Command 100 Error Code EIP Se...

Страница 73: ...st common errors for the EtherNet IP PCCC protocol are shown below Local STS Error Codes Code Int Code Hex Description 0 0x0000 Success no error 256 0x0100 DST node is out of buffer space 512 0x0200 C...

Страница 74: ...ile is too large 4086 0xF00A Transaction size plus word address is too large 4085 0xF00B Access denied improper privilege 4084 0xF00C Condition cannot be generated resource is not available 4083 0xF00...

Страница 75: ...ed to connect to target 34 0xFFDE Failed to register session with target timeout 35 0xFFDD Failed forward open response timeout 36 0xFFDC PCCC Tag command response timeout 37 0xFFDB No TCP IP connecti...

Страница 76: ...xFFC0 TNS in PCCC message not matched 65 0xFFBF Vendor ID in PCCC message not matched 66 0xFFBE Serial number in PCCC message not matched 5 4 EIP Reference 5 4 1 SLC and MicroLogix Specifics Messaging...

Страница 77: ...his displays the following dialog box 3 Set the TARGET DEVICE DATA TABLE ADDRESS to a valid file element such as N11 0 for SLC and PLC5 messages 4 Set the MULTIHOP option to YES 5 Complete the MULTIHO...

Страница 78: ...xample rung to execute a read command 1 Set the READ WRITE parameter to READ The gateway supports a TARGET DEVICE parameter value of 500CPU or PLC5 2 In the MSG object click SETUP SCREEN in the MSG ob...

Страница 79: ...ered as a single character to denote the data table to use in the command The following table defines the relationship of the file types accepted by the gateway and the SLC file types File Type Descri...

Страница 80: ...PLC5 Write Commands Write commands transfer data from the PLC5 processor to the gateway The following diagram shows an example rung to execute a write command 1 In the MSG object click SETUP SCREEN i...

Страница 81: ...database index such as 1000 for the command 4 Set the MULTIHOP option to YES 5 Complete MULTIHOP tab portion of the dialog box as shown in the following image 6 Set the TO ADDRESS value to the gatewa...

Страница 82: ...d o PLC2 Unprotected Read o PLC5 Typed Read to PLC o PLC Typed Logical Read 3 Set the TARGET DEVICE DATA TABLE ADDRESS to a valid file element such as N11 0 for SLC and PLC5 messages For the PLC2 Unpr...

Страница 83: ...element field in a complex data table For example to obtain the current accumulated value for a counter or timer set the sub element field to 2 The following tables show the sub element codes for PLC...

Страница 84: ...rocessor when using the PCCC command set The current implementation of the PCCC command set does not use functions that can directly access the Controller Tag Database In order to access this database...

Страница 85: ...own in the following image 2 Complete the dialog box for the data area to be transferred o For PLC5 and SLC messages set the DESTINATION ELEMENT to an element in a data file such as N10 0 o For the PL...

Страница 86: ...irst element is Enet which is the user defined name given to the 1756 ENET gateway in the chassis you can substitute the slot number of the ENET gateway for the name o The second element 2 represents...

Страница 87: ...ample rung that executes a read command 1 In the Message Configuration dialog box define the data set to be transferred from the processor to the gateway as shown in the following image 2 Complete the...

Страница 88: ...e first element is Enet which is the user defined name given to the 1756 ENET gateway in the chassis you can substitute the slot number of the ENET gateway for the name o The second element 2 represen...

Страница 89: ...iagram shows an example rung that executes a write command 1 In the Message Configuration dialog box define the data set to be transferred from the processor to the gateway as shown in the following i...

Страница 90: ...ents are separated by commas In the example path shown o The first element is Enet which is the user defined name given to the 1756 ENET gateway in the chassis you can substitute the slot number of th...

Страница 91: ...rred from the processor to the gateway as shown in the following image 2 Complete the dialog box for the data area to be transferred CIP Data Table messages require a tag database element for both the...

Страница 92: ...nts are separated by commas In the example path shown o The first element is Enet which is the user defined name given to the 1756 ENET gateway in the chassis you can substitute the slot number of the...

Страница 93: ...to design the application s command list Gateway Information Data Device Information Data Column 1 2 3 4 5 6 7 8 9 10 11 12 Function Code Enable Code Internal Address Poll Interval Time Count Swap Cod...

Страница 94: ...PLX3x Series Multi Protocol Gateways User Manual Page 94 of 215 ProSoft Technology Inc January 25 2018...

Страница 95: ...rite commands for remote processors in the gateway s lower memory This is also where the gateway stores data from read commands from other devices See MBTCP Internal Database page 97 for more informat...

Страница 96: ...s for Service Port 502 Supports five independent server connections for Service Port 2000 All data mapping begins at Modbus register 400001 protocol base 0 Error codes network error counters and port...

Страница 97: ...per command Status Data Error codes reported individually for each command High level status data available from Modbus TCP IP client for example PLC Command List Polling Each command can be individua...

Страница 98: ...r devices and store the data in a specific location in the user data area If the module is acting as a server slave the external client master devices write data to a specific location in the user dat...

Страница 99: ...ts and the internal database Multiple Server Access to Database The MBTCP gateway provides server functionality using reserved Service Port 502 for Modbus TCP IP MBAP messages as well as Service Ports...

Страница 100: ...ting point data To use addresses in this upper range requires that you configure the following parameters in Prosoft Configuration Builder PCB Set the Float Flag in the MBTCP server configuration to Y...

Страница 101: ...routed by the gateway to the TCP IP network to be received by the originating host 6 2 MBTCP Configuration 6 2 1 Configuring MBTCP Servers This section contains database offset information used by th...

Страница 102: ...the zero address or starting point for binary output Coil data Coil data is read by Modbus Function Code 1 commands Read Coils and written by Function Codes 5 Force Single Coil or Function Code 15 For...

Страница 103: ...The command list for the client is entered in a separate section To configure the MBTCP Client x in PCB 1 In ProSoft Configuration Builder click the next to the gateway then click the next to MBTCP C...

Страница 104: ...he first register of floating point data The gateway considers all requests with register values greater than or equal to this value as floating point data requests For example if you enter 7000 the g...

Страница 105: ...per client The gateway processes the command list from top command 0 to bottom The following table describes the command list configuration parameters Parameter Value Description Enable YES NO CONDIT...

Страница 106: ...es 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 2 word groups of data Therefore data swapping using Swap Codes should...

Страница 107: ...for bit level Input Status data Function Code 2 30001 or 300001 3x0001 for Input Register data Function Code 4 40001 or 400001 4x0001 for Holding Register data Function Codes 3 6 and 16 Address calcu...

Страница 108: ...ll the errors resulting from Client x commands Modbus Commands Configuration for the Client x Modbus command list Modbus Cmd Errors Decimal Current error codes for each command on the Client x command...

Страница 109: ...ast Error Code MBTCP Client Status Data The following table lists the addresses in upper memory where the PLX3x gateway stores status data for each MBTCP Client Client Address Range 0 12000 through 12...

Страница 110: ...code in upper memory for each command in each MBTCP client s command list The following table lists the addresses in upper memory where the PLX3x gateway stores the command list error data for each M...

Страница 111: ...rror codes are specific to the MBTCP client Code Description 33 Failed to connect to server specified in command 35 Wrong message length in the response 36 MBTCP command response timeout same as 11 37...

Страница 112: ...sing TCP IP as a wrapper for the Modbus protocol This protocol is known as Modbus TCP IP Modbus TCP IP is a client server protocol The master establishes a connection to the remote server When the con...

Страница 113: ...ported as server 1 Read Coil Status 0x X X 2 Read Input Status 1x X X 3 Read Holding Registers 4x X X 4 Read Input Registers 3x X X 5 Set Single Coil 0x X X 6 Single Register Write 4x X X 8 Diagnostic...

Страница 114: ...PLX3x Series Multi Protocol Gateways User Manual Page 114 of 215 ProSoft Technology Inc January 25 2018...

Страница 115: ...eway serial port s is individually configurable to communicate to separate networks As a master you can specify a command list of up to 100 entries The gateway stores the write command data in the gat...

Страница 116: ...ing continuous and on change of data and dynamically user or automatic enabled Status Data Error codes available on an individual command basis In addition a slave status list is maintained per active...

Страница 117: ...Node address 1 to 247 software selectable Status Data Error codes counters and port status available per configured slave port starting at register 4400 7 1 3 MBS Internal Database The internal datab...

Страница 118: ...n the user data area If the module is acting as a server slave the external client master devices write data to a specific location in the user data area Note If you want to access module status data...

Страница 119: ...te master The following table defines the relationship of the gateway s internal database to the addresses required in the incoming Modbus requests Database Address Modbus Address 0 40001 five digit a...

Страница 120: ...ways User Manual Page 120 of 215 ProSoft Technology Inc January 25 2018 3 In the dialog box click a parameter and then enter a value for the parameter Note that the Float Start and Float Offset parame...

Страница 121: ...ster for floating point data in the internal database For example if you enter a value of 3000 and set the Float Start parameter to 7000 data requests for register 7000 use the internal Modbus registe...

Страница 122: ...is recognized Error Delay Counter 0 to 60000 Specifies the number of poll attempts to be skipped before trying to re establish communications with a slave that has failed to respond to a command withi...

Страница 123: ...ed requesting Input Register address 0 virtual Modbus address 30001 or 300001 the module returns the value at register 500 in the gateway s database Output Offset 0 to 3998 Specifies the internal data...

Страница 124: ...ecuted upon each scan of the Command List if you set Poll Interval to zero 0 If you set Poll Interval to a non zero value the gateway executes the command when the interval timer for that command expi...

Страница 125: ...order more useful or convenient for other applications NO CHANGE 0 No change is made in the byte ordering 1234 1234 WORD SWAP 1 The words are swapped 1234 3412 WORD AND BYTE SWAP 2 The words are swapp...

Страница 126: ...t Status data Function Code 2 30001 or 300001 3x0001 for Input Register data Function Code 4 40001 or 400001 4x0001 for Holding Register data Function Codes 3 6 and 16 Address calculation examples For...

Страница 127: ...dbus Cmd Errors Decimal Current error codes for each command on the MBS Port x command list in decimal number format A zero means there is currently no error for the command Modbus Cmd Errors Hex Curr...

Страница 128: ...neral Modbus Error and Status Layout The addresses listed are for Port 1only The format is the same for each port See General Modbus Error and Status Data page 127 for the start address for each port...

Страница 129: ...This processing happens faster than can be followed unless a port error causes the value to remain constant for some noticeable length of time The diagnostic screen display a snapshot of the data that...

Страница 130: ...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 Each configured comman...

Страница 131: ...4414 4 Command 5 Error Code 4507 97 Command 98 Error Code 4508 98 Command 99 Error Code 4509 99 Command 100 Error Code Note that the gateway initializes the Command Error List tables to zero 0 at pow...

Страница 132: ...emory page 24 Port 1 Slave List Status Layout The addresses listed are for Port 1 only but the format is the same for each port See Master Port Modbus Slave List Status page 132 for the start address...

Страница 133: ...ero the gateway sets the slave state to 1 This re enables polling of the slave The first word in the defined register locations contains the status code for slave node address 1 Each successive word i...

Страница 134: ...ommand list loading at gateway reboot and are stored in the Command Error List memory area Code Description 41 Invalid enable code 42 Internal address maximum address 43 Invalid node address 0 or 255...

Страница 135: ...ocols into the Rockwell Automation family of processors or other software based solutions The ASCII driver permits the gateway to interface any ASCII device to the many protocols and networks availabl...

Страница 136: ...its 5 to 8 Stop Bits 1 or 2 RTS On and Off Timing 0 to 65535 milliseconds Minimum Response Delay 0 to 65535 milliseconds Hardware or Software Handshaking RTS CTS DTR DSR or XON XOFF 8 1 2 ASCII Data F...

Страница 137: ...f you set the receive database start location to a value of 1 when you configure the gateway in PCB The following table shows the structure of the received data Word Offset Description 0 Receive seque...

Страница 138: ...block signals when new transmit data is available Word 1 of the block optionally contains the number of characters processed in the last receive message Word 2 of the message paces the characters dur...

Страница 139: ...addition to data from the client and server you can map status and error information generated by the gateway into the user data area of the internal database The internal database is divided into two...

Страница 140: ...onfiguration 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 the ASCII device and the gateway These top...

Страница 141: ...hat the packet is fully assembled and ready to send The following illustration shows flow of data on a port configured for transmit only mode Transmit Receive Mode A port configured in transmit receiv...

Страница 142: ...oSoft Configuration Builder to configure the ASCII port parameters The value of x depends on the number of ports on your PLX3x gateway 1 to 4 To configure the ASCII Port in PCB 1 In ProSoft Configurat...

Страница 143: ...4800 bps 96 or 9600 9600 bps 192 or 19200 19200 bps 384 or 38400 38400 bps 576 or 57600 57600 bps 115 or 115200 115200 bps Parity None Odd Even Specifies the type of parity checking to use Parity is a...

Страница 144: ...r of milliseconds to wait after the first character is received on the port before automatically sending the data to the processor if bit 1 is set in the RX Termination Type parameter Rx Delay 0 to 65...

Страница 145: ...a A value of 1 in either parameter disables the particular function that the parameter serves 8 2 5 Termination of Received Data When the PLX3x gateway receives data on the application port you must d...

Страница 146: ...0d character is received Message timeout used Settings Message timeout 1000 mSec Rtimeout 1000 Data Received on port TIME 0 1000 mSec 2000 mSec A B C D E F G Comment After the A character is received...

Страница 147: ...ort 8 3 ASCII Diagnostics 8 3 1 ASCII PCB Diagnostics The best way to troubleshoot the ASCIII driver is to use ProSoft Configuration Builder to access the diagnostic capabilities of the gateway throug...

Страница 148: ...ng tables lists the content of the status data areas associated with each ASCII port driver ASCII Port Driver Status Port 0 Status Data Status Register Description 13000 Receive State 1 Listening for...

Страница 149: ...transfer 13011 Receive character count 13012 Receive message count 13013 Transmit State 0 Waiting for Data to Send 1 RTS On 2 RTS Timeout 3 Sending data 4 Waiting for RTS Off 5 RTS turned off 30 Inte...

Страница 150: ...transfer 13021 Receive character count 13022 Receive message count 13023 Transmit State 0 Waiting for Data to Send 1 RTS On 2 RTS Timeout 3 Sending data 4 Waiting for RTS Off 5 RTS turned off 30 Inte...

Страница 151: ...transfer 13031 Receive character count 13032 Receive message count 13033 Transmit State 0 Waiting for Data to Send 1 RTS On 2 RTS Timeout 3 Sending data 4 Waiting for RTS Off 5 RTS turned off 30 Inte...

Страница 152: ...s associated with each configuration error in the error word Bit Code Description 0 0x0001 Invalid selection for enabled parameter 1 0x0002 Invalid Rx DB Start parameter 2 0x0004 Invalid Tx DB Start p...

Страница 153: ...tible instruments and devices The SIE protocol improves performance when controlling multiple servers on a Siemens Industrial Ethernet network by supporting up to 20 clients The gateway s clients inte...

Страница 154: ...ister Types DB Inputs Outputs Flags Counters Timers 9 1 2 SIE Gateway Internal Database The internal database is central to the functionality of the PLX3x gateway The gateway shares this database betw...

Страница 155: ...n the user data area If the module is acting as a server slave the external client master devices write data to a specific location in the user data area Note If you want to access module status data...

Страница 156: ...shed in one or more processors or other server based devices The command list that you define in ProSoft Configuration Builder specifies what data is to be transferred between the gateway and each of...

Страница 157: ...arameter The following table defines the configuration parameters for the SIE client master Parameter Value Description Minimum Command Delay 0 to 65535 Specifies the number of milliseconds to wait be...

Страница 158: ...interface to the Siemens Industrial Ethernet server device Command List Overview You must construct a command list to interface the gateway with Siemens Industrial Ethernet server devices The commands...

Страница 159: ...The value is in tenths of a second Therefore if a value of 100 is entered the command will execute no more frequently than once every 10 seconds Reg Count Command dependent Specifies the number of 16...

Страница 160: ...ifically need custom TSAP settings Func Type Read Write Specifies the type of command Read or Write Data Type BOOL BYTE DINT REAL INT TIME COUNT Specifies the data type for the command Address Type IN...

Страница 161: ...rial Ethernet Function Code being executed The type of supported functions also depends on the server device SIE S3 700 Supported Commands Address Type Data Block Function Data Type READ BOOL Write BO...

Страница 162: ...Data Type READ BOOL Write BOOL READ BYTE Write BYTE READ DINT Write DINT READ REAL Write REAL READ INT Write INT READ TIME Write TIME READ COUNT Write COUNT Address Type Output Function Data Type REA...

Страница 163: ...ser Manual ProSoft Technology Inc Page 163 of 215 January 25 2018 Address Type Input Function Data Type READ BOOL Write BOOL READ BYTE Write BYTE READ DINT Write DINT READ REAL Write REAL READ INT Wri...

Страница 164: ...pe READ BOOL Write BOOL READ BYTE Write BYTE READ DINT Write DINT READ REAL Write REAL READ INT Write INT Address Type Flag Function Data Type READ BOOL Write BOOL READ BYTE Write BYTE READ DINT Write...

Страница 165: ...ction Data Type READ BOOL Write BOOL READ BYTE Write BYTE READ DINT Write DINT READ REAL Write REAL READ INT Write INT SIE S7 1200 Supported Commands Address Type Data Block Function Data Type READ BO...

Страница 166: ...Data Type READ BOOL Write BOOL READ BYTE Write BYTE READ DINT Write DINT READ REAL Write REAL READ INT Write INT READ TIME Write TIME READ COUNT Write COUNT Address Type Output Function Data Type REA...

Страница 167: ...BOOL READ BYTE Write BYTE READ DINT Write DINT READ REAL Write REAL READ INT Write INT READ TIME Write TIME READ COUNT Write COUNT Notes on Addressing in S7 Processors This topic applies to the S7 300...

Страница 168: ...byte memory locations being overlapped when the double word address is used consecutively DB1 DBD0 DB1 DBD1 DB1 DBD2 etc If DBD1 DBD0 is used as the first address in the Siemens processor the next dou...

Страница 169: ...ilder shows a client command sent from the gateway to INT data to DB1 address 0 Row 1 in the SIMATICS Manager screen below shows the data transferred from the gateway If the data is broken up and disp...

Страница 170: ...ocations 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 9 3 SIE Diagnostics 9 3 1 SIE PCB Diagnostics The best wa...

Страница 171: ...et Description 0 Command Request Count 1 Command Response Count 2 Command Error Count 3 Number of Request Packets 4 Number of Response Packets 5 Errors Sent 6 Errors Received 7 Configuration Error Wor...

Страница 172: ...PLC responds with an unknown data type 1024 0xfc00 Short packet from PLC 1025 0xfbff Timeout when waiting for PLC response 32767 0x8001 Not allowed in current operating status 32511 0x8101 Hardware fa...

Страница 173: ...ks F blocks can only be processed after password input 11263 0xd401 Invalid SZL ID 11262 0xd402 Invalid SZL index 11258 0xd406 Diagnosis Info not available 11255 0xd409 Diagnosis DB error SIE Error Co...

Страница 174: ...rite BYTE 164 READ DINT 41 Write DINT 41 READ REAL 41 Write REAL 41 READ INT 82 Write INT 82 READ TIME 82 Write TIME 41 READ COUNT 82 Write COUNT 82 Address Type Timer Function Data Type Max Reg Count...

Страница 175: ...Count READ BOOL 1 Write BOOL 1 READ BYTE 128 Write BYTE 128 READ DINT 32 Write DINT 32 READ REAL 32 Write REAL 32 READ INT 64 Write INT 64 READ TIME 64 Write TIME 32 READ COUNT 64 Write COUNT 64 Addr...

Страница 176: ...te BOOL 1 READ BYTE 30 Write BYTE 30 READ DINT 7 Write DINT 7 READ REAL 7 Write REAL 7 READ INT 15 Write INT 15 READ TIME 15 Write TIME 15 READ COUNT 15 Write COUNT 15 Address Type Flag Function Data...

Страница 177: ...YTE 212 Write BYTE 212 READ DINT 53 Write DINT 53 READ REAL 53 Write REAL 53 READ INT 106 Write INT 106 READ TIME 105 Write TIME 105 READ COUNT 111 Write COUNT 106 Address Type Input Function Data Typ...

Страница 178: ...YTE 212 READ DINT 55 Write DINT 53 READ REAL 55 Write REAL 53 READ INT 111 Write INT 106 Address Type Flag Function Data Type Max Reg Count READ BOOL 1 Write BOOL 1 READ BYTE 32 Write BYTE 32 READ DIN...

Страница 179: ...ol User Manual ProSoft Technology Inc Page 179 of 215 January 25 2018 Address Type Input Function Data Type Max Reg Count READ BOOL 1 Write BOOL 1 READ BYTE 16 Write BYTE 16 READ DINT 4 Write DINT 4 R...

Страница 180: ...PLX3x Series Multi Protocol Gateways User Manual Page 180 of 215 ProSoft Technology Inc January 25 2018...

Страница 181: ...omation of PROFIBUS and PROFINET Intenational PI Many years of experience with PROFIBUS and the widespread use of Industrial Ethernet are all rolled into PROFINET With its integrated Ethernet based co...

Страница 182: ...d by devices on another communication port In addition to data from the Controller you can map status and error information generated by the gateway into the user data area of the internal database Th...

Страница 183: ...can use the diagnostic functions in ProSoft Configuration Builder to view module status data For more information on the module status data see PND Diagnostics page 205 10 2 PND Configuration The fol...

Страница 184: ...tocol Gateways User Manual Page 184 of 215 ProSoft Technology Inc January 25 2018 4 Expand PLX31 EIP PND module and double click PND MODULE MAP 5 In the Edit PND MODULE MAP dialog click ADD ROW and do...

Страница 185: ...he number of input or output bytes to be used for each slot This example uses 32 bytes input and 32 bytes output Note The PND module map is very important because the values enter here must match the...

Страница 186: ...8000 Byte offset for input data in the gateway s lower memory Start Output Byte Offset 0 to 8000 Byte offset for output data in the gateway s lower memory Swap Read Input Data Bytes No Change Word Sw...

Страница 187: ...eway then click the next to PND 2 Double click PND MODULE MAP to display the Edit PND MODULE MAP dialog box 3 Click ADD ROW to add a new module mapping 4 Click EDIT ROW or double click the row to disp...

Страница 188: ...perations affect 4 byte 2 word groups of data Therefore data swapping using Swap Codes should be done only when using an even number of words such as 32 bit integer or floating point data Comment Opti...

Страница 189: ...l ProSoft Technology Inc Page 189 of 215 January 25 2018 3 Add a station to the project in which the network will be configured 4 Click SIMATIC 300 STATION 5 Double click the hardware icon for SIMATIC...

Страница 190: ...s User Manual Page 190 of 215 ProSoft Technology Inc January 25 2018 10 3 1 Creating a Variable Table to Display Floating Point Input Values 1 On the menu bar click OPTIONS and then click INSTALL GSD...

Страница 191: ...col User Manual ProSoft Technology Inc Page 191 of 215 January 25 2018 2 Click BROWSE and browse to the location of the GSD file stored on your PC 3 Select the file and click INSTALL The system inform...

Страница 192: ...215 ProSoft Technology Inc January 25 2018 10 3 2 Creating a Variable Table to Display Floating Point Input Values 1 From the HW Config page select a Rack and a Power Supply 2 Drag and drop the proce...

Страница 193: ...y Inc Page 193 of 215 January 25 2018 3 Right click the PN IO option and then click INSERT PROFINET IO SYSTEM 4 Insert the ProfiNet bus network where the ProSoft gateway is located by clicking the PN...

Страница 194: ...LX3x Series Multi Protocol Gateways User Manual Page 194 of 215 ProSoft Technology Inc January 25 2018 5 Click NEW to open the Properties New subnet Industrial Ethernet dialog box 6 Click OK on the fo...

Страница 195: ...es Multi Protocol Gateways PND Protocol User Manual ProSoft Technology Inc Page 195 of 215 January 25 2018 7 Add the PLX3x gateway to the network 8 Configure the interface port for the ProSoft gateway...

Страница 196: ...ulti Protocol Gateways User Manual Page 196 of 215 ProSoft Technology Inc January 25 2018 9 Configure the inputs and outputs to match the PCB configuration In this example 32 inputs and 32 outputs wer...

Страница 197: ...gy Inc Page 197 of 215 January 25 2018 10 Verify the name and IP address as shown 11 If the module is correctly configured the following appears If the status is not a green checkmark you must assign...

Страница 198: ...PND Protocol PLX3x Series Multi Protocol Gateways User Manual Page 198 of 215 ProSoft Technology Inc January 25 2018 The following image shows an example...

Страница 199: ...PLX3x Series Multi Protocol Gateways PND Protocol User Manual ProSoft Technology Inc Page 199 of 215 January 25 2018 12 Save and download the program...

Страница 200: ...3x Series Multi Protocol Gateways User Manual Page 200 of 215 ProSoft Technology Inc January 25 2018 Once you download the program the RUN LED and the DC5V on the processor should be green There shoul...

Страница 201: ...otocol User Manual ProSoft Technology Inc Page 201 of 215 January 25 2018 10 3 3 Creating a Variable Table to Display Floating Point Input Values 1 To monitor the values coming out of the processor cl...

Страница 202: ...ual Page 202 of 215 ProSoft Technology Inc January 25 2018 The values coming into the processor are displayed at the input section 2 To modify the values that the processor sends to the module choose...

Страница 203: ...ocol User Manual ProSoft Technology Inc Page 203 of 215 January 25 2018 10 3 4 Creating a Variable Table to Display Floating Point Input Values 1 On the menu bar click INSERT NEW OBJECT and then click...

Страница 204: ...PND Protocol PLX3x Series Multi Protocol Gateways User Manual Page 204 of 215 ProSoft Technology Inc January 25 2018 3 Double click the table 4 Monitor the value...

Страница 205: ...pper memory You can use data mapping in the gateway to map this data into the normal user data range of the gateway s database See Mapping Data in Module Memory page 24 The following table lists the l...

Страница 206: ...ew data was copied into the buffer 0x0604 Pointer to data memory is NULL or pointer to variable to receive the APDU Data Status is NULL 0x060B IOCR ID is 0 0x0803 IOCR ID could not be found or IOCR ID...

Страница 207: ...28 Bytes 128 Bytes 128 Bytes 128 Bytes 128 Bytes 128 Bytes 256 Bytes 256 Bytes 256 Bytes 256 Bytes 256 Bytes 256 Bytes NA NA 496 Bytes 496 Bytes 496 Bytes NA NA NA NA NA PROFINET Update Rate ms PROFIN...

Страница 208: ...PLX3x Series Multi Protocol Gateways User Manual Page 208 of 215 ProSoft Technology Inc January 25 2018...

Страница 209: ...ting this process 1 Product Version Number 2 System architecture 3 Network details If the issue is hardware related we will also need information regarding 1 Module configuration and associated ladder...

Страница 210: ...neasia prosoft technology com Languages spoken English Chinese Japanese Korea Phone 603 7724 2080 korea prosoft technology com Languages spoken English Korean Regional Office Phone 33 0 5 34 36 87 20...

Страница 211: ...sh REGIONAL TECH SUPPORT support la prosoft technology com Andean Countries Central America Caribbean Phone 507 6427 48 38 andean prosoft technology com Languages spoken Spanish English Southern Cone...

Страница 212: ...PLX3x Series Multi Protocol Gateways Support Service Warranty User Manual ProSoft Technology Inc Page 212 of 215 January 25 2018...

Страница 213: ...it Receive Mode 145 Configuring EIP Class 1 Connection 56 Configuring EIP Class 1 Connections in PCB 59 Configuring EIP Class 3 Client x UClient Connection 60 Configuring EIP Class 3 Server 53 Configu...

Страница 214: ...cations 96 MBTCP Internal Database 95 97 MBTCP PCB Diagnostics 108 MBTCP Protocol 95 MBTCP Reference 112 MBTCP Server Status Data 108 MBTCP Status Data in Upper Memory 41 108 Messaging from a ControlL...

Страница 215: ...ounts 159 SIE Module Communication Error Codes 172 SIE PCB Diagnostics 170 SIE Protocol 153 SIE Reference 174 SIE S3 700 Supported Commands 161 SIE S7 1200 Supported Commands 165 SIE S7 200 Supported...

Отзывы: