Skip to content

Techwayson device driver

The device driver is used for HM series to read and write the data or state of TaiLing DX series PLC register. The serial communication connection is established through the serial port on the touch screen and the serial port of TaiLing DX series PLC, so as to operate TaiLing DX series PLC. Prior to use of the driver, one shall carefully read related technical specifications of the chapter and TaiLing DX series PLC.

How to establish connection with TaiLing DX series PLC

1. Hardware connection

Connecting cable:

RS232 (serial port RS232 protocol)

HM series HMI COM1/COM2

TaiLing DX series

2

RX

3

TX

3

TX

2

RX

5

GND

5

GND

Terminal of HMI is DB9F, and that of TaiLing DX series PLC is MD8M.

2. Software settings

Select TaiLing Electric in connection device service.

Select the corresponding item in connection device service according to the connected PLC model or supported protocol.

Guarantee that communication parameters in touch screen connection parameters and PLC station number are consistent with the connected PLC.

For setting of the connected PLC, please consult related technical documents of Siemens TaiLing DX series PLC.

Default connection parameters of HM HMI

Setting item Default parameter value Setting scope
PLC type Techwayson V80 Series Techwayson V80 Series
Communication port type RS232 RS232
Baud rate 19200 1200/2400/4800/9600/19200/38400/57600/115200
Data bit length 8 7/8
Parity EVEN EVEN/ODD/NONE
Stop bit length 1 1/2
PLC station number 1 0~255
HMI station number 0 0~255
Supporting function Whether it is supported
Offline simulation Yes
Online simulation Yes
Extended mode Yes

3. Operational register and address scope

Register name Address format Input scope Remarks
X oooo 0 to 377 Bit: input coil, read only
Y oooo 0 to 377 Bit: output coil
M dddd 0 to 7999 Bit: intermediate relay
SM dddd 8000 to 8999 Bit: special intermediate relay
S dddd 0 to 999 Bit: state bit
T dddd 0 to 256 Bit: timer state
C dddd 0 to 256 Bit: counter state
D dddd 0 to 7999 Word: register
SD dddd 8000 to 8999 Word: special register
TV dddd 0 to 255 Word: current value of the timer
CV dddd 0 to 199 Word: current value of the counter
CV32 dddd 200 to 255 Double-word: current value of 32-bit counter
Register name Address format Input scope Remarks
0x dddd 1~9984 Bit: output coil
1x dddd 1~2048 Bit: input coil, read only
3x dddd 1~512 Word: 16-bit input register, read only
4x dddd 1~9999 Word: 16-bit holding register

Note:

d represents decimal system, input scope is 0-9;

o represents octal system, input scope is 0-7;

Word in the remarks: represents the register can only be used as word;

Double-word in the remarks: represents that the data type of the register in configuration must be 32-bit;

Bit in the remarks: represents the register can only be used as bit;

Read only in the remarks represents that the register can only be read but not be written;

The names of the registers supported by different equipment model may be different, and the scopes may also be different.

For detailed name and scope, please consult related technical document of the connected device