Skip to content

TaiAn device driver

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

How to establish connection with HOLLYSYS series PLC

1. Hardware connection

Connecting cable:

RS232

HM series HMI COM1/COM2

TaiAn TP03 series

2

RX

3

TX

3

TX

2

RX

5

GND

5

GND

Terminal of HMI series touch screen is DB9F, and that of TaiAn TP03 series PLC is DB9M.

2. Software settings

Select TaiAn Technology 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 TaiAn TP03 series PLC.

Default connection parameters of HM series HMI

Setting item Default parameter value Setting scope
PLC type TP03 Series TP03 Series
Communication port type RS232 RS232/RS422/RS485
Baud rate 19200 1200/2400/4800/9600/19200/38400/57600/115200
Data bit length 8 7/8
Parity NONE EVEN/ODD/NONE
Stop bit length 2 1/2
PLC station number 1 0 to 255
HMI station number 0 0 to 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 ooo 0 to 377 Bit: input relay, read only
Y ooo 0 to 377 Bit: output relay
M dddd 0 to 7999 Bit: auxiliary relay
SM dddd 8000 to 8511 Bit: special auxiliary relay
S dddd 0 to 4095 Bit: stepping relay
T ddd 0 to 511 Bit: timer
C ddd 0 to 255 Bit: counter
D dddd 0 to 7999 Word: data register
SD dddd 8000 to 8511 Word: special data register
TV ddd 0 to 511 Word: current value of the timer
CV ddd 0 to 199 Word: current value of the counter
CV32 ddd 200 to 255 Double-word: current value of the counter

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.