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

The text of a manual · part 8 of 44

Programmable Controller TOYOPUC PC3JG-P-CPU TIC-6088 / PC3JG-CPU TIC-6125 Operation Manual: 3. Initial Setting, pages 52 to 59

Pages 52 to 59 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 52

(2) Execution/non-execution of program Execution/non-execution of program 2 and program 3 is set using the CPU operation mode parameters. Program for which non-execution was selected is not executed. Execution of program -1,to -3

(3)

Execution of program -1,-3

Execution of program -1,-2

Execution of program –1 only

PRG.1

PRG.1

PRG.1

PRG.1

Execution (fixed)

Execution (fixed)

Execution (fixed)

Execution (fixed)

PRG.2

PRG.2

PRG.2

PRG.2

Execution

Non-execute

Execution

Non-execute

PRG.3

PRG.3

PRG.3

PRG.3

Execution

Execution

Non-execute

Non-execute

End processing

End processing

End processing

End processing

(Update I/O data)

(Update I/O data)

(Update I/O data)

(Update I/O data)

Link of program with RUN signal Link of program-2 and -3 with RUN signal can be selected from the CPU operation mode parameters. If "LINK" is selected and applicable program stops, RUN signal turns OFF linked with the program and all other programs stop simultaneously. Link with RUN signal (by parameter setting)

(4)

RUN signal status at program stopping

Program-1

Program-2

Program-3

Program-1

Program-2

Program-3

Link (fixed)

Link

Link

OFF

OFF

OFF

Link (fixed)

Non-link

Link

OFF

Continued

OFF

Link (fixed)

Link

Non-link

OFF

OFF

Continued

Link (fixed)

Non-link

Non-link

OFF

Continued

Continued

Execution of SFC program The SFC program is executed after the main program of each program. START

Main program

SFC program

END

3-19

Page 53

3.2.4 Inter-program data utilization As mentioned in the foregoing subsection, the PC3JG can execute three different sequence programs maximum in the given order. These program data can be utilized mutually for each program without special setting. (1)

Data area separate mode The basic area data are independent from each other every each program. On the other hand, the I/O area and extended area data are common to each program. (1-1) Basic area PRG.2

PRG.3

START

START

START

M100

M100

Y200

Y200

X000

· · ·

· · ·

· · ·

P2-M100

PRG.1

P2-M110

=H P3-D0000L=12h

Sequence program

EM0000

X000

EM0000

· · ·

· · ·

· · ·

END

END

END

PEND

PEND

PEND

X000 Y200

I/O area

Basic area data

M100

M100

M100 M110

M100 D0000

Extended area data

EM0000

Where data area in other program is specified, P* representing program No. ( P1=Program-1, P2=program-2, P3= Program-3) is prefixed to each program address. EX.

P2- M100 : M100 of program-2 P3-D0000L: D0000L of program-3 (Byte below D0000)

3-20

Page 54

(1-2) I/O area and extended area PRG.2

PRG.3

START

START

START

M100

M100

Y200

Y200

X000

· · ·

· · ·

· · ·

P2-M100

PRG.1

M100

=H P3-D0000L=12h

Sequence program

EM0000

X000

EM0000

· · ·

· · ·

· · ·

END

END

END

PEND

PEND

PEND

X000 Y200

I/O area M100

Basic area data

M100

M100 M110

D0000

Extended area data

(2)

P2-M110

EM0000

Data area single mode The data area in each program is common to other programs. PRG.2

PRG.3

START

START

START

M100

M200

Y200

Y200

X000

· · ·

· · ·

· · ·

M100

PRG.1

M300

=H D0000L=12h

Sequence program

EM0000

X000

EM0000

M310

· · ·

· · ·

· · ·

END

END

END

PEND

PEND

PEND

I/O area

X000 Y200

Basic area data

M100 M200 M300 M310 D0000

Extended area data

EM0000

3-21

Page 55

(3) PC2 compatible mode Under this mode the number of programs is limited to one program (Program-1). No extended area is available as the data area. PRG.1 START

Sequence program

· · ·

M200

M100

M200 =H D0000L=12h

· · · END PEND

I/O area

X000 Y200

Basic area data

M100 M200 D0000

3-22

Page 56

3.2.5

I/O module setting I/O 64 points for signal I/O points (16/16) and for control I/O 32 points (16/16) are equipped at rack No. 0 and slot No. 0 as standard. Setting data for I/O module in rack No. 0 and slot No. are following. I/O module setting of rack No. 0 and slot No.

3.2.6

Allocated point

Module identification code

PC3JG

64 points

3E

PC3JG-P

64 points

3F

Rack No. and slot No. at the time link parameter setting Total two ports are equipped as standard; one is port for CMP link (computer link) or PC link or SN-I/F, the other port for DLNK-M2. Rack No. and slot No. when setting the link parameter set CMP link(computer link) or PC link as a rack No. built-in and slot No. standard; DLNK-M2 as a rack No. and slot No.0. Link No. can freely be changed. When you use it as SN-I/F, please give rack number and slot number as un-setting up. Link module setting Link

Link No.

Rack No.

Slot No.

Module name

CMP PC

Random

Built-in (F)

Standard (0)

Computer link PC link

DLNK

Random

0

0

DLNK-M2

(Note1) If built-in lack No., standard slot No. is not made setting, SN-I/F is selected. In the case of PC2 compatible mode, it can be used as computer link. (Note2)Even when not using built-in DLNK-M2, a link module needs to be set up. It is necessary to choose 「Do not」 to slave in a detailed setup of a link parameter. (Note3)Please turn on the terminal switch when using it as SN-I/F. When you do not use it as SN-I/F, please turn OFF.

3-23

Page 57

3.2.7

Program creating sequence The creating sequence is mainly classified into two cases; one case that sequence program is not pre-created and another case that it is already pre-created.

(1) Case that sequence program is not pre-created: STEP-1

Set CPU operation mode by the peripheral equipment.

STEP-2

Set parameters by the peripheral equipment and execute PROGRAM CLEAR in the peripheral equipment.

STEP-3

STEP-4

STEP-5

Start program creation.

Write the sequence program (program + parameters) in CPU. Set the current time on the built-in clock by the peripheral equipment.

STEP-6

Set necessary data (data register, etc.) by the peripheral equipment.

STEP-7

Store the sequence program (program + parameters) in FDD, etc.

(2) Case that sequence program is already pre-created:

STEP-1

Read the sequence program (program + parameters) into the peripheral equipment from FDD, etc.

STEP-2

Check the parameters on the peripheral equipment and set them as necessary.

STEP-3

Write the sequence program (program + parameters) in CPU.

STEP-4

Set the current time on the built-in clock by the peripheral equipment.

STEP-5

Set necessary data (data register, etc.) by the peripheral equipment.

STEP-6

Store the sequence program (program + parameters) in FDD, etc.

3-24

Page 58

3.2.8

Automatic setting of I/O modules and link parameters

I/O modules and link parameters can be set automatically in CPU . For setting, follow the sequence given below.

STEP-1

With the power switch kept OFF, shift "RESET/START" switch to " START" and press the same switch with finger so as not to return.

START

RESET

RESET/START switch

STEP-2

Turn ON the power switch.

STEP-3

This completes automatic setting of I/O modules and link parameters. If error is detected at this stage, ERR lamp lights.

STEP-4

If no error, the sequence is put in RUN by RESET/START switch.

3-25

Page 59

I/O module and link parameter set value (Automatic setting by CPU) Item Set value Identification Rack No. 0 and slot No. 0:3F of I/O module Other: as actually installed Allocation of I/O module (0~E rack and 0~7 slot) Allocation Rack No. 0 and slot No. 0:64 points of I/O point Other: as actually installed Program 1 Lack No. 0 and slot No. 0 Link 1-1 High speed remote I/O Lack No. built-in and slot No. option

Link parameter *1

( Link 1-2 ~ Link1-8 )

As actually Installed *2

Program 2 ( Link2-1 ~ Link2-8 ) Program 3 ( Link 2-1 ~ Link 2-8 ) *1 Only such name setting as lack No., slot No. and link module is implemented. *2 Built-in link is allocated to link 1-1. Built-in DLNK is allocated as high-speed remote I/O. Set DLNK-M2 using peripheral equipment. Lack No. and slot No. are allocated from link 1-2 in program 1 in the order of their smaller number. They are also allocated to link 2- # in program 2 when actual installed link number exceeds 8. However they are allocated to link 3- # in program 3 when CPU operation mode having no program 2 is selected. No allocation is made for the link that is exceeded link number 8 when CPU operation mode having neither program 2 nor program 3 is selected.

3-26