background image

WWW.SSTCOMM.COM

13

3.3 Run
3.3.1 Data Exchange

The data conversion between PROFINET network and serial of GT200-PN-RS is established by "mapping".

GT200-PN-RS has two data buffers, one is input buffer (1K bytes) with address range 0x0000-0x03FF; the other is
output buffer (1K bytes) with address range 0x4000-0x43FF.

3.3.1.1 PROFINET Slave

Presuming the input data length users have configured is N1, output data length is N2. GT200-PN-RS will

periodically send the data within the address range of [0x0000, N1] to PROFINET network; When receiving data
from PROFINET network, GT200-PN-RS will write the data to the address range of [0x4000, N2].

3.3.1.2 Modbus Master

When one serial runs Modbus master protocol, for all write registers, write coils command GT200-PN-RS

supports, GT200-PN-RS can get data from address range 0x0000-0x03FF, 0x4000-0x43FF and send them to the
Modbus slave. For all read registers, read coils command, GT200-PN-RS can write the data returned from Modbus
slave to address range 0x0000-0x03FF.

Notes: Each Modbus master can configure 48 commands, and every command can get one continuous Modbus

register.

3.3.1.3 Modbus Slave

When one serial runs Modbus slave protocol, for No. 03 commands master sent, GT200-PN-RS will get data

from address range 0x0000-0x03FF. For No. 04 commands, it will get data from 0x4000-0x43FF and return them to
the Modbus master. For No. 06, 16 command, it will write the Modbus master data to the address range of
0x0000-0x03FF.

3.3.1.4 Self-defined Protocol

When one serial runs self-defined protocol, users' serial device can read/write data to any address of two buffers

of 0x0000-0x03FF and 0x4000-0x43FF.

3.3.1.5 User Config-Poll

When one serial runs universal mode-ask and answer, request part of command can get data from any address of

Summary of Contents for GT200-PN-RS

Page 1: ...Universal Serial PROFINET IO Gateway GT200 PN RS User Manual V 1 0 REV A SST Automation E mail SUPPORT SSTCOMM COM WWW SSTCOMM COM...

Page 2: ...3 4 Change Device IP and Name 25 3 4 1 Scan Devices on LAN 25 3 4 2 Change IP Info and Name 26 3 5 IP Address Conflict Resolution 29 3 6 Restore to Default Configuration 31 4 Software Instructions 32...

Page 3: ...WWW SSTCOMM COM 3 4 6 2 Save Configuration Project 51 4 7 Export EXCEL 51 5 Installation 52 51 Machine Dimension 52 5 2 Installation Method 52...

Page 4: ...o know the technical details of Modbus but refer to this manual and the application cases provided complete configuration according to the gateway configuration software SST TS CFG without complex pro...

Page 5: ...efined protocol User Config 7 Serial port parameters Operation mode Half duplex Baud rate 300 600 1200 2400 4800 9600 19200 38400 57600 and 115200 bps optional Data bits 7 8 Parity None Odd Even Mark...

Page 6: ...ication interface isolation 3KV 13 External dimensions W H D 1 57 in 4 92 in 4 33 in 40mm 125mm 110mm 14 Protection level IP20 1 4 Related Products The related products include GT200 DN RS Modbus Devi...

Page 7: ...erial TX Green Blinking Serial port data sending OFF No data is sending Serial RX Green Blinking Serial port data receiving OFF No data is receiving Serial TX Green Blinking Serial port data sending O...

Page 8: ...state MS Network indicator state NS Description OFF Red blinking Start up state waiting to initialize Green on Red blinking Initialize complete no connection with PLC Green on Green on PLC has connect...

Page 9: ...ng depending on environmental conditions EMC Site number 32 stations per subsection without repeater and can increase up to 127 stations with repeater When serial port 1 and serial port 2 simultaneous...

Page 10: ...45 plug in its pin standard Ethernet signal is defined as below Pin Signal Description S1 TXD Tranceive Data Output S2 TXD Tranceive Data Output S3 RXD Receive Data Input S4 Bi directional Data S5 Bi...

Page 11: ...name of devices Users can see chapter 3 4 Change Device IP and Name for help There are 3 necessary conditions which need to happen simultaneously when PROFINET device of SSTCOMM is communicating with...

Page 12: ...o conduct the conflict detection to memory mapping data of the gateway After installation double click the software icon to enter into the main interface of the software See chapter 4 for the detailed...

Page 13: ...et data from address range 0x0000 0x03FF 0x4000 0x43FF and send them to the Modbus slave For all read registers read coils command GT200 PN RS can write the data returned from Modbus slave to address...

Page 14: ...ser Config POLL is written command Read command The command that is not written is read Command execution process 1 The number of timeout retransmission is set to 0 2 Request frame for sending command...

Page 15: ...by one and execute the command if the data of a command changes Until the data of all commands in the queue did not change 2 Execute a command in the normal queue An execution index in a normal queue...

Page 16: ...ollowing table Before exchange After exchange Byte index Byte value Byte index Byte value 0 0x12 0 0x78 1 0x34 1 0x56 2 0x56 2 0x34 3 0x78 3 0x12 3 3 1 9 Bytes Exchange Way in Various Protocols The sc...

Page 17: ...to indicate whether the execution of each command is successful or not When the command execution is successful the corresponding bit is set to 1 otherwise it is set to 0 When a subnet is configured a...

Page 18: ...nd If the slave still has no response after three retransmission the processing method given in the response timeout handling option is executed Namely Clear or Hold It should be noted that the clear...

Page 19: ...2 Response Frame Message Correct response Input data length High byte of input data start address Low byte of input data start address Input data 1 Input data n Parity Data number n equals input data...

Page 20: ...s of GT200 PN RS 3 3 3 User Config 3 3 3 1 Definition Common mode protocol message of GT200 PN RS can be set freely by users which solves the communication problem between Modbus standard protocol and...

Page 21: ...er constant data parity and end For example configuring Modbus commands RTU transmission format Request Slave address 01 Function code 03 Register address H 00 Register address L 00 Number of data H 0...

Page 22: ...mat supports following parity None CRC check and sum check For example configuring Modbus command ASCII transmission format 3A Slave Function Number of data Data 1 Data n LRC high byte LRC low byte CR...

Page 23: ...nstant parity end ASCII frame header constant ASCII data ASCII parity ASCII end 3 3 3 3 User Config Receiving only User Config Receiving only mode only receives data and doesn t respond It can be used...

Page 24: ...eld will automatically lose the check value according to the check mode For example one byte of the end of the frame is discarded when the sum check is performed and two bytes of the end of the frame...

Page 25: ...WW SSTCOMM COM 25 3 4 Change Device IP and Name 3 4 1 Scan Devices on LAN 1 Open SST TS CFG and click Tools on the menu bar shown as below 2 Click Assign Ethernet Parameters will pop up below interfac...

Page 26: ...e shown as below You can see that GT200 PN RS device is on the LAN showing its IP MAC address Device Name Gateway and Subnet 3 4 2 Change IP Info and Name 1 Scan the device according to chapter 3 4 1...

Page 27: ...AC address shows MAC address of GT200 PN RS unmodified 2 Modify IP address to 192 168 0 188 gateway address to 192 168 0 1 and click Assign Ethernet Parameters its operation interface is shown as belo...

Page 28: ...M COM 28 Click OK 3 Change device name to gt200pnrs and click Assign shown as below If successful it will pop up the dialog box as below Click OK 4 Click again Scan will lead to scanning device again...

Page 29: ...me users can change IP address and name of GT200 PN RS according to chapter 3 4 Change IP Info and Name and ensure that others IP address and name are different Notes after changing is complete some r...

Page 30: ...You can see the IP address is reset to 0 0 0 0 choose the device and log in the dialog box is shown as below Set IP Subnet and Gateway to 192 168 0 188 255 255 255 0 and 192 168 0 1 and you will see...

Page 31: ...he same instruction as system startup Now you can t scan GT200 PN RS through SST TS CFG until restoring to the default configuration Specific steps are as follows a Power off GT200 PN RS b Set bit 1 D...

Page 32: ...o use the software SST TS CFG to configure the product GT200 PN RS You may also check the software user manual to get detailed usage Double click software icon to enter the main interface of software...

Page 33: ...arameters New Create a new configuration project Open Open the configuration project Save Save the configuration project Add Node Add a Modbus slave node Delete Node Delete a Modbus slave node Network...

Page 34: ...nflict Detection To check whether there are conflicts with configured commands in the gateway memory data buffer Export EXCEL Export current configuration to the local hard disk saved as xls file Debu...

Page 35: ...Left click on the node to be deleted and then perform the operation of deleting node The node and all commands will be deleted 3 Add commands Left click on the node and then perform the operation of...

Page 36: ...Copy node Left click on the existing node choose the node and execute the operation of copying nodes include all commands under the node 4 3 Configuration View Operation 4 3 1 Subnet Configuration In...

Page 37: ...ut data needs to be exchanged between GT200 PN RS and PLC It depends on the PROFINET configuration dialog box Numbers of Output Bytes The length of output data needs to be exchanged between GT200 PN R...

Page 38: ...data module on the right side to the left slots Notes The slots and module in PROFINET configuration must be the same as that of STEP7 4 3 1 2 Modbus Master The configurable parameters are Modbus baud...

Page 39: ...bus slave s response time range 300 60000ms Delay between Polls Delay between a response has been received and sending next request the range is 0 2500ms Output Mode Modbus write command there are thr...

Page 40: ...a fast scan command without correct response for N times then the command will demote a slow scan command This parameter is valid for Modbus Reading command and cycle Writing command Auto Demotion Af...

Page 41: ...its 1 2 Slav Address 0 247 Transmission Mode RTU ASCII IO Channel Status Word Enabled will use a 16 bit integer to represent receives the correct number of frames Byte Swap No swap double byte swap fo...

Page 42: ...nnel Status Word Enabled will use a 16 bit integer to represent receives the correct number of frames Byte Swap No swap double byte swap four byte swap and Four Byte Big endian and Little endian Swap...

Page 43: ...aster sends request it waits the Modbus slave s response time range 300 60000ms Delay between Polls Delay between a response has been received and sending next request the range is 0 2500ms Valid when...

Page 44: ...al between Characters Start to count after receiving last byte If exceeding that time this will be regarded one full frame is received and ready to receive next frame Range 1 300ms Valid when communic...

Page 45: ...e module memory Read command 1 2 3 4 0x0000 0x03FF Write command 5 6 15 16 0x4000 0x43FF Users can also use this area when write command is used as local data exchange 0x0000 0x03FF Mapping Bit 0 7 Fo...

Page 46: ...s poll mode the configuration interface is shown as below Under this condition configuration method of commands can refer to chapter 4 3 3 4 3 4 Comment Interface Comment interface displays the explan...

Page 47: ...ured command in the command list interface Check box before each command is used to check the position of this command in memory mapping area Click one command and check the box it will show the posit...

Page 48: ...l be in green without conflict Blue When address mapping area is located in output area it will be in blue without conflict Red In input area or output area different command occupied on the same byte...

Page 49: ...oad on the tool bar it will pop up the following interface If scanning no device please click Refresh In the above picture GT200 PN RS shows first select the device and click Log In 4 5 2 Upload Selec...

Page 50: ...M COM 50 4 5 3 Download Select Download it will download configurations to the gateway and the interface is shown as below Remark Please confirm the configurations are correct before downloading confi...

Page 51: ...ration project that you have saved 4 6 2 Save Configuration Project Select Save or Save as you can save the configuration project with chg as its extension 4 7 Export EXCEL Users can use the function...

Page 52: ...WWW SSTCOMM COM 52 5 Installation 51 Machine Dimension Size 1 57 in width 4 92 in height 4 33 in depth 5 2 Installation Method Using 35mmDIN rail...

Page 53: ...WWW SSTCOMM COM 53...

Reviews: