0% found this document useful (0 votes)
2K views109 pages

Hitech HMI Communication With PLC (HmiVietNam - Com)

This document provides information on communication settings for connecting an HMI to various PLCs, including AB Micrologic 1000/1500 and AB PLC-5. It details the register ranges, data formats, and device types that the HMI can access for each PLC. It also shows the connection diagram and recommends matching the communication format settings between the HMI and PLC before connecting, such as baud rate, data format, and port.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2K views109 pages

Hitech HMI Communication With PLC (HmiVietNam - Com)

This document provides information on communication settings for connecting an HMI to various PLCs, including AB Micrologic 1000/1500 and AB PLC-5. It details the register ranges, data formats, and device types that the HMI can access for each PLC. It also shows the connection diagram and recommends matching the communication format settings between the HMI and PLC before connecting, such as baud rate, data format, and port.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

HMI Hitech Communication With PLC Manual

WW.HmiVietNam.com
Distributor about HMI Touchsreen, Programming, and more...
HMI Weintek Viet Nam Mr Hau: 0973.3871.083
9. Communication with PLC and PWS

9. Communication with PLC and PWS


Note :『The Register and Range of Relay Numbers』 in this document refers to the
range of the setup in ADP. In practice, please also make sure not to exceed the maximum
of the range defined by the PLC-CPU in use. Otherwise, it will cause communication
error.

This chapter provides the current information on the settings of the supported PLCs as of
this writing. As PLC vendors continue to release new models, the data capacity, the data
range and the drivers of the PLCs are also often changed. For the latest information, user
can contact HITECH.

Communication Format: To properly communicate between PLC snd PWS, the setting of
[Communication Format], [Station], [Baud Speed],[Data Format] must be consistence.
Before connection, please adjust the settting of PWS’and PLC’s communication
parameters and dip-switch.

396 ADP User’s Manual

http://www.HmiVietNam.com ToucScreen Weintek, Hitech, Proface, Mitsubishi...


HMI Weintek Viet Nam Mr Hau: 0973.3871.083
9. Communication with PLC and PWS

9.1. AB Micrologic 1000/1500


1. The data setting and range of PLC which ADP can access : Word Decive

Register Type Format Range with the Device Type Data Size
Register / Aux. R/W
ddress
Output file O:0.n n=0-3 0 0 Word 9
Input file I:1.n n=0-3 1 0 Word 9
Status file S2:nn nn=0-65 2 2 Word 9
Bit file B3:nnn nnn=0-254 3 3 Word 9
Timer flag T4:nnn nnn=0-254 4 4 Word 9
Timer Preset Value T4:nnn.pre nnn=0-254 5 4 Word 9
Timer Accumulator T4:nnn.acc nnn=0-254 6 4 Word 9
Value
Counter flag C5:nnn nnn=0-254 7 5 Word 9
Counter Preset C5:nnn.pre nnn=0-254 8 5 Word 9
Value
Counter C5:nnn.ac nnn=0-254 9 5 Word 9
Accumulator Value c
Control file R6:nnn nnn=0-254 10 6 Word 9
Control Size of 位 R6:nnn.len nnn=0-254 11 6 Word 9
元 Array
Control Reserved R6:nnn.po nnn=0-254 12 6 Word 9
file s
Integer file N7:nnn nnn=0-254 13 7 Word 9
Floating point F8:nnn nnn=0-254 14 8 Word 9
number
**The HMI does not support block read for the registers in TIMER, COUNTER AND
CONTROL FILES.
** One should open the files in PLC which the HMI will access.

2. The data format and range of the PLC ON/OFF location which ADP can access :
Dip Device.

Relay Type Format Range with the Device Type Data Size
Relay / Aux. R/W
ddress
Output O:0.n/bb n=0-3; bb=0-15 0xC0 0-15 Word 9
Input I:1.n/bb n=0-3; bb=0-15 0xC1 0-15 Word 9
Status S2:nn/bb nn=0-65; bb=0-15 0xC2 0-15 Word 9
Bit B3:nnn/bb nnn=0-254; bb=0- 0xC3 0-15 Word 9
15

ADP User’s Manual 397

http://www.HmiVietNam.com ToucScreen Weintek, Hitech, Proface, Mitsubishi...


HMI Weintek Viet Nam Mr Hau: 0973.3871.083
9. Communication with PLC and PWS

Relay Type Format Range with the Device Type Data Size
Relay / Aux. R/W
ddress
Timer T4:nnn/bb nnn=0-254; bb=0- 0xC4 0-15 Word 9
15
Timer Preset T4:nnn.pre/b nnn=0-254; bb=0- 0xC5 0-15 Word 9
Value b 15
Timer T4:nnn.acc/b nnn=0-254; bb=0- 0xC6 0-15 Word 9
Accumulator b 15
Value
Counter flag C5:nnn/bb nnn=0-254; bb=0- 0xC7 0-15 Word 9
15
Counter Preset C5:nnn.pre/b nnn=0-254; bb=0- 0xC8 0-15 Word 9
Value b 15
Counter C5:nnn.acc/ nnn=0-254; bb=0- 0xC9 0-15 Word 9
Accumulator bb 15
Value
Control R6:nnn/bb nnn=0-254; bb=0- 0xCA 0-15 Word 9
15
Control Size of R6:nnn.len/b nnn=0-254; bb=0- 0xCB 0-15 Word 9
Bit Array b 15
Control R6:nnn.pos/ nnn=0-254; bb=0- 0xCC 0-15 Word 9
Reserved bb 15
Integer N7:nnn/bb nnn=0-254; bb=0- 0xCD 0-15 Word 9
15
** The Workstation does not support block read for the bits in TIMER, COUNTER and
CONTROL FILES.

3. The illustration of the connection: PWS to RS232C of PLC 1761-CBL-PM02

398 ADP User’s Manual

http://www.HmiVietNam.com ToucScreen Weintek, Hitech, Proface, Mitsubishi...


HMI Weintek Viet Nam Mr Hau: 0973.3871.083
9. Communication with PLC and PWS

4. Communication Format: Before connection, please set up the communication


parameters and the dip-switch as below:

Format PLC Setting PWS Setting


a.Communication Format RS232C COM2=RS232/422/485
1. When use for RS422, set Dip
switch SW10=OFF.
2. When use for RS485, set
switch SW10=ON 2.
b. Node Address 1.Set PLC Station No. N in ADP
c. Transmission Speed 19200 bps 1. If Dip switch SW5=OFF, set it
up in ADP.
d. Transmission Format 1.Size:8-bit 2. If Dip switch SW5=ON, set it
up in PWS.
2.Parity:NONE
3.Stop bit:1-bit
e. Com Port FULL DUPLEX
f. CRC ERROR Check YES

ADP User’s Manual 399

http://www.HmiVietNam.com ToucScreen Weintek, Hitech, Proface, Mitsubishi...


HMI Weintek Viet Nam Mr Hau: 0973.3871.083
9. Communication with PLC and PWS

9.2. AB PLC-5
1. The data format and range of the PLC registers which the ADP can accress :
Word Device.

Register Type Format Range With the Register Data Size


Output file O:nnn nnn= 0-277 Word
Input file I:nnn nnn= 0-277 Word
Status file S:nnn nnn=0-127 Word
Bit file Bfff:nnn fff= 3 or 9-999; Word
B:nnn default file is 3 if fff omitted; nnn=0-
999
Timer file Tfff:nnn fff= 4 or 9-999; Word
T:nnn default file is 4 if fff omitted; nnn=0-
Tfff:nnn.PRE 999
T:nnn.PRE
Tfff:nnn.ACC
T:nnn.ACC
Counter file Cfff:nnn fff=5 or 9-999; Word
C:nnn default file is 5 if fff omitted; nnn=0-
Cfff:nnn.PRE 999
C:nnn.PRE
Cfff:nnn.ACC
C:nnn.ACC
Control file Rfff:nnn fff=6 or 9-999; Word
R:nnn default file is 6 if fff omitted; nnn=0-
Rfff:nnn.LEN 999
R:nnn.LEN
Rfff:nnn.POS
R:nnn.POS
Integer file Nfff:nnn fff=7 or 9-999; Word
N:nnn default file is 7 if fff omitted; nnn=0-
999
** The HMI can read up to 30 words in one read command. The HMI does not support
block read for the registers in TIMER, COUNTER AND CONTROL FILES. One should
open the files in PLC which the HMI will access.

2. The data format and range of the PLC ON/OFF location which the ADP can
accress : Bit Device.

Relay Typ Format Range


Output file O:nnn/bb nnn= 0-277; bb= 0-17
Input file I:nnn/bb nnn= 0-277; bb= 0-17
Status file S:nnn/bb nnn= 0-127; bb= 0-15
Bit file Bfff:nnn/bb fff= 3 or 9-999;
default file is 3 if fff omitted;

400 ADP User’s Manual

http://www.HmiVietNam.com ToucScreen Weintek, Hitech, Proface, Mitsubishi...


HMI Weintek Viet Nam Mr Hau: 0973.3871.083
9. Communication with PLC and PWS

Relay Typ Format Range


nnn=0-999; bb=0-15
Timer file Tfff:nnn/bb fff= 4 or 9-999;
Tfff:nnn.PRE/bb default file is 4 if fff omitted;
Tfff:nnn.ACC/bb nnn=0-999; bb=0-15
Tfff:nnn/EN
Tfff:nnn/TT
Tfff:nnn/DN
Counter file Cfff:nnn/bb fff=5 or 9-999;
Cfff:nnn.PRE/bb default file is 5 if fff omitted;
Cfff:nnn.ACC/bb nnn=0-999; bb=0-15
Cfff:nnn/CC
Cfff:nnn/CD
Cfff:nnn/DN
Cfff:nnn/OV
Cfff:nnn/UN
Cfff:nnn/UA
Control file Rfff:nnn/bb fff=6 or 9-999;
Rfff:nnn.LEN/bb default file is 6 if fff omitted;
Rfff:nnn.POS/bb nnn=0-999; bb=0-15
Rfff:nnn/EN
Rfff:nnn/EU
Rfff:nnn/DN
Rfff:nnn/EM
Rfff:nnn/ER
Rfff:nnn/UL
Rfff:nnn/IN
Rfff:nnn/FD
Integer file Nfff:nnn/bb fff=7 or 9-999;
default file is 7 if fff omitted;
nnn=0-999; bb=0-15
** The HMI can read up to 480 bits in one read command. The HMI does not support
block read for the bits in TIMER, COUNTER AND CONTROL FILES.

3. The illustration of the connection: PWS to RS232C of PLC PLC-5

ADP User’s Manual 401

http://www.HmiVietNam.com ToucScreen Weintek, Hitech, Proface, Mitsubishi...


HMI Weintek Viet Nam Mr Hau: 0973.3871.083
9. Communication with PLC and PWS

4. Communication Format: Before connection, please set up the communication


parameters and the dip-switch as below:

Format PLC Setting PWS Setting


a.Communication Format RS232C PLC-5 COM2=RS232/422/485
1. When use for RS422, set Dip
switch SW10=OFF
2. When use for RS485, set
switch SW10=ON
b. Node Address N 1. Set PLC Station No. N in ADP

c. Transmission Speed 9600/19200 bps


d. Transmission Format 1.Size 8-bit
2.Parity NONE
3.Stop bit 1-bit
e. SLC-503/504 FULL DUPLEX
f. BCC ERROR Check YES

402 ADP User’s Manual

http://www.HmiVietNam.com ToucScreen Weintek, Hitech, Proface, Mitsubishi...


HMI Weintek Viet Nam Mr Hau: 0973.3871.083
9. Communication with PLC and PWS

9.3. AB SLC-503/504
1. The data format and range of the PLC registers which the ADP can accress :
Word Device.

Register Type Format Range Data Size


Output file O:nn nn= 0-30 Word
Input file I:nn nn= 0-30 Word
Status file S:nn nn=0-31 Word
Bit file Bfff:nnn fff= 3 or 10-255; Word
B:nnn default file is 3 if fff omitted; nnn=0-
254
Timer file Tfff:nnn fff= 4 or 10-255; Word
T:nnn default file is 4 if fff omitted; nnn=0-
Tfff:nnn.PRE 254
T:nnn.PRE
Tfff:nnn.ACC
T:nnn.ACC
Counter file Cfff:nnn fff=5 or 10-255; Word
C:nnn default file is 5 if fff omitted; nnn=0-
Cfff:nnn.PRE 254
C:nnn.PRE
Cfff:nnn.ACC
C:nnn.ACC
Control file Rfff:nnn fff=6 or 10-255; Word
R:nnn default file is 6 if fff omitted; nnn=0-
Rfff:nnn.LEN 254
R:nnn.LEN
Rfff:nnn.POS
R:nnn.POS
Integer file Nfff:nnn fff=7 or 10-255; Word
N:nnn default file is 7 if fff omitted; nnn=0-
254

** The HMI can read up to 30 words in one read command.


** The HMI does not support block read for the registers in TIMER, COUNTER AND
CONTROL FILES.
** One should open the files in PLC which the HMI will access.

2. The data format and range of the PLC ON/OFF location which the ADP can
accress : Bit Device.

Relay Type Format Range


Output file O:nn/bb nn= 0-30; bb= 0-15
Input file I:nn/bb nn= 0-30; bb= 0-15
Status file S:nn/bb nn= 0-31; bb= 0-15

ADP User’s Manual 403

http://www.HmiVietNam.com ToucScreen Weintek, Hitech, Proface, Mitsubishi...


HMI Weintek Viet Nam Mr Hau: 0973.3871.083
9. Communication with PLC and PWS

Relay Type Format Range


Bit file Bfff:nnn/bb fff= 3 or 10-255;
default file is 3 if fff omitted;
nnn=0-254; bb=0-15
Timer file Tfff:nnn/bb fff= 4 or 10-255;
Tfff:nnn.PRE/bb default file is 4 if fff omitted;
Tfff:nnn.ACC/bb nnn=0-254; bb=0-15
Tfff:nnn/EN
Tfff:nnn/TT
Tfff:nnn/DN
Counter file Cfff:nnn/bb fff=5 or 10-255;
Cfff:nnn.PRE/bb default file is 5 if fff omitted;
Cfff:nnn.ACC/bb nnn=0-254; bb=0-15
Cfff:nnn/CU
Cfff:nnn/CD
Cfff:nnn/DN
Cfff:nnn/OV
Cfff:nnn/UN
Control file Rfff:nnn/bb fff=6 or 10-255;
Rfff:nnn.LEN/bb default file is 6 if fff omitted;
Rfff:nnn.POS/bb nnn=0-254; bb=0-15
Rfff:nnn/EN
Rfff:nnn/DN
Rfff:nnn/ER
Rfff:nnn/UL
Rfff:nnn/IN
Rfff:nnn/FD
Integer file Nfff:nnn/bb fff=7 or 10-255;
default file is 7 if fff omitted;
nnn=0-254; bb=0-15
** The HMI can read up to 480 bits in one read command.
** The HMI does not support block read for the bits in TIMER, COUNTER AND
CONTROL FILES.

3. The illustration of the connection: PWS to RS232C of PLC SLC-503/504

404 ADP User’s Manual

http://www.HmiVietNam.com ToucScreen Weintek, Hitech, Proface, Mitsubishi...


HMI Weintek Viet Nam Mr Hau: 0973.3871.083
9. Communication with PLC and PWS

4. Communication Format: Before connection, please set up the communication


parameters and the dip-switch as below:

Format PLC Setting PWS Setting


a.Communication Format RS232C SLC-503/504 COM2=RS232/422/485
1. When use for RS422, set Dip
switch SW10=OFF 1.
2. When use for RS485, set
switch SW10=ON
b. Node Address N 1. Set PLC Station No. N in ADP
c.Transmission Speed 9600/19200 bps
d. Transmission Format 1.Size:8-bit
2.Parity:NONE
3.Stop Bit:1-bit
e. SLC-503/504 FULL DUPLEX
f. BCC ERROR Check YES

ADP User’s Manual 405

http://www.HmiVietNam.com ToucScreen Weintek, Hitech, Proface, Mitsubishi...


HMI Weintek Viet Nam Mr Hau: 0973.3871.083
9. Communication with PLC and PWS

9.4. AB IQ Master Servo Controller

1. The data format and range of the PLC registers which the ADP can accress :
Word Device and Bit Device.

Register Type Format Range with the Data Size


Register
G type Gnn nn=1-64 Double Word(32 Bits)
V type Vnn nn=1-64 Double Word(32 Bits)
G type WGnn nn=1-64 Word(16 Bits)
V type WVnn nn=1-64 Word(16 Bits)

Relay Type Format Range With the Block


Relay
I type Inn nn=1-48
O type Onn nn=1-24
B type Bn n=1-8
F type Fnn nn=1-64

2. The illustration of the connection:

a. PWS-series to PLC
PWS-series to PLC RS232 PORT (9-pin male)

3. Communication Format: Before connection, please set up the communication


parameters and the dip-switch as below:

Format PLC Setting PWS Setting


a.Communication Format RS232 COM1 or COM2=RS232

406 ADP User’s Manual

http://www.HmiVietNam.com ToucScreen Weintek, Hitech, Proface, Mitsubishi...


HMI Weintek Viet Nam Mr Hau: 0973.3871.083
9. Communication with PLC and PWS

b.Station No 0
c.Transmission Speed 9600 bps
d. Transmission Format 8-bit, NONE, 1-bit

ADP User’s Manual 407

http://www.HmiVietNam.com ToucScreen Weintek, Hitech, Proface, Mitsubishi...


HMI Weintek Viet Nam Mr Hau: 0973.3871.083
9. Communication with PLC and PWS

9.5. ABB COMLI (SLAVE MODE)

1. The data format and range of the PLC registers which the ADP can accress :
Word Device and Bit Device.

Register Type Format Range with the Register Data Size


Word IO MWnnnnn nnnnn=0 – 37760(must be Word(16 Bits)
a multiple of 8)
Word Register RWnnnn nnnn=0 - 3071 Word(16 Bits)

Relay Type Format Range with the Relay


Bit IO Mnnnnn nnnnn=0-37777(8 Bits)

2. The illustration of the connection:

a. PWS-series to PLC RS232 PORT

3. Communication Format: Before connection, please set up the communication


parameters and the dip-switch as below:

Format PLC Setting PWS Setting


a.Communication Format RS232 RS232
b.Station No 01(PLC sets 2-197)
c.Transmission Speed 9600 bps
d.Transmission Format 8-Bits, ODD , 1-Bit

408 ADP User’s Manual

http://www.HmiVietNam.com ToucScreen Weintek, Hitech, Proface, Mitsubishi...


HMI Weintek Viet Nam Mr Hau: 0973.3871.083
9. Communication with PLC and PWS

9.6. Computer(as master or as slave or V2 or Null)/Modbus


master

1. The data format and range of the PLC registers which the ADP can accress :Word
Device and Bit Device.

Register Type Format Range with the Data Size


Register
Data Register Wnnnn nnnn=0~2047 Word(16 Bits)

Relat Type Format Range with the Relay Block


Bit Relay Bnnnn nnnn=0~1023

2. The illustration of the connection:

a. IPWS-series to PLC RS232 PORT

[Note]: This figure is PC’s simulation but the hook up method depends on the actual
controller pin position.

3. Communication Format: Before connection, please set up the communication


parameters and the dip-switch as below:

Format PLC Setting PWS Setting


a.Communication RS232C(RS422/RS485) RS232C(RS422/RS485)
Format
b.Station No NONE
c.Transmission Speed 9600 bps
d.Transmission Format 8-Bits, NONE , 1-Bit

** COMPUTER(AS MASTER ) V2 is not only including the finction of


COMPUTER(AS MASTER ) but also can inform the slaves when the data is changed
(e.g. value input). The Null function includes Macro,ladder and communication to
controllers but communication to PLC.

ADP User’s Manual 409

http://www.HmiVietNam.com ToucScreen Weintek, Hitech, Proface, Mitsubishi...


HMI Weintek Viet Nam Mr Hau: 0973.3871.083
9. Communication with PLC and PWS

9.7. DELTA DVP

1. The data format and range of the PLC registers which the ADP can accress :Word
Device and Bit Device.

Register Format Range with the Register Data Size


Type
S_Data Snnnn nnnn=0-1008(must be a multiple of 16) Word(16 Bits)
X_Data Xnnn nnn= 0-360 (X0-X7, X10-X17, must be Word(16 Bits)
a multiple of 20)
Y_Data Ynnn nnn= 0-360 (Y0-Y7, Y10-Y17, must be Word(16 Bits)
a multiple of 20)
M_Data Mnnnn Nnnn=0-1264 (must be a multiple of 16) Word(16 Bits)
T_Register Tnnn nnn= 0-255 Word(16 Bits)
C_Register Cnnn nnnn=0-127 Word(16 Bits)
D_Register Dnnnn nnnn=0-1279 Word(16 Bits)
C_Register Cnnn nnn= 232-255 Double Word

Relay Type Format Range with the Block


Relay
S_Data Snnnn nnn=0-1023 Multiple of 16
X_Data Xnnn nnn=0-377 (Oct. Multiple of 16
code)
Y_Data Ynnn nnn=0-377 (Oct. Multiple of 16
code)
M_Data Mnnnn nnnn=0-1279 Multiple of 16
T_Coil Tnnn nnn=0-254 Multiple of 16
C_Coil Cnnn nnn=0-254 Multiple of 16
[Note] X_Data and Y_Data are Oct.code such as
X0~X7,X10~X17,X20~X27,X30~X37.

2. The illustration of the connection:

a. PWS-series to PLC RS232 PORT can use a DELTA with 8-pin male
(PC ÅÆ DELTA DVP PLC).

3. Communication Format: Before connection, please set up the communication


parameters and the dip-switch as below:

Format PLC Setting PWS Setting


a.Communication Format RS232C COM1 or COM2=RS232
b.Station No 01 1. Set PLC Station No.=01 in ADP
c.Transmission speed 9600 bps PLC station=01

410 ADP User’s Manual

http://www.HmiVietNam.com ToucScreen Weintek, Hitech, Proface, Mitsubishi...


HMI Weintek Viet Nam Mr Hau: 0973.3871.083
9. Communication with PLC and PWS

d.Transmission Format 7-Bits, EVEN , 2-Bits

ADP User’s Manual 411

http://www.HmiVietNam.com ToucScreen Weintek, Hitech, Proface, Mitsubishi...


HMI Weintek Viet Nam Mr Hau: 0973.3871.083
9. Communication with PLC and PWS

9.8. ERO TFS/THS/LFS

1. The data format and range of the PLC registers which the ADP can accress :

Register Type Format Range with the Register Data Size


Word Register mmm:Wnnn mmm=0-255 ; nnn=0-529 Word(16 Bits)

Relay Type Format Range with the Relay


Relay mmm:Bnnn mmm=0-255 ; nnn=1-342

2. The illustration of the connection:

a. PWS-series to PLC RS485 PORT

3. Communication Format: Before connection, please set up the communication


parameters and the dip-switch as below:

Format PLC Setting PWS Setting


a.Communication Format RS485 RS485
b.Station No None
c.Transmission Speed 9600 bps
d.Transmission Format 8-Bits, EVEN , 1-Bit

412 ADP User’s Manual

http://www.HmiVietNam.com ToucScreen Weintek, Hitech, Proface, Mitsubishi...


HMI Weintek Viet Nam Mr Hau: 0973.3871.083
9. Communication with PLC and PWS

9.9. FACON FB

1. The data format and range of the PLC registers which the ADP can accress :
Word Device and Bit Device.

Register Type Format Range with the Register Data


Size
Input Relay WXnnn nnn=0-9984; (0 or Multiple of 8) Word
Output Relay WYnnn nnn=0-9984; (0 or Multiple of 8) Word
Internal Relay WMnnnn nnnn=0-9984; (0 or Multiple of 8) Word
Special Relay WMnnnn nnnn=0-9984; (Multiple of 8) Word
Step Relay WSnnn nnn=0-9984; (0 or Multiple of 8) Word
Timer Present Value RTnnnn nnnn=0-9999 Word
Counter Present Value RCnnnn nnnn=0-9999 Word
Data Register Rnnnnn nnnn=0-65534 Word
32-bit Counter Present Value DRCnnn NNN=200-255
Data Register Dnnnnn nnnn=0-65534 Word
** The HMI can read up to 32 words in one read command.

Relay Type Format Range of the Block


Relay
Input Relay Xnnnn nnn=0-9999 e.g. X32(0 or Multiple of 8)
Output Relay Ynnnn nnn=0-9999 e.g. Y8 (0 or Multiple of 8)
Internal Relay Mnnnn nnnn=0-9999 e.g. M0 (0 ot Multiple of 8)
Special Relay Mnnnn nnnn=0-9999 e.g. M0 (0 or Multiple of 8)
Step Relay Snnnn nnn=0-9999 e.g. S16 (0 or Multiple of 8)
Timer Flag Tnnnn nnn=0-9999 None
Counter Flag Cnnnn nnn=0-9999 None

2. The illustration of the connection: PWS to RS232C of FB-MC type

ADP User’s Manual 413

http://www.HmiVietNam.com ToucScreen Weintek, Hitech, Proface, Mitsubishi...


HMI Weintek Viet Nam Mr Hau: 0973.3871.083
9. Communication with PLC and PWS

3. Communication Format: Before connection, please set up the communication


parameters and the dip-switch as below:

Format PLC Setting PWS Setting


a.Communication Format RS232C COM1 or COM2 ==> RS232
b.Station No 1 1. Set PLC station 01 in ADP
c.Transmission Speed 9600/19200 bps 1. Set SW5=OFF if parameters
are set in ADP
d.Transmission Format 7-Bits, even,1-Bit 2. Parameters are set in PWS.

NOTE: Facon FB Series(RS232/RS485) for RS232 w/o RTS control (3-PIN cable) or
RS485 Facon FB Series(RS232-RTS) for S232 with RTS control (5-PIN cable, RTS,CTS
with connect), not for RS485

414 ADP User’s Manual

http://www.HmiVietNam.com ToucScreen Weintek, Hitech, Proface, Mitsubishi...


HMI Weintek Viet Nam Mr Hau: 0973.3871.083
9. Communication with PLC and PWS

9.10. Festo FPC

1. The data format and range of the PLC registers which the ADP can accress :Word
Device and Bit Device.

Register Format Range with the Register Data Size


Type
Input IWnnn nnn=0-255 Word(16 Bits)
Output QWnnn nnn=0-255 Word(16 Bits)
Flag FWnnnn nnnn=0-9999 Word(16 Bits)
Timer TWnnn nnn=0-255 Word(16 Bits)
Counter CWnnn nnn=0-255 Word(16 Bits)
Register Rnnn nnn=0-255 Word(16 Bits)
Timer_Preset TPnnn nnn=0-255 Word(16 Bits)
Counter_Preset CPnnn nnn=0-255 Word(16 Bits)

Relay Type Format Range with the Relay Block


Input Innn.bb nnn=0-255; bb=0-15 b=0 e.g. I20.0
Output Qnnn.bb nnn=0-255; bb=0-15 b=0 e.g. Q20.0
Flag Fnnnn.bb nnnn=0-9999; bb=0-15 b=0 e.g. F20.0
Timer Tnnn nnn=0-255 None
Counter Cnnn nnn=0-255 None
Timer_on TONnnn nnn=0-255 None
Timer_off TOFFnnn nnn=0-255 None

2. The illustration of the connection:

a. PWS-series to (TTL to RS232C cable)

PWS-series need to use a FESTO to provide TTL to RS232C cable, a 6-pin


telephone connector with PLC-port and a 9-pin male with 9-pin female as
below.

ADP User’s Manual 415

http://www.HmiVietNam.com ToucScreen Weintek, Hitech, Proface, Mitsubishi...


HMI Weintek Viet Nam Mr Hau: 0973.3871.083
9. Communication with PLC and PWS

3. Communication Format: Before connection, please set up the communication


parameters and the dip-switch as below.

Format PLC Setting PWS Setting


a.Communication Format RS232 COM1 or COM2=RS232
b.Station No None
c.Transmission Speed 9600 bps
d.Transmission Format 8-Bits, NONE, 1-Bit

416 ADP User’s Manual

http://www.HmiVietNam.com ToucScreen Weintek, Hitech, Proface, Mitsubishi...


HMI Weintek Viet Nam Mr Hau: 0973.3871.083
9. Communication with PLC and PWS

9.11. Fuji NB

1. The data format and range of the PLC registers which the ADP can accress :
Word Device and Bit Device.

Register Type Format Range with the Register Data Size


Data Register Dnnn nnn=hex number 0-3ff Word
Special Register Dnnnn nnnn=hex number 8000-80ff Word
Timer Current Value TNnnn nnn=hex number 0-1ff Word
Counter Current Value CNnn nn=hex number 0-ff Word
Input Relay WXnn nn=hex number 0-1f Word
Output Relay WYnn nn=hex number 0-1f Word
Internal Relay WMnn nn=hex number 0-3f Word
Latch Relay WLnn nn=hex number 0-3f Word
Special Relay WMnnn nnn=hex nuumber 800-81f Word
Step Relay WSnnn nnn=hex number 0-3f Word

Relay Type Format Range with the Relay Block


Timer output Tnnn nnn=hex number 0-1ff End with 0
Counter output Cnn nn=hex number 0-ff End with 0
Input Relay Xnnn nnn=hex number 0-1ff End with 0
Output Relay Ynnn nnn=hex number 0-1ff End with 0
Internal Relay Mnnn nnn=hex number 0-3ff End with 0
Latch Relay Lnnn nnn=hex number 0-3ff End with 0
Special Relay Mnnnn nnnn=hex number 8000-81ff End with 0
Step Relay Snnn nnn=hex number 0-3ff End with 0

2. The illustration of the connection: PWS to RS422 of NB/NS/NJ-CPU port

ADP User’s Manual 417

http://www.HmiVietNam.com ToucScreen Weintek, Hitech, Proface, Mitsubishi...


HMI Weintek Viet Nam Mr Hau: 0973.3871.083
9. Communication with PLC and PWS

3. Communication Format: Before connection, please set up the communication


parameters and the dip-switch as below.

Format PLC Setting PWS- Setting


a.Communication Format RS422 COM= Dip-switch RS422
b.Station No None
c.Transmissiion Speed 19200 bps
d.Transmission Format 8-Bits,ODD,1-Bit
e.PLC password none or 0000-9999 0000 or 9999= ****

418 ADP User’s Manual

http://www.HmiVietNam.com ToucScreen Weintek, Hitech, Proface, Mitsubishi...


HMI Weintek Viet Nam Mr Hau: 0973.3871.083
9. Communication with PLC and PWS

9.12. GE Series 90 CCM


1. The data format and range of the PLC registers which the ADP can accress :
Word Device and Bit Device.

Register Type Format Range with the Data Size


Register
Discrete Input %Innnnn nnnnn=1-12288 Word(16 Bits)
Discrete Output %Qnnnnn nnnnn=1-12288 Word(16 Bits)
Register %Rnnnnn nnnnn=1-16384 Word(16 Bits)
** Discrete Input (%Innnnn), Discrete Output (%Qnnnnn)
Address must be 1 or multiple of 16 +1.

Relay Type Format Range with the Block


Relay
Discrete Input %Innnnn nnnnn=1-12288 1 or multiple of 16 +1
Discrete Output %Qnnnnn nnnnn=1-12288 1 or multiple of 16 +1

2. The illustration of the connection:

a. PWS-series to PLC
PWS-series to PLC RS232 PORT

3. Communication Format: Before connection, please set up the communication


parameters and the dip-switch as below.

Format PLC Setting PWS Setting


a.Communication Format RS232 COM1 or COM2=RS232
b.Station No 0
c.Transmission Speed 19200 bps
d.Transmission Format 8-Bits, NONE, 1-Bit

ADP User’s Manual 419

http://www.HmiVietNam.com ToucScreen Weintek, Hitech, Proface, Mitsubishi...


HMI Weintek Viet Nam Mr Hau: 0973.3871.083
9. Communication with PLC and PWS

9.13. GE-Fanuc 90-SNP


1. The data format and range of the PLC registers which the ADP can accress :
Word Device and Bit Device.

Register Type Format Range with the Ragister Data Size


Discrete Inputs %Innnnn nnnnn=1-12288;1 or multiple of 16+1 Word
Discrete Outputs %Qnnnnn nnnnn=1-12288;1 or multiple of Word
16+1
Discrete %Tnnn nnn=1-256; 1 or multiple of 16+1 Word
Temporaries
Discrete Internals %Mnnnnn nnnnn=1-12288;1 or multiple of Word
16+1
%SA Discretes %SAnnn nnn=1-128; 1 or multiple of 16+1 Word
%SB Discretes %SBnnn nnn=1-128; 1 or multiple of 16+1 Word
%SC Discretes %SCnnn nnn=1-128; 1 or multiple of 16+1 Word
%S Discretes %Snnn nnn=1-128; 1 or multiple of 16+1 Word
Genius Global Data %Gnnnn nnnn=1-7680; 1 or multiple of 16+1 Word
Registers %Rnnnnn nnnnn=2-16384 Word
Analog Inputs %AInnnn nnnn=1-8192 Word
Analog Outputs %AQnnnn nnnn=1-8192 Word
** The HMI can read up to 50 words in one read command.

Relay Type Format Range with the Relay Block


Discrete Inputs %Innnnn nnnnn=1-12288 1 or Multiple of 16+1
Discrete Outputs %Qnnnnn nnnnn=1-12288 1 or Multiple of 16+1
Discrete %Tnnn nnn=1-256 1 or Multiple of 16+1
Temporaries
Discrete Internals %Mnnnnn nnnnn=1-12288 1 or Multiple of 16+1
%SA Discretes %SAnnn nnn=1-128 1 or Multiple of 16+1
%SB Discretes %SBnnn nnn=1-128 1 or Multiple of 16+1
%SC Discretes %SCnnn nnn=1-128 1 or Multiple of 16+1
%S Discretes %Snnn nnn=1-128 1 or Multiple of 16+1
Genius Global Data %Gnnnn nnnn=1-7680 1 or Multople of 16+1
** The HMI can read up to 800 bits in one read command.

2. The illustration of the connection:

a. PWS and RS232 of PLC miniconverter kit

420 ADP User’s Manual

http://www.HmiVietNam.com ToucScreen Weintek, Hitech, Proface, Mitsubishi...


HMI Weintek Viet Nam Mr Hau: 0973.3871.083
9. Communication with PLC and PWS

b. PWS and RS422 of PLC 9030 CPU port

3. Communication Format: Before connection, please set up the communication


parameters and the dip-switch as below.

Format PLC Setting PWS Setting


a.Communication Format RS422 CPU PORT COM2=RS232/422/485
Or RS232C 1. RS422: Set SW10=OFF
b.Station No None
c.Transmission Speed 19200/9600 bps
d.Transmission Format 8-Bits;none,1-Bit
e.PLC ID blanks
f. PLC password none or ******** 00000000 or ********

ADP User’s Manual 421

http://www.HmiVietNam.com ToucScreen Weintek, Hitech, Proface, Mitsubishi...


HMI Weintek Viet Nam Mr Hau: 0973.3871.083
9. Communication with PLC and PWS

9.14. Hitachi EC
1. The data format and range of the PLC registers which the ADP can accress :
Word Device and Bit Device.

Register Type Format Range with the Register Data Size


Internal Register WMnnn nnn=400, 402, 404, …, 654 Word
Internal Register WMnnn nnn=700, 702, 704, …, 954 Word
Internal Register WMnnn nnn=960, 962, 964, …, 990 Word
Timer/Counter Register TCnnn nnn=100-195 Word
Timer/Counter Register TCnnn nnn=200-295 Word
** The HMI can read up to 60Words in one read command.

Relay Type Format Range with the Relay Block


Input Relay Xnnn nnn=0-15, 20-35, 40-55, 60- X0,X20,X40
75, , 180-195 …
Output Relay Ynnn nnn=200-215, 220-235, 240- Y200,Y220…
255, , 380-395
Auxiliary Relay Mnnn nnn=400-655, 700-955, 960- M400,M420
991 …
Timer/Counter Relay TCnn nn=0-95 TC0,TC1TC8
0

2. The illustration of the connection: PWS-series to PLC Program Console Port

3. Communication Format: Before connection, please set up the communication


parameters and the dip-switch as below.

Format PLC Setting PWS設定


a.Communication Format RS232C COM1 or COM2 ==> RS232
b.Station No. None
c.Transmission Speed 9600 bps 1. Set SW5=OFF if parameters
are set in the ADP

422 ADP User’s Manual

http://www.HmiVietNam.com ToucScreen Weintek, Hitech, Proface, Mitsubishi...


HMI Weintek Viet Nam Mr Hau: 0973.3871.083
9. Communication with PLC and PWS

d.Transmission Format 7-Bits ,EVEN, 1- Bit 2. Set SW5=ON if parameters


are set in the HMI
e. CTS Handshanking Enabled
** Using exclusive protocol must set PLC peripheral mode selector in COM2.

ADP User’s Manual 423

http://www.HmiVietNam.com ToucScreen Weintek, Hitech, Proface, Mitsubishi...


HMI Weintek Viet Nam Mr Hau: 0973.3871.083
9. Communication with PLC and PWS

9.15. Hitachi H/EH1


1. The data format and range of the PLC registers which the ADP can accress :
Word Device and Bit Device.

Register Type Format Range with the Data Size


Register
Ext. Input WXnnnn nnnn=0-4ff9 Word(16 Bits)
Ext. Output WYnnnn nnnn=0-4ff9 Word(16 Bits)
Int. Output WRnnnn nnnn=0-c3ff Word(16 Bits)
Int. Output WRnnnn nnnn=f0000-f1ff Word(16 Bits)
Int. Output WMnnn nnn=0-3ff Word(16 Bits)
CPU Link WLnnn nnn=0-3ff Word(16 Bits)
CPU Link WLnnnn nnnn=1000-13ff Word(16 Bits)
T/C CV TCnnn nnn=0-511 Word(16 Bits)
**Hitachi H/EH1 Series must use procedure 1 protocol to communicate.
Hitachi EH2 Series must use procedure 2 protocol to communicate.
Ext. Input (WXnnnn) and Ext. Output (WYnnnn) registers cannot access the
“Read Block” function.

Relay Type Format Range with the Relay Block


Ext. Input Xmnnnn m=0-4, nnnn=0-ff95 None
Ext. Output Ymnnnn m=0-4, nnnn=0-ff95 None
Int. Output Rnnn nnn=0-7ff
Int. Output Mnnnn nnnn=0-3fff
CPU Link Lnnnn nnnn=0-3fff
CPU Link Lnnnnn nnnnn=10000-13fff
On-delay timer bit TDnnn nnn=0-255
Single-shot timer bit SSnnn nnn=0-255
Up counter CUnnn nnn=0-511
U/D counter up coil CTUnnn nnn=0-511
U/D counter down coil CTDnnn nnn=0-511
U/D counter contact CTnnn nnn=0-511
T/C CV clear CLnnn nnn=0-511
Rising edge DIFnnn nnn=0-511
Fallling edge DFNnnn nnn=0-511
**Ext. Input (WXnnnn) and Ext. Output (WYnnnn) cannot access the “Read
Block” function.

2. The illustration of the connection:

a. PWS-series to PLC

424 ADP User’s Manual

http://www.HmiVietNam.com ToucScreen Weintek, Hitech, Proface, Mitsubishi...


HMI Weintek Viet Nam Mr Hau: 0973.3871.083
9. Communication with PLC and PWS

PWS-series to PLC RS232 PORT

3. Communication Format: Before connection, please set up the communication


parameters and the dip-switch as below.

Format PLC Setting PWS Setting


a.Communication Format RS232 COM1 or COM2=RS232
b.Statiion No. None
c.Transmission Speed 19200 bps
d.Transmission Format 7-Bits, EVEN, 1-Bit

ADP User’s Manual 425

http://www.HmiVietNam.com ToucScreen Weintek, Hitech, Proface, Mitsubishi...


HMI Weintek Viet Nam Mr Hau: 0973.3871.083
9. Communication with PLC and PWS

9.16. HUST CNC Controller


1. The data format and range of the PLC registers which the ADP can accress :
Word Device and Bit Device.

Register Type Format Range with the Data Size


Register
16-bit Variable Wnnnnn nnnnn=0-65534 Word(16 Bits)
32-bit Variable Dnnnnn nnnnn=0-65534 Double Word(32 Bits)
**It is up to 28 Variable be read one time.
Only write a variable once, so the speed is low.
16-bit Variable (Wnnnnn) : Only used in word object.
Only used in Bit0-Bit15 of each variable.
If write, Bit16-Bit31 will clear as 0.
32-bit Variable (Dnnnnn) : Only used in double word object.
Only used in Bit0-Bit31 of each variable.

Relay Type Format Range with the Block


Relay
1-bit Variable Bnnnnn.bb nnnnn=0-65534, bb must be 0
bb=0-31
I - Bit Data Innn nnn=0-255 nnn must be 0 or multiple
of 32.
O - Bit Data Onnn nnn=0-255 nnn must be 0 or multiple
of 32.
C - Bit Data Cnnn nnn=0-255 nnn must be 0 or multiple
of 32.
S - Bit Data Snnn nnn=0-255 nnn must be 0 or multiple
of 32.
A - Bit Data Annnn nnn=0-1023 nnn must be 0 or multiple
of 32.
**I - Bit Data, O - Bit Data, C - Bit Data, S - Bit Data, A - Bit Data are read only. If write,
then the action will be invalid.(No error messages)

2. The illustration of the connection:

a. PWS-series to PLC
PWS-series to PLC RS232 PORT (9-pin male)

426 ADP User’s Manual

http://www.HmiVietNam.com ToucScreen Weintek, Hitech, Proface, Mitsubishi...


HMI Weintek Viet Nam Mr Hau: 0973.3871.083
9. Communication with PLC and PWS

3. Communication Format: Before connection, please set up the communication


parameters and the dip-switch as below.

Format PLC Setting PWS Setting


a.Communication Format RS232 COM1 or COM2=RS232
b.Station No. None
c.Transmission Speed 9600 (19200 /38400) bps
d.Transmission Format 7-Bits, EVEN, 2-Bits

ADP User’s Manual 427

http://www.HmiVietNam.com ToucScreen Weintek, Hitech, Proface, Mitsubishi...


HMI Weintek Viet Nam Mr Hau: 0973.3871.083
9. Communication with PLC and PWS

9.17. IDEC MICRO-3


1. The data format and range of the PLC registers which the ADP can accress :
Word Device and Bit Device.

Register Type Format Range with the Register Data Size


Input Relay Xn n=0-3 Byte
Output Relay Yn n=0-3 Byte
Internal Relay Mnn nn=0-31 Byte
Shift Register Rnn nn=0-48; must be 0 or multiple Bit
of 8
Timer Preset TPnn nn=0-31(read only) Word
Timer Current Tnn nn=0-31 Word
Counter Preset CPnn nn=0-31(read only) Word
Counter Current Cnn nn=0-31 Word
Data Register Dnn nn=0-99 Word
Calender/CLOCK Wn n=0-6 Word
** The HMI can read up to 50Words in one read command.
**Timer Preset and Counter Preset are read only. If the value of TP,CP exists in Data
Register,then the value of Data Register will be read.

Relay Type Format Range with the Relay Block


Input Relay Xnb n=0-3; b=0-7 b=0 e.g. X10
Output Relay Ynb n=0-3; b=0-7 b=0 e.g. Y00
Internal Relay Mnnb nn=0-31; b=0-7 b=0 e.g. M10
Shift Register Rnn nn=0-63 must be 0 or
multiple of 8
Timer Status Tnn nn=0-31 read only must be 0 or
multiple of 8
Counter Status Cnn nn=0-31 read only Must be 0 or
multiple of 8.
** The HMI can read up to 800 bits in one read command.

2. The illustration of the connection: PWS-to PLC PROGRAM Loader RS485


PORT(MICRO3-CPU PORT)

428 ADP User’s Manual

http://www.HmiVietNam.com ToucScreen Weintek, Hitech, Proface, Mitsubishi...


HMI Weintek Viet Nam Mr Hau: 0973.3871.083
9. Communication with PLC and PWS

3. Communication Format: Before connection, please set up the communication


parameters and the dip-switch as below.

Format PLC Setting PWS Setting


a.Communication Format RS485 COM2=RS232/422/485
1. RS485: Set SW10=ON
b.Station No. 0-31;255 1. Set PLC Sation 255 in ADP
c.Transmission Speed 9600bps
d.Transmission Format 7-Bits;EVEN; 1-Bit
e.CTS Handshaking Disabled
**If only one PLC in background program, set the Station No. as 255 or sets as Network
Station No.

ADP User’s Manual 429

http://www.HmiVietNam.com ToucScreen Weintek, Hitech, Proface, Mitsubishi...


HMI Weintek Viet Nam Mr Hau: 0973.3871.083
9. Communication with PLC and PWS

9.18. JETTER NANO_B


1. The data format and range of the PLC registers which the ADP can accress :
Word Device and Bit Device.

Register Type Format Range with the Data Size


Register
User Register Rnnnnn nnnnn=0-32767 DWord(32 Bits)
User Register WRnnnnn nnnnn=0-32767 Word(16 Bits)

Relay Format Range with Block


Tupe the Relay
Input Relay Innbb nn=1-16,bb=01-08 bb=01
Out[ut Relay Onnbb nn=1-16,bb=01-08 bb=01
Flag Relay Fnnnn nnnn=0-2301 If nnn<256, must be 0 or multiple
of 24.
If nnn>255 and <2048, must be
multiple of 24 +16.
If nnn>2047, must be multiple of
24+8.

2. The illustration of the connection:

a. PWS-ser ies to P LC RS 232 P ORT (15-pin m ale)

b. PWS-series to PLC RS232 PORT (9-pin male)

3. Communication Format: Before connection, please set up the communication


parameters and the dip-switch as below.

Format PLC Setting PWS Setting


a.Communication Format RS232C COM1 or COM2=RS232
b.Station No. None
c.Transmission Speed 9600 bps

430 ADP User’s Manual

http://www.HmiVietNam.com ToucScreen Weintek, Hitech, Proface, Mitsubishi...


HMI Weintek Viet Nam Mr Hau: 0973.3871.083
9. Communication with PLC and PWS

d.Transmission Format 8-Bits, EVEN , 1-Bit

ADP User’s Manual 431

http://www.HmiVietNam.com ToucScreen Weintek, Hitech, Proface, Mitsubishi...


HMI Weintek Viet Nam Mr Hau: 0973.3871.083
9. Communication with PLC and PWS

9.19. JETTER DELTA


1. The data format and range of the PLC registers which the ADP can accress :
Word Device and Bit Device.

Register Type Format Range with the Register Data Size


User Register Rnnnnn nnnn=0-20479 DWord(32 Bits)
21000-24999
31000-34999
41000-44999
50200-59999
61440-6 4999
User Register WRnnnnn nnnn=0-20479 Word(16 Bits)
21000-24999
31000-34999
41000-44999
50200-59999
61440-64999

Relay Type Format Range with Block


the Relay
Input Relay Inbb n=1-8,bb=01-64 bb=01
Output Relay Onbb n=1-8,bb=01-64 bb=01
Flag Relay Fnnnn nnn=0-2047 must be >255, and multiple
of 24+16.

2. The illustration of the connection:

a. PWS-series to PLC RS232 PORT (15-pin m a le)

b. PWS-series to PLC RS232 PORT (9-pin male)

432 ADP User’s Manual

http://www.HmiVietNam.com ToucScreen Weintek, Hitech, Proface, Mitsubishi...


HMI Weintek Viet Nam Mr Hau: 0973.3871.083
9. Communication with PLC and PWS

3. Communication Format: Before connection, please set up the communication


parameters and the dip-switch as below.

Format PLC Setting PWS Setting


a.Communication Format RS232C COM1 or COM2=RS232
b.Station No. None
c.Transmission Speed 9600 bps
d.Transmission Format 8-Bits, EVEN , 1-Bit

ADP User’s Manual 433

http://www.HmiVietNam.com ToucScreen Weintek, Hitech, Proface, Mitsubishi...


HMI Weintek Viet Nam Mr Hau: 0973.3871.083
9. Communication with PLC and PWS

9.20. Klockner Moeller PS


1. The data format and range of the PLC registers which the ADP can accress :
Word Device and Bit Device.

Register Type Format Range with the Register Data Size


Word Marker MWnnnnn nnnnn=0-32766 Word
** The HMI can read up to 32Words in one read command.

Relay Type Format Range with the Relay Block


Bit Marker0 Mnnnnn.b nnnnn=0-32766;b=0-7 b=0 e.g.
M10.0
** The HMI can read up to 512 Bits in one read command.

2. The illustration of the connection: PWS-series to PLC RS232 Programming


PORT CPU ZB4-303-KB1

3. Communication Format: Before connection, please set up the communication


parameters and the dip-switch as below.

Format PLC Setting PWS Setting


a.Communication Format RS232 COM1or COM2=RS232
b.Station No. 0=PS4-201 1. Set PLC Station 0/1 in ADP
1=PS316
c.Transmission Format 9600bps 1.Set SW5=OFF if parameters are
set in ADP

d.Transmission Speed 1.Size 8-Bits


2.Parity None 2.Set SW5=ON if parameters are
set in the HMI
3.Stop bit 1-Bit

434 ADP User’s Manual

http://www.HmiVietNam.com ToucScreen Weintek, Hitech, Proface, Mitsubishi...


HMI Weintek Viet Nam Mr Hau: 0973.3871.083
9. Communication with PLC and PWS

9.21. KOYO SA/TI 325/330


1. The data format and range of the PLC registers which the ADP can accress :
Word Device and Bit Device.

Register Type Format Range with the Register Data Size


TMR/CTR nnn nnn=octal number 600-677 Word
Accumulater
Register Values mmm mmm=octal number 400-576; Even Bytes
mmm must be a multiple of 2

Relay Type Format Range with the Relay Block


Input/Output Bits Bnnn nnn=octal number 0-157 End with 0
Input/Output Bits Bnnn nnn=octal number 700-767 End with 0
Internal Relay Bits Bnnn nnn=octal number 160-377 End with 0
Shift Register Bits Bnnn nnn=octal number 400-577 End with 0
TMR/CTR Bits Bnnn nnn=octal number 600-677 End with 0
**When HMI changes a relay’s state, the HMI must read 1 byte (8 relays). After change
the corresponging bit , then the HMI will write the byte in PLC. These actions will take
more than one PLC scan. PLC ladder cannot control other bit(relay) of byte before the
HMI compeleted “Change the Relay”;otherwise, these bit(relay) will retrun to initial
value. In other words, the control action of PLC will be resumed. For example,if the HMI
wants to change B3’s state, it will read B0-B7. After the corresponding bit B3 is cahnged,
the HMI will write the Byte to PLC. The PLC ladder’s command will be canceled after
the HMI writes the changes in.

2. The illustration of the connection:PWS-series to PLC RS232C PORT of SA21

## KOYO SA21 series E02-DM and TI305-02DM have the same wiring.

3. Communication Format: Before connection, please set up the communication


parameters and the dip-switch as below.

Format PLC Setting PWS Setting


a.Communication Format RS422 or RS232C COM2=RS232/422/485
b.Station No. None
c.Tranmission Speed 9600/19200 bps

ADP User’s Manual 435

http://www.HmiVietNam.com ToucScreen Weintek, Hitech, Proface, Mitsubishi...


HMI Weintek Viet Nam Mr Hau: 0973.3871.083
9. Communication with PLC and PWS

d.Transmission Format 8-Bits, odd, 1-Bit


e.Operation Mode RUN Mode
f.mm. Mode ASCII mode.sw2-8=ON

436 ADP User’s Manual

http://www.HmiVietNam.com ToucScreen Weintek, Hitech, Proface, Mitsubishi...


HMI Weintek Viet Nam Mr Hau: 0973.3871.083
9. Communication with PLC and PWS

9.22. KOYO DIRECT DL /KOYO SU Series/TI435


1. The data format and range of the PLC registers which the ADP can accress :
Word Device and Bit Device.

Register Type Format Range with the Register Data Size


Timer Accumulated Vnnn nnn=octal number 0-177 Word
Counter Vnnnn nnnn=octal number 1000-1177 Word
Accumulated
V Memory Vnnnn nnnn=octal number 1400-7777 Word
Link Relays Vnnnnn nnnnn=octal number40000-40037 Word
Input Status Vnnnnn nnnnn=octal number40400-40423 Word
Output Status Vnnnnn nnnnn=octal number40500-40523 Word
Control Relays Vnnnnn nnnnn=octal number40600-40635 Word
Stage Vnnnnn nnnnn=octal number41000-41027 Word
Timer Status Vnnnnn nnnnn=octal number41100-41107 Word
Counter Status Vnnnnn nnnnn=octal number41140-41147 Word
Spec. Relay 1 Vnnnnn nnnnn=octal number41200-41205 Word
Spec. Relay 2 Vnnnnn nnnnn=octal number41216-41230 Word

Relay Type Format Range with the Relay Block


Input Status Xnnn nnn=octal number 0-477 End with 0
Outpuut Status Ynnn nnn=octal number 0-477 End with 0
Control Relays Cnnn nnn=octal number 0-737 End with 0
Stage Snnn nnn=octal number 0-577 End with 0
Timer Status Tnnn nnn=octal number 0-177 End with 0
Counter Status CTnnn nnn=octal number 0-177 End with 0
Spec. Relay 1 SPnnn nnn=octal number 0-137 End with 0
Spec. Relay 2 SPnnn nnn=octal number 320-617 End with 0
Linker Relays GXnnn nnn=octal number 0-777 End with 0

2. The illustration of the connection:PWS to PLC RS232C PORT

a. PWS to PLC RS232C PORT

ADP User’s Manual 437

http://www.HmiVietNam.com ToucScreen Weintek, Hitech, Proface, Mitsubishi...


HMI Weintek Viet Nam Mr Hau: 0973.3871.083
9. Communication with PLC and PWS

b. PWS to PLC (cpu240) RS232C PORT

3. Communication Format: Before connection, please set up the communication


parameters and the dip-switch as below.

Format PLC Setting PWS Setting


a.Transmission Format RS232C COM2=RS232/422/485
b. Station No. 01
c.Transmission Speed 9600 bps
d.Transmission Format 1.Size:8-Bits
2.Parity:not none;ODD
3.Stop Bit:1-Bit
e.Comm. Protocol Mode HEX. (TISOFT AUX26)

438 ADP User’s Manual

http://www.HmiVietNam.com ToucScreen Weintek, Hitech, Proface, Mitsubishi...


HMI Weintek Viet Nam Mr Hau: 0973.3871.083
9. Communication with PLC and PWS

9.23. LG GLOFA GM6


1. The data format and range of the PLC registers which the ADP can accress :
Word Device and Bit Device.

Register Type Format Range with the Data Size


Register
Input Image %IWn.m.b n=0-1, m=0-7, b=0-3 Word(16 Bits)
Input Image %IDn.m.b n=0-1, m=0-7, b=0-1 Double Word(32 Bits)
Output Image %QWn.m.b n=0-1, m=0-7, b=0-3 Word(16 Bits)
Output Image %QDn.m.b n=0-1, m=0-7, b=0-1 Double Word(32 Bits)
Internal memory %MWnnnn nnnn=0-4095 Word(16 Bits)
Internal memory %MDnnnn nnnn=0-65534 Double Word(32 Bits)
** The HMI can read up to 60 words(30 double words) in one read/write command and
only support CPU module.

Relay Type Format Range with the Relay Block


Input Image %IXn.m.bb n=0-1, m=0-7, bb=0-63 bb must be 0 or
multiple of 16
Output Image %QXn.m.bb n=0-1, m=0-7, bb=0-63 bb must be 0 or
multiple of 16
Internal memory %MXnnnnn nnnnn=0-2047 n. must be 0 or
multiple of16

2. The illustration of the connection:

a. PWS-series to PLC
b. PWS-series to PLC RS232 PORT (9-pin male)

3. Communication Format: Before connection, please set up the communication


parameters and the dip-switch as below:

Format PLC Setting PWS Setting


a.Communication Format RS232 (RS422/RS485) COM1 or COM2=RS232
(RS422/RS485)
b.Station No. 0
c.Transmission Speed 19200 (9600 /38400) bps
d.Transmission Format 8-Bits, NONE, 1-Bit

ADP User’s Manual 439

http://www.HmiVietNam.com ToucScreen Weintek, Hitech, Proface, Mitsubishi...


HMI Weintek Viet Nam Mr Hau: 0973.3871.083
9. Communication with PLC and PWS

440 ADP User’s Manual

http://www.HmiVietNam.com ToucScreen Weintek, Hitech, Proface, Mitsubishi...


HMI Weintek Viet Nam Mr Hau: 0973.3871.083
9. Communication with PLC and PWS

9.24. LG K10/60H/200H
1. The data format and range of the PLC registers which the ADP can accress :
Word Device and Bit Device.

Register Type Format Range with the Register Data Size


Auxiliary Relay Mnn nn=0-63 Word
Input/Output Relay Pnn nn=0-15 Word
Keep Relay Knn nn=0-31 Word
Link Relay Lnn nn=0-31 Word
Special Relay Fnn nn=0-15 Word
Timer Current Value Tnnn nnn=0-255 Word
Counter Current Cnnn nnn=0-255 Word
Value
Timer Set Value TSnnn nnn=0-255 Word
Counter Set Value CSnnn nnn=0-255 Word
Data Register Dnnnn nnnn=0-1023 Word
** The HMI can read up to 60 word in one read command

Relat Type Format Range with the Relay Block


Auxiliary Relay Mnnb nn=0-63; b=hex number0-f End with b=0
Input/Output Relay Pnnb nn=0-15; b=hex number0-f End with b=0
Keep Relay Knnb nn=0-31; b=hex number0-f End with b=0
Link Relay Lnnb nn=0-31; b=hex number0-f End with b=0
Special Relay Fnnb nn=0-15; b=hex number0-f End with b=0
Timer Relay Tnnn nnn=0-255 Must be 0 or
multiple of 16.
Counter Relay Cnnn nnn=0-255 Must be 0 or
multiple of 16.

2. The illustration of the connection:PWS-series to the RS-232 Port of K200H CPU

ADP User’s Manual 441

http://www.HmiVietNam.com ToucScreen Weintek, Hitech, Proface, Mitsubishi...


HMI Weintek Viet Nam Mr Hau: 0973.3871.083
9. Communication with PLC and PWS

3. Communication Format: Before connection, please set up the communication


parameters and the dip-switch as below:

Format PLC Setting PWS Setting


a.Communication Format RS232C COM1/COM2=RS232
b.Station No. 00
c.Transmission Speed 9600 bps 1. Set the SW5=OFF if
parameters are set in ADP
d.Transmission Format 8-Bits,NONE,1-Bit 2. Set the SW=ON if
parameters are set in the HMI

442 ADP User’s Manual

http://www.HmiVietNam.com ToucScreen Weintek, Hitech, Proface, Mitsubishi...


HMI Weintek Viet Nam Mr Hau: 0973.3871.083
9. Communication with PLC and PWS

9.25. LG K200S
1. The data format and range of the PLC registers which the ADP can accress :
Word Device and Bit Device.

Register Type Format Range with the Data Size


Register
I/O RELAY PWnn nn=0-15 Word(16 Bits)
AUX RELAY MWnnn nnn=0-191 Word(16 Bits)
Keep RELAY KWnn nn=0-31 Word(16 Bits)
Link RELAY LWnn nn=0-63 Word(16 Bits)
Special RELAY FWnn nn=0-63 Word(16 Bits)
Timer TWnnn nnn=0-255 Word(16 Bits)
Counter CWnnn nnn=0-255 Word(16 Bits)
Data Register DWnnnn nnnn=0-9999 Word(16 Bits)

Relay Type Format Range with the Relay Block


I/O RELAY Pnnb nn=0-15, b=0-f b must be 0
AUX RELAY Mnnnb nnn=0-191, b=0-f b must be 0
Keep RELAY Knnb nn=0-31, b=0-f b must be 0
Link RELAY Lnnb nn=0-63, b=0-f b must be 0
Special RELAY Fnnb nn=0-63, b=0-f b must be 0
Timer Tnnn nnn=0-255 None
Counter Cnnn nnn=0-255 None

2. The illustration of the connection:

PWS-series to PLC RS232 PORT (9-pin male)

3. Communication Format: Before connection, please set up the communication


parameters and the dip-switch as below:

Format PLC Setting PWS Setting


a.Communication Format RS232 COM1 or COM2=RS232
b.Station No. None
c.Transmission Speed 38400 bps
d.Transmission Format 8-Bits, NONE, 1-But

ADP User’s Manual 443

http://www.HmiVietNam.com ToucScreen Weintek, Hitech, Proface, Mitsubishi...


HMI Weintek Viet Nam Mr Hau: 0973.3871.083
9. Communication with PLC and PWS

444 ADP User’s Manual

http://www.HmiVietNam.com ToucScreen Weintek, Hitech, Proface, Mitsubishi...


HMI Weintek Viet Nam Mr Hau: 0973.3871.083
9. Communication with PLC and PWS

9.26. LG K300S
1. The data format and range of the PLC registers which the ADP can accress :
Word Device and Bit Device.

Register Type Format Range with the Data Size


Register
I/O Relay PWnn nn= 0-31 Word(16 Bits)
AUX Relay MWnnn nnn = 0-191 Word(16 Bits)
Keep Relay KWnn nn = 0-31 Word(16 Bits)
Link Relay LWnn nn = 0-63 Word(16 Bits)
Special Relay FWnn nn = 0-63 Word(16 Bits)
Timer TWnnn nnn = 0-255 Word(16 Bits)
Counter CWnnn nnn = 0-255 Word(16 Bits)
Step controller SWnnnn nnnn = 0-9999 Word(16 Bits)
Data Register DWnnnn nnnn = 0-9999 Word(16 Bits)

Relay Type Foramt Range with the Block


Relay
I/O Relay PWnnb nn= 0-31 b=0-f
AUX Relay MWnnnb nnn = 0-191 b=0-f
Keep Relay KWnnb nn = 0-31 b=0-f
Link Relay LWnnb nn = 0-63 b=0-f
Special Relay FWnnb nn = 0-63 b=0-f

2. The illustration of the connection:

PWS-series to PLC RS232 PORT

3. Communication Format: Before connection, please set up the communication


parameters and the dip-switch as below:

Format PLC Setting PWS Setting


a.Transmission Format RS232C
b.Station No. RS232C=0
c.Transmission Speed RS232C=9600 bps
d.Transmission Format RS232C =8 Bits,none,1 Bit

ADP User’s Manual 445

http://www.HmiVietNam.com ToucScreen Weintek, Hitech, Proface, Mitsubishi...


HMI Weintek Viet Nam Mr Hau: 0973.3871.083
9. Communication with PLC and PWS

9.27. LG Master-K10S/K30S/60S/100S
1. The data format and range of the PLC registers which the ADP can accress :
Word Device and Bit Device.

Register Type Format Range with the Data Size


Register
I/O RELAY PWn n=0-5 Word(16 Bits)
AUX RELAY MWnn nn=0-31 Word(16 Bits)
Keep RELAY KWnn nn=0-15 Word(16 Bits)
Link RELAY LWnn nn=0-15 Word(16 Bits)
Special RELAY FWnn nn=0-15 Word(16 Bits)
Timer TWnnn nnn=0-127 Word(16 Bits)
Counter CWnnn nnn=0-127 Word(16 Bits)
Data Register DWnnn nnnn=0-255 Word(16 Bits)

Relay Type Format Range with the Block


Relay
I/O RELAY Pnb n=0-5, b=0-f b must be 0
AUX RELAY Mnnb nn=0-31, b=0-f b must be 0
Keep RELAY Knnb nn=0-15, b=0-f b must be 0
Link RELAY Lnnb nn=0-15, b=0-f b must be 0
Special RELAY Fnnb nn=0-15, b=0-f b must be 0
Timer Tnnn nnn=0-127 n.. must be 0 or multiple of
16
Counter Cnnn nnn=0-127 n.. must be 0 or multiple of
16

2. The illustration of the connection:

PWS-series to PLC RS232 PORT (9-pin male)

3. Communication Format: Before connection, please set up the communication


parameters and the dip-switch as below:

Format PLC Setting PWS Setting

446 ADP User’s Manual

http://www.HmiVietNam.com ToucScreen Weintek, Hitech, Proface, Mitsubishi...


HMI Weintek Viet Nam Mr Hau: 0973.3871.083
9. Communication with PLC and PWS

a.Transmission Format RS232 COM1 or COM2=RS232


b.Station No. None
c.Transmission Speed 9600 bps
d.Transmission Format 8-Bits, NONE, 1-Bit

ADP User’s Manual 447

http://www.HmiVietNam.com ToucScreen Weintek, Hitech, Proface, Mitsubishi...


HMI Weintek Viet Nam Mr Hau: 0973.3871.083
9. Communication with PLC and PWS

9.28. MATSUSHITA FP
1. The data format and range of the PLC registers which the ADP can accress :
Word Device and Bit Device.

Register Format Range with the Device Type / Block ead


Type Register Aux.Address R/W
Internal Relay WRnn nn=0-97(875) 0 0 Word
Special Internal WRnnn nnn=900-910 1 0 Word
Relay
Link Relay WLnnn nnn=0-127(639) 2 0 Word
External Input WXnnn nnn=0-127(255) 3 0 Word
Relay
External Output WYnnn nnn=0-127(255) 4 0 Word
Relay
Timer/Counter EVnnn nnn=0-254(2047) 5 0 Word
P.V.
Timer/Counter SVnnn nnn=0-254 (2047) 6 0 Word
S.V.
Data Register DTnnnn nnnn=0-2047 (32764) 7 0 Word
Special Data DTnnnn nnnn=9000-9255 8 0 Word
Register
Link Data LDnnn nnn=0-127(8447) 9 0 Word
Register
File Register FLnnnnn nnnn=0-8191 10 0 Word
(32764)**
** The HMI can read up to 27 word in one read command.
**The Register setting range of FP10SH is nnnnn=0- 32764.

Relay Type Format Range with the Relay Block


Internal Relay Rnnnb nn=0-97(875);b= 0-f b=0 e.g. R1230
Special Internal Relay Rnnnb nnn=900-910;b= 0-f b=0 e.g. R9100
Link Relay Lnnnb nnn=0-127(639);b=0-f b=0 e.g.. L110
External Input Relay Xnnnb nnn=0-127(255);b=0-f b=0 e.g. X00
External Output Relay Ynnnb nnn=0-127(255);b=0-f b=0 e.g. Y00
Timer Flag Contact Tnnn nnn=0-254(2047) must be 0 or multiple
of16
Counter Flag Contact Cnnn nnn=0-254(2047) must be 0 or multiplr
of 16
** The HMI can read up to 432 bits in one read command.
**The Relay setting range of FP10SH is nnnn=0-2047.

2. The illustration of the connection:

a. PWS-series to PLC RS232C LINK of FP3 CCU or FP1 LINK PORT

448 ADP User’s Manual

http://www.HmiVietNam.com ToucScreen Weintek, Hitech, Proface, Mitsubishi...


HMI Weintek Viet Nam Mr Hau: 0973.3871.083
9. Communication with PLC and PWS

b. PWS-series to PLC RS422 of PROGRAM PORT ( FP3 CPU PORT)

3. Communication Format: Before connection, please set up the communication


parameters and the dip-switch as below:

Format PLC Setting PWS Setting


a.Communication RS422 or RS232C COM2=RS232/422/485
Format
b.Station No. 02-27 1. Set PLC Station 01 in ADP,
CPU
FP CPU PORT =238 PORT 238
FP1: Set computer link
c.Transmission Speed 19200/9600 bps 1. Set SW5=OFF if parameters
are
FP10SH –CPU: Set115.2K set in ADP
bps
d.Transmission Format Size 8-Bits,odd, 1-Bit 2. Set SW=ON if parameters are
set in the HMI

ADP User’s Manual 449

http://www.HmiVietNam.com ToucScreen Weintek, Hitech, Proface, Mitsubishi...


HMI Weintek Viet Nam Mr Hau: 0973.3871.083
9. Communication with PLC and PWS

9.29. MIRLE DX
1. The data format and range of the PLC registers which the ADP can accress :
Word Device and Bit Device.

Register Type Format Range with the Data Size


Register
IR area IRnnn nnn=0-111 Word
DM area DMnnnn nnnn=0-2367 Word

Relay Type Format Range with the Relay Block


IR area IRnnnbb nnn=0-111,bb=00-15 bb=00

2. The illustration of the connection:

a. PWS to MIRLE DX RS42 2 P ORT

b. PWS to MIRLE SB C 20 RS42 2 PORT

c. PWS to MIRLE NDX RS232

450 ADP User’s Manual

http://www.HmiVietNam.com ToucScreen Weintek, Hitech, Proface, Mitsubishi...


HMI Weintek Viet Nam Mr Hau: 0973.3871.083
9. Communication with PLC and PWS

3. Communication Format: Before connection, please set up the communication


parameters and the dip-switch as below:

Format PLC Setting PWS Setting


a.Communication Format RS232C/ RS422 COM2=RS232/422
b.Station No. 0 1. Set PLC Station 00 in ADP

c.Transmission Speed 9600 bps


d.Transmission Format 1.DX,SBC20—8 Bits,ODD,1 1 Set SW5=ON if parameters
Stop Bit are set in the HMI
2.NDX —8 Bits,NONE,1 Stop
Bit

ADP User’s Manual 451

http://www.HmiVietNam.com ToucScreen Weintek, Hitech, Proface, Mitsubishi...


HMI Weintek Viet Nam Mr Hau: 0973.3871.083
9. Communication with PLC and PWS

9.30. Mitsubishi FX
1. The data format and range of the PLC registers which the ADP can accress :
Word Device and Bit Device.

Register Type Format Range with the Register Data Size


Auxiliary Relay Mnnnn nnnn=0-3071; must be 0 or multiple Byte
of 8
Special Auxiliary Mnnnn nnnn=8000-8255; must be 0 or Byte
Relay multiple of 8
Status Relay Snnn nnn=0-999; must be 0 or multiple of Byte
8
Input Relay Xnnn nnn=octal number 0-377; end with 0 Byte
Output Relay Ynnn nnn=octal number 0-377; end with 0 Byte
Timer PV Tnnn nnn=0-254 Word
16-位元 Counter PV Cnnn nnn=0-199 Word
32-位元 Counter PV Cnnn nnn=200-255 DWord
Data Register Dnnn nnn=0-1023(7999) D1000=FILE Word
REGISTER
Special Data Register Dnnnn nnnn=8000-8255 Word
** The HMI can read up to 32Words in one read command.

Relay Type Format Range with the Type Block


Auxiliary Relay Mnnnn 0-3071 Must be 0 or
multiple of 8
Special Auxiliary Mnnnn 8000-8255 Must be 0 or
Relay multiple of 8
Status Relay Snnn 0-999 Must be 0 or
multiple of 8
Input Relay Xnnn Octal number 0-377 End with 0
Output Relay Ynnn Octal number 0-377 End with 0
Timer Flag Tnnn 0-255 Must be 0 or
multiple of 8
Counter Flag Cnnn 0-255 Must be 0 or
multiple of 8
** The HMI can read up to 512 bits in one read command.

2. The illustration of the connection:

a. PWS to RS422 of PLC-FX2 CPU

452 ADP User’s Manual

http://www.HmiVietNam.com ToucScreen Weintek, Hitech, Proface, Mitsubishi...


HMI Weintek Viet Nam Mr Hau: 0973.3871.083
9. Communication with PLC and PWS

b. PWS- to PLC PROGRAM Loader PORT (Mitsubishi FX2n/FX0n CPU


PORT)

3. Communication Format: Before connection, please set up the communication


parameters and the dip-switch as below:

Format PLC Setting PWS Setting


a.Communication Format RS422
b.Transmission Speed 9600 bps
c.Transmission Format 7-Bits,EVEN,1-Bit

ADP User’s Manual 453

http://www.HmiVietNam.com ToucScreen Weintek, Hitech, Proface, Mitsubishi...


HMI Weintek Viet Nam Mr Hau: 0973.3871.083
9. Communication with PLC and PWS

9.31. Mitsubishi A
1. The data format and range of the PLC registers which the ADP can accress :
Word Device and Bit Device.

Register Type Format Range with the Register Data


Size
Input Relay Xnnn nnn=hex number 0-7ff; end with 0 Word
Output Relay Ynnn nnn=hex number 0-7ff; end with 0 Word
Link Relay Bnnn nnn=hex number 0-fff; end with 0 Word
Internal Relay Mnnnn nnnn=0-8191; must be 0 or multiple of 16 Word
Special Relay Mnnnn nnnn=9000-9255;-9000 must be multiple Word
of 16
Latch Relay Lnnnn nnnn=0-2047; must be 0 or multiple of 16 Word
Annunciator Fnnnn nnnn=0-2047; must be 0 or multiple of 16 Word
Timer PV TNnnn nnn=0-999 Word
Counter PV CNnnn nnn=0-999 Word
Data Register Dnnnn nnnn=0-8191 Word
Special Register Dnnnn nnnn=9000-9255 Word
File Register Rnnnn nnnn=0-8191 Word
Link Register Wnnn nnn=hex number 0-fff Word
Peripherial Input Relay PXnnn nnn=0-7ff must be 0 or multiple of 16 Word
** The HMI can read up to 64Words in one read command.

Relay Type Format Range with the Relay Block


Input Relay Xnnn hex number 0-7ff End with 0
Output Relay Ynnn hex number 0-7ff End with 0
Link Relay Bnnn hex number 0-fff End with 0
Internal Relay Mnnnn 0-8191 Must be 0 or
multiple of 16
Special Relay Mnnnn 9000-9255 The last 3 digits
must be multiple of
16.
Latch Relay Lnnnn 0-2047 Must be 0 or
multiple
of 16.
Annunciator Fnnnn 0-2047 Must be 0 or
multiple
of 16.
Timer Contact TSnnn 0-999 Must be 0 or
multiple
of 16.
Timer Coil TCnnn 0-999 Must be 0 or
multiple
of 16.

454 ADP User’s Manual

http://www.HmiVietNam.com ToucScreen Weintek, Hitech, Proface, Mitsubishi...


HMI Weintek Viet Nam Mr Hau: 0973.3871.083
9. Communication with PLC and PWS

Counter Contact CSnnn 0-999 Must be 0 or


multiple of 16.
Counter Coil CCnnn 0-999 Must be 0 ot
multiple
Of 16.
Peripherial Input Relay PXnnn 0-7ff Must be 0 or
multiple
of 16.
** The HMI can read up to512 bits in one read command.

2. The illustration of the connection:

a. PWS and PLC AJ71UC24-R2/S8

b. PWS and PLC AJ71UC24 RS422

ADP User’s Manual 455

http://www.HmiVietNam.com ToucScreen Weintek, Hitech, Proface, Mitsubishi...


HMI Weintek Viet Nam Mr Hau: 0973.3871.083
9. Communication with PLC and PWS

c. PWS,PLC AnA and AnA/AnS/AnU CPU port RS422

3. Communication Format: Before connection, please set up the communication


parameters and the dip-switch as below:

Format PLC Setting PWS Setting


a.Communication Format RS422 or RS232C COM2=RS232/422/485
AJ71UC24 sw1=ON RS422 1. RS422: Set SW10=OFF
sw1=Off RS232
b.Station No. 00(CPU PORT) 1. Set PLC station 00
00(AISJ71C24-S3) Set PWS station 255
00-31(AJ71UC24)
c.Transmission Speed 9600/19200 bps
CPU PORT=9600bps
d.Transmission Format 8-Bits,ODD,1-Bit
e.Comm. Protocol Format 1;5;A
f.Check Sum YES
g.Write during Run Allowed
**For AISJ71C24 or AJ71c24, set the HMI staion no. as 255 and PLC station no. as 0
and connect with PLC CPU port. To communicate in COM2, please set the DIP switch =
off and communication parameters as 9600,8,0DD,1.

456 ADP User’s Manual

http://www.HmiVietNam.com ToucScreen Weintek, Hitech, Proface, Mitsubishi...


HMI Weintek Viet Nam Mr Hau: 0973.3871.083
9. Communication with PLC and PWS

9.32. Mitsubishi QnA


1. The data format and range of the PLC registers which the ADP can accress :
Word Device and Bit Device.

Register Type Format Range with the Register Data


Size
Link Relay Bn n=hex number 0-1fff ; end with 0 Word
Counter Coil CCn n=0-1023; must be 0 and multiple of Word
16.
Counter Current Value CNn n=0-1023 Word
Counter Contact CSn n=0-1023; must be 0 or multiple of Word
16.
Data Register Dn n=0-12287 Word
Direct Input DXn n=hex number 0-1fff ; end with 0 Word
Direct Output DYn n=hex number 0-1fff ; end with 0 Word
Annunciator Fn n=0-2047; must be 0 or multiple of Word
16
Latch Relay Ln n=0-8191; must be 0 or multiple of Word
16
Internal Relay Mn n=0-8191; must be 0 or multiple of Word
16
File Register Rn n=0-32767 Word
Step Relay Sn n=0-8191; must be 0 or multiple of Word
16
Special Link Relay SBn n=hex number 0-7ff ; end with 0 Word
Retentive Timer Coil SCn n=0-2047; must be 0 or multiple of Word
16
Special Register SDn n=0-2047 Word
Special Relay SMn n=0-2047; must be 0 or multiple of Word
16
Retentive Timer SNn n=0-2047 Word
Current Value
Retentive Timer SSn n=0-2047; must be 0 or multiple of Word
Contact 16
Special Link Register SWn n=hex number 0-7ff Word
Timer Coil TCn n=0-2047; must be 0 or multiple of Word
16
Timer Current Value TNn n=0-2047 Word
Timer Contact TSn n=0-2047; must be 0 or multiple of Word
16
Edge Relay Vn n=0-2047; must be 0 or multiple of Word
16
Link Register Wn n=hex number 0-1fff Word
Input Relay Xn n=hex number 0-1fff ; end with 0 Word

ADP User’s Manual 457

http://www.HmiVietNam.com ToucScreen Weintek, Hitech, Proface, Mitsubishi...


HMI Weintek Viet Nam Mr Hau: 0973.3871.083
9. Communication with PLC and PWS

Output Relay Yn n=hex number 0-1fff ; end with 0 Word


Index Register Zn n=0-15 Word
File Register ZRn n=hex number 0-fe7f Word

Relay Type Format Range with the Relay Block


Link Relay Bn hex number 0-1ffff
Counter Coil CCn 0-1023
Counter Contact CSn 0-1023
Direct Input DXn n=hex number 0-1fff
Direct Output DYn n=hex number 0-1fff
Annunciator Fn 0-2047
Latch Relay Ln 0-8191
Internal Relay Mn 0-8191
Step Relay Sn 0-8191
Special Link Relay SBn n=hex number 0-7ff
Retentive Timer Coil SCn 0-2047
Special Relay SMn 0-2047
Retentive Timer SSn 0-2047
Contact
Timer Contact TSn 0-2047
Timer Coil TCn 0-2047
Edge Relay Vn 0-2047
Input Relay Xn hex number 0-1fff
Output Relay Yn hex number 0-1fff

2. The illustration of the connection:

a. PWS and QnA CPU port (RS232)

HMI-COM port PLC-port RS232C


25-pin ------CABLE------ 6-pin

RXD 3 2 TXD
TXD 2 1 RXD
GND 7 3 GND
RTX 4 5 CTS
CTX 5 6 RTS

b. PWS and Q Series C24 (RS232)

458 ADP User’s Manual

http://www.HmiVietNam.com ToucScreen Weintek, Hitech, Proface, Mitsubishi...


HMI Weintek Viet Nam Mr Hau: 0973.3871.083
9. Communication with PLC and PWS

HMI-COM port PLC-port RS232C


25-pin ------CABLE------ 9-pin

RXD 3 3 TXD
TXD 2 2 RXD
GND 7 5 GND
RTX 4 1 CD
CTX 5 4 DTR
c. PWS and Q Series C24 (RS422)

3. Communication Format: Before connection, please set up the communication


parameters and the dip-switch as below:

Format PLC Setting PWS Setting


a.Communication Format RS422 or RS232C COM2=RS232/422/485
b.Station No. 00(CPU PORT)
00(Q Series C24) Set PLC Station 00
c.Transmission Speed 19200 bps
d.Transmission Format 8-Bits,ODD,1-Bit
(CPU PORT)
7-Bits,EVEN,2-Bits
(Q Series C24)

ADP User’s Manual 459

http://www.HmiVietNam.com ToucScreen Weintek, Hitech, Proface, Mitsubishi...


HMI Weintek Viet Nam Mr Hau: 0973.3871.083
9. Communication with PLC and PWS

9.33. Modbus slave


1. The data format and range of the PLC registers which the ADP can accress :
Word Device and Bit Device.

Register Type Format Range with the Data Size


Register
REGISTER Wnnnnn nnnnn=0-65535 Word(16 Bits)

Relay Type Format Range with the Relay Block


RELAY Bn n=0-65535

2. The illustration of the connection:

a. PWS-series to PLC
b. PWS-series to PLC RS232 PORT (9-pin male)

3. Communication Format: Before connection, please set up the communication


parameters and the dip-switch as below:

Format PLC Setting B. PWS Setting


a.Communication Format RS232 (RS422/RS485) COM1 or COM2=RS232
(RS422/RS485)
b.Station No.
c.Transmission Speed 9600 bps (9600-115200)
d.Transmission Format 8-bits, NONE, 1-bit
(7), (EVEN/NONE), (2)

460 ADP User’s Manual

http://www.HmiVietNam.com ToucScreen Weintek, Hitech, Proface, Mitsubishi...


HMI Weintek Viet Nam Mr Hau: 0973.3871.083
9. Communication with PLC and PWS

9.34. Modicon PC984 or Modbus(Ascii)or TSX Quantum


1. The data format and range of the PLC registers which the ADP can accress :
Word Device and Bit Device.

Register Type Format Range with the Register Data


Size
Input Registers (Modicon PC nnnnn nnnnn=30001-39999(slave) Word
984/Modbus (Ascii)) 30001-31024(master)
Output Registers (Modicon PC nnnnn nnnnn=40001-49999(as slave) Word
984/Modbus (Ascii)) 40001-41024(as master)
Input Registers (TSX Quantum) nnnnnn nnnnn=300001-365535 Word
Output Registers (TSX Quantum) nnnnnn nnnnn=400001-465535 Word
** The HMI can read up to 125Words in one read command.

Relay Type Format Range with the Relay


Discrete Outputs (Modicon PC Nnnnn nnnnn=1-4999(slave)
984/Modbus (Ascii)) 1-1024(master)
Discrete Inputs (Modicon PC Nnnnn nnnnn=10001-19999(slave)
984/Modbus (Ascii)) 10001-11024(master)
Discrete Outputs(TSX Quantum) Nnnnn nnnnn=000001-065535
Discrete Inputs (TSX Quantum) Nnnnn nnnnn=100001-165535
** The HMI can read up to 2000bits in one read command.
**Modubus (Ascii) master – V2 as Modubus (Ascii) master. In functional way,it will
inform the connected controller automatically when the HMI data is changed.

2. The illustration of the connection:PWS series to RS232 of PLC CPU port

3. Communication Format: Before connection, please set up the communication


parameters and the dip-switch as below:
ADP User’s Manual 461

http://www.HmiVietNam.com ToucScreen Weintek, Hitech, Proface, Mitsubishi...


HMI Weintek Viet Nam Mr Hau: 0973.3871.083
9. Communication with PLC and PWS

Format PLC Setting PWS Setting


a.Communication Format RS232C COM1/COM2=RS232
b.Station No. 1 1. Set PLC Station 01 in ADP
01—247 (mem setup)
c.Transmission Speed 19200/9600 bps
d.Transmission Format 8, EVEN ,1
(7,O,1);(7,E,1);(7,E,2)
RTU MODE (8,E,1);(8,O,1);(8,N,1)

462 ADP User’s Manual

http://www.HmiVietNam.com ToucScreen Weintek, Hitech, Proface, Mitsubishi...


HMI Weintek Viet Nam Mr Hau: 0973.3871.083
9. Communication with PLC and PWS

9.35. OMRON C
1. The data format and range of the PLC registers which the ADP can accress :
Word Device and Bit Device.

Register Format Range with the Register Block read


Type
IR area IRnnn nnn=0-511 Word(16 Max. 28
Bits)
HR area HRnn nn=0-99 Word(16 Max. 28
Bits)
AR area ARnn nn=0-27 Word(16 Max. 28
Bits)
LR area LRnn nn=0-63 Word(16 Max. 28
Bits)
TC area TCnnn nnn=0-511 Word(16 Max. 28
Bits)
DM area DMnnnn nnnn=0-6655 Word(16 Max. 28
Bits)

Relay Type Format Range with the Relay Block


IR area IRnnnbb nnn=0-511; bb=00-15 bb=00 e.g. IR12300
HR area HRnnbb nn=0-99 ; bb=00-15 bb=00 e. g.HR2300
AR area ARnnbb nn=0-27 ; bb=00-15 bb=00 e.g. AR100
LR area LRnnbb nn=0-63 ; bb=00-15 bb=00 e.g. LR2300
TC area TCnnn nnn=0-511 Multiple of 16 e.g.
TC16

2. The illustration of the connection:

a. PWS-series to PLC RS232C HOST LINK of LK201/


C200HS/C28H/C40H/CQM1

ADP User’s Manual 463

http://www.HmiVietNam.com ToucScreen Weintek, Hitech, Proface, Mitsubishi...


HMI Weintek Viet Nam Mr Hau: 0973.3871.083
9. Communication with PLC and PWS

b. PWS-series to PLC RS422 HOST LINK of C200H-LK202

3. Communication Format: Before connection, please set up the communication


parameters and the dip-switch as below:

Format PLC Setting PWS Setting


a.Communication Format RS232C/ RS422/ RS485 COM2=RS232/422/485
b.Station No. 00(00-31) 1. Set PLC station 00 in ADP
1.CQM1-CPU21 DM6648=0000
c.Transmission Speed 19200/9600 bps
1.CQM1-CPU21 DIP-sw5=OFF
d.Tranmission Format Initial value 7-bits, ENEN, 2
e.Operation Mode Monitor Mode
f.PROTOCOL Multiple-Link

464 ADP User’s Manual

http://www.HmiVietNam.com ToucScreen Weintek, Hitech, Proface, Mitsubishi...


HMI Weintek Viet Nam Mr Hau: 0973.3871.083
9. Communication with PLC and PWS

9.36. Omron CS1


1. The data format and range of the PLC registers which the ADP can accress :
Word Device and Bit Device.

Register Type Format Range with the Data Size


Register
IR Area (CIO Area) IRnnnn nnnn=0-6143 Word(16 Bits)
HR Area HRnnn nnn=0-511 Word(16 Bits)
AR Area ARnnn nnn=0-959 Word(16 Bits)
LR Area LRnnn nnn=0-199 Word(16 Bits)
TC Area TCnnnn nnnn=0-4095 Word(16 Bits)
DM Area DMnnnn nnnn=0-9999 Word(16 Bits)
EM Area EMm.nnnnn m=0-c, nnnn=0-9999 Word(16 Bits)

Relay Type Format Range with the Relay Block


IR Area (CIO Area) IRnnnnb nnnn=0-6143, b=00-15 bb must be 00
HR Area HRnnnb nnn=0-511, b=00-15 bb must be 00
LR Area LRnnnb nnn=0-199, b=00-15 bb must be 00
Timer Area Tnnnn nnnn=0-2047
Counter Area Cnnnn nnnn=0-2047

2. The illustration of the connection:

a. PWS -series to PLC


PWS-series to PLC RS232 PORT (9-pin male)

ADP User’s Manual 465

http://www.HmiVietNam.com ToucScreen Weintek, Hitech, Proface, Mitsubishi...


HMI Weintek Viet Nam Mr Hau: 0973.3871.083
9. Communication with PLC and PWS

3. Communication Format: Before connection, please set up the communication


parameters and the dip-switch as below:

Format PLC Setting PWS Seting


a.Communication Format RS232 (RS422/RS485) COM1 or COM2=RS232
(RS422/RS485)
b.Station No. 0 (0-31)
c.Transmission Speed 9600 bps
d.Transmission Format 7-Bits, EVEN, 2-Bits

466 ADP User’s Manual

http://www.HmiVietNam.com ToucScreen Weintek, Hitech, Proface, Mitsubishi...


HMI Weintek Viet Nam Mr Hau: 0973.3871.083
9. Communication with PLC and PWS

9.37. Omron CV
1. The data format and range of the PLC registers which the ADP can accress :
Word Device and Bit Device.

Register Type Format Range with the Data Size


Register
CIO Area CIOnnnn nnnn=0-2555 Word(16 Bits)
TC Area TCnnnn nnnn=0-1023 Word(16 Bits)
TC Area TCnnnn nnnn=2048-3071 Word(16 Bits)
AR Area ARnnn nnn=0-511 Word(16 Bits)
DM Area DMnnnn nnnn=0-9999 Word(16 Bits)

Relay Type Format Range with the Relay Block


CIO Area CIOnnnnbb nnnn=0-2555, bb=00-15 bb must be 00
TC Area TCnnnn nnnn=0-1023
TC Area TCnnnn nnnn=2048-3071

2. The illustration of the connection:

a . PWS-series to PLC
PWS-series to PLC RS232 PORT

ADP User’s Manual 467

http://www.HmiVietNam.com ToucScreen Weintek, Hitech, Proface, Mitsubishi...


HMI Weintek Viet Nam Mr Hau: 0973.3871.083
9. Communication with PLC and PWS

3. Communication Format: Before connection, please set up the communication


parameters and the dip-switch as below:

Format PLC Setting B. PWS Setting


a.Communication Format RS232 COM1 or COM2=RS232
b.Station No. 0
c.Transmission Speed 9600 bps
d.Transmission Format 7-Bits, EVEN, 2-Bits

468 ADP User’s Manual

http://www.HmiVietNam.com ToucScreen Weintek, Hitech, Proface, Mitsubishi...


HMI Weintek Viet Nam Mr Hau: 0973.3871.083
9. Communication with PLC and PWS

9.38. Parker 6K
1. The data format and range of the PLC registers which the ADP can accress :
Word Device and Bit Device.

Register Type Command Fo rmat Range with D a ta Size D ata Range


the Register
I nput !n TIN In n = 0 ~ 8 Dou ble
Wor d
O utput !n TOUT On n = 0 ~ 8 Dou ble Wo rd
A larm Statu s !I NTHW Asn n = 1 Dou ble Wo rd
A xis Status !n TAS AX Sn n = 1 ~ 8 Dou ble Wo rd
S ystem Status !T SS SY Sn n = 1 Doub le Wo rd
U ser Status !T US US Sn n = 1 Wor d
B inary !VARBnn n VA RBnnn nnn = 001~125 Dou ble Wo rd
N umeric !VARnn n VA Rnnn nnn = 001~225 Dou ble Wo rd +-999,999,999
I nteger !VARInn n VAR Innn nnn = 001~225 Dou ble Wo rd +-2 ,147,483, 647
S tring !VARSnn VA RSnn nn = 01 ~ 50 10 Words 0 ~ 20
Characters
Motor Position !nTPC MO Pn n = 1 ~ 8 Double +-
Word 2,147,483,647
Motor Velocity !nTVEL MOVn n = 1 ~ 8 Double Word
Encoder !n TPE EN Pn n = 1 ~ 8 Double Wo rd
Position
TIMER !TTIM Tn n = 1 Double Word 0 ~ 999999999
Nnn Run Nnn nn = 1 ~ 50 10 Words 0 ~ 20
Program Characters
**If Paker 6K still excute, it will cause communication Time Out .
**Parker 6K needs to write internal program in order to accept the command with initial
code '!', or it may cause communication error.

Register Com mand Format Ran ge with the Re gister Data


Type Range
Input !nTI N In. bb n = 0 ~ 8 bb = 1~32 Bit
Output !nTOUT On.bb n = 0 ~ 8 bb =1~32 Bit
Alarm !INTHW ASn.bb n = 1 bb =1~32 Bi t
Status
Axis Status !nTAS AXSn.bb n = 1 ~ 8 bb =1~32 Bit
System !TSS SYSn.bb n = 1 bb =1~32 Bit
Status
User Status !TUS USSn.bb n = 1 bb =1~16 Bit
Binary !VARBnnn VARBnnn.bb nnn = 001~125 bb =1~32 Bit

ADP User’s Manual 469

http://www.HmiVietNam.com ToucScreen Weintek, Hitech, Proface, Mitsubishi...


HMI Weintek Viet Nam Mr Hau: 0973.3871.083
9. Communication with PLC and PWS

Register Command Format Range with the Register Data


Type Range
Error Status TERn.bb TERn.bb n = 1 bb =1~32 Bit
RUN Run Program RUNnn nn = 1 ~50 Bit

2. The illustration of the connection:

a. PWS-series to PLC
PWS-series to PLC RS232 PORT

3. Communication Format: Before connection, please set up the communication


parameters and the dip-switch as below:

Format PLC Setting PWS Setting


a.Communication Format RS232 COM1 or COM2=RS232
b.Station No. None
c.Transmission Speed 9600 bps
d.Transmission Foramt 8-Bits, NONE, 1-Bit

470 ADP User’s Manual

http://www.HmiVietNam.com ToucScreen Weintek, Hitech, Proface, Mitsubishi...


HMI Weintek Viet Nam Mr Hau: 0973.3871.083
9. Communication with PLC and PWS

9.39. SIDE MIDA 20/20D


1. The data format and range of the PLC registers which the ADP can accress :
Word Device and Bit Device.

Register Type Format Range with the Data Size


Register
Register Wnnnnn nnnn= 0-10499 Word(16 Bits)
Display Dispn n=0-4 10 Words
Date Daten N=0-6 Word

Relay Type Format Range with the Block


Relay
I/O Relay Bnnn nnn= 0-1599 Must be 0 or
multiple of16
Hardware Reset HardRn n= 0
Software Reset SoftRn n= 0
Clear RAM,EEPROM Clr0-n n= 0
Clear database Clr1-n n= 0
Clear RAM,EEPROM, database Clr2-n n= 0
Clear RAM,EEPROM, database Clr3-n n= 0
and default setup

2. The illustration of the connection:

a. PWS-series to PLC RS232 PORT

b. PWS-series to PLC RS485 PORT

ADP User’s Manual 471

http://www.HmiVietNam.com ToucScreen Weintek, Hitech, Proface, Mitsubishi...


HMI Weintek Viet Nam Mr Hau: 0973.3871.083
9. Communication with PLC and PWS

3. Communication Format: Before connection, please set up the communication


parameters and the dip-switch as below:

Format PLC Setting PWS Setting


a.Communication RS232C RS232C: use SIDE MIDA 20/20D
Format driver
RS485 RS485 :use MODBUS SLAVE driver
b.Station No. RS232C=153 RS232C=153
RS485=1 RS485 =1
c.Transmission Speed RS232C=9600 bps
RS485 =9600 bps
d.Transmission Format RS232C =7 bits,none,1 bit
RS485 =8 bits,even,1 bit
e.Mode RS232C=stop mode
RS485 =running mode

472 ADP User’s Manual

http://www.HmiVietNam.com ToucScreen Weintek, Hitech, Proface, Mitsubishi...


HMI Weintek Viet Nam Mr Hau: 0973.3871.083
9. Communication with PLC and PWS

9.40. Simatic S5
1. The data format and range of the PLC registers which the ADP can accress :
Word Device and Bit Device.

Register Type Format Range of the Register Data Size


Input Image IBnnn nnn=0-127 Byte Max. 30
Output Image QBnnn nnn=0-127 Byte Max. 30
Extended I/O OBnnn nnn=0-8191 Byte Max. 30
Flag 位元s FBnnn nnn=0-8191 Byte Max. 30
Peripheral I/O PBnnn nnn=0-8191 Byte Max. 30
System Data Area RSnnn nnn=0-255 Word Max. 30
System Data Area RInnn nnn=0-255 Word Max. 30
System Data Area RJnnn nnn=0-255 Word Max. 30
System Data Area RTnnn nnn=0-255 Word Max. 30
Timer Current Tnnn nnn=0-255 Word Max. 30
Counter Current Cnnn nnn=0-255 Word Max. 30
Data Block DBmmm/nnn mmm=0-255; mmm is Block number Max. 30
DBnnn nnn=0-65535; nnn is the numbers
which defines block. If the mmm not set
the numbers, the numbers of mmm is 3=
DB3/nnn
Data Block DWmmm/nnn mmm=0-255; mmm is Block number Max. 30
DWnnn nnn=0-32767; nnn is the numbers
which defines block. If the mmm not set
the numbers, the numbers of mmm is 3=
DW3/nnn
** The HMI can read up to 30Words in one read command.

Relay Type Format Range of the Relay Block


Input Image IBnnn.b nnn=0-127; b=0-7 b=0 e.g. IB30.0
Output Image QBnnn.b nnn=0-127; b=0-7 b=0 e.g. QB2.0
Extended I/O OBnnn.b nnn=0-255; b=0-7 b=0 e.g. OB0.0
Flag 位元s FBnnn.b nnn=0-255; b=0-7 b=0 e.g. FB23.0
Peripheral I/O PBnnn.b nnn=0-255; b=0-7 b=0 e.g. PB23.0

2. The illustration of connection: You must useRS-232/Current-loop convert cable.

PWS-30XX(OLD MODEL) provides 20mA current-loop to connect.PWS-12xx, PWS-


17xx,PWS700, PWS-31xx and PWS-37Xx do not provide 20mA current-loop.

ADP User’s Manual 473

http://www.HmiVietNam.com ToucScreen Weintek, Hitech, Proface, Mitsubishi...


HMI Weintek Viet Nam Mr Hau: 0973.3871.083
9. Communication with PLC and PWS

3. Communication Format: Before connection, please set up the communication


parameters and the dip-switch as below:

Format PLC Setting PWS Setting


a.Communication Format 20mA CURRENT LOOP PWS-30xx/PWS-21xx
RS-232/Current-loop COM1 or COM2=>RS232
converter
b.Station No. None
c.Transmission Speed 9600 bps PLC. MODE CODE
0: 90U 1: 95U
2:100U 3:102U 4:103U
5:115U 6:135U/921
7:135U/922 8:135U/928
d.Transmission Format 8-bits, EVEN ,1-bit
e.PLC Mode Code PLC’s Data Block
n=3~255 must OPEN
f. Command Delay PWS Command Delay

474 ADP User’s Manual

http://www.HmiVietNam.com ToucScreen Weintek, Hitech, Proface, Mitsubishi...


HMI Weintek Viet Nam Mr Hau: 0973.3871.083
9. Communication with PLC and PWS

9.41. Simatic S5 3964R


1. The data format and range of the PLC registers which the ADP can accress :
Word Device and Bit Device.

Register Format Range with the Register Data Size


Type
Register nnn nnn=0-255, Word(16 Bits)
data block: set 3
Register mmm/nnn mmm=0-255, nnn=0-255 Word(16 Bits)

Register Format Range with the Relay Block


Type
Relay nnn.b nnn=0-255, b=0-f, b must be 0
data block: set 3
Relay mmm/nnn.b mmm=0-255, nnn=0-255, b=0-f b must be 0

2. The illustration of the connection:

a . PWS-s eries to PLC


PWS-series to PLC RS232 PORT

3. Communication Format: Before connection, please set up the communication


parameters and the dip-switch as below:

Format PLC Setting PWS Setting


a.Communication Format RS232 COM1 or COM2=RS232
b.Station No. None
c.Transmission Speed 9600 bps
d.Transmission Format 8-Bits, EVEN, 1-Bit

ADP User’s Manual 475

http://www.HmiVietNam.com ToucScreen Weintek, Hitech, Proface, Mitsubishi...


HMI Weintek Viet Nam Mr Hau: 0973.3871.083
9. Communication with PLC and PWS

9.42. Simatic S7-200 PPI


1. The data format and range of the PLC registers which the ADP can accress :
Word Device and Bit Device.

Register Type Format Range with the Data Size


Register
Input Image IWn n=0-14 Word
Input Image IDn n=0-12 Double Word
Output Image QWn n=0-14 Word
Output Image QDn n=0-12 Double Word
Internal Bits MWnn nn=0-99 Word
Internal Bits MDnn nn=0-97 Double Word
Timer Tnnn nnn=0-255 Word
Counter Cnnn nnn=0-255 Word
Special S SWnn nn=0-99 Word
Special S SDnn nn=0-97 Double Word
Special Bits SMWnnn nnn=0-27 Word* read only
Special Bits SMWnnn nnn=28-199 Word
Special Bits SMDnnn nnn=0-197 Double Word
Analog input word AIWnn nn=0-30 Word* read only
Analogoutputword AQWnn nn=0-30 Word* read only
Data Area VWnnnn nnnn=0-9998 Word
Data Area VDnnnn nnnn=0-9996 Double Word
Data Area DBWnnnn nnnn=0-9998 Word
**AQW; SW;SD can’t used in CPU212,214

Relay Type Format Range with the Block


Relay
Input Image In.b n=0-15; b=0-7 b=0 e.g. I3.0
Output Image Qn.b n=0-15; b=0-7 b=0 e.g. Q2.0
Internal Bit Mnn.b nn=0-100;b=0-7 b=0 e.g. M0.0
Timer Bit Tnnn nnn=0-255 b=0 e.g.T0 *read only
Counter Bit Cnnn nnn=0-255 b=0 e.g.C0 *read only
Special Bit SMnnn.b nnn=0-200 ;b=0-7 b=0 e.g. SM23.0
Data Area Bit Vnnnn.b nnnn=0-999 ;b=0-7 b=0 e.g. V2323.0
Special M Snn.b nn=0-100; b=0-7 b=0 e.g. S25.0

2. The illustration of the connection:PWS-series to PLC PROGRAM PORT of


(RS485 mode).

476 ADP User’s Manual

http://www.HmiVietNam.com ToucScreen Weintek, Hitech, Proface, Mitsubishi...


HMI Weintek Viet Nam Mr Hau: 0973.3871.083
9. Communication with PLC and PWS

3. Communication Format: Before connection, please set up the communication


parameters and the dip-switch as below:

Format PLC Setting PWS Setting


a.Communication Format RS485 COM2=RS232/422/485
b.Station No. 02(02-27) 1. RS485: Sets SW10=ON
c.Transmission Speed 9600 /19200bps
d.Transmission Format 8-Bits, EVEN, 1-Bit
e.Command Delay PWS Command Delay
**The communication mode of Simatic S7-200 Network is Token Ring structure and can
exists in several majors. Under on-line,PC can download,upload to PLC.

ADP User’s Manual 477

http://www.HmiVietNam.com ToucScreen Weintek, Hitech, Proface, Mitsubishi...


HMI Weintek Viet Nam Mr Hau: 0973.3871.083
9. Communication with PLC and PWS

9.43. Simatic S7-300 CP340


1. The data format and range of the PLC registers which the ADP can accress :
Word Device and Bit Device.

Register Type Format Range with the Register Data Size


DBmmm.DBWnnnn mmm=1-255 DBmmm.DBWnnnn is the address Word
nnnn=0-8190 of a word locates at byte #nnnn
and the byte following #nnnn of
data block #3
DBmmm.DBDnnnn mmm=1-255 DBmmm.DBDnnnn is the address Double
nnnn=0-8188 of a double-word locates at byte Word
#nnnn and the three bytes
following #nnnn of data block
#mmm
** The HMI can read up to 32Words in one read command.

Relay Type Format Range with the Relay Block


DBmmm.DBXnnnn. mmm=1-255 DBmmm.DBXnnnn.b is the b=0
b nnnn=0-8191 address of Bit #b of the word
b=0-7 locates at byte #nnnn of data block
#mmm

2. The illustration of the connection: a. PWS-series to PLC CP340 RS232C PORT

3. Communication Format: Before connection, please set up the communication


parameters and the dip-switch as below:

Format PLC Setting PWS Setting


a.Communication RS232=CP340 COM2=RS232/RS422/RS485
Format
478 ADP User’s Manual

http://www.HmiVietNam.com ToucScreen Weintek, Hitech, Proface, Mitsubishi...


HMI Weintek Viet Nam Mr Hau: 0973.3871.083
9. Communication with PLC and PWS

RS422=CP340 1. RS422: Set SW10=OFF


RS485=CP340 2. RS485: Set SW10=ON
b.Station No. None 1. Set SW5=OFF if parameters
are
c.Transmission 9600 /19200bps set in ADP
Speed
d.Transmission 8-Bits, EVEN, 1-Bit 2. Set SW5=ON if parameters
Format are
e.FUNCTION BLOCK FB40,FB2,FB3,DB2,DB3 for set in the HMI
CP

ADP User’s Manual 479

http://www.HmiVietNam.com ToucScreen Weintek, Hitech, Proface, Mitsubishi...


HMI Weintek Viet Nam Mr Hau: 0973.3871.083
9. Communication with PLC and PWS

9.44. Simatic S7-300 (via MPI port)


1. The data format and range of the PLC registers which the ADP can accress :
Word Device and Bit Device.

Register Format Range with the Device Data Size


Type Register Type /Aux. R/W
Address
Input Image IWnnnnn nnnnn=0-65534 0 0 Word 9
Input Image IDnnnnn nnnnn=0-65532 1 0 9
DWord
Output Image QWnnnnn nnnnn=0-65534 2 0 Word 9
Output Image QDnnnnn nnnnn=0-65532 3 0 9
DWord
Bits MWnnn nnnnn=0-254 4 0 Word 9
Bits MDnnn nnnnn=0-252 5 0 9
DWord
Data Area VWnnnnn nnnnn=0-65534 6 0 Word 9
(DB10)
Data Area VDnnnnn nnnnn=0-65532 7 0 9
(DB10) DWord
Data Area DBWnnnnn nnnnn=0-65534; the 6 0 Word 9
(DB10) Byte nnnnn & nnnnn+1
make DBWnnnnn
Data Area DBDnnnnn nnnnn=0-65532; a 7 0 9
(DB10) double word address, DWord
the DBWnnnn &
DBWnnnn+1 make
DBDnnnn
Data Area DBmmm.DB mmm=1-255 8 0 Word 9
Wnnnnn nnnnn=0-65534
Data Area DBmmm.DB mmm=1-255 9 0 9
Dnnnnn nnnnn=0-65532 DWord

Timer Tnnnnn nnnnn=0-65534 10 0 Word 9


Counter Cnnnnn nnnnn=0-65534 11 0 Word 9
**Timer, Counter are read-only.

Relay Type Foramt Range with the Device Type BlockR/W


Relay /Aux.Address
Input Image Innnnn.b nnnnn=0-65535; 0xC0 0-7 Bit 9
b=0-7
Output Image Qnnnnn.b nnnnn=0-65535; 0xC1 0-7 Bit 9
b=0-7
Bit Mnnn.b nnn=0-255; b=0-7 0xC2 0-7 Bit 9

480 ADP User’s Manual

http://www.HmiVietNam.com ToucScreen Weintek, Hitech, Proface, Mitsubishi...


HMI Weintek Viet Nam Mr Hau: 0973.3871.083
9. Communication with PLC and PWS

Relay Type Foramt Range with the Device Type BlockR/W


Relay /Aux.Address
Data Area Bit Vnnnnn.b nnnn=0-65535; b=0- 0xC3 0-7 Bit 9
(=DB10) 7
Data Area Bit DBXnnnn.b nnnnn=0-65535; 0xC4 0-7 Bit 9
(=DB10) b=0-7
DB10.DBXnnnnn.b is a bit address,
It is in #b bit of #nnnnn word with
DB10
Data Area Bit DBmm.DBX mm=1-31 0xC5 0-7 Bit 9
nnnn.b nnnnn=0-65535;
b=0-7

2. The illustration of the connection:

PWS-series to PLC MPI port (RS 485)

3. Communication Format: Before connection, please set up the communication


parameters and the dip-switch as below:

Format PLC Setting PWS Setting


a.Communication Format RS485 COM1 or COM2=RS485
b.Station No. 2
c.Transmission Speed 19200 bps
d.Transmission Format 8-Bits, EVEN, 1-Bis

**Notes :

1. Cable is the same as Siemens S7 200 .

2. The HMI and PLC station are between 0 and 15. The HMI station is less than the
PLC station.

3. When use the Macro, the SIZE of block move is limited within 10 words.

4. Because of the token ring protocol, there is no error message when remove the
cable.

ADP User’s Manual 481

http://www.HmiVietNam.com ToucScreen Weintek, Hitech, Proface, Mitsubishi...


HMI Weintek Viet Nam Mr Hau: 0973.3871.083
9. Communication with PLC and PWS

9.45. Simatic S7-300 MPI-Cable


1. The data format and range of the PLC registers which the ADP can accress :
Word Device and Bit Device.

Register Format Range with the Device Data Size


Type Register Type /Aux. R/W
Address
Input Image IWnnnnn nnnnn=0-65534 0 0 Word 9
Input Image IDnnnnn nnnnn=0-65532 1 0 9
DWord
Output Image QWnnnnn nnnnn=0-65534 2 0 Word 9
Output Image QDnnnnn nnnnn=0-65532 3 0 9
DWord
Bits MWnnn nnnnn=0-65534 4 0 Word 9
Bits MDnnn nnnnn=0-65532 5 0 9
DWord
Data Area VWnnnnn nnnnn=0-65534 6 0 Word 9
(DB10)
Data Area VDnnnnn nnnnn=0-65532 7 0 9
(DB10) DWord
Data Area DBWnnnnn nnnnn=0-65534; the 6 0 Word 9
(DB10) Byte nnnnn & nnnnn+1
make DBWnnnnn
Data Area DBDnnnnn nnnnn=0-65532; a 7 0 9
(DB10) double word address, DWord
the DBWnnnn &
DBWnnnn+1 make
DBDnnnn
Data Area DBmmm.DB mmm=2-205 8 0 Word 9
Wnnnnn nnnnn=0-65534
Data Area DBmmm.DB mmm=2-205 9 0 9
Dnnnnn nnnnn=0-65532 DWord

Relay Type Format Range with the Device Type Block


Register /Aux. Address R/W
Input Image Innnnn.b nnnnn=0-65535; 0xC0 0-7 Bit 9
b=0-7
Output Image Qnnnnn.b nnnnn=0-65535; 0xC1 0-7 Bit 9
b=0-7
Bit Mnnn.b nnn=0-65535; b=0-7 0xC2 0-7 Bit 9
Data Area Bit Vnnnnn.b nnnn=0-65535; b=0- 0xC3 0-7 Bit 9
(=DB10) 7
Data Area Bit DBXnnnn.b nnnnn=0-65535; 0xC4 0-7 Bit 9
(=DB10) b=0-7

482 ADP User’s Manual

http://www.HmiVietNam.com ToucScreen Weintek, Hitech, Proface, Mitsubishi...


HMI Weintek Viet Nam Mr Hau: 0973.3871.083
9. Communication with PLC and PWS

DB10.DBXnnnnn.b is a bit address,


It is in #b bit of #nnnnn word with
DB10
Data Area Bit DBmm.DBX mm=2-26 0xC5 0-7 Bit 9
nnnn.b nnnnn=0-65535;
b=0-7

2. The illustration of the connection:

a. PWS-series to PLC MPI CABLE RS232C PORT MPI 6ES7-972-0CA21-


0XA0

b. PW S-series to PLC MPI CAB LE RS232C PORT HMI 6ES7-972-


0CA10-0X A0

c. Example of the connections between PWS & S7-300/400 CPU MPI port:

ADP User’s Manual 483

http://www.HmiVietNam.com ToucScreen Weintek, Hitech, Proface, Mitsubishi...


HMI Weintek Viet Nam Mr Hau: 0973.3871.083
9. Communication with PLC and PWS

3. Communication Format: Before connection, please set up the communication


parameters and the dip-switch as below:

Format PLC Setting PWS Setting


a.Communication MPI CABLE RS232 COM1 or COM2=RS232
Format
b.Station No. 02 1. Set PLC Station = 02 in ADP
c.Tansmission Speed 19200/38400 bps 1. Set SW5 =OFF if parameters are set
in
d.Tranmission Format 8-Bits, ODD, 1-Bit ADP
e. Command Delay 2. Set SW5=ON if parameters are set in
the
f. DATA BLOCK DB10 for S7-300-CPU HMI
Set PWS Command Delay

484 ADP User’s Manual

http://www.HmiVietNam.com ToucScreen Weintek, Hitech, Proface, Mitsubishi...


HMI Weintek Viet Nam Mr Hau: 0973.3871.083
9. Communication with PLC and PWS

9.46. Simatic S7-300 HMI-Cable


1. The data format and range of the PLC registers which the ADP can accress :
Word Device and Bit Device.

Register Type Format Range with the Register Data Size


Input Image IWnnnnn nnnnn=0-65534 length=2-523 Word
Input Image IDnnnnn nnnnn=0-65532 length=2-523 Double Word
Output Image QWnnnnn nnnnn=0-65534 length=2-523 Word
Output Image QDnnnnn nnnnn=0-65532 length=2-523 Double Word
Bits MWnnn nnnnn=0-65534 length=2-78 Word
Bits MDnnn nnnnn=0-65532 length=2-78 Double Word
Timer Image Tnnnnn.10ms nnnnn=0-65534 length=2-523 Word
Timer Image Tnnnnn.100m nnnnn=0-65534 length=2-523 Word
s
Timer Image Tnnnnn.1s nnnnn=0-65534 length=2-523 Word
Timer Image Tnnnnn.10s nnnnn=0-65534 length=2-523 Word
Counter Image Cnnnnn nnnnn=0-65534 length=2-523 Word
DBmmm.DBWnnnn mmm=2-205 nnnn=0-65534; DBWnnnn is a Word
n nnnn=0-65534 word address, the Byte nnnn &
nnnn+1 make DBWnnnn
DBmmm.DBDnnnn mmm=2-205 nnnnn=0-65532;DBDnnnn is a Double Word
n nnnn=0-65532 double word address, the
DBWnnnn & DBWnnnn+1 make
DBDnnnn
Data Area (DB10) DBWnnnnn nnnnn=0-65534; DBWnnnnn is a Word
word address, the Byte nnnnn &
nnnnn+1 make DBWnnnnn
Data Area (DB10) DBDnnnnn nnnnn=0-65532; DBDnnnnn is a Double Word
double word address, the
DBWnnnn & DBWnnnn+1 make
DBDnnnn
Data Area (DB10) VWnnnnn nnnnn=0-65534; VWnnnnn is a Word
word address, the Byte nnnnn &
nnnnn+1 make DBWnnnnn
Data Area (DB10) VDnnnnnn nnnnn=0-65532; VDnnnnn is a Double Word
double word address, the
DBWnnnn & DBWnnnn+1 make
DBDnnnn

Relay Type Format Range with the Block


Relay
Input Image Innnnn.b nnnnn=0-65535; b=0- b=0 e.g. I3.0
7
Output Image Qnnnnn.b nnnnn=0-65535; b=0- b=0 e.g. Q2.0

ADP User’s Manual 485

http://www.HmiVietNam.com ToucScreen Weintek, Hitech, Proface, Mitsubishi...


HMI Weintek Viet Nam Mr Hau: 0973.3871.083
9. Communication with PLC and PWS

Relay Type Format Range with the Block


Relay
7
Bit Mnnnnn.b nnnnn=0-65535; b=0- b=0 e.g. M0.0
7
Data Area Bit DBmm.DBXnnnnn. mmm=2-26 b=0 e.g. DB22.DBX20.0
b nnnnn=0-65535 ;b=0-
7
Data Area Bit DBXnnnnn.b nnnnn=0-65535 ;b=0- b=0 e.g. DBX23.0
(=DB10) 7 DBX23.0=DB10.DBX23.
0
Data Area Bit Vnnnnn.b nnnnn=0-65535; b=0- b=0 e.g. V23.0
7
(=DB10) DB10.DBXnnnnn.b is a Bit address, It is in V23.0=DB10.DBX23.0
#b Bit of #nnnnn word with DB10

2. The illustration of the connection: PWS and HMI 6ES7-972-0CA10-0XA0 RS232.

3. Communication Format: Before connection, please set up the communication


parameters and the dip-switch as below:

Format PLC Setting PWS Setting


a.Communication Format HMI CABLE RS232 COM2=RS232
b.Node Address 02
c.Transmission Speed 9600/19200/38400 bps
d.Transmission Format 8-Bits, ODD, 1-Bit Set PWS Command Delay
e. OPEN DATA BLOCK DB block for S7-300-CPU

486 ADP User’s Manual

http://www.HmiVietNam.com ToucScreen Weintek, Hitech, Proface, Mitsubishi...


HMI Weintek Viet Nam Mr Hau: 0973.3871.083
9. Communication with PLC and PWS

9.47. Taian TP01


1. The data format and range of the PLC registers which the ADP can accress :
Word Device and Bit Device.

Register Type Format Range with the Data Size


Register
Input Register WXnn nn=1-24 Word(16 Bits)
Output Register WYnn nn=1-27 Word(16 Bits)
Special Register WSnn nn=1-40 Word(16 Bits)
Constant Register WCnnn nnn=1-512 Word(16 Bits)
Data Register Vnnnn nnnn=1-1024 Word(16 Bits)

Relay Type Format Range with the Block


Relay
Input Relay Xnnn nnn=1-384 Must be multiple of16 +1
Output Relay Ynnn nnn=1-384 Must be multiple of 16+1
Auxiliary Relay Cnnnn nnnn=1-1024 Must be multiple of 16+1

2. The illustration of the connection:

a. PWS-series to PLC
PWS-series to PLC RS232 PORT

3. Communication Format: Before connection, please set up the communication


parameters and the dip-switch as below:

Format PLC Setting PWS Setting


a.Communication Format RS232 COM1 or COM2=RS232
b.Station No. 0
c.Transmission Speed 9600 bps
d.Transmission Format 8-Bits, ODD, 1-Bit

ADP User’s Manual 487

http://www.HmiVietNam.com ToucScreen Weintek, Hitech, Proface, Mitsubishi...


HMI Weintek Viet Nam Mr Hau: 0973.3871.083
9. Communication with PLC and PWS

9.48. TAIAN TP02


1. The data format and range of the PLC registers which the ADP can accress :
Word Device and Bit Device.

Register Type Format Range with the Register Data Size


Input Xnnn nnn=1-369(must be 1 or multiple of Word
16+1)
Output Ynnn nnn=1-369(must be 1 or multiple of Word
16+1)
Auxiliary Register Vnnnn nnnn=1-1024 Word
Auxiliary Register Dnnnn nnnn=1-1024 Word
System Register WSnnn nnn=1-128 Word
Auxiliary Relay Cnnnn nnnn=1-2048(must be 1 or multiple Word
Register of 16+1)
Constant Register WCnnn nnn=1-912 Word

Relay Type Format Range with the Relay


Input Xnnn nnn=1-384
Output Ynnn nnn=1-384
Auxiliary Relay Cnnnn nnnn=1-2048
Special Relay SCnnn nnn=1-128

2. The illustration of the connection:

a. PWS-s eries to PLC RS422 PORT of TP02 b.PWS-series to PLC RS485


PORT of TP02

3. Communication Format: Before connection, please set up the communication


parameters and the dip-switch as below:

Format PLC Setting PWS Setting


a.Communication Format RS422/485
b.Station No. 01 1. PLC Station =01
c.Transmission Speed 19200 bps
d.Transmission Format 7-Bits, EVEN , 2-Bits
[Note] : The above-mentioned “PLC Setting” is ADP default, please refer to PLC manul.
To set up WS041,WS042,WS044,WS045.
WS041---SET RS422 BAUD RATE,DATA bit,PARRITY,STOP bit
488 ADP User’s Manual

http://www.HmiVietNam.com ToucScreen Weintek, Hitech, Proface, Mitsubishi...


HMI Weintek Viet Nam Mr Hau: 0973.3871.083
9. Communication with PLC and PWS

WS042---SET RS422 STATION NUMBER


WS044---SET RS485 BAUD RATE,DATA bit,PARRITY,STOP bit
WS045---SET RS485 STATION NUMBER
If TP02 PLC RS422 Port station no.=01→ WS042 sets 01(decimal), transmission speed
(19200 bps) and tansmission format (7bits,EVEN,2 bits) → WS041 sets 0120(decimal).

ADP User’s Manual 489

http://www.HmiVietNam.com ToucScreen Weintek, Hitech, Proface, Mitsubishi...


HMI Weintek Viet Nam Mr Hau: 0973.3871.083
9. Communication with PLC and PWS

9.49. TAIAN N2
1. The data format and range of the PLC registers which the ADP can accress :
Word Device and Bit Device.

Register Type Format Range with the Data Size


Register
Function Fnnn nnn = 0-125 Word(16 Bits)

2. The illustration of the connection:

a. PWS-series to N 2 (R S232)
Must use TAIAN’s “FA-RS-232-N2” cable

b. PWS-serie s to N2 (R S485 )
Must use TAIAN’s “FA-RS-485-KN” canble ,and the connection as below.

3. Communication Format: Before connection, please set up the communication


parameters and the dip-switch as below:

Format PLC Setting PWS Setting


a.Communication RS232C
Format
RS485
b.Station No. RS232C=1
RS485=1
c.Transmission Speed RS232C=9600 bps
d.Transmission Format RS232C =7 Bits,odd,1 Bits

4. Notes:

1. Must use unsigned binary object.


2. Even though the F125 can be choosed but it can't be used. (Display 33333)
3. F0, F21, F42, F63, F84, F105 are quick read/write start position.
(BLOCK SIZE are 21, 21, 21, 21, 21, 23.)
4. “ 33333 ” represents the Function is reserve.
5. In Function table and the Format, the Function value with “*” can not be changed.
6. If edit a double word object, its value is composed of nearby two functions.(Don’t use)

490 ADP User’s Manual

http://www.HmiVietNam.com ToucScreen Weintek, Hitech, Proface, Mitsubishi...


HMI Weintek Viet Nam Mr Hau: 0973.3871.083
9. Communication with PLC and PWS

7. Please adjust the value of PWS : Command Delay (block read displays 0020 error
message)
8. Object's integer,decimal,digit must correspond with practical c onditionObject,integer,decimal,digit
must correspond with reality(unsigned binary object)(refer to the user manual)

ADP User’s Manual 491

http://www.HmiVietNam.com ToucScreen Weintek, Hitech, Proface, Mitsubishi...


HMI Weintek Viet Nam Mr Hau: 0973.3871.083
9. Communication with PLC and PWS

9.50. Telemecanique TSX MICRO


1. The data format and range of the PLC registers which the ADP can accress :
Word Device and Bit Device.

Register Type Format Range with the Register Data Size


Internal Word Wnnnn nnnn=0-9999 Word
** The HMI can read up to 60Words in one read command. PLC Denotation:
%MWnnnn.

Relay Type Format Range with the Relay Block


Bit of Internal Word Wnnnn:bb nnnn=0-9999; bb=0-15 bb=00 e.g.
W0:0

Note: The writing unit for single point bit is 16 bits.

Note: When HMI changes a relay’s state, the HMI must read 1 word (16 bits). After
change the corresponging bit , then the HMI will write the word in PLC. These actions
will take more than one PLC scan. PLC ladder cannot control other bit(Word) before the
HMI compeleted “Change the Relay”;otherwise, these bit(word) will retrun to initial
value. In other words, the control action of PLC will be resumed.

For example: When the HMI changes W1234:7,the HMI must read the word from
W1234:0 toW1234:15. After cahne the bit7, then the HMI will write the word in PLC. If
the HMI does not write in PLC, PLC ladder has changed W1234:0-W1234:6 or
W1234:8-W1234-15. The HMI’s write action will cause the control action of PLC
resumed.

The illustration of the connection:


Ex:
a. COM Port to the RS-232 Port

b. COM Port to TER Port RS 485

492 ADP User’s Manual

http://www.HmiVietNam.com ToucScreen Weintek, Hitech, Proface, Mitsubishi...


HMI Weintek Viet Nam Mr Hau: 0973.3871.083
9. Communication with PLC and PWS

2. Communication Format: Before connection, please set up the communication


parameters and the dip-switch as below:

Format PLC Setting PWS Setting


a.Communication Format RS232/ RS485 COM2=RS232/422/485
b.Station No. 0—8; MASTER 1. RS485:Set SW10=ON
c.Transmission Speed 9600bps/19200bps 1. Set PWS Station:1—8
d.Transmission Format 8-Bits,ODD,1-Bit SLAVE in ADP

ADP User’s Manual 493

http://www.HmiVietNam.com ToucScreen Weintek, Hitech, Proface, Mitsubishi...


HMI Weintek Viet Nam Mr Hau: 0973.3871.083
9. Communication with PLC and PWS

9.51. Toshiba M20/M40


1. The data format and range of the PLC registers which the ADP can accress :
Word Device and Bit Device.

Register Type Format Range with the Data Size


Register
Input Relay Register XWnn nn=0-63 Word
Output Relay Register YWnn nn=0-63 Word
Internal Relay Register RWnn nn=0-63 Word
Link Register ZWnn nn=0-31 Word
Timer Register Tnnn nnn=0-127 Word
Counter Register Cnn nn=0-95 Word
Data Register Dnnnn nnnn=0-1535 Word
** The HMI can read up to 32Words in one read command.

Relay Type Format Range with the Block


Relay
Input Relay Xnnb nn=0-31;b=0-f b=0 e.g. X10
Output Relay Ynnb nn=0-31;b=0-f b=0 e.g. Y00
Internal Relay Rnnb nn=0-63;b=0-f b=0 e.g. R100
Link Relay Znnb nn=0-31;b=0-f b=0 e.g. Z310

2. The illustration of the connection: PWS-series to PLC RS422 Computer Link


PORT

494 ADP User’s Manual

http://www.HmiVietNam.com ToucScreen Weintek, Hitech, Proface, Mitsubishi...


HMI Weintek Viet Nam Mr Hau: 0973.3871.083
9. Communication with PLC and PWS

3. Communication Format: Before connection, please set up the communication


parameters and the dip-switch as below:

Format PLC Setting PWS Setting


a.Communication Format RS422 COM2=RS232/422/485
Programmer/computer link Computer link can be used 1. RS422: Set SW10=OFF
2. RS485: Set SW10=ON
b.Station No. 0
c.Transmission Speed 9600bps
d.Transmission Format (8,E,1);(8,O,1); (8,N,1)

ADP User’s Manual 495

http://www.HmiVietNam.com ToucScreen Weintek, Hitech, Proface, Mitsubishi...


HMI Weintek Viet Nam Mr Hau: 0973.3871.083
9. Communication with PLC and PWS

9.52. Toshiba T1/T2


1. The data format and range of the PLC registers which the ADP can accress :
Word Device and Bit Device.

Register Type Format Range with the Data Size


Register
External input register XWnn nn=0-63 Word
Output relay register YWnn nn=0-63 Word
Direct input register IWnn nn=0-63 Word
Direct output register OWnn nn=0-63 Word
Auxiliary relay register RWnnn nnn=0-127 Word
Special register SWnnn nnn=0-255 Word
Timer register Tnnn nnn=0-255 Word
Counter register Cnnn nnn=0-255 Word
Data register Dnnnn nnnn=0-4095 Word
Link register Wnnnn nnnn=0-1023 Word
Link relay register LWnnn nnn=0-255 Word
File register Fnnnn nnnn=0-1023 Word
** The HMI can read up to 32Words in one read command.

Relay Type Format Range with the Relay Block


External input device Xnnb nn=0-63; b= hex number 0-f b=0 e.g. X10
External output device Ynnb nn=0-63; b= 0-f b=0 e.g. Y00
Direct input device Innb nn=0-63; b= 0-f b=0
Direct output device Onnb nn=0-63; b= 0-f b=0
Auxiliary relay device Rnnnb nnn=0-127; b= 0-f b=0 e.g. R100
Special device Snnnb nnn=0-255; b= 0-f b=0 e.g. S230
Timer device T.nnn nnn=0-255
Counter device C.nnn nnn=0-255
Link device Znnnb nnn=0-511; b= 0-f b=0 e.g. Z30
Link relay Lnnnb nnn=0-255; b= 0-f b=0 e.g. L2550

2. The illustration of the connection:PWS COM Port to T1 CPU Serial Port

496 ADP User’s Manual

http://www.HmiVietNam.com ToucScreen Weintek, Hitech, Proface, Mitsubishi...


HMI Weintek Viet Nam Mr Hau: 0973.3871.083
9. Communication with PLC and PWS

3. Communication Format: Before connection, please set up the communication


parameters and the dip-switch as below:

Format PLC Setting PWS Setting


a.Communication RS232 COM1/COM2=RS232
Format
b.Station No. 0 ==T1 1. Set PLC station 00 in ADP
c.Transmission Speed 9600bps 1. Set SW5=OFF if parameters are
d.Tranmission Format 8-Bits,ODD,1-Bit set in ADP
2. Set SW5=ON if parameters are
set in ADP

ADP User’s Manual 497

http://www.HmiVietNam.com ToucScreen Weintek, Hitech, Proface, Mitsubishi...


HMI Weintek Viet Nam Mr Hau: 0973.3871.083
9. Communication with PLC and PWS

9.53. Unidriver UD70


1. The data format and range of the PLC registers which the ADP can accress :
Word Device and Bit Device

Register Type Format Range with the Register Data Size


Data Register #70.00~#70.99 W 0 ~ W 198 Word(32
Bits)
#71.00~#71.99 W 200 ~ W 398 Word(32
Bits)
#72.00~#72.99 W 400 ~ W 598 Word(32
Bits)
#73.00~#73.99 W 600 ~ W 798 Word(32
Bits)
#18.01~#18.30 W 800 ~ W 858 Word(32
Bits)
#19.01~#19.30 W 860 ~ W 918 Word(32
Bits)
#20.01~#20.50 W 920 ~ W1018 Word(32
Bits)
#91.01~#91.10 W1020 ~ W1029 Word(16
Bits)

Relay Type Fotrmat Range with the Relay Block


Bit Relay #18.31~#18.50 B0 ~ B19
#19.31~#19.50 B20 ~ B39

2. The illustration of the connection:

a. PWS-series to PLC RS232 PORT

3. Communication Format: Before connection, please set up the communication


parameters and the dip-switch as below:

Format PLC Setting PWS Setting


a.Communication Format RS485 RS485
b.Station No. Set the parameter of 1. Set PLC Station =11 in ADP
UD70 address#14.01 to
11

498 ADP User’s Manual

http://www.HmiVietNam.com ToucScreen Weintek, Hitech, Proface, Mitsubishi...


HMI Weintek Viet Nam Mr Hau: 0973.3871.083
9. Communication with PLC and PWS

c.Transmission Speed 9600 bps


d.Transmission Format 7-Bits, Even , 1-Bit
e.Mode Set the parameter of
UD70 address#14.02 to
06

ADP User’s Manual 499

http://www.HmiVietNam.com ToucScreen Weintek, Hitech, Proface, Mitsubishi...


HMI Weintek Viet Nam Mr Hau: 0973.3871.083
9. Communication with PLC and PWS

9.54. VIGOR M
1. The data format and range of the PLC registers which the ADP can accress :
Word Device and Bit Device.

Register Type Format Range with the Register Data Size


Input Relay Xnnn nnn=0-777,oct, 0 or multiple Byte
of 8
Output Relay Ynnn nnn=0-777,oct, 0 or multiple Byte
of 8
Auxiliary Relay Mnnnn nnnn=0-5119 0 or multiple of Byte
8
Step Relay Snnn nnn=0-999 0 or multiple of Byte
8
Special Relay Mnnnn Nnnn=9000-9255 0 or Byte
multiple of 8
Data Dnnnn nnn= 0-8191 Word(16 Bits)
Special Data Dnnnn nnnn= 9000-9255 Word(16 Bits)
Timer Register Tnnn nnn= 0-255 Word(16 Bits)
Counter Register Cnnn nnn= 0-199 Word(16 Bits)
Counter Register Cnnn nnn= 200-255 Word(32 Bits)

Relay Type Format Range with the Block


Relay
Input Relay Xnnn nnn= 0-777, Oct Must be 0 or multiple
of 8
Output Relay Ynnn nnn= 0-777, Oct Must be 0 or multiple
of 8
Auxiliary Relay Mnnnn nnnn=0-5119 Must be 0 or multiple
of 8
ST1 Status Snnn nnn= 0-999 Must be 0 or multiple
of 8
Special Relay Mnnnn nnnn=9000-9255 Must be 0 or multiple
of 8
Timer Relay Tnnn nnn= 0-255 Must be 0 or multiple
of 8
Counter Relay Cnnn nnnn=0-255 Must be 0 or multiple
of 8
Timer Coil TCnnn nnn= 0-255 Must be 0 or multiple
of 8
Counter Coil CCnnn nnn= 0-255 Must be 0 or multiple
of 8

2. The illustration of the connection:

500 ADP User’s Manual

http://www.HmiVietNam.com ToucScreen Weintek, Hitech, Proface, Mitsubishi...


HMI Weintek Viet Nam Mr Hau: 0973.3871.083
9. Communication with PLC and PWS

a. PWS-series to PLC RS422 PORT


Use a VIGOR with 4-pin male

3. Communication Format: Before connection, please set up the communication


parameters and the dip-switch as below:

Format PLC Setting PWS Setting


a.Communication Format RS232C,RS422
b.Station No. RS232C=0 RS232C=0
RS422=1 RS422=1
c.Transmission Speed 19200 bps
d.Transmission Format 7-Bits, EVEN , 1-Bit

ADP User’s Manual 501

http://www.HmiVietNam.com ToucScreen Weintek, Hitech, Proface, Mitsubishi...


HMI Weintek Viet Nam Mr Hau: 0973.3871.083
9. Communication with PLC and PWS

9.55. YOKOGAWA FA-M3


1. The data format and range of the PLC registers which the ADP can accress :
Word Device and Bit Device.

Register Foramt Range with the Register Data Size Example


Type
Input Relay Xnnnnn nnnnn= 201-65499(not Word(16 Bits) X00201
continue)
Output Relay Ynnnnn nnnnn= 201-65499(not Word(16 Bits) Y00201
continue)
Intern Relay Innnnn nnnnn= 1-16384 Word(16 Bits) I00001
Common Relay Ennnn nnnn= 1-4096 Word(16 Bits) E0001
Link Relay Lnnnnn nnnnn= 1-65499(not Word(16 Bits) L00001
continue)
Special Relay Mnnnn nnnn= 1-9984 Word(16 Bits) M0001
Preset Timer TPnnnn nnnn= 1-3072 Word(16 Bits) TP0001
Set Timer TSnnnn nnnn= 1-3072 Word(16 Bits) TS0001
Preset Counter CPnnnn nnnn= 1-3072 Word(16 Bits) CP0001
Set Counter CSnnnn nnnn= 1-3072 Word(16 Bits) CS0001
Data Register Dnnnn nnnn= 1-8192 Word(16 Bits) D0001
File Register Bnnnnn nnnnn= 1-32768 Word(16 Bits) B00001
Link Register Wnnnn nnnnn= 1-65499(not Word(16 Bits) W00001
continue)
Special Znnn nnn= 1-512 Word(16 Bits) Z001
Register
Index Register Vnn nn= 1-64 Word(16 Bits) V01
Common Rnnnn nnnn= 1-4096 Word(16 Bits) R0001
Register
[Note 1] The last two digits of X and Y addresses must be multiple of 16 +1.
I,E,L,M addresses must be multiple of 16 +1.
[Note 2] One communication is up to READ/WRITE 60 words.

Relay Type Foramt Range with the Relay Data Size


Iuput Relay Xnnnnn nnnnn= 201-65499(not Bit
continue)
Output Relay Ynnnnn nnnnn= 201-65499(not Bit
continue)
Intern RELAY Innnnn nnnn= 1-16384 Bit
Common RELAY Ennnn nnnn= 1-4096 Bit
Link RELAY Lnnnnn nnnn= 1-65499 Bit
Special RELAY Mnnnn nnnn= 1-9984 Bit
Timer TUnnnn nnnn= 1-3072 Bit

502 ADP User’s Manual

http://www.HmiVietNam.com ToucScreen Weintek, Hitech, Proface, Mitsubishi...


HMI Weintek Viet Nam Mr Hau: 0973.3871.083
9. Communication with PLC and PWS

Counter CUnnnn nnnn= 1-3072 Bit


[Note 1] The last two digits of X,Y,L addresses must be multiple of 16 +1.
I,E,M addresses must be multiple of 16 +1.

2. The illustration of the connection:

a. PWS-series to PLC RS232 PORT must use YOKOGAWA’s CABLE. See


below.

b. PWS-series to PLC RS485 communication mode

3. Communication Format: Before connection, please set up the communication


parameters and the dip-switch as below:

Format PLC Setting PWS Setting


a.Communication RS232C/ RS485
Format

b.Station No. RS232C=1 RS232C=1(based on cpu slot 1-4)


RS485=1 RS485 =1
c.Transmission Speed RS232C=9600 bps
d.Transmission Format 8 Bits,even,1 Bit
[Note1] PWS station no. must match YOKOGAWA PLC CPU slot no. If CPU plugs in
the 1st slot , the PWS station no. must set “1”.

ADP User’s Manual 503

http://www.HmiVietNam.com ToucScreen Weintek, Hitech, Proface, Mitsubishi...

You might also like