Skip to content

Modicon device driver

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

How to establish connection with Modicon NEZA/TWIDO/M218 series PLC

1. Hardware connection

Connecting cable:

RS485

HM series HMI COM1/COM2

Modicon NEZA/TWIDO/M218

8

TX-

2

TX-

9

TX+

1

TX+

5

GND

7

GND

Terminal of HMI is DB9F, and that of Modicon NEZA/TWIDO/M218 series PLC is MD8M.

2. Software settings

Select Modicon Corp. in connection device service.

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

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

For settings of the PLC connected, refer to the technical documents of the Modicon NEZA/TWIDO/M218 series PLC.

Default connection parameters of HM series HMI

Setting item Default parameter value Setting scope
PLC type NEZA Series NEZA/TWIDO/M218 Series
Communication port type RS232 RS232/RS422/RS485
Baud rate 9600 1200/2400/4800/9600/19200/38400/57600/115200
Data bit length 8 7/8
Parity bit ODD 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
Off-line simulation Yes
On-line simulation Yes
Extended mode Yes

3. Operational register and address range

NEZA Series

Register name Address format Input range Remarks
%MW ddddd 0~65535 Word: word data register

TWIDO Series

Register name Address format Input range Remarks
%M ddddd 0~65535 Bit: bit data register
%MW ddddd 0~65535 Word: word data register

M218 Series

Register name Address format Input range Remarks
%MX ddddd.o 0~131071.7 Bit: bit data register
%MW ddddd 0~65535 Word: word data register

Note:

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

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

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

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

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