0% found this document useful (0 votes)
35 views30 pages

Ekey1 1

Uploaded by

asam youssef
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
35 views30 pages

Ekey1 1

Uploaded by

asam youssef
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 30

Device/PLC Connection

Manuals

About the Device/PLC Connection Manuals


Prior to reading these manuals and setting up your device, be sure to read the
"Important: Prior to reading the Device/PLC Connection manual" information. Also,
be sure to download the "Preface for Trademark Rights, List of Units Supported, How
to Read Manuals and Documentation Conventions" PDF file. Furthermore, be sure
to keep all manual-related data in a safe, easy-to-find location.
Keyence Corporation PLC

2.18 Keyence

2.18.1 System Structure


The following describes the system structure for connecting the GP to Keyence PLCs.
The Cable Diagrams mentioned in the following tables are
listed in the section titled "2.18.2 Cable Diagrams".
KZ-300/KZ-350 Series (using Link I/F)
CPU Link I/F Cable Diagram Target Machine

PC Link
Unit
KZ-300 KZ-L2 RS-232C GP/GLC Series
KZ-350 Port 1 Connection
(Cable Diagram 1) ST401
RS-232C GP/GLC Series
Port 2 Connection
(Cable Diagram 2) ST401

RS-422 GP/GLC Series


Port 2 Connection
(Cable Diagram 3) ST400

Port 1 and Port 2 can be connected at the same time on the GP. When
connected at the same time, the Communication Setup for Port 1 and Port
2 must be the same.

KZ-A500 Series (using Link I/F)


CPU Link I/F Cable Diagram Target Machine

KZ-A500 KZ-L10 RS-232C - connected to Port 1 GP/GLC Series


(Cable Diagram 4)
ST401
RS-232C - connected to Port 2 GP/GLC Series
(Cable Diagram 2)
ST401
RS-422 - connected to Port 2 GP/GLC Series
(Cable Diagram 3)
ST400

Port 1 (RS232C), Port 2 (RS232-C or RS422) and the modular


controller on CPU unit can be used at the same time.

GP-PRO/PBIII for Windows Device/PLC Connection Manual 1


Keyence Coporation PLC

KZ-A500 (CPU Direct Connection)


CPU Cables Connector Target Machine

Modular
Modular

KZ-A500 Keyence Co. Keyence Co.


GP/GLC Series
OP-26487 OP-26485 *1
Keyence Co.
ST401
OP-26486

*1 The above CPU cannot be directly connected to GP2300/GP2301/GLC2300


series units because of the connector cover size. In this case, use Digital’s
CA1-EXCBL/D25-01 extension cable between the connector and the GP/GLC.

Visual KV Series (CPU Direct Connection)

CPU Cables Connector Target Machine

Modular
Socket
Modular
Socket

KV-10A†,KV-10D†
*1 Keyence Co. Keyence Co.
OP-26487 GP/GLC Series
KV-16A†,KV-16D† OP-26485 *2
KV-24A†,KV-24D† Keyence Co.
KV-40A†,KV-40D† OP-26486 ST401

*1 The value of † depends on the PLC specifications.


*2 The above CPU cannot be directly connected to GP2300/GP2301/GLC2300
series units because of the connector cover size. In this case, use Digital’s
CA1-EXCBL/D25-01 extension cable between the connector and the GP/GLC.

KV-700 Series (using Link I/F)


CPU Link I/F Cable Diagram Target Machine
PC Link Unit

KV-700 KV-L20 RS-232C GP/GLC Series


(Communication Port 1)
<Cable Diagram 5> ST401

RS-232C GP/GLC Series


(Communication Port 2)
<Cable Diagram 6> ST401
RS-422 GP/GLC Series
(Communication Port 2)
<Cable Diagram 7> ST400

2 GP-PRO/PBIII for Windows Device/PLC Connection Manual


Keyence Corporation PLC

KV-700/KV-1000 Series (CPU Direct Connection)


CPU Cables Connector Target Machine

Modular
Modular

KV-700 Keyence Co. Keyence Co. *2


KV-1000 OP-26487 *1 GP/GLC Series
OP-26485
Keyence Co.
ST401
OP-26486

*1 The above CPU cannot be directly connected to GP2300/GP2301/GLC2300


series units because of the connector cover size. In this case, use Digital’s
CA1-EXCBL/D25-01 extension cable between the connector and the GP/GLC.
*2 GP70 Series (except for GP377 Series units), GLC100 Series and GLC300
Series units cannot be used.
KV Series (CPU Direct Connection)
CPU Cables Connector Target Machine

Modular
Socket
Modular
Socket

KV-10RW,KV-10T2W Keyence Co. Keyence Co.


*2
KV-16RW,KV-16T2W OP-26487 OP-26485
*1 GP/GLC Series
KV-24RW,KV-24T2W
KV-40RW,KV-40T2W Keyence Co.
KV-80RW,KV-80T2W OP-26486 ST401

*1 The above CPU cannot be directly connected to GP2300/GP2301/GLC2300


series units because of the connector cover size. In this case, use Digital’s
CA1-EXCBL/D25-01 extension cable between the connector and the GP/GLC.
*2 GP70 Series (except for GP377 Series units) and GLC100 Series units can-
not be used.

KV 1000 Series (Link I/F Connection)


CPU Link I/F Cable Target Machine
PC Link Unit

Socket

KV-1000 KV-L20R RS-232C Port 1 Connection GP/GLC Series


(Cable Diagram 5) ST401
RS-232C Port 2 Connection GP/GLC Series
(Cable Diagram 6) ST401
RS-422 Port 2 Connection GP/GLC Series
(Cable Diagram 8) ST400

GP-PRO/PBIII for Windows Device/PLC Connection Manual 3


Keyence Coporation PLC

2.18.2 Cable Diagrams

The cable diagrams illustrated below and the cable diagrams recommended by
Keyence may differ, however, using these cables for your PLC operations will not
cause any problems.

• Connect the FG line of the Shield cable to the GP.


• For the RS-232C connection, use a cable length less than 15m.
• If a communications cable is used, it must be connected to the SG
(signal ground).
• For the RS-422 connection, refer to Keyence's PLC manual for the
cable length.

Cable Diagram 1 (RS-232C)


GP/GLC Series Units
Shield
GP Unit 1 FG 2 SD PLC
(25P) 2 SD 3 RD (25P)
3 RD 4 RS
4 RS 5 CS
5 CS 7 SG
6 DR
7 SG
8 CD
20 ER

ST401 Unit
Shield
ST Unit Connector Shell 2 SD PLC
(9P) 3 SD 3 RD (25P)
2 RD 4 RS
7 RS 5 CS
8 CS 7 SG
6 DR
5 SG
1 CD
4 ER

4 GP-PRO/PBIII for Windows Device/PLC Connection Manual


Keyence Corporation PLC

Cable Diagram 2 (RS-232C)

GP/GLC Series Units


Shield
GP Unit 1 FG 3 SD PLC
(25P) 2 SD 5 RD (25P)
3 RD 1 SG
4 RS
5 CS
6 DR
7 SG
8 CD
20 ER

ST401 Unit
Shield
ST Unit
PLC
(9P) Connector Shell 3 SD (25P)
3 SD 5 RD
2 RD 1 SG
7 RS
8 CS
6 DR
5 SG
1 CD
4 ER

GP-PRO/PBIII for Windows Device/PLC Connection Manual 5


Keyence Coporation PLC

Cable Diagram 3 (RS-422)

Turn the PLC's Termination Resistor switch ON.

The reading of the A and B signals is reversed on the GP and PLC.

GP/GLC Series Units


• When using Digital's RS-422 connector terminal adapter, GP070-CN10-0

• When using Digital's RS-422 Cable, GP230-IS11-0

• When making your own cable connections

Termination
Resistance
470Ω 1/2W

• Hirakawa Densen's H-9293A (C0-HC-ESV-3P*7/0.2) is the recommended


cable.
• When connecting the #9 and #10 pins in the GP Serial I/F, a termination
Ω is added between RDA and RDB.
resistance of 100Ω
• When using RS-422 connection, please check the cable length with
Keyence PLC User manual.

6 GP-PRO/PBIII for Windows Device/PLC Connection Manual


Keyence Corporation PLC

ST400 Unit
• When using Digital's RS-422 cable CA3-CBL422/5M-01

RDA 1 SG PLC
RDB 2 SDB
SDA 3 SDA
SDB 4 RDB
CA3-CBL422/5M-01 SG
GND(SG) 5 RDA
FG
Terminal Block No.
Ground
Be sure to connect the FG terminal to the ground. For information about FG
connections, refer to page 1-5 note *1, in the "Connecting a Device/PLC to
the ST unit."

• When making your own cable connections


ST Unit PLC
(9P Female) *1 Shield
Connector Shell
5 SG 1 SG
Termination
Resistance 1 RDA 2 SDB
100Ω 2 RDB 3 SDA
Termination 3 SDA 4 RDB
Resistance 7 SDB 5 RDA
470Ω 1/2W
6 CSB
9 ERB Terminal Block No.
8 CSA
4 ERA

*1 Be sure to connect the shield to the Connector Shell. For information about FG
connections, refer to page 1-2 "RS422 I/F (ST400)" section's Note, in the "Con-
necting a Device/PLC to the ST unit."

• Hirakawa Densen's H-9293A (C0-HC-ESV-3P*7/0.2) is the recommended


cable.
• When using RS-422 connection, please check the cable length with
Keyence PLC User manual.

GP-PRO/PBIII for Windows Device/PLC Connection Manual 7


Keyence Coporation PLC

Cable Diagram 4 (RS-232C) Port 1

GP/GLC Series Units

• When using an RS-232C cable, the cable must be no longer than 15meters.
• When using an RS-422 cable, the cable must be no longer than 500meters.

GP Unit PLC
(25P) Shield (25P)
1 FG 2 SD
2 SD 3 RD
3 RD 4 RS
4 RS 5 CS
5 CS 7 SG
7 SG

ST401 Unit
ST Unit PLC
(9P Female) Shield (25P)
Connector Shell
3 SD 3 RD
2 RD 2 SD
7 RS 5 CS
8 CS 4 RS
6 DR 7 SG
5 SG
1 CD
4 ER

Cable Diagram 5 (RS-232C) Port 1

GP/GLC Series Units


GP Unit PLC
(D-sub 25P Male) Shield (D-sub 9P Female)
1 FG 2 RD
2 SD 3 SD
3 RD 7 RS
4 RS 8 CS
5 CS 5 SG
6 NC
7 SG
8 CD
20 ER

8 GP-PRO/PBIII for Windows Device/PLC Connection Manual


Keyence Corporation PLC

ST401 Unit
ST Unit PLC
(D-sub 9P Female) Shield (D-sub 9P Female)
Connector Shell
3 SD 2 RD
2 RD 3 SD
7 RS 8 CS
8 CS 7 RS
6 DR 5 SG
5 SG
1 CD
4 ER

Cable Diagram 6 (RS-232C) Port 2


GP/GLC Series Units
GP Unit PLC Communication
(D-sub 25P Male) Shield Terminal Block
1 FG 1 SG
2 SD 3 SD
3 RD 5 RD
4 RS
5 CS
6 NC
7 SG
8 CD
20 ER

ST401 Unit
ST Unit PLC Communication
(D-sub 9P Female) Shield Terminal Block
Connector Shell
3 SD 3 SD
2 RD 5 RD
7 RS 1 SG
8 CS
6 DR
5 SG
1 CD
4 ER

GP-PRO/PBIII for Windows Device/PLC Connection Manual 9


Keyence Coporation PLC

Cable Diagram 7 (RS-422) 4-wire type


• The termination resistance on the PLC side becomes active when
the Terminator Select switch on the unit is turned ON.
• The names of poles A and B are inverted between the GP and the
PLC.
• The cable length should be within 500 meters.

GP/GLC Series Units

• When using Digital's RS-422 connector terminal adapter, GP070-CN10-0


Terminal for
Termination resistance
GP Unit Shield communication
1/2W, 470Ω
RDA 1 SG
REB 2 REA
GP070-CN10-0
SDA 3 SDA
SDB 4 RDB
TERM 5 SDB
Termination resistance SG
1/2W, 470Ω FG

• When using Digital's RS-422 Cable, GP230-IS11-0


Terminal for
GP Unit communication
RDA 1 SG
REB 2 RDA
SDA 3 SDA
SDB 4 RDB
GP230-IS11-0 SG 5 SDB
FG
Ground

• When making your own cable connections


Terminal for
GP Unit Shield communication

1 FG 1 SG
7 SG 2 RDA
9 TRMX 3 SDA
Termination resistance
10 RDA 4 RDB
470Ω, 1/2W 16 RDB 5 SDB
Termination resistance 11 SDA
470Ω, 1/2W 15 SDB
18 CSB
19 ERB
21 CSA
22 ERA

10 GP-PRO/PBIII for Windows Device/PLC Connection Manual


Keyence Corporation PLC

ST400 Unit

• When using Digital's RS-422 cable CA3-CBL422/5M-01


PLC Communication
GP Unit Terminal Block
RDA 1 SG
RDB 2 RDA
SDA 3 SDA
SDB 4 RDB
SG
GND(SG) 5 SDB
CA3-CBL422/5M-01 FG
Ground

Be sure to connect the FG line to the FG terminal. For information about FG


connections, refer to page 1-5 note *1, in the "Connecting a Device/PLC to
the ST unit."

• When making your own cable connections


ST Unit PLC Communciation
(9P Female) *1 Shield Terminal Block
Connector Shell
5 SG 1 SG
Termination
Resistance 1 RDA 5 SDB
470Ω 1/2W 2 RDB 3 SDA
Termination
3 SDA 4 RDB
Resistance 7 SDB 2 RDA
470Ω 1/2W 6 CSB
9 ERB
8 CSA
4 ERA

*1 Be sure to connect the shield to the Connector Shell. For information about FG
connections, refer to page 1-2 "RS422 I/F (ST400)" section's Note, in the "Con-
necting a Device/PLC to the ST unit."

GP-PRO/PBIII for Windows Device/PLC Connection Manual 11


Keyence Coporation PLC

Cable Diagram 8 (RS-422) Port 2

• The Link Unit is equipped with termination resistance. When the ter-
minator selector switch is turned ON, termination resistance is inserted.
(Inserts 220Ω between SDA - SDB and RDA - RDB)

GP/GLC Series Units


• When using Digital's RS-422 connector terminal adapter, GP070-CN10-0
PLC
GP Unit
Termination Shield Communication
Resistance 220 Ω
FG Terminal
SG 1 SG
RDA 5 SDB
RDB 3 SDA
SDA 4 RDB
GP070-CN10-0
SDB 2 RDA
Termination
Resistance 220 Ω

• When making your own cable connections


GP PLC
(25P Male) Shield Communication
1 FG Terminal
7 SG 1 SG
Termination 10 RDA 5 SDB
Resistance 220Ω 16 RDB 3 SDA
Termination 11 SDA 4 RDB
Resistance 220Ω 15 SDB 2 RDA
18 CSB
19 ERB
21 CSA
22 ERA

ST400 Unit
• When making your own cable connections
ST PLC
(9P Female) *1 Shield Communication
Connector Shell Terminal
5 SG 1 SG
1 RDA 5 SDB
2 RDB 3 SDA
3 SDA 4 RDB
7 SDB 2 RDA
6 CSB
9 ERB
8 CSA
4 ERA

*1 Be sure to connect the shield to the Connector Shell. For information about FG
connections, refer to page 1-2 "RS422 I/F (ST400)" section's Note, in the "Con-
necting a Device/PLC to the ST unit."

12 GP-PRO/PBIII for Windows Device/PLC Connection Manual


Keyence Corporation PLC

2.18.3 Supported Devices

The following describes the range of devices supported by the GP.


KZ-300/KZ-350 Series Set up System Area here.

Device Bit Address Word Address Particulars


Input Relay 00000 ~ 0009 00 ~ 00
*1
7000 ~ 17415 70 ~ 174
Output Relay 0500 ~ 0503 05 ~ 05
*2
7500 ~ 17915 75 ~ 179
Help Relay 0504 ~ 0915 ---

Internal Help Relay 1000 ~ 6915 10 ~ 69


Special Help Relay 2000 ~ 2915 20 ~ 29 L/H

Timer (contact) T000 ~ T249 ---

Counter (contact) C000 ~ C249 ---


Timer (current value) --- T000 ~ T249

Counter (current value) --- C000 ~ C249


Data Memory --- DM0000 ~ DM9999

Temporary Data Memory --- TM00 ~ TM31

* 1 Address numbers *000~*400 are available for the bit device addresses,and
*0~*4 are available for the word addresses displayed.

Bit Address Word Address


addr 7000 70
addr 7001 to addr 7400 71 to 74
addr 8000 80
addr 8100 to addr 8400 81 to 84
addr 17000 to addr 17400 170 to 174

* 2 Address numbers *500~*900 are available for the bit device addresses, and
*5~*9 are available for the word addresses displayed.

Bit Address Word Address


addr 7500 75
addr 7600 to addr 7900 76 to 79
addr 8500 85
addr 8600 to addr 8900 86 to 89
addr 17500 to addr 17900 175 to 179

GP-PRO/PBIII for Windows Device/PLC Connection Manual 13


Keyence Coporation PLC

KZ-A500 (CPU Direct Connection)


Set up System Area here.
Device Bit Address Word Address Particulars

Input Relay X0000 ~ X07FF X0000 ~ X07F0


Output Relay Y0000 ~ Y07FF Y0000 ~ Y07F0
Internal Relay M0000 ~ M8191 M000 ~ M8176
Latch Relay L0000 ~ L8191 ---
Special Relay M9000 ~ M9255 M9000 ~ M9240
Annunciator F0000 ~ F2047 F0000 ~ F2032
Link Relay B0000 ~ B0FFF ---
Timer (contact) TS0000 ~ TS2047 ---

Timer (coil) TC0000 ~ TC2047 --- L/H

Counter (contact) CS0000 ~ CS1023 ---


Counter (coil) CC0000 ~ CC1023 ---
Timer (current value) --- TN0000 ~ TN2047
Counter (current value) --- CN0000 ~ CN1023
Data Register --- D0000 ~ D6143
Special Register --- D9000 ~ D9255
Link Register --- W0000 ~ W0FFF
File Register --- R0000 ~ R8191

14 GP-PRO/PBIII for Windows Device/PLC Connection Manual


Keyence Corporation PLC

KZ-A500 (using Link I/F)


Set up System Area here.
Device Bit Address Word Address Particulars

Input Relay X0000 ~ X07FF X0000 ~ X07F0


Output Relay Y0000 ~ Y07FF Y0000 ~ Y07F0
Internal Relay M0000 ~ M8191 M0000 ~ M8176
Latch Relay L0000 ~ L8191 L0000 ~ L8176
Link Relay B0000 ~ B0FFF
Annunciator Relay F0000 ~ F2047 F0000 ~ F2032
Special Relay M9000 ~ M9255 M9000 ~ M9240
Timer (connect) TS0000 ~ TS2047
Timer (coil) TC0000 ~ TC2047 L/H

Counter (connect) CS0000 ~ CS1023


Counter (coil) CC0000 ~ CC1023
Timer (current value) TN0000 ~ TN2047
Counter (current value) CN0000 ~ CN1023
Data Register D0000 ~ D6143
Link Register W0000 ~ W0FFF
File Register R0000 ~ R8191
Special Register D9000 ~ D9255

GP-PRO/PBIII for Windows Device/PLC Connection Manual 15


Keyence Coporation PLC

Visual KV Series (KV-10A/KV-10D/KV-16A/KV-16D//KV-24A/


KV-24D/KV-40A/KV-40D)
Set up System Area here.
Device Bit Address Word Address Particulars

00000 ~ 00915 000 ~ 009


Input/Output Relay
07000 ~ 17915 070 ~ 179

01000 ~ 01915 010 ~ 019


Internal AUX Relay
03000 ~ 06915 030 ~ 069

Special AUX Relay 02000 ~ 02915 020 ~ 029 *1

Timer (contact) T000 ~ T249

Counter (contact) C000 ~ C249


High-Speed Counter *2
CTC0 ~ CTC3
Comparator (contact)
Timer (set value) TS000 ~ TS249 L/H
Counter (set value) CS000 ~ CS249

Timer (current value) TC000 ~ TC249

Counter (current value) CC000 ~ CC249

Data Memory DM0000 ~ DM1999

Temporary Data Memory TM00 ~ TM31

Digital Trimmer AT0 ~ AT1 *2

High-Speed Counter
CTH0 ~ CTH1
(current value)
High-Speed Counter
CTC0 ~ CTC3
Comparator (set value)

*1 Some addresses are not available for writes.


*2 Not available for writes

16 GP-PRO/PBIII for Windows Device/PLC Connection Manual


Keyence Corporation PLC

KV-700 Series (using the KZ-300 series protocol)


Set up System Area here.

Device Bit Address Word Address Particulars

Input Relay 00000 ~ 00009 000 ~ 000 *1

Output Relay 00500 ~ 00503 005 ~ 005

Internal AUX Relay 00504 ~ 00915 005 ~ 009


Extended Input/Output Relay
01000 ~ 59915 010 ~ 599
Internal AUX Relay
Control Relay 60000 ~ 63915 600 ~ 639 *2

Timer (contact) T000 ~ T511 *3


L/H
Counter (contact) C000 ~ C511 *3

Timer (current value) T000 ~ T511 *3

Counter (current value) C000 ~ C511 *3

Data Memory DM0000 ~ DM9999 *4

Temporary Data Memory TM000 ~ TM511

Control Memory TM0520 ~ TM4519 *5

*1 PLC or GP data writing is not possible.


*2 GP cannot write data to any address.
*3 Only available when the timer command and the counter command exist in
the ladder program.
*4 The device range for the PLC is between DM0000 and DM19999, but ad-
dresses up to DM9999 are only accessible to the GP.
*5 Some addresses are not available for writes.

GP-PRO/PBIII for Windows Device/PLC Connection Manual 17


Keyence Coporation PLC

KV-700 Series (using the KZ-A500 (link) protocol)


Set up System Area here.

Device Bit Address Word Address Remarks

Input Relay X0000 ~ X0009 X0000 ~ X0000 *1*2

Output Relay X0050 ~ X0053 X0050 ~ X0050 *2

Internal AUX Relay X0054 ~ X009F X0050 ~ X0090 *2

Extended Input/Output Relay *2


X00A0 ~ X257F X00A0 ~ X2570
Internal AUX Relay
Control Relay M0000 ~ M3915 M0000 ~ M3904 *3*4

Timer (contact) TS000 ~ TS511 *5

Counter (contact) CS000 ~ CS511 *5


L/H
High-Speed Counter *5*6
CS512 ~ CS515
Comparator (contact)
Timer (current value) TN000 ~ TN511 *5

Counter (current value) CN000 ~ CN511 *5

High-Speed Counter *5
CN512 ~ CN513
(current value)
Data Memory D00000 ~ D19999 *7

Control Memory D50000 ~ D53999 *3

*1 Data cannot be written to the PLC or to the GP unit.


*2 Addresses must be specified using hexadecimal numbers.
*3 Some addresses are not available for writes.
*4 For addresses, only multiples of 16 may be specified.
*5 Only available when the timer command, the counter command, and the high-
speed timer command exist in the ladder program.
*6 GP cannot write data to any address.
*7 Even if the file registers are registered as R00000 to R19999, similar device
addresses can be used, e.g., R01111 = D01111.

18 GP-PRO/PBIII for Windows Device/PLC Connection Manual


Keyence Corporation PLC

The following table describes device names displayed when selecting GP-PRO/PBIII
for Windows screen editor's KZ-A500 (Link) Protocol, and their corresponding KV-
700 Series device names.

KZ-A500 (LINK) Protocol KV-700


Input Relay Input Relay
(X0000 ~ X0009) (00000 ~ 00009)
Output Relay Output Relay
(X0050 ~ X0053) (00500 ~ 00503)
Internal Relay Internal Auxiliary Relay
(X0054 ~ X009F) (00504 ~ 00915)
Extended Input/Output Relay Extended Input/Output Relay
Internal AUX Relay Internal AUX Relay
(X00A0 ~ X257F) (01000 ~ 59915)
Special Relay Control Relay
(M0000 ~ M3915) (60000 ~ 63915)
Timer (Contact) Timer (Contact)
(TS000 ~ TS511) (T000 ~ T511)
Counter (Contact) Counter (Contact)
(CS000 ~ CS511) (C000 ~ C511)
High-speed Counter Comparator (Contact) High-speed Counter Comparator (Contact)
(CS512 ~ CS515) (CTC0 ~ CTC3)
Timer (Current Value) Timer (Current Value)
(TN000 ~ TN511) (T000 ~ T511)
Counter (Current Value) Counter (Current Value)
(CN000 ~ CN511) (C000 ~ C511)
High-speed Counter (Current Value) High-speed Counter (Current Value)
(CN512 ~ CN513) (CTH0 ~ CTH1)
Data Register Data Memory
(D00000 ~ D19999) (DM00000 ~ DM19999)
Special Register Control Memory
(D50000 ~ D53999) (CM0000 ~ CM3999)

GP-PRO/PBIII for Windows Device/PLC Connection Manual 19


Keyence Coporation PLC

KV-700 Series (CPU Direct Connection)


Set up System Area here.

Device Bit Address Word Address Particulars

Input/Output Relay
00000~59915 000~599
Internal AUX Relay

Control Relay CR0000~CR3915 CR00~CR39

Timer (contact) T000~T511

Counter (contact) C000~C511


High-Speed Counter
CTC0~CTC3 *1
Comparator (contact)
Timer (set value) TS000~TS511 *2

Counter (set value) CS000~CS511 *2


L/H
Timer (current value) TC000~TC511 *2

Counter (current value) CC000~CC511 *2

Data Memory DM00000~DM39999

Temporary Data Memory TM000~TM511

Control Memory CM0000~CM3999

Digital Trimmer TRM0~TRM7 *2


High-Speed Counter
CTH0~CTH1 *2
(current value)
High-Speed Counter
CTC0~CTC3 *2
Comparator (set value)

*1 Not available for writes.


*2 32-bit device

20 GP-PRO/PBIII for Windows Device/PLC Connection Manual


Keyence Corporation PLC

KV Series (KV-10RW/KV-10T2W/KV-16RW/KV-16T2W/KV-
24RW/KV-24T2W/KV-40RW/KV-40T2W/KV-80RW/KV-80TW)
Set up System Area here.

Device Bit Address Word Address Particulars

Input/Output Relay 00000 ~ 00915


*1
01000 ~ 01915
Internal AUX Relay
03000 ~ 06915
*1
Special AUX Relay 02000 ~ 02915

Timer (contact) T000 ~ T119

Counter (contact) C000 ~ C119


High-Speed Counter *2
CTC0 ~ CTC3
Comparator (contact)
Timer (set value) TS000 ~ TS119
L/H
Counter (set value) CS000 ~ CS119

Timer (current value) TC000 ~ TC119

Counter (current value) CC000 ~ CC119

Data Memory DM0000 ~ DM1999

Temporary Data Memory TM00 ~ TM31


*2
Analog Timer AT0 ~ AT1
High-Speed Counter
CTH0 ~ CTH1
(current value)
High-Speed Counter
CTC0 ~ CTC3
Comparator (set value)

*1 Some addresses are not available for writes.


*2 Not available for writes

The device ranges available will depend on the PLC model used. Be
sure to check your PLC's manual prior to connecting it to the GP.

GP-PRO/PBIII for Windows Device/PLC Connection Manual 21


Keyence Coporation PLC

KV-1000 Series (Using KZ-A500 [LINK] Protocol)


Set up System Area here.

Device Bit Address Word Address Remarks

Input Relay X(Y)0000 to X(Y)000F X(Y)0000 to X(Y)0000 *1*2

Output Relay X(Y)0050 to X(Y)0057 X(Y)0050 to X(Y)0050 *2

X(Y)0100 to X(Y)257F X(Y)0100 to X(Y)2570 *2


Internal AUX Relay
M0000 to M8991 M0000 to M8976

Latch Relay L0000 to L8991 L0000 to L8976

Control Relay B00000 to B0027F *3

Timer (Contact) TS0000 to TS3999 *4

Counter (Contact) CS0000 to CS3999 *4


L/H
High-speed Counter Comparator
CS4000 to CS4003 *4*5
(Contact)
Timer (Current Value) TN0000 to TN3999 *4

Counter (Current Value) CN0000 to CN3999 *4


High-speed Counter
CN4000 to CN4001 *4
(Current Value)
Data Memory D00000 to D65534

W0000 to W7FFE *2
Extended Data Memory
R00000 to R65534

*1 Data cannot be written to a device by either the PLC or the GP unit.


*2 Addresses must be specified using hexadecimal numbers.
*3 Some addresses are not available for writes. For details, please refer to your
Keyence manual.
*4 Only available when the timer command, the counter command, and the high-
speed timer command exist in the ladder program.
*5 Writing data from the GP will cause a Host Communication Error (02:06).

22 GP-PRO/PBIII for Windows Device/PLC Connection Manual


Keyence Corporation PLC

The following table shows the device display format used by GP-PRO/PBIII for
Windows (KZ-A500[LINK]) and the equivalent format used for the KV-1000.

„ KZ-A500[LINK] protocol device ranges and KV-1000 device ranges.

Device KZ-A500(LINK) Protocol KV-1000


Input Relay X(Y)0000 to X(Y)000F R00000 to R00015
Output Relay X(Y)0050 to X(Y)0057 R00500 to R00507
Internal AUX Relay X(Y)0100 to X(Y)257F R01600 to R59915
Internal AUX Relay M0000 to M8991 MR00000 to MR56115
Internal AUX Relay*1 M08992 to M15999 MR56200 to MR99915
Latch Relay L0000 to L8991 LR00000 to LR56115
Latch Relay *1 L08992 to L15999 LR56200 to LR99915
Control Relay B000 to B27F CR0000 to CR3915
Timer (Contact) TS0000 to TS3999 T0000 to T3999
Counter (Contact) CS0000 to CS3999 C0000 to C3999
High-speed Counter Comparator
CS4000 to CS4003 CTC0 to CTC3
(Contact)
Timer (Current Value) TN0000 to TN3999 T0000 to T3999
Counter (Current Value) CN0000 to CN3999 C0000 to C3999
High-speed Counter
CN4000 to CN4001 CTH0 to CTH1
(Current Value)
Data Memory D00000 to D65534 DM00000 to DM65534
W0000 to W7FFE FM00000 to FM32766
Extended Data Memory
R00000 to R65534 EM00000 to EM65534
High-speed Counter Comparator
R84000 to R84003 CTC0 to CTC3
(Current Value) *1
Temporary Data Memory *1 D70000 to D70511 TM000 to TM511
Index Register *1 D70601 to D70612 Z01 to Z12
Digital Trimmer *1 D70800 to D70807 AT0 to AT7
Control Memory *1 D80000 to D91998 CM00000 to CM11998

*1 Device that cannot be set (entered) or accessed by the GP.

GP-PRO/PBIII for Windows Device/PLC Connection Manual 23


Keyence Coporation PLC

KV-1000 Series (Direct CPU connection)


Set up System Area here.

Device Bit Address Word Address Remarks

Input Relay
00000 to 59915 0000 to 0599
Internal Retain Relay

Control Relay CR0000 to CR3915 CR00 to CR39

Internal AUX Relay MR00000 to MR99915 MR000 to MR999

Latch Relay LR00000 to LR99915 LR000 to LR999

Timer (Contact) T0000 to T3999

Counter (Contact) C0000 to C3999


High-speed Counter Comparator
CTC0 to CTC3 *1
(Contact)
Timer (Setting Value) TS0000 to TS3999 *2

Counter (Setting Value) CS0000 to CS3999 *2

Timer (Current Value) TC0000 to TC3999 *2 L/H

Counter (Current Value) CC0000 to CC3999 *2

Data Memory DM00000 to DM65534

Extended Data Memory EM EM00000 to EM65534

Extended Data Memory FM FM00000 to FM32766

Temporary Data Memory TM000 to TM511

Control Memory CM00000 to CM11998

Index Register Z01 to Z12 *3

Digital Trimmer TRM0 to TRM7 *2


High-speed Counter
CTH0 to CTH1 *2
(Current Value)
High-speed Counter Comparator
CTC0 to CTC3 *2
(Setting Value)

*1 Data write is not possible.If data write is attempted, a Host communication


error (02:02) will appear.
*2 32-bit device
*3 Do not write to Z11, Z12. These are reserved for PLC system use.

24 GP-PRO/PBIII for Windows Device/PLC Connection Manual


Keyence Corporation PLC

2.18.4 Environment Setup

The following lists Digital's recommended PLC and GP communication setups.

KZ-300/KZ-350 Series
GP Setup PC Link Unit Setup

Baud Rate 19200 bps Baud Rate 19200 bps


Data Length 7 bits Data Bit 7 bits
Stop Bit 2 bits Stop Bit 2 bits
Parity Bit Even Parity Bit Even
Data Flow Control ER Control ---
Communication Format Port 2 Toggle Switch
RS-232C *1
RS-232C
(RS-232C) (RS-232C)
Communication Format Port 2 Toggle Switch
4-wire type *1
RS-422A
(RS-422) (RS-422)
--- RUN Mode Link Mode
Unit No. 0 Station Number 0

*1 Setup not necessary when using Port1.

KZ-A500 (CPU Direct Connection)


GP Setup PLC Setup

Baud Rate 9600 bps ---

Data Length 8 bits (fixed) ---

Stop Bit 1 bit (fixed) ---

Parity Bit Odd (fixed) ---

Data Flow Control ER Control ---


Communication Format
RS-232C ---
(RS-232C)
Unit No. 0 (fixed) ---

Effect of PLC program on cycle time


If the KZ-A500 is connected directly to the CPU, the
cycle time of the PLC program is delayed by about
8% after communication with the GP begins.

GP-PRO/PBIII for Windows Device/PLC Connection Manual 25


Keyence Coporation PLC

KZ-A500 (using Link I/F)


GP Setup PLC Setup

Baud Rate *1 Baud Rate 19200bps


19200bps

Data Length 7 bits Data Length 7 bits

Stop Bit 1 bit Stop Bit 1 bit

Parity Bit None Parity Bit None

Data Flow Control ER


Communication Format *2
RS-232C RS-232C Communication Port Port 1 or Port 2
(RS-232C)
Communication Format *3
4-Wire Type RS-422 Communication Port Port 2
(RS-422)
Communication Type Normal

Changing device data during RUN Possible

Checksum Yes

Operation Mode Protocol Mode 4

Unit No. 0 STATION No. 0

*1 The maximum baud rate is 38400bps.


*2 When using an RS-232C cable on port 2, be sure to set the INTERFACE
switch to “232C”(right side setting.) Also, set the TERMINATOR switch to
OFF, since it will not be used.
*3 When using an RS-422 cable, set the INTERFACE switch to “422”( left side
setting,) and the TERMINATOR switch to ON.

Visual KV/KV-700/KV1000 Series (CPU Direct Connection)


GP Setup PLC Setup

Baud Rate 19200bps

Data Length 8 bits (fixed)

Stop Bit 1 bit (fixed)

Parity Bit Even (fixed)

Data Flow Control ER Control

Communication Format RS-232C

Unit No. 0

• The KV/KV700 baud rates can be from 9600 to 57600 bps. The KV1000
baud rate can be from 9600 to 115200bps.
• The PLC requires no setup due to its automatic recognition of settings.

26 GP-PRO/PBIII for Windows Device/PLC Connection Manual


Keyence Corporation PLC

KV-700 Series (using the KZ-300 series protocol)


GP Setup PLC Setup

Baud Rate *1 Baud Rate 19200bps


19200bps

Data Length 7 bits Data Length 7 bits

Stop Bit 2 bits Stop Bit 2 bits

Parity Bit Even Parity Bit Even

Data Flow Control ER Control RS, CS Flow Control No

Communication Port 1 Fixed to 232C


Communication Format
RS-232C Communication Port 2
(RS-232C) 232C
Selector Switch
Communication Format Communication Port 2
4-Wire Type 422A
(RS-422) Selector Switch
Operation Mode Link Mode

Unit No. 0 Station No. 0

*1 The maximum baud rate is 115,200 bps.

KV-700 Series (using the KZ-A500 series protocol)


GP Setup PLC Setup

Baud Rate *1 Baud Rate 19200bps


19200bps
Data Length 7 bits Data Length 7 bits

Stop Bit 1 bits Stop Bit 1 bits

Parity Bit None Parity Bit None

Data Flow Control ER Control

Communication Port 1 Fixed to 232C


Communication Format
RS-232C Communication Port 2
(RS-232C) 232C
Selector Switch
Communication Format Communication Port 2
4-Wire Type 422A
(RS-422) Selector Switch
Operation Mode Protocol Mode 4

Checksum Yes

Unit No. 0 Station No. 0

*1 The maximum baud rate is 115,200 bps.

GP-PRO/PBIII for Windows Device/PLC Connection Manual 27


Keyence Coporation PLC

KV Series (CPU Direct Connection)


GP Setup PLC Setup

Baud Rate 19200bps

Data Length 8 bits (fixed)

Stop Bit 1 bit (fixed)

Parity Bit Even (fixed)

Data Flow Control ER Control

Communication Format RS-232C

Unit No. 0 (fixed)

• The baud rate can be from 9600 to 38400 bps.


• The PLC requires no setup due to its automatic recognition of settings.
• If your ladder program is currently stopped and you attempt data transfer
at 38400 bps, a communication error can occur. If it does, either change to
RUN mode, or use a different communication speed.

KV-1000 Series (Using KZ-A500 [LINK] Protocol)


GP Settings PLC Settings

Baud Rate *1 Baud Rate 19200bps


19200bps

Data Length 7 bits Data Length 7 bits

Stop Bit 1 bit Stop Bit 1 bit

Parity Bit None Parity Bit None

Data Flow Control ER Control

Communication Port 1 Fixed to RS-232C


Communication Format
RS-232C Communication Port 2
(RS-232C) RS-232C
Selector Switch
Communication Format Communication Port 2
4-Wire Type RS-422A/485
(RS-422) Selector Switch
Operation Mode Protocol Mode 4

Checksum Yes

Transfer Timeout Time 3

Unit No. 0 Station No. 0

*1 Baud rate can be set as high as 115,200bps.


• Data transfer port 1 is fixed at RS-232C.
Communication Port 2 can be set to either RS-232C or RS-422A/485. Use
the selector switch on the side of the unit to set the communication for-
mat.

28 GP-PRO/PBIII for Windows Device/PLC Connection Manual


Keyence Corporation PLC

2.18.5 Error Codes

„ PLC Error Codes


Controller error codes are indicated by the "Host communication error (02:**)",
and appear in the left lower corner of the GP screen. (** stands for an error code.)

Host Communication Error (02:**)

PLC Error Code

‹Visual KV/KV-700 Series/KV1000 (CPU Direct Connection)


<PLC Error Code>
Error Code Description
Occurs when you write to a device that cannot be written to.
02
(High Speed Counter Comparator (contact))
04 Occurs when the PLC uses an unsupported baud rate to send data.
*1
31 Occurs when an undefined device is accessed.

*1 When writing to a Timer (contact/current value/set value), Counter (contact/


current value/set value), High Speed Counter, High Speed Counter Compara-
tor (set value), these values must be set in advance using a Ladder Program.

‹KV Series (CPU Direct Connection)


<PLC Error Code>
Error Code Description
02 A ladder program has not yet been set up in the PLC.
04 A Device was accessed that has not yet been defined.
Setting values were attempted to be changed for a write-protected
13
program's Counters, Timers, and High-speed Counter Comparator.

GP-PRO/PBIII for Windows Device/PLC Connection Manual 29

You might also like