Vous êtes sur la page 1sur 108

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 PWSand PLCs communication parameters and dip-switch.

396 ADP Users Manual

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 Register
n=0-3 n=0-3 nn=0-65 nnn=0-254 nnn=0-254 nnn=0-254 nnn=0-254 nnn=0-254 nnn=0-254 nnn=0-254 nnn=0-254 nnn=0-254 nnn=0-254 nnn=0-254 nnn=0-254

Device Type / Aux. ddress


0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 0 0 2 3 4 4 4 5 5 5 6 6 6 7 8

Data Size R/W


Word Word Word Word Word Word Word Word Word Word Word Word Word Word Word

Output file Input file Status file Bit file Timer flag Timer Preset Value Timer Accumulator Value Counter flag Counter Preset Value Counter Accumulator Value Control file Control Size of Array Control Reserved file Integer file Floating point number

O:0.n I:1.n S2:nn B3:nnn T4:nnn T4:nnn.pre T4:nnn.acc C5:nnn C5:nnn.pre C5:nnn.ac c R6:nnn R6:nnn.len R6:nnn.po s N7:nnn F8:nnn

**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 Relay
n=0-3; bb=0-15 n=0-3; bb=0-15 nn=0-65; bb=0-15 nnn=0-254; bb=015

Device Type / Aux. ddress


0xC0 0xC1 0xC2 0xC3 0-15 0-15 0-15 0-15

Data Size R/W


Word Word Word Word

Output Input Status Bit

O:0.n/bb I:1.n/bb S2:nn/bb B3:nnn/bb

ADP Users Manual 397

9. Communication with PLC and PWS

Relay Type

Format

Range with the Relay


nnn=0-254; bb=015 nnn=0-254; bb=015 nnn=0-254; bb=015 nnn=0-254; bb=015 nnn=0-254; bb=015 nnn=0-254; bb=015 nnn=0-254; bb=015 nnn=0-254; bb=015 nnn=0-254; bb=015 nnn=0-254; bb=015

Device Type / Aux. ddress


0xC4 0xC5 0xC6 0-15 0-15 0-15

Data Size R/W


Word Word Word

Timer Timer Preset Value Timer Accumulator Value Counter flag Counter Preset Value Counter Accumulator Value Control Control Size of Bit Array Control Reserved Integer

T4:nnn/bb T4:nnn.pre/b b T4:nnn.acc/b b C5:nnn/bb C5:nnn.pre/b b C5:nnn.acc/ bb R6:nnn/bb R6:nnn.len/b b R6:nnn.pos/ bb N7:nnn/bb

0xC7 0xC8 0xC9

0-15 0-15 0-15

Word Word Word

0xCA 0xCB 0xCC 0xCD

0-15 0-15 0-15 0-15

Word Word Word Word

** 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 Users Manual

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
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 c. Transmission Speed d. Transmission Format 19200 bps 1Size8-bit 2ParityNONE 3Stop bit1-bit e. Com Port f. CRC ERROR Check FULL DUPLEX YES 1.Set PLC Station No. N in ADP 1. If Dip switch SW5=OFF, set it up in ADP. 2. If Dip switch SW5=ON, set it up in PWS.

a.Communication Format RS232C

ADP Users Manual 399

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
Output file Input file Status file Bit file

Format
O:nnn I:nnn S:nnn Bfff:nnn B:nnn Tfff:nnn T:nnn Tfff:nnn.PRE T:nnn.PRE Tfff:nnn.ACC T:nnn.ACC Cfff:nnn C:nnn Cfff:nnn.PRE C:nnn.PRE Cfff:nnn.ACC C:nnn.ACC Rfff:nnn R:nnn Rfff:nnn.LEN R:nnn.LEN Rfff:nnn.POS R:nnn.POS Nfff:nnn N:nnn

Range With the Register


nnn= 0-277 nnn= 0-277 nnn=0-127 fff= 3 or 9-999; default file is 3 if fff omitted; nnn=0999 fff= 4 or 9-999; default file is 4 if fff omitted; nnn=0999

Data Size
Word Word Word Word

Timer file

Word

Counter file

fff=5 or 9-999; default file is 5 if fff omitted; nnn=0999

Word

Control file

fff=6 or 9-999; default file is 6 if fff omitted; nnn=0999

Word

Integer file

fff=7 or 9-999; default file is 7 if fff omitted; nnn=0999

Word

** 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
Output file Input file Status file Bit file

Format
O:nnn/bb I:nnn/bb S:nnn/bb Bfff:nnn/bb

Range
nnn= 0-277; bb= 0-17 nnn= 0-277; bb= 0-17 nnn= 0-127; bb= 0-15 fff= 3 or 9-999; default file is 3 if fff omitted;

400 ADP Users Manual

9. Communication with PLC and PWS

Relay Typ
Timer file

Format
Tfff:nnn/bb Tfff:nnn.PRE/bb Tfff:nnn.ACC/bb Tfff:nnn/EN Tfff:nnn/TT Tfff:nnn/DN Cfff:nnn/bb Cfff:nnn.PRE/bb Cfff:nnn.ACC/bb Cfff:nnn/CC Cfff:nnn/CD Cfff:nnn/DN Cfff:nnn/OV Cfff:nnn/UN Cfff:nnn/UA Rfff:nnn/bb Rfff:nnn.LEN/bb Rfff:nnn.POS/bb Rfff:nnn/EN Rfff:nnn/EU Rfff:nnn/DN Rfff:nnn/EM Rfff:nnn/ER Rfff:nnn/UL Rfff:nnn/IN Rfff:nnn/FD Nfff:nnn/bb

Range
nnn=0-999; bb=0-15 fff= 4 or 9-999; default file is 4 if fff omitted; nnn=0-999; bb=0-15

Counter file

fff=5 or 9-999; default file is 5 if fff omitted; nnn=0-999; bb=0-15

Control file

fff=6 or 9-999; default file is 6 if fff omitted; nnn=0-999; bb=0-15

Integer file

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 Users Manual 401

9. Communication with PLC and PWS

4. Communication Format: Before connection, please set up the communication parameters and the dip-switch as below: Format
a.Communication Format

PLC Setting
RS232C PLC-5

PWS Setting
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 c. Transmission Speed d. Transmission Format

N 9600/19200 bps 1.Size 8-bit 2.Parity NONE 3.Stop bit 1-bit

1. Set PLC Station No. N in ADP

e. SLC-503/504 f. BCC ERROR Check

FULL DUPLEX YES

402 ADP Users Manual

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
Output file Input file Status file Bit file

Format
O:nn I:nn S:nn Bfff:nnn B:nnn Tfff:nnn T:nnn Tfff:nnn.PRE T:nnn.PRE Tfff:nnn.ACC T:nnn.ACC Cfff:nnn C:nnn Cfff:nnn.PRE C:nnn.PRE Cfff:nnn.ACC C:nnn.ACC Rfff:nnn R:nnn Rfff:nnn.LEN R:nnn.LEN Rfff:nnn.POS R:nnn.POS Nfff:nnn N:nnn

Range
nn= 0-30 nn= 0-30 nn=0-31 fff= 3 or 10-255; default file is 3 if fff omitted; nnn=0254 fff= 4 or 10-255; default file is 4 if fff omitted; nnn=0254

Data Size
Word Word Word Word

Timer file

Word

Counter file

fff=5 or 10-255; default file is 5 if fff omitted; nnn=0254

Word

Control file

fff=6 or 10-255; default file is 6 if fff omitted; nnn=0254

Word

Integer file

fff=7 or 10-255; default file is 7 if fff omitted; nnn=0254

Word

** 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
Output file Input file Status file

Format
O:nn/bb I:nn/bb S:nn/bb

Range
nn= 0-30; bb= 0-15 nn= 0-30; bb= 0-15 nn= 0-31; bb= 0-15

ADP Users Manual 403

9. Communication with PLC and PWS

Relay Type
Bit file

Format
Bfff:nnn/bb

Range
fff= 3 or 10-255; default file is 3 if fff omitted; nnn=0-254; bb=0-15 fff= 4 or 10-255; default file is 4 if fff omitted; nnn=0-254; bb=0-15

Timer file

Tfff:nnn/bb Tfff:nnn.PRE/bb Tfff:nnn.ACC/bb Tfff:nnn/EN Tfff:nnn/TT Tfff:nnn/DN Cfff:nnn/bb Cfff:nnn.PRE/bb Cfff:nnn.ACC/bb Cfff:nnn/CU Cfff:nnn/CD Cfff:nnn/DN Cfff:nnn/OV Cfff:nnn/UN Rfff:nnn/bb Rfff:nnn.LEN/bb Rfff:nnn.POS/bb Rfff:nnn/EN Rfff:nnn/DN Rfff:nnn/ER Rfff:nnn/UL Rfff:nnn/IN Rfff:nnn/FD Nfff:nnn/bb

Counter file

fff=5 or 10-255; default file is 5 if fff omitted; nnn=0-254; bb=0-15

Control file

fff=6 or 10-255; default file is 6 if fff omitted; nnn=0-254; bb=0-15

Integer file

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 Users Manual

9. Communication with PLC and PWS

4. Communication Format: Before connection, please set up the communication parameters and the dip-switch as below: Format
a.Communication Format

PLC Setting
RS232C SLC-503/504

PWS Setting
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 c.Transmission Speed d. Transmission Format

N 9600/19200 bps 1.Size8-bit 2.ParityNONE 3.Stop Bit1-bit

1. Set PLC Station No. N in ADP

e. SLC-503/504 f. BCC ERROR Check

FULL DUPLEX YES

ADP Users Manual 405

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
G type V type G type V type

Format
Gnn Vnn WGnn WVnn

Range with the Register


nn=1-64 nn=1-64 nn=1-64 nn=1-64

Data Size
Double Word(32 Bits) Double Word(32 Bits) Word(16 Bits) Word(16 Bits)

Relay Type
I type O type B type F type

Format
Inn Onn Bn Fnn

Range With the Relay


nn=1-48 nn=1-24 n=1-8 nn=1-64

Block

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
COM1 or COM2=RS232

a.Communication Format RS232 406 ADP Users Manual

9. Communication with PLC and PWS b.Station No c.Transmission Speed d. Transmission Format 0 9600 bps 8-bit, NONE, 1-bit

ADP Users Manual 407

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
Word IO Word Register

Format
MWnnnnn RWnnnn

Range with the Register


nnnnn=0 37760(must be a multiple of 8) nnnn=0 - 3071

Data Size
Word(16 Bits) Word(16 Bits)

Relay Type
Bit IO

Format
Mnnnnn

Range with the Relay


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
a.Communication Format b.Station No c.Transmission Speed d.Transmission Format

PLC Setting
RS232 01(PLC sets 2-197) 9600 bps 8-Bits, ODD , 1-Bit

PWS Setting
RS232

408 ADP Users Manual

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
Data Register

Format
Wnnnn

Range with the Register


nnnn=0~2047

Data Size
Word(16 Bits)

Relat Type
Bit Relay

Format
Bnnnn

Range with the Relay


nnnn=0~1023

Block

2. The illustration of the connection: a. IPWS-series to PLC RS232 PORT

[Note]: This figure is PCs 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
a.Communication Format b.Station No c.Transmission Speed d.Transmission Format

PLC Setting

PWS Setting

RS232C(RS422/RS485) RS232C(RS422/RS485) NONE 9600 bps 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 Users Manual 409

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 Type
S_Data X_Data Y_Data M_Data T_Register C_Register D_Register C_Register

Format
Snnnn Xnnn Ynnn Mnnnn Tnnn Cnnn Dnnnn Cnnn

Range with the Register


nnnn=0-1008(must be a multiple of 16) nnn= 0-360 (X0-X7, X10-X17, must be a multiple of 20) nnn= 0-360 (Y0-Y7, Y10-Y17, must be a multiple of 20) Nnnn=0-1264 (must be a multiple of 16) nnn= 0-255 nnnn=0-127 nnnn=0-1279 nnn= 232-255

Data Size
Word(16 Bits) Word(16 Bits) Word(16 Bits) Word(16 Bits) Word(16 Bits) Word(16 Bits) Word(16 Bits) Double Word

Relay Type
S_Data X_Data Y_Data M_Data T_Coil C_Coil

Format
Snnnn Xnnn Ynnn Mnnnn Tnnn Cnnn

Range with the Relay


nnn=0-1023 nnn=0-377 code) nnn=0-377 code) nnn=0-254 nnn=0-254 (Oct. (Oct.

Block
Multiple of 16 Multiple of 16 Multiple of 16 Multiple of 16 Multiple of 16 Multiple of 16

nnnn=0-1279

[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
b.Station No c.Transmission speed 410 ADP Users Manual

PLC Setting
01 9600 bps

PWS Setting
COM1 or COM2=RS232 1. Set PLC Station No.=01 in ADP PLC station=01

a.Communication Format RS232C

9. Communication with PLC and PWS d.Transmission Format 7-Bits, EVEN , 2-Bits

ADP Users Manual 411

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
Word Register

Format
mmm:Wnnn

Range with the Register


mmm=0-255 ; nnn=0-529

Data Size
Word(16 Bits)

Relay Type
Relay

Format
mmm:Bnnn

Range with the Relay


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
b.Station No c.Transmission Speed d.Transmission Format

PLC Setting
None 9600 bps 8-Bits, EVEN , 1-Bit

PWS Setting
RS485

a.Communication Format RS485

412 ADP Users Manual

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
Input Relay Output Relay Internal Relay Special Relay Step Relay Timer Present Value Counter Present Value Data Register Data Register

Format
WXnnn WYnnn WMnnnn WMnnnn WSnnn RTnnnn RCnnnn Rnnnnn Dnnnnn

Range with the Register


nnn=0-9984; (0 or Multiple of 8) nnn=0-9984; (0 or Multiple of 8) nnnn=0-9984; (Multiple of 8) nnn=0-9984; (0 or Multiple of 8) nnnn=0-9999 nnnn=0-9999 nnnn=0-65534 NNN=200-255 nnnn=0-65534

Data Size
Word Word Word Word Word Word Word Word

nnnn=0-9984; (0 or Multiple of 8) Word

32-bit Counter Present Value DRCnnn

** The HMI can read up to 32 words in one read command. Relay Type
Input Relay Output Relay Internal Relay Special Relay Step Relay Timer Flag Counter Flag

Format
Xnnnn Ynnnn Mnnnn Mnnnn Snnnn Tnnnn Cnnnn

Range of the Relay


nnn=0-9999 nnn=0-9999 nnnn=0-9999 nnnn=0-9999 nnn=0-9999 nnn=0-9999 nnn=0-9999

Block
e.g. X32(0 or Multiple of 8) e.g. Y8 (0 or Multiple of 8) e.g. M0 (0 ot Multiple of 8) e.g. M0 (0 or Multiple of 8) e.g. S16 (0 or Multiple of 8) None None

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

ADP Users Manual 413

9. Communication with PLC and PWS

3. Communication Format: Before connection, please set up the communication parameters and the dip-switch as below: Format
b.Station No c.Transmission Speed d.Transmission Format

PLC Setting
1 9600/19200 bps 7-Bits, even,1-Bit

PWS Setting
COM1 or COM2 ==> RS232 1. Set PLC station 01 in ADP 1. Set SW5=OFF if parameters are set in ADP 2. Parameters are set in PWS.

a.Communication Format RS232C

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 Users Manual

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 Type
Input Output Flag Timer Counter Register Timer_Preset Counter_Preset

Format
IWnnn QWnnn FWnnnn TWnnn CWnnn Rnnn TPnnn CPnnn

Range with the Register


nnn=0-255 nnn=0-255 nnnn=0-9999 nnn=0-255 nnn=0-255 nnn=0-255 nnn=0-255 nnn=0-255

Data Size
Word(16 Bits) Word(16 Bits) Word(16 Bits) Word(16 Bits) Word(16 Bits) Word(16 Bits) Word(16 Bits) Word(16 Bits)

Relay Type
Input Output Flag Timer Counter Timer_on Timer_off

Format
Innn.bb Qnnn.bb Fnnnn.bb Tnnn Cnnn TONnnn TOFFnnn

Range with the Relay


nnn=0-255; bb=0-15 nnn=0-255; bb=0-15 nnnn=0-9999; bb=0-15 nnn=0-255 nnn=0-255 nnn=0-255 nnn=0-255

Block
b=0 e.g. I20.0 b=0 e.g. Q20.0 b=0 e.g. F20.0 None None None 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 Users Manual 415

9. Communication with PLC and PWS

3. Communication Format: Before connection, please set up the communication parameters and the dip-switch as below. Format
b.Station No c.Transmission Speed d.Transmission Format

PLC Setting
None 9600 bps 8-Bits, NONE, 1-Bit

PWS Setting
COM1 or COM2=RS232

a.Communication Format RS232

416 ADP Users Manual

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
Data Register Special Register Timer Current Value Counter Current Value Input Relay Output Relay Internal Relay Latch Relay Special Relay Step Relay

Format
Dnnn Dnnnn TNnnn CNnn WXnn WYnn WMnn WLnn WMnnn WSnnn

Range with the Register


nnn=hex number 0-3ff nnnn=hex number 8000-80ff nnn=hex number 0-1ff nn=hex number 0-ff nn=hex number 0-1f nn=hex number 0-1f nn=hex number 0-3f nn=hex number 0-3f nnn=hex nuumber 800-81f nnn=hex number 0-3f

Data Size
Word Word Word Word Word Word Word Word Word Word

Relay Type
Timer output Counter output Input Relay Output Relay Internal Relay Latch Relay Special Relay Step Relay

Format
Tnnn Cnn Xnnn Ynnn Mnnn Lnnn Mnnnn Snnn

Range with the Relay


nnn=hex number 0-1ff nn=hex number 0-ff nnn=hex number 0-1ff nnn=hex number 0-1ff nnn=hex number 0-3ff nnn=hex number 0-3ff nnnn=hex number 8000-81ff nnn=hex number 0-3ff

Block
End with 0 End with 0 End with 0 End with 0 End with 0 End with 0 End with 0 End with 0

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

ADP Users Manual 417

9. Communication with PLC and PWS

3. Communication Format: Before connection, please set up the communication parameters and the dip-switch as below. Format
b.Station No c.Transmissiion Speed d.Transmission Format e.PLC password

PLC Setting
None 19200 bps 8-Bits,ODD,1-Bit none or 0000-9999

PWS- Setting
COM= Dip-switch RS422

a.Communication Format RS422

0000 or 9999= ****

418 ADP Users Manual

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
Discrete Input Discrete Output Register

Format
%Innnnn %Qnnnnn %Rnnnnn

Range with the Register


nnnnn=1-12288 nnnnn=1-12288 nnnnn=1-16384

Data Size
Word(16 Bits) Word(16 Bits) Word(16 Bits)

** Discrete Input (%Innnnn), Discrete Output (%Qnnnnn)

Address must be 1 or multiple of 16 +1. Relay Type


Discrete Input Discrete Output

Format
%Innnnn %Qnnnnn

Range with the Relay


nnnnn=1-12288 nnnnn=1-12288

Block
1 or multiple of 16 +1 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
b.Station No c.Transmission Speed d.Transmission Format

PLC Setting
0 19200 bps 8-Bits, NONE, 1-Bit

PWS Setting
COM1 or COM2=RS232

a.Communication Format RS232

ADP Users Manual 419

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
Discrete Inputs Discrete Outputs Discrete Temporaries Discrete Internals %SA Discretes %SB Discretes %SC Discretes %S Discretes Genius Global Data Registers Analog Inputs Analog Outputs

Format
%Innnnn %Qnnnnn %Tnnn %Mnnnnn %SAnnn %SBnnn %SCnnn %Snnn %Gnnnn %Rnnnnn %AInnnn %AQnnnn

Range with the Ragister


nnnnn=1-12288;1 or multiple of 16+1 nnnnn=1-12288;1 or multiple of 16+1 nnn=1-256; 1 or multiple of 16+1 nnnnn=1-12288;1 or multiple of 16+1 nnn=1-128; 1 or multiple of 16+1 nnn=1-128; 1 or multiple of 16+1 nnn=1-128; 1 or multiple of 16+1 nnn=1-128; 1 or multiple of 16+1 nnnn=1-7680; 1 or multiple of 16+1 nnnnn=2-16384 nnnn=1-8192 nnnn=1-8192

Data Size
Word Word Word Word Word Word Word Word Word Word Word Word

** The HMI can read up to 50 words in one read command. Relay Type
Discrete Inputs Discrete Outputs Discrete Temporaries Discrete Internals %SA Discretes %SB Discretes %SC Discretes %S Discretes Genius Global Data

Format
%Innnnn %Qnnnnn %Tnnn %Mnnnnn %SAnnn %SBnnn %SCnnn %Snnn %Gnnnn

Range with the Relay


nnnnn=1-12288 nnnnn=1-12288 nnn=1-256 nnnnn=1-12288 nnn=1-128 nnn=1-128 nnn=1-128 nnn=1-128 nnnn=1-7680

Block
1 or Multiple of 16+1 1 or Multiple of 16+1 1 or Multiple of 16+1 1 or Multiple of 16+1 1 or Multiple of 16+1 1 or Multiple of 16+1 1 or Multiple of 16+1 1 or Multiple of 16+1 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 Users Manual

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
Or RS232C b.Station No c.Transmission Speed d.Transmission Format e.PLC ID f. PLC password None 19200/9600 bps 8-Bits;none,1-Bit blanks none or ******** 00000000 or ********

PWS Setting
COM2=RS232/422/485 1. RS422: Set SW10=OFF

a.Communication Format RS422 CPU PORT

ADP Users Manual 421

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
Internal Register Internal Register Internal Register Timer/Counter Register Timer/Counter Register

Format
WMnnn WMnnn WMnnn TCnnn TCnnn

Range with the Register


nnn=400, 402, 404, , 654 nnn=700, 702, 704, , 954 nnn=960, 962, 964, , 990 nnn=100-195 nnn=200-295

Data Size
Word Word Word Word Word

** The HMI can read up to 60Words in one read command. Relay Type
Input Relay Output Relay Auxiliary Relay Timer/Counter Relay

Format
Xnnn Ynnn Mnnn TCnn

Range with the Relay


nnn=0-15, 20-35, 40-55, 6075, , 180-195 nnn=200-215, 220-235, 240255, , 380-395 nnn=400-655, 700-955, 960991 nn=0-95

Block
X0,X20,X40 Y200,Y220 M400,M420 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
a.Communication Format b.Station No. c.Transmission Speed 422 ADP Users Manual

PLC Setting
RS232C None 9600 bps

PWS
COM1 or COM2 ==> RS232 1. Set SW5=OFF if parameters are set in the ADP

9. Communication with PLC and PWS d.Transmission Format e. CTS Handshanking 7-Bits ,EVEN, 1- Bit Enabled 2. Set SW5=ON if parameters are set in the HMI

** Using exclusive protocol must set PLC peripheral mode selector in COM2.

ADP Users Manual 423

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
Ext. Input Ext. Output Int. Output Int. Output Int. Output CPU Link CPU Link T/C CV

Format
WXnnnn WYnnnn WRnnnn WRnnnn WMnnn WLnnn WLnnnn TCnnn

Range with the Register


nnnn=0-4ff9 nnnn=0-4ff9 nnnn=0-c3ff nnnn=f0000-f1ff nnn=0-3ff nnn=0-3ff nnnn=1000-13ff nnn=0-511

Data Size
Word(16 Bits) Word(16 Bits) Word(16 Bits) Word(16 Bits) Word(16 Bits) Word(16 Bits) Word(16 Bits) 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
Ext. Input Ext. Output Int. Output Int. Output CPU Link CPU Link On-delay timer bit Single-shot timer bit Up counter U/D counter up coil U/D counter down coil U/D counter contact T/C CV clear Rising edge Fallling edge

Format
Xmnnnn Ymnnnn Rnnn Mnnnn Lnnnn Lnnnnn TDnnn SSnnn CUnnn CTUnnn CTDnnn CTnnn CLnnn DIFnnn DFNnnn

Range with the Relay


m=0-4, nnnn=0-ff95 m=0-4, nnnn=0-ff95 nnn=0-7ff nnnn=0-3fff nnnn=0-3fff nnnnn=10000-13fff nnn=0-255 nnn=0-255 nnn=0-511 nnn=0-511 nnn=0-511 nnn=0-511 nnn=0-511 nnn=0-511 nnn=0-511

Block
None None

**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 Users Manual

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
b.Statiion No. c.Transmission Speed d.Transmission Format

PLC Setting
None 19200 bps 7-Bits, EVEN, 1-Bit

PWS Setting
COM1 or COM2=RS232

a.Communication Format RS232

ADP Users Manual 425

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
16-bit Variable 32-bit Variable

Format
Wnnnnn Dnnnnn

Range with the Register


nnnnn=0-65534 nnnnn=0-65534

Data Size
Word(16 Bits) 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
1-bit Variable I - Bit Data O - Bit Data C - Bit Data S - Bit Data A - Bit Data

Format
Bnnnnn.bb Innn Onnn Cnnn Snnn Annnn

Range with the Relay


nnnnn=0-65534, bb=0-31 nnn=0-255 nnn=0-255 nnn=0-255 nnn=0-255 nnn=0-1023

Block
bb must be 0 nnn must be 0 or multiple of 32. nnn must be 0 or multiple of 32. nnn must be 0 or multiple of 32. nnn must be 0 or multiple of 32. 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 Users Manual

9. Communication with PLC and PWS

3. Communication Format: Before connection, please set up the communication parameters and the dip-switch as below. Format
b.Station No. c.Transmission Speed d.Transmission Format

PLC Setting
None 9600 (19200 /38400) bps 7-Bits, EVEN, 2-Bits

PWS Setting
COM1 or COM2=RS232

a.Communication Format RS232

ADP Users Manual 427

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
Input Relay Output Relay Internal Relay Shift Register Timer Preset Timer Current Counter Preset Counter Current Data Register Calender/CLOCK

Format
Xn Yn Mnn Rnn TPnn Tnn CPnn Cnn Dnn Wn

Range with the Register


n=0-3 n=0-3 nn=0-31 nn=0-48; must be 0 or multiple of 8 nn=0-31(read only) nn=0-31 nn=0-31(read only) nn=0-31 nn=0-99 n=0-6

Data Size
Byte Byte Byte Bit Word Word Word Word Word 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
Input Relay Output Relay Internal Relay Shift Register Timer Status Counter Status

Format
Xnb Ynb Mnnb Rnn Tnn Cnn

Range with the Relay


n=0-3; b=0-7 n=0-3; b=0-7 nn=0-31; b=0-7 nn=0-63 nn=0-31 read only nn=0-31 read only

Block
b=0 e.g. X10 b=0 e.g. Y00 b=0 e.g. M10 must be 0 or multiple of 8 must be 0 or multiple of 8 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 Users Manual

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
COM2=RS232/422/485 1. RS485: Set SW10=ON b.Station No. c.Transmission Speed d.Transmission Format e.CTS Handshaking 0-31255 9600bps 7-Bits;EVEN; 1-Bit Disabled 1. Set PLC Sation 255 in ADP

a.Communication Format RS485

**If only one PLC in background program, set the Station No. as 255 or sets as Network Station No.

ADP Users Manual 429

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
User Register User Register

Format
Rnnnnn WRnnnnn

Range with the Register


nnnnn=0-32767 nnnnn=0-32767

Data Size
DWord(32 Bits) Word(16 Bits)

Relay Tupe
Input Relay Out[ut Relay Flag Relay

Format
Innbb Onnbb Fnnnn

Range with Block the Relay


nn=1-16,bb=01-08 nn=1-16,bb=01-08 nnnn=0-2301 bb=01 bb=01 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
b.Station No. c.Transmission Speed 430 ADP Users Manual

PLC Setting
None 9600 bps

PWS Setting
COM1 or COM2=RS232

a.Communication Format RS232C

9. Communication with PLC and PWS d.Transmission Format 8-Bits, EVEN , 1-Bit

ADP Users Manual 431

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
User Register

Format
Rnnnnn

Range with the Register


nnnn=0-20479 21000-24999 31000-34999 41000-44999 50200-59999 61440-6 4999 nnnn=0-20479 21000-24999 31000-34999 41000-44999 50200-59999 61440-64999

Data Size
DWord(32 Bits)

User Register

WRnnnnn

Word(16 Bits)

Relay Type
Input Relay Output Relay Flag Relay

Format
Inbb Onbb Fnnnn

Range with Block the Relay


n=1-8,bb=01-64 n=1-8,bb=01-64 nnn=0-2047 bb=01 bb=01 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 Users Manual

9. Communication with PLC and PWS

3. Communication Format: Before connection, please set up the communication parameters and the dip-switch as below. Format
b.Station No. c.Transmission Speed d.Transmission Format

PLC Setting
None 9600 bps 8-Bits, EVEN , 1-Bit

PWS Setting
COM1 or COM2=RS232

a.Communication Format RS232C

ADP Users Manual 433

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
Word Marker

Format
MWnnnnn

Range with the Register


nnnnn=0-32766

Data Size
Word

** The HMI can read up to 32Words in one read command. Relay Type
Bit Marker0

Format
Mnnnnn.b

Range with the Relay


nnnnn=0-32766b=0-7

Block
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
b.Station No. c.Transmission Format

PLC Setting
0=PS4-201 1=PS316 9600bps

PWS Setting
COM1or COM2=RS232 1. Set PLC Station 0/1 in ADP 1.Set SW5=OFF if parameters are set in ADP

a.Communication Format RS232

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 Users Manual

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
TMR/CTR Accumulater Register Values

Format
nnn mmm

Range with the Register


nnn=octal number 600-677 mmm=octal number 400-576; mmm must be a multiple of 2

Data Size
Word Even Bytes

Relay Type
Input/Output Bits Input/Output Bits Internal Relay Bits Shift Register Bits TMR/CTR Bits

Format
Bnnn Bnnn Bnnn Bnnn Bnnn

Range with the Relay


nnn=octal number 0-157 nnn=octal number 700-767 nnn=octal number 160-377 nnn=octal number 400-577 nnn=octal number 600-677

Block
End with 0 End with 0 End with 0 End with 0 End with 0

**When HMI changes a relays 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 B3s state, it will read B0-B7. After the corresponding bit B3 is cahnged, the HMI will write the Byte to PLC. The PLC ladders 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
b.Station No. c.Tranmission Speed

PLC Setting
None 9600/19200 bps

PWS Setting
COM2=RS232/422/485

a.Communication Format RS422 or RS232C

ADP Users Manual 435

9. Communication with PLC and PWS d.Transmission Format e.Operation Mode f.mm. Mode 8-Bits, odd, 1-Bit RUN Mode ASCII mode.sw2-8=ON

436 ADP Users Manual

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
Timer Accumulated Counter Accumulated V Memory Link Relays Input Status Output Status Control Relays Stage Timer Status Counter Status Spec. Relay 1 Spec. Relay 2

Format
Vnnn Vnnnn Vnnnn Vnnnnn Vnnnnn Vnnnnn Vnnnnn Vnnnnn Vnnnnn Vnnnnn Vnnnnn Vnnnnn

Range with the Register


nnn=octal number 0-177 nnnn=octal number 1000-1177 nnnn=octal number 1400-7777 nnnnn=octal number40000-40037 nnnnn=octal number40400-40423 nnnnn=octal number40500-40523 nnnnn=octal number40600-40635 nnnnn=octal number41000-41027 nnnnn=octal number41100-41107 nnnnn=octal number41140-41147 nnnnn=octal number41200-41205 nnnnn=octal number41216-41230

Data Size
Word Word Word Word Word Word Word Word Word Word Word Word

Relay Type
Input Status Outpuut Status Control Relays Stage Timer Status Counter Status Spec. Relay 1 Spec. Relay 2 Linker Relays

Format
Xnnn Ynnn Cnnn Snnn Tnnn CTnnn SPnnn SPnnn GXnnn

Range with the Relay


nnn=octal number 0-477 nnn=octal number 0-477 nnn=octal number 0-737 nnn=octal number 0-577 nnn=octal number 0-177 nnn=octal number 0-177 nnn=octal number 0-137 nnn=octal number 320-617 nnn=octal number 0-777

Block
End with 0 End with 0 End with 0 End with 0 End with 0 End with 0 End with 0 End with 0 End with 0

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

ADP Users Manual 437

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
a.Transmission Format b. Station No. c.Transmission Speed d.Transmission Format

PLC Setting
RS232C 01 9600 bps 1.Size8-Bits 2.Paritynot none;ODD 3.Stop Bit1-Bit

PWS Setting
COM2=RS232/422/485

e.Comm. Protocol Mode

HEX. (TISOFT AUX26)

438 ADP Users Manual

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
Input Image Input Image Output Image Output Image Internal memory Internal memory

Format
%IWn.m.b %IDn.m.b %QWn.m.b %QDn.m.b %MWnnnn %MDnnnn

Range with the Register


n=0-1, m=0-7, b=0-3 n=0-1, m=0-7, b=0-1 n=0-1, m=0-7, b=0-3 n=0-1, m=0-7, b=0-1 nnnn=0-4095 nnnn=0-65534

Data Size
Word(16 Bits) Double Word(32 Bits) Word(16 Bits) Double Word(32 Bits) Word(16 Bits) 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
Input Image Output Image Internal memory

Format
%IXn.m.bb %QXn.m.bb %MXnnnnn

Range with the Relay


n=0-1, m=0-7, bb=0-63 n=0-1, m=0-7, bb=0-63 nnnnn=0-2047

Block
bb must be 0 or multiple of 16 bb must be 0 or multiple of 16 n. must be 0 or multiple of16

2. The illustration of the connection: a. b. 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
COM1 or COM2=RS232 (RS422/RS485)

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

ADP Users Manual 439

9. Communication with PLC and PWS

440 ADP Users Manual

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
Auxiliary Relay Input/Output Relay Keep Relay Link Relay Special Relay Timer Current Value Counter Current Value Timer Set Value Counter Set Value Data Register

Format
Mnn Pnn Knn Lnn Fnn Tnnn Cnnn TSnnn CSnnn Dnnnn

Range with the Register


nn=0-63 nn=0-15 nn=0-31 nn=0-31 nn=0-15 nnn=0-255 nnn=0-255 nnn=0-255 nnn=0-255 nnnn=0-1023

Data Size
Word Word Word Word Word Word Word Word Word Word

** The HMI can read up to 60 word in one read command Relat Type
Auxiliary Relay Input/Output Relay Keep Relay Link Relay Special Relay Timer Relay Counter Relay

Format
Mnnb Pnnb Knnb Lnnb Fnnb Tnnn Cnnn

Range with the Relay


nn=0-63; b=hex number0-f nn=0-15; b=hex number0-f nn=0-31; b=hex number0-f nn=0-31; b=hex number0-f nn=0-15; b=hex number0-f nnn=0-255 nnn=0-255

Block
End with b=0 End with b=0 End with b=0 End with b=0 End with b=0 Must be 0 or multiple of 16. Must be 0 or multiple of 16.

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

ADP Users Manual 441

9. Communication with PLC and PWS

3. Communication Format: Before connection, please set up the communication parameters and the dip-switch as below: Format
a.Communication Format b.Station No. c.Transmission Speed d.Transmission Format

PLC Setting
RS232C 00 9600 bps 8-Bits,NONE,1-Bit

PWS Setting
COM1/COM2=RS232 1. Set the SW5=OFF if parameters are set in ADP 2. Set the SW=ON if parameters are set in the HMI

442 ADP Users Manual

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
I/O RELAY AUX RELAY Keep RELAY Link RELAY Special RELAY Timer Counter Data Register

Format
PWnn MWnnn KWnn LWnn FWnn TWnnn CWnnn DWnnnn

Range with the Register


nn=0-15 nnn=0-191 nn=0-31 nn=0-63 nn=0-63 nnn=0-255 nnn=0-255 nnnn=0-9999

Data Size
Word(16 Bits) Word(16 Bits) Word(16 Bits) Word(16 Bits) Word(16 Bits) Word(16 Bits) Word(16 Bits) Word(16 Bits)

Relay Type
I/O RELAY AUX RELAY Keep RELAY Link RELAY Special RELAY Timer Counter

Format
Pnnb Mnnnb Knnb Lnnb Fnnb Tnnn Cnnn

Range with the Relay


nn=0-15, b=0-f nnn=0-191, b=0-f nn=0-31, b=0-f nn=0-63, b=0-f nn=0-63, b=0-f nnn=0-255 nnn=0-255

Block
b must be 0 b must be 0 b must be 0 b must be 0 b must be 0 None 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
b.Station No. c.Transmission Speed d.Transmission Format

PLC Setting
None 38400 bps 8-Bits, NONE, 1-But

PWS Setting
COM1 or COM2=RS232

a.Communication Format RS232

ADP Users Manual 443

9. Communication with PLC and PWS

444 ADP Users Manual

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
I/O Relay AUX Relay Keep Relay Link Relay Special Relay Timer Counter Step controller Data Register

Format
PWnn MWnnn KWnn LWnn FWnn TWnnn CWnnn SWnnnn DWnnnn

Range with the Register


nn= 0-31 nnn = 0-191 nn = 0-31 nn = 0-63 nn = 0-63 nnn = 0-255 nnn = 0-255 nnnn = 0-9999 nnnn = 0-9999

Data Size
Word(16 Bits) Word(16 Bits) Word(16 Bits) Word(16 Bits) Word(16 Bits) Word(16 Bits) Word(16 Bits) Word(16 Bits) Word(16 Bits)

Relay Type
I/O Relay AUX Relay Keep Relay Link Relay Special Relay

Foramt
PWnnb MWnnnb KWnnb LWnnb FWnnb

Range with the Relay


nn= 0-31 nnn = 0-191 nn = 0-31 nn = 0-63 nn = 0-63 b=0-f b=0-f b=0-f b=0-f b=0-f

Block

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
a.Transmission Format b.Station No. c.Transmission Speed d.Transmission Format

PLC Setting
RS232C RS232C=0 RS232C=9600 bps RS232C =8 Bits,none,1 Bit

PWS Setting

ADP Users Manual 445

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
I/O RELAY AUX RELAY Keep RELAY Link RELAY Special RELAY Timer Counter Data Register

Format
PWn MWnn KWnn LWnn FWnn TWnnn CWnnn DWnnn

Range with the Register


n=0-5 nn=0-31 nn=0-15 nn=0-15 nn=0-15 nnn=0-127 nnn=0-127 nnnn=0-255

Data Size
Word(16 Bits) Word(16 Bits) Word(16 Bits) Word(16 Bits) Word(16 Bits) Word(16 Bits) Word(16 Bits) Word(16 Bits)

Relay Type
I/O RELAY AUX RELAY Keep RELAY Link RELAY Special RELAY Timer Counter

Format
Pnb Mnnb Knnb Lnnb Fnnb Tnnn Cnnn

Range with the Relay


n=0-5, b=0-f nn=0-31, b=0-f nn=0-15, b=0-f nn=0-15, b=0-f nn=0-15, b=0-f nnn=0-127 nnn=0-127

Block
b must be 0 b must be 0 b must be 0 b must be 0 b must be 0 n.. must be 0 or multiple of 16 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
446 ADP Users Manual

PLC Setting

PWS Setting

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

ADP Users Manual 447

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 Type
Internal Relay Special Internal Relay Link Relay External Input Relay External Output Relay Timer/Counter P.V. Timer/Counter S.V. Data Register Special Data Register Link Data Register File Register

Format
WRnn WRnnn WLnnn WXnnn WYnnn EVnnn SVnnn DTnnnn DTnnnn LDnnn FLnnnnn

Range with the Register


nn=0-97(875) nnn=900-910 nnn=0-127(639) nnn=0-127(255) nnn=0-127(255) nnn=0-254(2047) nnn=0-254 (2047)

Device Type / Aux.Address


0 1 2 3 4 5 6 0 0 0 0 0 0 0 0 0 0 0

Block ead R/W


Word Word Word Word Word Word Word Word Word Word Word

nnnn=0-2047 (32764) 7 nnnn=9000-9255 nnn=0-127(8447) nnnn=0-8191 (32764)** 8 9 10

** The HMI can read up to 27 word in one read command. **The Register setting range of FP10SH is nnnnn=0- 32764. Relay Type
Internal Relay Special Internal Relay Link Relay External Input Relay External Output Relay Timer Flag Contact Counter Flag Contact

Format
Rnnnb Rnnnb Lnnnb Xnnnb Ynnnb Tnnn Cnnn

Range with the Relay Block


nn=0-97(875);b= 0-f nnn=900-910;b= 0-f nnn=0-127(639);b=0-f nnn=0-127(255);b=0-f nnn=0-127(255);b=0-f nnn=0-254(2047) nnn=0-254(2047) b=0 e.g. R1230 b=0 e.g. R9100 b=0 e.g.. L110 b=0 e.g. X00 b=0 e.g. Y00 must be 0 or multiple of16 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 Users Manual

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
a.Communication Format b.Station No.

PLC Setting
RS422 or RS232C 02-27 FP CPU PORT =238 FP1: Set computer link

PWS Setting
COM2=RS232/422/485 1. Set PLC Station 01 in ADP, CPU PORT 238 1. Set SW5=OFF if parameters are set in ADP 2. Set SW=ON if parameters are set in the HMI

c.Transmission Speed

19200/9600 bps FP10SH CPU: Set115.2K bps

d.Transmission Format

Size 8-Bits,odd, 1-Bit

ADP Users Manual 449

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
IR area DM area

Format
IRnnn DMnnnn

Range with the Register


nnn=0-111 nnnn=0-2367

Data Size
Word Word

Relay Type
IR area

Format
IRnnnbb

Range with the Relay


nnn=0-111,bb=00-15

Block
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 Users Manual

9. Communication with PLC and PWS

3. Communication Format: Before connection, please set up the communication parameters and the dip-switch as below: Format
b.Station No. c.Transmission Speed d.Transmission Format

PLC Setting
0 9600 bps 1.DX,SBC208 Bits,ODD,1 Stop Bit 2.NDX 8 Bits,NONE,1 Stop Bit

PWS Setting
COM2=RS232/422 1. Set PLC Station 00 in ADP

a.Communication Format RS232C/ RS422

1 Set SW5=ON if parameters are set in the HMI

ADP Users Manual 451

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
Auxiliary Relay Special Auxiliary Relay Status Relay Input Relay Output Relay Timer PV 16- Counter PV 32- Counter PV Data Register Special Data Register

Format
Mnnnn Mnnnn Snnn Xnnn Ynnn Tnnn Cnnn Cnnn Dnnn Dnnnn

Range with the Register


nnnn=0-3071; must be 0 or multiple of 8 nnnn=8000-8255; must be 0 or multiple of 8 nnn=0-999; must be 0 or multiple of 8 nnn=octal number 0-377; end with 0 nnn=octal number 0-377; end with 0 nnn=0-254 nnn=0-199 nnn=200-255 nnn=0-1023(7999) D1000=FILE REGISTER nnnn=8000-8255

Data Size
Byte Byte Byte Byte Byte Word Word DWord Word Word

** The HMI can read up to 32Words in one read command. Relay Type
Auxiliary Relay Special Auxiliary Relay Status Relay Input Relay Output Relay Timer Flag Counter Flag

Format
Mnnnn Mnnnn Snnn Xnnn Ynnn Tnnn Cnnn

Range with the Type


0-3071 8000-8255 0-999 Octal number 0-377 Octal number 0-377 0-255 0-255

Block
Must be 0 or multiple of 8 Must be 0 or multiple of 8 Must be 0 or multiple of 8 End with 0 End with 0 Must be 0 or multiple of 8 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 Users Manual

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
b.Transmission Speed c.Transmission Format

PLC Setting
9600 bps 7-Bits,EVEN,1-Bit

PWS Setting

a.Communication Format RS422

ADP Users Manual 453

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
Input Relay Output Relay Link Relay Internal Relay Special Relay Latch Relay Annunciator Timer PV Counter PV Data Register Special Register File Register Link Register Peripherial Input Relay

Format
Xnnn Ynnn Bnnn Mnnnn Mnnnn Lnnnn Fnnnn TNnnn CNnnn Dnnnn Dnnnn Rnnnn Wnnn PXnnn

Range with the Register


nnn=hex number 0-7ff; end with 0 nnn=hex number 0-7ff; end with 0 nnn=hex number 0-fff; end with 0 nnnn=0-8191; must be 0 or multiple of 16 nnnn=9000-9255;-9000 must be multiple of 16 nnnn=0-2047; must be 0 or multiple of 16 nnnn=0-2047; must be 0 or multiple of 16 nnn=0-999 nnn=0-999 nnnn=0-8191 nnnn=9000-9255 nnnn=0-8191 nnn=hex number 0-fff nnn=0-7ff must be 0 or multiple of 16

Data Size
Word Word Word Word Word Word Word Word Word Word Word Word Word Word

** The HMI can read up to 64Words in one read command. Relay Type
Input Relay Output Relay Link Relay Internal Relay Special Relay

Format
Xnnn Ynnn Bnnn Mnnnn Mnnnn

Range with the Relay


hex number 0-7ff hex number 0-7ff hex number 0-fff 0-8191 9000-9255

Block
End with 0 End with 0 End with 0 Must be 0 or multiple of 16 The last 3 digits must be multiple of 16. Must be 0 or multiple of 16. Must be 0 or multiple of 16. Must be 0 or multiple of 16. Must be 0 or multiple of 16.

Latch Relay

Lnnnn

0-2047

Annunciator

Fnnnn

0-2047

Timer Contact

TSnnn

0-999

Timer Coil

TCnnn

0-999

454 ADP Users Manual

9. Communication with PLC and PWS Counter Contact Counter Coil CSnnn CCnnn 0-999 0-999 Must be 0 or multiple of 16. Must be 0 ot multiple Of 16. Must be 0 or multiple of 16.

Peripherial Input Relay

PXnnn

0-7ff

** 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 Users Manual 455

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
a.Communication Format AJ71UC24 sw1=ON sw1=Off b.Station No.

PLC Setting
RS422 or RS232C RS422 RS232 00(CPU PORT) 00(AISJ71C24-S3) 00-31(AJ71UC24)

PWS Setting
COM2=RS232/422/485 1. RS422: Set SW10=OFF 1. Set PLC station 00 Set PWS station 255

c.Transmission Speed d.Transmission Format e.Comm. Protocol f.Check Sum g.Write during Run

9600/19200 bps CPU PORT=9600bps 8-Bits,ODD,1-Bit Format 1;5;A YES 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 Users Manual

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
Link Relay Counter Coil Counter Current Value Counter Contact Data Register Direct Input Direct Output Annunciator Latch Relay Internal Relay File Register Step Relay Special Link Relay Retentive Timer Coil Special Register Special Relay Retentive Timer Current Value Retentive Timer Contact Special Link Register Timer Coil Timer Current Value Timer Contact Edge Relay Link Register Input Relay

Format
Bn CCn CNn CSn Dn DXn DYn Fn Ln Mn Rn Sn SBn SCn SDn SMn SNn SSn SWn TCn TNn TSn Vn Wn Xn

Range with the Register


n=hex number 0-1fff ; end with 0 n=0-1023; must be 0 and multiple of 16. n=0-1023 n=0-1023; must be 0 or multiple of 16. n=0-12287 n=hex number 0-1fff ; end with 0 n=hex number 0-1fff ; end with 0 n=0-2047; must be 0 or multiple of 16 n=0-8191; must be 0 or multiple of 16 n=0-8191; must be 0 or multiple of 16 n=0-32767 n=0-8191; must be 0 or multiple of 16 n=hex number 0-7ff ; end with 0 n=0-2047; must be 0 or multiple of 16 n=0-2047 n=0-2047; must be 0 or multiple of 16 n=0-2047 n=0-2047; must be 0 or multiple of 16 n=hex number 0-7ff n=0-2047; must be 0 or multiple of 16 n=0-2047 n=0-2047; must be 0 or multiple of 16 n=0-2047; must be 0 or multiple of 16 n=hex number 0-1fff n=hex number 0-1fff ; end with 0

Data Size
Word Word Word Word Word Word Word Word Word Word Word Word Word Word Word Word Word Word Word Word Word Word Word Word Word

ADP Users Manual 457

9. Communication with PLC and PWS Output Relay Index Register File Register Yn Zn ZRn n=hex number 0-1fff ; end with 0 n=0-15 n=hex number 0-fe7f Word Word Word

Relay Type
Link Relay Counter Coil Counter Contact Direct Input Direct Output Annunciator Latch Relay Internal Relay Step Relay Special Link Relay Retentive Timer Coil Special Relay Retentive Timer Contact Timer Contact Timer Coil Edge Relay Input Relay Output Relay

Format
Bn CCn CSn DXn DYn Fn Ln Mn Sn SBn SCn SMn SSn TSn TCn Vn Xn Yn

Range with the Relay


hex number 0-1ffff 0-1023 0-1023 n=hex number 0-1fff n=hex number 0-1fff 0-2047 0-8191 0-8191 0-8191 n=hex number 0-7ff 0-2047 0-2047 0-2047 0-2047 0-2047 0-2047 hex number 0-1fff hex number 0-1fff

Block

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 TXD RTX CTX
b.

3 2 4 5

2 1 3 5 6

TXD RXD GND CTS RTS

GND 7

PWS and Q Series C24 (RS232)

458 ADP Users Manual

9. Communication with PLC and PWS

HMI-COM port PLC-port RS232C 25-pin ------CABLE------ 9-pin RXD TXD RTX CTX 3 2 4 5 3 2 5 1 4 TXD RXD GND CD DTR

GND 7

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
a.Communication Format b.Station No. c.Transmission Speed d.Transmission Format

PLC Setting
RS422 or RS232C 00(CPU PORT) 00(Q Series C24) 19200 bps 8-Bits,ODD,1-Bit (CPU PORT) 7-Bits,EVEN,2-Bits (Q Series C24)

PWS Setting
COM2=RS232/422/485 Set PLC Station 00

ADP Users Manual 459

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
REGISTER

Format
Wnnnnn

Range with the Register


nnnnn=0-65535

Data Size
Word(16 Bits)

Relay Type
RELAY

Format
Bn

Range with the Relay


n=0-65535

Block

2. The illustration of the connection: a. b. 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 B. PWS Setting
COM1 or COM2=RS232 (RS422/RS485)

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

460 ADP Users Manual

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
Input Registers (Modicon PC 984/Modbus (Ascii)) Output Registers (Modicon PC 984/Modbus (Ascii)) Input Registers (TSX Quantum) Output Registers (TSX Quantum)

Format
nnnnn nnnnn nnnnnn nnnnnn

Range with the Register


nnnnn=30001-39999(slave) 30001-31024(master) nnnnn=40001-49999(as slave) 40001-41024(as master) nnnnn=300001-365535 nnnnn=400001-465535

Data Size
Word Word Word Word

** The HMI can read up to 125Words in one read command. Relay Type
Discrete Outputs (Modicon PC 984/Modbus (Ascii)) Discrete Inputs (Modicon PC 984/Modbus (Ascii)) Discrete Outputs(TSX Quantum) Discrete Inputs (TSX Quantum)

Format
Nnnnn Nnnnn Nnnnn Nnnnn

Range with the Relay


nnnnn=1-4999(slave) 1-1024(master) nnnnn=10001-19999(slave) 10001-11024(master) nnnnn=000001-065535 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 Users Manual 461

9. Communication with PLC and PWS

Format
b.Station No. c.Transmission Speed d.Transmission Format RTU MODE

PLC Setting
1 01247 (mem setup) 19200/9600 bps 8, EVEN ,1 (7,O,1);(7,E,1);(7,E,2) (8,E,1);(8,O,1);(8,N,1)

PWS Setting
COM1/COM2=RS232 1. Set PLC Station 01 in ADP

a.Communication Format RS232C

462 ADP Users Manual

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 Type
IR area HR area AR area LR area TC area DM area

Format
IRnnn HRnn ARnn LRnn TCnnn DMnnnn

Range with the Register


nnn=0-511 nn=0-99 nn=0-27 nn=0-63 nnn=0-511 nnnn=0-6655

Block read
Word(16 Bits) Word(16 Bits) Word(16 Bits) Word(16 Bits) Word(16 Bits) Word(16 Bits) Max. 28 Max. 28 Max. 28 Max. 28 Max. 28 Max. 28

Relay Type
IR area HR area AR area LR area TC area

Format
IRnnnbb HRnnbb ARnnbb LRnnbb TCnnn

Range with the Relay


nnn=0-511; bb=00-15 nn=0-99 ; bb=00-15 nn=0-27 ; bb=00-15 nn=0-63 ; bb=00-15 nnn=0-511

Block
bb=00 e.g. IR12300 bb=00 e. g.HR2300 bb=00 e.g. AR100 bb=00 e.g. LR2300 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 Users Manual 463

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
a.Communication Format b.Station No. 1.CQM1-CPU21 c.Transmission Speed 1.CQM1-CPU21 d.Tranmission Format e.Operation Mode f.PROTOCOL

PLC Setting
RS232C/ RS422/ RS485 00(00-31) DM6648=0000 19200/9600 bps DIP-sw5=OFF Initial value 7-bits, ENEN, 2 Monitor Mode Multiple-Link

PWS Setting
COM2=RS232/422/485 1. Set PLC station 00 in ADP

464 ADP Users Manual

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
IR Area (CIO Area) HR Area AR Area LR Area TC Area DM Area EM Area

Format
IRnnnn HRnnn ARnnn LRnnn TCnnnn DMnnnn EMm.nnnnn

Range with the Register


nnnn=0-6143 nnn=0-511 nnn=0-959 nnn=0-199 nnnn=0-4095 nnnn=0-9999 m=0-c, nnnn=0-9999

Data Size
Word(16 Bits) Word(16 Bits) Word(16 Bits) Word(16 Bits) Word(16 Bits) Word(16 Bits) Word(16 Bits)

Relay Type
IR Area (CIO Area) HR Area LR Area Timer Area Counter Area

Format
IRnnnnb HRnnnb LRnnnb Tnnnn Cnnnn

Range with the Relay


nnnn=0-6143, b=00-15 nnn=0-511, b=00-15 nnn=0-199, b=00-15 nnnn=0-2047 nnnn=0-2047

Block
bb must be 00 bb must be 00 bb must be 00

2. The illustration of the connection: a. PWS -series to PLC PWS-series to PLC RS232 PORT (9-pin male)

ADP Users Manual 465

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
COM1 or COM2=RS232 (RS422/RS485)

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

466 ADP Users Manual

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
CIO Area TC Area TC Area AR Area DM Area

Format
CIOnnnn TCnnnn TCnnnn ARnnn DMnnnn

Range with the Register


nnnn=0-2555 nnnn=0-1023 nnnn=2048-3071 nnn=0-511 nnnn=0-9999

Data Size
Word(16 Bits) Word(16 Bits) Word(16 Bits) Word(16 Bits) Word(16 Bits)

Relay Type
CIO Area TC Area TC Area

Format
CIOnnnnbb TCnnnn TCnnnn

Range with the Relay


nnnn=0-2555, bb=00-15 nnnn=0-1023 nnnn=2048-3071

Block
bb must be 00

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

ADP Users Manual 467

9. Communication with PLC and PWS

3. Communication Format: Before connection, please set up the communication parameters and the dip-switch as below: Format
b.Station No. c.Transmission Speed d.Transmission Format

PLC Setting
0 9600 bps 7-Bits, EVEN, 2-Bits

B. PWS Setting
COM1 or COM2=RS232

a.Communication Format RS232

468 ADP Users Manual

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 I nput O utput A larm Statu s A xis Status S ystem Status U ser Status B inary N umeric I nteger S tring Motor Position Motor Velocity Encoder Position TIMER Nnn Command !n TIN !n TOUT !I NTHW !n TAS !T SS !T US Fo rmat In On Asn AX Sn SY Sn n n n n n Range with the Register = 0 ~ 8 = 0 ~ 8 = 1 = 1 ~ 8 = 1 D a ta Size Dou ble Wor d
Dou ble Wo rd Dou ble Wo rd Dou ble Wo rd Doub le Wo rd

D ata Range

Wor d US Sn n = 1 !VARBnn n VA RBnnn nnn = 001~125 Dou ble Wo rd

!VARnn n !VARInn n !VARSnn !nTPC !nTVEL !n TPE !TTIM


Run Program

VA Rnnn
VAR Innn

nnn = 001~225 Dou ble Wo rd +-999,999,999 nnn = 001~225 Dou ble Wo rd +-2 ,147,483, 647 nn n n n n nn = 01 ~ 50 10 Words = 1 ~ 8 = 1 ~ 8 = 1 ~ 8 = 1 = 1 ~ 50 Double Word
Double Word Double Wo rd Double Word 0 ~ 999999999 10 Words 0 ~ 20 Characters 0 ~ 20 Characters

VA RSnn MO Pn MOVn EN Pn Tn Nnn

+2,147,483,647

**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 Type Input Output Alarm Status Axis Status System Status User Status Binary Com mand !nTI N !nTOUT !INTHW !nTAS !TSS !TUS !VARBnnn Format In. bb On.bb ASn.bb AXSn.bb SYSn.bb n n n n n Ran ge with the Re gister = 0 ~ 8 = 0 ~ 8 = 1 = 1 ~ 8 = 1 bb = 1~32 bb =1~32 bb =1~32 bb =1~32 bb =1~32 Data Range Bit Bit Bi t Bit Bit Bit Bit

USSn.bb n = 1 bb =1~16 VARBnnn.bb nnn = 001~125 bb =1~32

ADP Users Manual 469

9. Communication with PLC and PWS Register Type RUN Command Format TERn.bb RUNnn n nn Range with the Register = 1 = 1 ~50 bb =1~32 Data Range Bit Bit

Error Status TERn.bb Run Program

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
b.Station No. c.Transmission Speed d.Transmission Foramt

PLC Setting
None 9600 bps 8-Bits, NONE, 1-Bit

PWS Setting
COM1 or COM2=RS232

a.Communication Format RS232

470 ADP Users Manual

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
Register Display Date

Format
Wnnnnn Dispn Daten

Range with the Register


nnnn= 0-10499 n=0-4 N=0-6

Data Size
Word(16 Bits) 10 Words Word

Relay Type
I/O Relay Hardware Reset Software Reset Clear RAM,EEPROM Clear database Clear RAM,EEPROM, database Clear RAM,EEPROM, database and default setup

Format
Bnnn HardRn SoftRn Clr0-n Clr1-n Clr2-n Clr3-n

Range with the Relay


nnn= 0-1599 n= 0 n= 0 n= 0 n= 0 n= 0 n= 0

Block
Must be 0 or multiple of16

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

b.

PWS-series to PLC RS485 PORT

ADP Users Manual 471

9. Communication with PLC and PWS

3. Communication Format: Before connection, please set up the communication parameters and the dip-switch as below: Format
a.Communication Format b.Station No.

PLC Setting
RS232C RS485 RS232C=153 RS485=1

PWS Setting
RS232C: use SIDE MIDA 20/20D driver RS485 :use MODBUS SLAVE driver RS232C=153 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 Users Manual

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
Input Image Output Image Extended I/O Flag s Peripheral I/O System Data Area System Data Area System Data Area System Data Area Timer Current Counter Current Data Block

Format
IBnnn QBnnn OBnnn FBnnn PBnnn RSnnn RInnn RJnnn RTnnn Tnnn Cnnn DBmmm/nnn DBnnn

Range of the Register


nnn=0-127 nnn=0-127 nnn=0-8191 nnn=0-8191 nnn=0-8191 nnn=0-255 nnn=0-255 nnn=0-255 nnn=0-255 nnn=0-255 nnn=0-255

Data Size
Byte Byte Byte Byte Byte Word Word Word Word Word Word Max. 30 Max. 30 Max. 30 Max. 30 Max. 30 Max. 30 Max. 30 Max. 30 Max. 30 Max. 30 Max. 30 Max. 30

mmm=0-255; mmm is Block number 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 nnn=0-32767; nnn is the numbers DWnnn which defines block. If the mmm not set the numbers, the numbers of mmm is 3= DW3/nnn

Max. 30

** The HMI can read up to 30Words in one read command. Relay Type
Input Image Output Image Extended I/O Flag s Peripheral I/O

Format
IBnnn.b QBnnn.b OBnnn.b FBnnn.b PBnnn.b

Range of the Relay


nnn=0-127; b=0-7 nnn=0-127; b=0-7 nnn=0-255; b=0-7 nnn=0-255; b=0-7 nnn=0-255; b=0-7

Block
b=0 e.g. IB30.0 b=0 e.g. QB2.0 b=0 e.g. OB0.0 b=0 e.g. FB23.0 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, PWS17xx,PWS700, PWS-31xx and PWS-37Xx do not provide 20mA current-loop.

ADP Users Manual 473

9. Communication with PLC and PWS

3. Communication Format: Before connection, please set up the communication parameters and the dip-switch as below: Format
a.Communication Format

PLC Setting
20mA CURRENT LOOP RS-232/Current-loop converter

PWS Setting
PWS-30xx/PWS-21xx COM1 or COM2=>RS232

b.Station No. c.Transmission Speed

None 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 e.PLC Mode Code f. Command Delay

8-bits, EVEN ,1-bit PLCs Data Block n=3255 must OPEN PWS Command Delay

474 ADP Users Manual

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 Type
Register Register

Format
nnn mmm/nnn

Range with the Register


nnn=0-255, data block: set 3 mmm=0-255, nnn=0-255

Data Size
Word(16 Bits) Word(16 Bits)

Register Type
Relay Relay

Format
nnn.b mmm/nnn.b

Range with the Relay


nnn=0-255, b=0-f, data block: set 3 mmm=0-255, nnn=0-255, b=0-f

Block
b must be 0 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
b.Station No. c.Transmission Speed d.Transmission Format

PLC Setting
None 9600 bps 8-Bits, EVEN, 1-Bit

PWS Setting
COM1 or COM2=RS232

a.Communication Format RS232

ADP Users Manual 475

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
Input Image Input Image Output Image Output Image Internal Bits Internal Bits Timer Counter Special S Special S Special Bits Special Bits Special Bits Analog input word Analogoutputword Data Area Data Area Data Area

Format
IWn IDn QWn QDn MWnn MDnn Tnnn Cnnn SWnn SDnn SMWnnn SMWnnn SMDnnn AIWnn AQWnn VWnnnn VDnnnn DBWnnnn

Range with the Register


n=0-14 n=0-12 n=0-14 n=0-12 nn=0-99 nn=0-97 nnn=0-255 nnn=0-255 nn=0-99 nn=0-97 nnn=0-27 nnn=28-199 nnn=0-197 nn=0-30 nn=0-30 nnnn=0-9998 nnnn=0-9996 nnnn=0-9998

Data Size
Word Double Word Word Double Word Word Double Word Word Word Word Double Word Word* read only Word Double Word Word* read only Word* read only Word Double Word Word

**AQW; SW;SD cant used in CPU212,214 Relay Type


Input Image Output Image Internal Bit Timer Bit Counter Bit Special Bit Data Area Bit Special M

Format
In.b Qn.b Mnn.b Tnnn Cnnn SMnnn.b Vnnnn.b Snn.b

Range with the Relay


n=0-15; b=0-7 n=0-15; b=0-7 nn=0-100;b=0-7 nnn=0-255 nnn=0-255 nnn=0-200 ;b=0-7 nnnn=0-999 ;b=0-7 nn=0-100; b=0-7

Block
b=0 e.g. I3.0 b=0 e.g. Q2.0 b=0 e.g. M0.0 b=0 e.g.T0 *read only b=0 e.g.C0 *read only b=0 e.g. SM23.0 b=0 e.g. V2323.0 b=0 e.g. S25.0

2. The illustration of the connection:PWS-series to PLC PROGRAM PORT of (RS485 mode).

476 ADP Users Manual

9. Communication with PLC and PWS

3. Communication Format: Before connection, please set up the communication parameters and the dip-switch as below: Format
b.Station No. c.Transmission Speed d.Transmission Format e.Command Delay

PLC Setting
02(02-27) 9600 /19200bps 8-Bits, EVEN, 1-Bit

PWS Setting
COM2=RS232/422/485 1. RS485: Sets SW10=ON

a.Communication Format RS485

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 Users Manual 477

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
DBmmm.DBWnnnn

Format
mmm=1-255 nnnn=0-8190

Range with the Register


DBmmm.DBWnnnn is the address of a word locates at byte #nnnn and the byte following #nnnn of data block #3 DBmmm.DBDnnnn is the address of a double-word locates at byte #nnnn and the three bytes following #nnnn of data block #mmm

Data Size
Word

DBmmm.DBDnnnn

mmm=1-255 nnnn=0-8188

Double Word

** The HMI can read up to 32Words in one read command. Relay Type
DBmmm.DBXnnnn. b

Format
mmm=1-255 nnnn=0-8191 b=0-7

Range with the Relay


DBmmm.DBXnnnn.b is the address of Bit #b of the word locates at byte #nnnn of data block #mmm

Block
b=0

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
a.Communication Format

PLC Setting
RS232=CP340

PWS Setting
COM2=RS232/RS422/RS485

478 ADP Users Manual

9. Communication with PLC and PWS RS422=CP340 RS485=CP340 b.Station No. c.Transmission Speed d.Transmission Format None 9600 /19200bps 8-Bits, EVEN, 1-Bit 1. RS422: Set SW10=OFF 2. RS485: Set SW10=ON 1. Set SW5=OFF if parameters are set in ADP 2. Set SW5=ON if parameters are set in the HMI

e.FUNCTION BLOCK FB40,FB2,FB3,DB2,DB3 for CP

ADP Users Manual 479

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 Type
Input Image Input Image Output Image Output Image Bits Bits Data Area (DB10) Data Area (DB10) Data Area (DB10) Data Area (DB10)

Format

Range with the Register


nnnnn=0-65534 nnnnn=0-65532 nnnnn=0-65534 nnnnn=0-65532 nnnnn=0-254 nnnnn=0-252 nnnnn=0-65534 nnnnn=0-65532 nnnnn=0-65534; the Byte nnnnn & nnnnn+1 make DBWnnnnn nnnnn=0-65532; a double word address, the DBWnnnn & DBWnnnn+1 make DBDnnnn

Device Type /Aux. Address


0 1 2 3 4 5 6 7 6 0 0

Data Size R/W


Word DWord

IWnnnnn IDnnnnn QWnnnnn QDnnnnn MWnnn MDnnn VWnnnnn VDnnnnn DBWnnnnn

0 0

Word DWord

0 0

Word DWord

0 0

Word

DWord 0 Word

DBDnnnnn

0 DWord

Data Area Data Area

DBmmm.DB mmm=1-255 Wnnnnn nnnnn=0-65534 DBmmm.DB mmm=1-255 Dnnnnn nnnnn=0-65532 Tnnnnn Cnnnnn nnnnn=0-65534 nnnnn=0-65534

8 9

0 0

Word

DWord 10 11 0 0 Word Word

Timer Counter

**Timer, Counter are read-only. Relay Type


Input Image Output Image Bit

Foramt
Innnnn.b Qnnnnn.b Mnnn.b

Range with the Relay


nnnnn=0-65535; b=0-7 nnnnn=0-65535; b=0-7 nnn=0-255; b=0-7

Device Type /Aux.Address


0xC0 0xC1 0xC2 0-7 0-7 0-7

BlockR/W
Bit Bit Bit

480 ADP Users Manual

9. Communication with PLC and PWS

Relay Type
Data Area Bit (=DB10) Data Area Bit (=DB10)

Foramt
Vnnnnn.b DBXnnnn.b

Range with the Relay


nnnn=0-65535; b=07 nnnnn=0-65535; b=0-7

Device Type /Aux.Address


0xC3 0xC4 0-7 0-7

BlockR/W
Bit Bit

DB10.DBXnnnnn.b is a bit address, It is in #b bit of #nnnnn word with DB10 Data Area Bit DBmm.DBX nnnn.b mm=1-31 nnnnn=0-65535; b=0-7 0xC5 0-7 Bit

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
b.Station No. c.Transmission Speed d.Transmission Format

PLC Setting
2 19200 bps 8-Bits, EVEN, 1-Bis

PWS Setting
COM1 or COM2=RS485

a.Communication Format RS485

**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 Users Manual 481

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 Type
Input Image Input Image Output Image Output Image Bits Bits Data Area (DB10) Data Area (DB10) Data Area (DB10) Data Area (DB10)

Format

Range with the Register


nnnnn=0-65534 nnnnn=0-65532 nnnnn=0-65534 nnnnn=0-65532 nnnnn=0-65534 nnnnn=0-65532 nnnnn=0-65534 nnnnn=0-65532 nnnnn=0-65534; the Byte nnnnn & nnnnn+1 make DBWnnnnn nnnnn=0-65532; a double word address, the DBWnnnn & DBWnnnn+1 make DBDnnnn

Device Type /Aux. Address


0 1 2 3 4 5 6 7 6 0 0

Data Size R/W


Word DWord

IWnnnnn IDnnnnn QWnnnnn QDnnnnn MWnnn MDnnn VWnnnnn VDnnnnn DBWnnnnn

0 0

Word DWord

0 0

Word DWord

0 0

Word

DWord 0 Word

DBDnnnnn

0 DWord

Data Area Data Area

DBmmm.DB mmm=2-205 Wnnnnn nnnnn=0-65534 DBmmm.DB mmm=2-205 Dnnnnn nnnnn=0-65532

8 9

0 0

Word

DWord

Relay Type
Input Image Output Image Bit Data Area Bit (=DB10) Data Area Bit (=DB10)

Format
Innnnn.b Qnnnnn.b Mnnn.b Vnnnnn.b DBXnnnn.b

Range with the Register


nnnnn=0-65535; b=0-7 nnnnn=0-65535; b=0-7 nnn=0-65535; b=0-7 nnnn=0-65535; b=07 nnnnn=0-65535; b=0-7

Device Type /Aux. Address


0xC0 0xC1 0xC2 0xC3 0xC4 0-7 0-7 0-7 0-7 0-7

Block R/W
Bit Bit Bit Bit Bit

482 ADP Users Manual

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 nnnn.b mm=2-26 nnnnn=0-65535; b=0-7 0xC5 0-7 Bit

2. The illustration of the connection: a. PWS-series to PLC MPI CABLE RS232C PORT MPI 6ES7-972-0CA210XA0

b.

PW S-series to PLC MPI CAB LE RS232C PORT HMI 6ES7-9720CA10-0X A0

c.

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

ADP Users Manual 483

9. Communication with PLC and PWS

3. Communication Format: Before connection, please set up the communication parameters and the dip-switch as below: Format
a.Communication Format b.Station No.

PLC Setting
MPI CABLE RS232 02

PWS Setting
COM1 or COM2=RS232 1. Set PLC Station = 02 in ADP 1. Set SW5 =OFF if parameters are set in ADP 2. Set SW5=ON if parameters are set in the

c.Tansmission Speed 19200/38400 bps d.Tranmission Format 8-Bits, ODD, 1-Bit e. Command Delay f. DATA BLOCK DB10 for S7-300-CPU

HMI Set PWS Command Delay

484 ADP Users Manual

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
Input Image Input Image Output Image Output Image Bits Bits Timer Image Timer Image Timer Image Timer Image Counter Image DBmmm.DBWnnnn n DBmmm.DBDnnnn n

Format
IWnnnnn IDnnnnn QWnnnnn QDnnnnn MWnnn MDnnn Tnnnnn.10ms Tnnnnn.100m s Tnnnnn.1s Tnnnnn.10s Cnnnnn mmm=2-205 nnnn=0-65534 mmm=2-205 nnnn=0-65532

Range with the Register


nnnnn=0-65534 length=2-523 nnnnn=0-65532 length=2-523 nnnnn=0-65534 length=2-523 nnnnn=0-65532 length=2-523 nnnnn=0-65534 length=2-78 nnnnn=0-65532 length=2-78 nnnnn=0-65534 length=2-523 nnnnn=0-65534 length=2-523 nnnnn=0-65534 length=2-523 nnnnn=0-65534 length=2-523 nnnnn=0-65534 length=2-523 nnnn=0-65534; DBWnnnn is a word address, the Byte nnnn & nnnn+1 make DBWnnnn nnnnn=0-65532;DBDnnnn is a double word address, the DBWnnnn & DBWnnnn+1 make DBDnnnn nnnnn=0-65534; DBWnnnnn is a word address, the Byte nnnnn & nnnnn+1 make DBWnnnnn nnnnn=0-65532; DBDnnnnn is a double word address, the DBWnnnn & DBWnnnn+1 make DBDnnnn nnnnn=0-65534; VWnnnnn is a word address, the Byte nnnnn & nnnnn+1 make DBWnnnnn nnnnn=0-65532; VDnnnnn is a double word address, the DBWnnnn & DBWnnnn+1 make DBDnnnn

Data Size
Word Double Word Word Double Word Word Double Word Word Word Word Word Word Word

Double Word

Data Area (DB10)

DBWnnnnn

Word

Data Area (DB10)

DBDnnnnn

Double Word

Data Area (DB10)

VWnnnnn

Word

Data Area (DB10)

VDnnnnnn

Double Word

Relay Type
Input Image Output Image

Format
Innnnn.b Qnnnnn.b

Range with the Relay


nnnnn=0-65535; b=07 nnnnn=0-65535; b=0-

Block
b=0 e.g. I3.0 b=0 e.g. Q2.0

ADP Users Manual 485

9. Communication with PLC and PWS

Relay Type

Format

Range with the Relay


7 nnnnn=0-65535; b=07 mmm=2-26 nnnnn=0-65535 ;b=07 nnnnn=0-65535 ;b=07 nnnnn=0-65535; b=07

Block

Bit Data Area Bit

Mnnnnn.b DBmm.DBXnnnnn. b DBXnnnnn.b

b=0 e.g. M0.0 b=0 e.g. DB22.DBX20.0

Data Area Bit (=DB10) Data Area Bit (=DB10)

b=0 e.g. DBX23.0 DBX23.0=DB10.DBX23. 0 b=0 e.g. V23.0 V23.0=DB10.DBX23.0

Vnnnnn.b

DB10.DBXnnnnn.b is a Bit address, It is in #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
b.Node Address c.Transmission Speed d.Transmission Format e. OPEN DATA BLOCK

PLC Setting
02 9600/19200/38400 bps 8-Bits, ODD, 1-Bit DB block for S7-300-CPU

PWS Setting
COM2=RS232

a.Communication Format HMI CABLE RS232

Set PWS Command Delay

486 ADP Users Manual

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
Input Register Output Register Special Register Constant Register Data Register

Format
WXnn WYnn WSnn WCnnn Vnnnn

Range with the Register


nn=1-24 nn=1-27 nn=1-40 nnn=1-512 nnnn=1-1024

Data Size
Word(16 Bits) Word(16 Bits) Word(16 Bits) Word(16 Bits) Word(16 Bits)

Relay Type
Input Relay Output Relay Auxiliary Relay

Format
Xnnn Ynnn Cnnnn

Range with the Relay


nnn=1-384 nnn=1-384 nnnn=1-1024

Block
Must be multiple of16 +1 Must be multiple of 16+1 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
b.Station No. c.Transmission Speed d.Transmission Format

PLC Setting
0 9600 bps 8-Bits, ODD, 1-Bit

PWS Setting
COM1 or COM2=RS232

a.Communication Format RS232

ADP Users Manual 487

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
Input Output Auxiliary Register Auxiliary Register System Register Auxiliary Relay Register Constant Register

Format
Xnnn Ynnn Vnnnn Dnnnn WSnnn Cnnnn WCnnn

Range with the Register


nnn=1-369(must be 1 or multiple of 16+1) nnn=1-369(must be 1 or multiple of 16+1) nnnn=1-1024 nnnn=1-1024 nnn=1-128 nnnn=1-2048(must be 1 or multiple of 16+1) nnn=1-912

Data Size
Word Word Word Word Word Word Word

Relay Type
Input Output Auxiliary Relay Special Relay

Format
Xnnn Ynnn Cnnnn SCnnn

Range with the Relay


nnn=1-384 nnn=1-384 nnnn=1-2048 nnn=1-128

2. The illustration of the connection: a. PWS-s eries to PLC RS422 PORT of TP02 PORT of TP02 b.PWS-series to PLC RS485

3. Communication Format: Before connection, please set up the communication parameters and the dip-switch as below: Format
a.Communication Format b.Station No. c.Transmission Speed d.Transmission Format

PLC Setting
RS422/485 01 19200 bps 7-Bits, EVEN , 2-Bits

PWS Setting
1. PLC Station =01

[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 bitPARRITY,STOP bit
488 ADP Users Manual

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 Users Manual 489

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
Function

Format
Fnnn

Range with the Register


nnn = 0-125

Data Size
Word(16 Bits)

2. The illustration of the connection: a. PWS-series to N 2 (R S232)

Must use TAIANs FA-RS-232-N2 cable b. PWS-serie s to N2 (R S485 )

Must use TAIANs 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
a.Communication Format b.Station No. c.Transmission Speed d.Transmission Format

PLC Setting
RS232C RS485 RS232C=1 RS485=1 RS232C=9600 bps RS232C =7 Bits,odd,1 Bits

PWS Setting

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.(Dont use)
490 ADP Users Manual

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 Users Manual 491

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
Internal Word

Format
Wnnnn

Range with the Register


nnnn=0-9999

Data Size
Word

** The HMI can read up to 60Words in one read command. PLC Denotation: %MWnnnn. Relay Type
Bit of Internal Word

Format
Wnnnn:bb

Range with the Relay


nnnn=0-9999; bb=0-15

Block
bb=00 e.g. W0:0

Note: The writing unit for single point bit is 16 bits. Note: When HMI changes a relays 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 HMIs 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 Users Manual

9. Communication with PLC and PWS

2. Communication Format: Before connection, please set up the communication parameters and the dip-switch as below: Format
b.Station No. c.Transmission Speed d.Transmission Format

PLC Setting
08; MASTER 9600bps/19200bps 8-Bits,ODD,1-Bit

PWS Setting
COM2=RS232/422/485 1. RS485:Set SW10=ON 1. Set PWS Station:18 SLAVE in ADP

a.Communication Format RS232/ RS485

ADP Users Manual 493

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
Input Relay Register Output Relay Register Internal Relay Register Link Register Timer Register Counter Register Data Register

Format
XWnn YWnn RWnn ZWnn Tnnn Cnn Dnnnn

Range with the Register


nn=0-63 nn=0-63 nn=0-63 nn=0-31 nnn=0-127 nn=0-95 nnnn=0-1535

Data Size
Word Word Word Word Word Word Word

** The HMI can read up to 32Words in one read command. Relay Type
Input Relay Output Relay Internal Relay Link Relay

Format
Xnnb Ynnb Rnnb Znnb

Range with the Relay


nn=0-31b=0-f nn=0-31b=0-f nn=0-63b=0-f nn=0-31b=0-f

Block
b=0 e.g. X10 b=0 e.g. Y00 b=0 e.g. R100 b=0 e.g. Z310

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

494 ADP Users Manual

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
COM2=RS232/422/485 2. RS485: Set SW10=ON b.Station No. c.Transmission Speed d.Transmission Format 0 9600bps (8,E,1);(8,O,1); (8,N,1)

a.Communication Format RS422

Programmer/computer link Computer link can be used 1. RS422: Set SW10=OFF

ADP Users Manual 495

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
External input register Output relay register Direct input register Direct output register Auxiliary relay register Special register Timer register Counter register Data register Link register Link relay register File register

Format
XWnn YWnn IWnn OWnn RWnnn SWnnn Tnnn Cnnn Dnnnn Wnnnn LWnnn Fnnnn

Range with the Register


nn=0-63 nn=0-63 nn=0-63 nn=0-63 nnn=0-127 nnn=0-255 nnn=0-255 nnn=0-255 nnnn=0-4095 nnnn=0-1023 nnn=0-255 nnnn=0-1023

Data Size
Word Word Word Word Word Word Word Word Word Word Word Word

** The HMI can read up to 32Words in one read command. Relay Type
External input device External output device Direct input device Direct output device Auxiliary relay device Special device Timer device Counter device Link device Link relay

Format
Xnnb Ynnb Innb Onnb Rnnnb Snnnb T.nnn C.nnn Znnnb Lnnnb

Range with the Relay


nn=0-63; b= hex number 0-f nn=0-63; b= 0-f nn=0-63; b= 0-f nn=0-63; b= 0-f nnn=0-127; b= 0-f nnn=0-255; b= 0-f nnn=0-255 nnn=0-255 nnn=0-511; b= 0-f nnn=0-255; b= 0-f

Block
b=0 e.g. X10 b=0 e.g. Y00 b=0 b=0 b=0 e.g. R100 b=0 e.g. S230

b=0 e.g. Z30 b=0 e.g. L2550

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

496 ADP Users Manual

9. Communication with PLC and PWS

3. Communication Format: Before connection, please set up the communication parameters and the dip-switch as below: Format
a.Communication Format b.Station No. c.Transmission Speed d.Tranmission Format

PLC Setting
RS232 0 ==T1 9600bps 8-Bits,ODD,1-Bit

PWS Setting
COM1/COM2=RS232 1. Set PLC station 00 in ADP 1. Set SW5=OFF if parameters are set in ADP 2. Set SW5=ON if parameters are set in ADP

ADP Users Manual 497

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
Data Register

Format
#70.00~#70.99 #71.00~#71.99 #72.00~#72.99 #73.00~#73.99 #18.01~#18.30 #19.01~#19.30 #20.01~#20.50 #91.01~#91.10

Range with the Register


W 0 ~ W 198 W 200 ~ W 398 W 400 ~ W 598 W 600 ~ W 798 W 800 ~ W 858 W 860 ~ W 918 W 920 ~ W1018 W1020 ~ W1029

Data Size
Word(32 Bits) Word(32 Bits) Word(32 Bits) Word(32 Bits) Word(32 Bits) Word(32 Bits) Word(32 Bits) Word(16 Bits)

Relay Type
Bit Relay

Fotrmat
#18.31~#18.50 #19.31~#19.50

Range with the Relay Block


B0 ~ B19 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
b.Station No.

PLC Setting
Set the parameter of UD70 address#14.01 to 11

PWS Setting
RS485 1. Set PLC Station =11 in ADP

a.Communication Format RS485

498 ADP Users Manual

9. Communication with PLC and PWS c.Transmission Speed d.Transmission Format e.Mode 9600 bps 7-Bits, Even , 1-Bit Set the parameter of UD70 address#14.02 to 06

ADP Users Manual 499

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
Input Relay Output Relay Auxiliary Relay Step Relay Special Relay Data Special Data Timer Register Counter Register Counter Register

Format
Xnnn Ynnn Mnnnn Snnn Mnnnn Dnnnn Dnnnn Tnnn Cnnn Cnnn

Range with the Register


nnn=0-777,oct, 0 or multiple of 8 nnn=0-777,oct, 0 or multiple of 8 nnnn=0-5119 0 or multiple of 8 nnn=0-999 0 or multiple of 8 Nnnn=9000-9255 0 or multiple of 8 nnn= 0-8191 nnnn= 9000-9255 nnn= 0-255 nnn= 0-199 nnn= 200-255

Data Size
Byte Byte Byte Byte Byte Word(16 Bits) Word(16 Bits) Word(16 Bits) Word(16 Bits) Word(32 Bits)

Relay Type
Input Relay Output Relay Auxiliary Relay ST1 Status Special Relay Timer Relay Counter Relay Timer Coil Counter Coil

Format
Xnnn Ynnn Mnnnn Snnn Mnnnn Tnnn Cnnn TCnnn CCnnn

Range with the Relay


nnn= 0-777, Oct nnn= 0-777, Oct nnnn=0-5119 nnn= 0-999 nnnn=9000-9255 nnn= 0-255 nnnn=0-255 nnn= 0-255 nnn= 0-255

Block
Must be 0 or multiple of 8 Must be 0 or multiple of 8 Must be 0 or multiple of 8 Must be 0 or multiple of 8 Must be 0 or multiple of 8 Must be 0 or multiple of 8 Must be 0 or multiple of 8 Must be 0 or multiple of 8 Must be 0 or multiple of 8

2. The illustration of the connection:


500 ADP Users Manual

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
b.Station No. c.Transmission Speed d.Transmission Format

PLC Setting
RS232C=0 RS422=1 19200 bps 7-Bits, EVEN , 1-Bit

PWS Setting
RS232C=0 RS422=1

a.Communication Format RS232C,RS422

ADP Users Manual 501

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 Type
Input Relay Output Relay Intern Relay Common Relay Link Relay Special Relay Preset Timer Set Timer Preset Counter Set Counter Data Register File Register Link Register Special Register Index Register Common Register

Foramt
Xnnnnn Ynnnnn Innnnn Ennnn Lnnnnn Mnnnn TPnnnn TSnnnn CPnnnn CSnnnn Dnnnn Bnnnnn Wnnnn Znnn Vnn Rnnnn

Range with the Register


nnnnn= 201-65499(not continue) nnnnn= 201-65499(not continue) nnnnn= 1-16384 nnnn= 1-4096 nnnnn= 1-65499(not continue) nnnn= 1-9984 nnnn= 1-3072 nnnn= 1-3072 nnnn= 1-3072 nnnn= 1-3072 nnnn= 1-8192 nnnnn= 1-32768 nnnnn= 1-65499(not continue) nnn= 1-512 nn= 1-64 nnnn= 1-4096

Data Size
Word(16 Bits) Word(16 Bits) Word(16 Bits) Word(16 Bits) Word(16 Bits) Word(16 Bits) Word(16 Bits) Word(16 Bits) Word(16 Bits) Word(16 Bits) Word(16 Bits) Word(16 Bits) Word(16 Bits) Word(16 Bits) Word(16 Bits) Word(16 Bits)

Example
X00201 Y00201 I00001 E0001 L00001 M0001 TP0001 TS0001 CP0001 CS0001 D0001 B00001 W00001 Z001 V01 R0001

[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
Iuput Relay Output Relay Intern RELAY Common RELAY Link RELAY Special RELAY Timer

Foramt
Xnnnnn Ynnnnn Innnnn Ennnn Lnnnnn Mnnnn TUnnnn

Range with the Relay


nnnnn= 201-65499(not continue) nnnnn= 201-65499(not continue) nnnn= 1-16384 nnnn= 1-4096 nnnn= 1-65499 nnnn= 1-9984 nnnn= 1-3072

Data Size
Bit Bit Bit Bit Bit Bit Bit

502 ADP Users Manual

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 YOKOGAWAs 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
a.Communication Format b.Station No. c.Transmission Speed d.Transmission Format

PLC Setting
RS232C/ RS485 RS232C=1 RS485=1 RS232C=9600 bps 8 Bits,even,1 Bit

PWS Setting

RS232C=1(based on cpu slot 1-4) RS485 =1

[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 Users Manual 503

Vous aimerez peut-être aussi