background image

4.2 Serial Configuration 

The functions for reading and writing serial communication data are given in this section. 

URL

/settings/serial

Method:

GET | PUT

Data Parameters

Baudrate: 

300, 600, 1200, 2400, 4800, 9600, 19200, 38400, 57600, 115200

Parameter: 

7E1, 7E2, 7O1, 7O2, 8N1, 8N2, 8E1, 8E2, 8O1, 8O2

Receive Complete Type: 

idle, time

Idle Char Num : 

1, 2, 4, 8, 16, 32, 64, 128

maxPacketLength : 

0 – 256

Timeout Duration: 

1000 - 10000 msec

{

"baudrate": 38400, 
"parameter": "8N1", 
"receiveCompleteType": "idle", 
"serialIdleChar": 4, 
"maxPacketLength": 128 

"baudrate": 38400, 
"parameter": "8N1", 
"receiveCompleteType": "time", 
"duration": 1000, 
"maxPacketLength": 128 

Transparent Ethernet / 

Serial Gateway

TES

Transparent Ethernet / 

Serial Converter

25

SECTION 4 JSON RestAPI

TES

Summary of Contents for TES-4

Page 1: ...User Manual TES Transparent Ethernet Serial Converter...

Page 2: ...ware 9 Installing Configuration Software 9 CONFIGURATION SOFTWARE 13 Connection Settings 14 Connection Via USB 14 Network Setting 15 Serial Configuration 18 Port Settings 18 Data Packet Settings 19 De...

Page 3: ...15 Network Settings 15 Operating Principle of The Gateway 16 Serial Port Settings 18 Device Information 20 Firmware Update 20 Security Settings 21 Connection via Ethernet 22 Connection via Ethernet 2...

Page 4: ...5 SECTION1 GENERAL INFORMATION TES Transparent Ethernet Serial Converter...

Page 5: ...TES is a transparent converter that provides bidirectional transmission with RS485 interface running on server role using TCP IP infrastructure In this way it is possible to control and monitor seria...

Page 6: ...5 SECTION2 DEVICE SPECIFICATIONS TES Transparent Ethernet Serial Converter...

Page 7: ...When the LED color is orange that means device is powered on from only U1 U2 input When the LED color is blue that means Micro USB cable is connected to TES 4 RX TX LED These LEDs are orange when the...

Page 8: ...serted to this port Device can power on with USB port as well If operator wants to use Gateway Master must be connected to PC over micro usb cable The firmware of the device can also be updated via th...

Page 9: ...llations will be explained in this section You can access the necessary file through our website 2 3 1 Installing Configuration Software After downloading the Gateway Master setup file select the desi...

Page 10: ...Figure 2 5 Installing Configuration Software Step 2 Figure 2 6 Installing Configuration Software Step 3 TES Transparent Ethernet Serial Converter 10 SECTION 2 DEVICE SPECIFICATIONS TES...

Page 11: ...e installed Click the Next button again and start setup When setup is completed finish the setup by the word Finish After click Finish button USB Driver setup screen shown The following screens will a...

Page 12: ...figuration program is installed and the device After that configuration software must be run Configuration software can be accessed by the shortcut created from the Windows Start menu or by the shortc...

Page 13: ...5 SECTION3 CONFIGURATION SOFTWARE TES Transparent Ethernet Serial Converter...

Page 14: ...utton TES Transparent Ethernet Serial Converter 14 SECTION 3 CONFIGURATION SOFTWARE TES It is used to configure TES 4 to access product and production informations and to update the device firmware Th...

Page 15: ...ice Information Serial Configuration Network Settings Gateway Configuration About Disconnect Read and Write tabs will be enabled and they will be visible on the tabs concerning up to date configuratio...

Page 16: ...are in different networks there can be many devices with the same IP address IP addresses can be changed by the user In IPv4 standard IP addresses are represented by 4 bytes They are shown in the ord...

Page 17: ...ttings of TES Gateway Port This is the port the gateway server will listen on It can have a value between 1 65535 The default value is 502 Configuration Port This is the port the communication server...

Page 18: ...ia USB or TCP There is no need to save for the momentarily changed serial settings to be active and the device is maintained for the period of time without power Can only be configured over TCP Figure...

Page 19: ...he last character The time calculation to be entered in the device settings is explained in the following example Maximum Package Byte Count When the data length from the serial line reaches the maxim...

Page 20: ...gure 3 6 Device Information In addition the firmware version can be updated with the Firmware Update option under this tab You can contact our technical support team to update the software Figure 3 7...

Page 21: ...rtant to change the default password for security Desired password must be written both on the Password and Password Again areas Figure 3 8 Security Settings After the desired configurations are made...

Page 22: ...net Factory settings shown below Figure 3 10 Connection via Ethernet NOT The port value is the configuration port value as it is connected to the device via the user interface program After the desire...

Page 23: ...SECTION4 JSONRestAPI TES Transparent Ethernet Serial Converter...

Page 24: ...HTTP Version HTTP 1 1 HTTP 2 Server Only valid on remote connection Host AAA BBB CCC DDD PPP IPAddress PortNumber URL The required data will be described in the following pages of the document dependi...

Page 25: ...00 Parameter 7E1 7E2 7O1 7O2 8N1 8N2 8E1 8E2 8O1 8O2 Receive Complete Type idle time Idle Char Num 1 2 4 8 16 32 64 128 maxPacketLength 0 256 Timeout Duration 1000 10000 msec baudrate 38400 parameter...

Page 26: ...m 1 2 4 8 16 32 64 128 maxPacketLength 0 256 Timeout Duration 1000 10000 msec baudrate 38400 parameter 8N1 receiveCompleteType idle serialIdleChar 4 maxPacketLength 128 baudrate 38400 parameter 8N1 re...

Page 27: ...JJJ KKK LLLL Gateway Port 0 65536 Communication Port 0 65536 gatewayAddress 192 168 35 254 subnetMask 255 255 255 0 sourceIP 192 168 35 15 gatewayPort 502 communicationPort 555 This section describes...

Page 28: ...ty Settings section serial network security baudrate 9600 parameter 8N1 receiveCompleteType time duration 2000 maxPacketLength 256 gatewayAddress 192 168 35 254 subnetMask 255 255 255 0 sourceIP 192 1...

Page 29: ...6 companyName Klemsan deviceName TES 4 serialNumber 123456 orderNumber 601410 firmwareVer 1 00 pcbVer 1 2 1 buildDate Apr 11 2019 buildTime 16 34 17 compilerVer 8032001 TES Transparent Ethernet Serial...

Page 30: ...ameter 8N1 receiveCompleteType idle serialIdleChar 4 maxPacketLength 128 network gatewayAddress 192 168 35 254 subnetMask 255 255 0 0 sourceIP 192 168 35 15 gatewayPort 502 communicationPort 555 secur...

Page 31: ...e modified configuration to be stored in non erasable memory command restart Restart the device command return config to default Allows the device to be reset to factory defaults command save config c...

Page 32: ...5 SECTION5 TECHNICAL SPECIFICATIONS TES Transparent Ethernet Serial Converter...

Page 33: ...munication Supports up to 64 Devices Baudrate 300 115200 Stop Bit 1 2 Parity Bit Configuration No Even Odd Data 7 and 8 Bits Ethernet 10 100 Base TX Configuration USB JSON RestAPI Supported Roles Serv...

Page 34: ...Dimensions Figure 5 1 Dimensions TES Transparent Ethernet Serial Converter 34 SECTION 5 TECHNICAL SPECIFICATIONS TES...

Page 35: ...www klemsan com info klemsan com tr K z l z m Cad No 15 Kemalpa a ZM R Tel 90 232 877 08 00 Fax 90 232 877 08 06 Revision No 09122019...

Reviews: