Browse
(440) 299-7778
Menu
(440) 299-7778
One-year parts and labor warranty30-day money-back guaranteeContact

The text of a manual · part 26 of 44

Programmable Controller TOYOPUC PC3JG-P-CPU TIC-6088 / PC3JG-CPU TIC-6125 Operation Manual: 8. Link function

Pages 215 to 225 of 387, from Programmable Controller TOYOPUC PC3JG-P-CPU TIC-6088 / PC3JG-CPU TIC-6125 Operation Manual

The original document is the PDF (16 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.

For the Toyopuc OUT-15 and Toyopuc OUT-18

Page 215

8. Link function PC3JG CPU has SN-I/F, computer link, PC link and DLNK-M2 as standard. PC3JG CPU has capability to install as many as 14 sets of link (communication) module*1 other than built-in links. Refer to operation manual for each link module in PC3J/PC2 Series concerning each link module. Concerning built-in link refer to “10. Built-in link function”. *1

Maximum link number is total 16 links: 14 sets of link module and such 2 links as SN-I/F, computer link, PC link and DLNK (However “8 module/program” and “consuming memory capacity is less than 60K bit”). SN-I/F, computer and PC link require no consuming memory. Maximum 8 modules are required for a program (1 module is allocated for built-in link except SN-I/F.) Accordingly, maximum module number will become 8 modules when such operation mode requires only one program (PRG.1) as PC2 compatible mode. Also such installation that requires more than 60K bite of consuming memory more is incapable. Consuming memory capacity varies depending on each communication module.

8.1. Link parameter setting Set parameter for each program when link module is used installing on PC3JG.Please do not set the same link parameter to link No.1~8. Moreover, please do not set the same parameter through the other programs.

8

When link module is used installing on PC3JG *2, a few notices are required to set parameter for each program. Have a good understanding explanation in this chapter before operation start. *2 Handling of link module is the same with conventional PC2 Series when CPU in PC3JD Series is used in PC2 compatible mode. Except that link No. is handled as 1-1 ~ 1-8. Accordingly Link No. data in CPU in PC2 Series and CPU in PC3J Series become different as shown below when status information is stored in special register at the time communication abnormality. < Link No. data stocked in special register > CPU in PC2 Series: “01H” ~ ”08H” (expression in hexadecimal notation) CPU in PC3J Series: “11H” ~ ”18H” (expression in hexadecimal notation)

8-1

Page 216

8.2. Data link area When the link modules for data link are mounted in the PC3J, the data link areas available for use (usable devices) are as listed below. Data link areas (usable devices ) Link modules L,M

X,Y

R,D

EL,EM

EX,EY

GM

GX,GY

U

PC link PC1-I/F High speed remote I/O *1

HPC link Multiple communication I/F M-NET Pulse output DLNK-M DLNK-M2 AF1K MA1K ME-NET FL-NET PROFI-S2 Motion controller

-marked devices are the conventional usable devices and the device that can use the • The division mode of 3J is and and the device that can be the use it at the PC3JG division mode is , , and . • Where the PC3J CPU is in run under PC2 compatible Mode, the usable devices are limited to the -marked ones. Use of the -marked devices is not allowed. *1: For HPC link, Ver 2.20 and higher Ver can use some (EL, EM) of the extended relay areas.

Furthermore, availability of the data link areas differs depending on CPU operation mode. < Case of Data Area Separate Mode > Only data areas in a program wherein applicable link parameters are set up can be applied to the data link areas (devices). For example, where PC link host station is set up in Program 2 and parameters are set up so as to send L0000 ~ L001F to slave station 1, L0000 ~ L001F in Program 2 are sent to slave station 1. Under "Data Area Separate Mode", attention must be paid to the following items regarding the data link areas.

8-2

Page 217

• L, M, R. D are independent every program.

Set up each area to store the received data so as to avoid doubling in each link setup every program. Furthermore, set up each area so as to avoid doubling with those in the data registers intended to store output coil in the program and calculated result. • X, Y, EL, EM, EX, EY,GX, GY ,GM and U are common to each program. Set up each area to store the received data so as to avoid doubling in all the installed links. In addition, set up each area so as to avoid doubling with the data register to store the output coils of all programs and calculated result.

< Case of Data Area Single Mode or PC2 compatible Mode> Only data areas common to each program are applied to the data link areas. For example, where PC link host station is set up in Program 2 and link parameters are set up so as to send L0000 ~ L001F to slave station 1, L0000 ~ L001F in the basic area are sent to the slave station 1. In the case of Data Area Single Mode or PC2 compatible Mode, attention must be paid to the following regarding the data link areas. • All the data link areas are common to each program . Set up each area to store the received data so as to avoid doubling in all the installed links. In addition, set up each area so as to avoid doubling with the data register to store the output coils of all programs and calculated result.

8-3

Page 218

8.3. Commands Where link module to issue commands is mounted in the PC3J, some restrictions are given to handling of the commands as described below. 1. Where commands for data read, etc. are sent, the PC3J operation and response are different depending on CPU operation mode. < Case of Data Area Separate Mode > Where commands for data read, etc. are sent, the data areas in a program wherein link parameters are set up are applied to the PC3J operation and response. The data areas in other program (no link parameters set up therein) can not be applied. For example, where the computer link is set in Program 1 and V40 is read using one I/O point read command, the response data is V40 in Program 1. < Case of Data Area Single Mode or PC2 compatible Mode > Where the commands for data read, etc. are sent, the data areas common to each program are applied to the PC3J operation and response. For example, where the computer link is set in Program 2 and S200 is read using I/O register word read command, the response data is S200 in the basic area. 2. Extended relay and extended register can not be applied to the commands. 3. Commands intended for control of CPU operation such as scan halt, halt reset (release), etc. are applied to control of the system overall.

These can not be applied to individual control every program. 4. Some commands for program read, etc. are not available for the use. However, it is possible to issue the commands intended to support the PC3J CPU function by mounting a link module which contains therein the command function corresponding to the PC3J, whereby the restrictions mentioned above are eliminated. 8.3.1.

Computer Link commands Where any of the computer link modules in Ver 5.00 and lower Version is mounted in the PC3J, the PC3J operates and responds as described on next page when the computer link commands are sent. However, the PC3J operation and response are identical to Ver 5.00 and lower Version when it is operated in PC2 compatible Mode. Even if the computer link modules Version is before Ver 5.20, it cannot access “GM, GX, GY, EB" domain added to the PC3JG division mode.

• The computer link built in as a standard corresponds to the PC3J commands • Only the computer link bulit in PC3JG can access "GM,GX,GY,EB" domain.( Version 6 or more) PC2J PC/CMP LINK(THU-2755) PC2J PC/CMP LINK2(THU-5139) PC2J 2PORT LINK(THU-2927) 8-4

Page 219

No

Commands

PC3J operation and response

1

I/O 1 POINT READ

Response is sent to the data area in the

2

I/O REGISTER BYTE READ parameter-set program from the computer

3

I/O 1 POINT WRITE link. ( But unable to be applied to extended

4

I/O REGISTER BYTE WRITE

5

SEQUENCE PROGRAM READ relay and extended register .) *1 Unable to be applied .( NAK sent back)

6

SEQUENCE PROGRAM WRITE

7

I/O REGISTER WORD READ

Response is sent to the data area in the parameter-set program from the computer

8

I/O REGISTER WORD WRITE link. ( But unable to be applied to extended

9

SCAN HALT relay and extended register .) *1 Works for the system overall.

10

SCAN HALT RESET(RELEASE)

( not work individually every program.)

11

SCAN RESTART

12

CPU STATUS READ

Identical to conventional Ver.

13

FILL I/O REGISTER

Response is sent to the data area in the parameter-set program from the computer link. ( But unable to be applied to extended relay and extended register .) *1 Identical to conventional Ver.

14

WRITE MODE SETTING

15

WRITE MODE READ

16

RESET

Identical to conventional Ver.

17

DUMMY SCAN HALT

Unable to be applied .( NAK sent back)

18

DUMMY SCAN HALT RESET(RELEASE)

19

CPU ID READ

Identical to conventional Ver.

20

TIMER/ COUNTER SETUP VALUE & PRESENT VALUE READ

Response is sent back to the timer/counter of

21

TIMER/ COUNTER SETUP VALUE & PRESENT VALUE WRITE parameter-setup program from the computer

22

TIMER/COUNTER SETUP VALUE WRITE link.

23

TIMER /COUNTER PRESENT VALUE WRITE

24

PARAMETER READ

25

PARAMETER WRITE

26

EXECUTE RIGHT LIMIT SETTING

27

EXECUTE RIGHT LIMIT READ

28

CLOCK TIME READ

29

CLOCK TIME SETTING

30

FILL SEQUENCE PROGRAM

Unable to be applied .( NAK sent back)

31

I/O REGISTER MULTI-POINT READ,

Response is sent to the data area in the

Unable to be applied .( NAK sent back) Identical to conventional Ver. Identical to conventional Ver.

ADDRESS REGISTRATION parameter-set program from the computer 32

I/O REGISTER MULTI-POINT WORK READ link. ( But unable to be applied to extended relay and extended register .) *1 *1 Extended relay: EP, EK, EV, ET, EC, EX, EY, EM, GX,GY,GM Extended register: ES, EN, H, U, EB

8-5

Page 220

8.3.2. Ethernet commands Where any of the ETHERNET modules for Ver 1.10 and lower Versions is mounted in the PC3J, the PC3J operation and response are as described below when the ETHERNET commands are sent. However, the PC3J operation and response are identical to Ver 1.10 and lower Versions when it is in run under PC2 compatible Mode.

No

Commands

PC3J operation and response

1

SEQUENCE PROGRAM WORD READ

Unable to be applied .( NAK sent back)

2

SEQUENCE PROGRAM WORD WRITE

3

I/O REGISTER

WORD READ

4

I/O REGISTER

WORD WRITE

5

I/O REGISTER

BYTE READ

6

I/O REGISTER

BYTE WRITE

7

I/O REGISTER

BIT READ

8

I/O REGISTER

BIT WRITE

9

I/O REGISTER MULTI-POINT WORD READ

10

I/O REGISTER MULTI-POINT WORD WRITE

11

I/O REGISTER MULTI-POINT BYTE READ

12

I/O REGISTER MULTI-POINT BYTE WRITE

13

I/O REGISTER MULTI-POINT BIT READ

14

I/O REGISTER MULTI-POINT BIT WRITE

15

PARAMETER READ

16

PARAMETER WRITE

17

SCAN RESTART

18

SCAN HALT, HALT RESET

19

DUMMY SCAN HALT, HALT RESET

Unable to be applied .( NAK sent back)

20

CPU ID READ

Identical to conventional Ver.

21

EXECUTE RIGHT LIMIT STATUS DETAIL

Identical to conventional Ver.

22

EXECUTE RIGHT LIMIT SETTING

23

FILL

24

TIMER/ COUNTER SETUP VALUE & PRESENT VALUE READ

25

TIMER/ COUNTER SETUP VALUE & PRESENT VALUE WRITE

26

TIMER/COUNTER SETUP VALUE WRITE

27

TIMER /COUNTER PRESENT VALUE WRITE

28

CLOCK TIME READ

Response is sent back to the data areas in parameter setup program from ETHERNET .( but unable to be applied to extended relays and extended registers. )*1

Unable to be applied .( NAK sent back) Works for the system overall. ( not work individually every program.)

Unable to be applied .( NAK sent back) Response is sent back to the timer/counter of the parameter setup program from ETHERNET.

Identical to conventional Ver.

29 CLOCK TIME SETTING *1 Extended relay: EP, EK, EV, ET, EC, EX, EY, EM, GX, GY, GM Extended register: ES, EN, H, U, EB

8-6

Page 221

8.4. Special Relays and Special Registers The PC3J CPU stores the link module related error information and status information in special relays and special registers individually every each program. The areas and addresses to be stored in these special relays and special registers differ depending on CPU operation mode applied. (1) Data Separate Mode < Special relays > Store area

Address *2 V80 ~ V87

Name and content COMMUNICATION RESET LINK COMMAND USE OK FLAG

V90 ~ V9F PRG.1 VA0 ~ VBF

LINK PARAMETER ERROR IN COMMUNICATION WITH ALL STS / COMMUNICATION ERROR

V80 ~ V87

COMMUNICATION RESET LINK COMMAND USE OK FLAG

V90 ~ V9F PRG.2 VA0 ~ VBF

LINK PARAMETER ERROR IN COMMUNICATION WITH ALL STS / COMMUNICATION ERROR

V80 ~ V87

COMMUNICATION RESET LINK COMMAND USE OK FLAG

V90 ~ V9F PRG.3

LINK PARAMETER ERROR IN COMMUNICATION WITH ALL STS / COMMUNICATION ERROR

VA0 ~ VBF

8-7

Link 2-1

Link 2-8

Link 3-1 ~

LINK COMMAND ERROR FLAG

Link 1-8

~

LINK COMMAND ERROR FLAG

Link 1-1 ~

LINK COMMAND ERROR FLAG

Applicable link No. *1

Link 3-8

Page 222

< Special Registers > Name and content LINK MODULE CODE

S0AF S300 S3FF S0A8

PRG.2

S0AF S300 S3FF S0A8

PRG.3

S0AF S300 S3FF

Link 2-8 Link 3-1 Link 3-8 Link 3-1 ~

~

COMMUNICATION (LINK) MODULE STATUS INFORMATION

Link 2-8 Link 2-1

~

~

LINK MODULE CODE

Link 1-8 Link 2-1

~

~

COMMUNICATION (LINK) MODULE STATUS INFORMATION

Link 1-8 Link 1-1

~

~

LINK MODULE CODE

Link 1-1

~

~

COMMUNICATION (LINK) MODULE STATUS INFORMATION

Applicable link No.

~

PRG.1

Address *2 S0A8 ~

Store area

Link 3-8

*1 *-mark prefixed to Link No. (Link *-1 ~ *-8) means corresponding Program No.(PRG.1 ~ 3). *2 The name and content of each address are same as those in PC2 Series.

For the details, see " 7-2-5 Table of Special Relays" and "7-2-6 Table of Special Registers ".

8-8

Page 223

(2) Data Single Mode < Special Relays > Store area

Address *2 *3 V80 ~ V87

Name and content COMMUNICATION RESET LINK COMMAND USE OK FLAG

V90 ~ V9F Basic area

LINK PARAMETER ERROR IN COMMUNICATION WITH ALL STS /

VA0 ~ VBF

Link 1-1 ~

LINK COMMAND ERROR FLAG

Applicable link No. *1

Link 1-8

COMMUNICATION ERROR COMMUNICATION RESET

EV00 ~ EV07

LINK COMMAND USE OK FLAG

EV10 ~ EV1F

LINK PARAMETER ERROR IN COMMUNICATION WITH ALL STS / COMMUNICATION ERROR

EV20 ~ EV3F Extended area

Link 2-1 ~

LINK COMMAND ERROR FLAG

Link 2-8

COMMUNICATION RESET

EV40 ~ EV47

LINK COMMAND USE OK FLAG

EV50 ~ EV5F

Link 3-1

LINK PARAMETER ERROR IN COMMUNICATION WITH ALL STS / COMMUNICATION ERROR

Link 3-8

Address *2 *4 S0A8

Name and content

Applicable link No.

~

~

LINK COMMAND ERROR FLAG

LINK MODULE CODE

EV60 ~ EV7F

< Special Registers > Store area

SBF S300 S3FF ES000

Extended area

ES0FF ES100 ES1FF

Link 2-8 Link 3-1 ~

~

COMMUNICATION (LINK) MODULE STATUS INFORMATION

Link 1-8 Link 2-1 ~

~

COMMUNICATION (LINK) MODULE STATUS INFORMATION

Link 3-8 Link 1-1 ~

~

COMMUNICATION (LINK) MODULE STATUS INFORMATION

~

Basic area

Link 1-1

Link 3-8

*1 *-mark prefixed to each Link No.( Link *-1 ~ *8) means corresponding Program No. (PRG. 1 ~ 3). *2 The name and content of each address in the basic area are same as those of same address in PC2 Series. *3 The name and content of each address in the extended area are as follows. V80=EV00=EV40,V81=EV01=EV41...VBF=EV3F=EV7F *4 The name and content of each address in the extended area are as follows. S300=ES000=ES100,S301=ES001=ES101...S3FF=ES0FF=ES1FF

For the details, see " 7-2-5 Table of Special Relays" and "7-2-6 Table of Special Registers ".

8-9

Page 224

(3) PC2 compatible Mode < Special Relays > Address *2 V80 ~ V87 V90 ~ V9F

Name and content COMMUNICATION RESET LINK COMMAND USE OK FLAG LINK PARAMETER ERROR

VA0 ~ VBF

IN COMMUNICATION WITH ALL STS /

Link 1-1 ~

LINK COMMAND ERROR FLAG

Applicable link No. *1

Link 1-8

COMMUNICATION ERROR

< Special Registers > Address *2 S0A8

Name and content

~

LINK MODULE CODE

Applicable link No.

Link 1-1

S3FF

Link 1-8 Link 1-1 ~

~

COMMUNICATION (LINK) MODULE STATUS INFORMATION

~

S0AF S300

Link 1-8

*1 *-mark prefixed to Link No. (Link *-1 ~ *-8) means corresponding Program No.(PRG.1 ~ 3). *2 The name and content of each address are same as those in PC2 Series.

For the details, see " 7-2-5 Table of Special Relays" and "7-2-6 Table of Special Registers ".

8-10

Page 225

Link module code list module name code

PC link master

0102

PC1-I/F output

0102

PC link slave

0002

PC1-I/F input

0002

Computer link

0003

ME-NET master

0104

ME-NET slave

0004

SIO module

0005

Memory card I/F

0005

High speed remote I/O

0008

AS-I

0008

HPC link master

4009

SUB-CPU master

4009

HPC link slave

**09

SUB-CPU slave

**09

2-port M-NET

0002

Pulse output module

0100

DLNK-M

8008

DLNK-S2

8008

DLNK-M2

8208

Ethernet

8203

AF1K

800E

MA1K

810E

Motion controller

820E

FL-net(8KB)

8009

FL-net(16KB)

8109

FL-net(32KB)

8209

PROFI-S2

8309

** : Slave number ** : Slave number

8-11