The text of a manual · part 28 of 44
Programmable Controller TOYOPUC PC3JG-P-CPU TIC-6088 / PC3JG-CPU TIC-6125 Operation Manual: 9. Built-in function, pages 236 to 245
Pages 236 to 245 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 236
7. I/O REGISTER WORD READ to read I/O or register words. The maximum number of words to be read : 128 words
: RDR
Computer Link Command
R
Identifier
?
R I
Program NO.
R
D
R
SC(L)
D
C R
Identifiers ...all-data-area identifiers, except extended identifiers ( S, N, R, D, B, H, U, P, K, V, T, C,L, X, Y,M). The range of words in address 1 to address 2 shall be 128 words maximum.
SC(L)
R
Address2 4 digits
SC(H)
?
Address1 4 digits
SC(H)
AD(L)
:
AD(H)
:
R I
AD(L)
1. Conventional ( Own program area)
C R
:
Identifier
:
AD(H)
2. Data area
Address1 4 digits
Address2 4 digits
Designate the data area in the designated program. If it is omitted, the own area is designated. However, the identify EB is designated as follows
EB address program No.
start address
EB00000 - EB07FFF
9
0000 - 7FFF
EB08000 - EB0FFFF
A
0000 - 7FFF
EB10000 - EB17FFF
B
0000 - 7FFF
EB18000 - EB1FFFF
C
0000 - 7FFF
Address1 4 digits
Address2 4 digits
Computer link response
AD(L)
#
R I
R
D
R
Identifier
#
R I
Program NO.
:
AD(H)
:
AD(L)
1. Conventional (Own program bit area)
R
D
R
Data1 4 digits
Data2 4 digits
Address2 4 digits
Data1 4 digits
Data2 4 digits
Data N 4 digits
If extended bit area or extended register area (except EB) is designated with the program No. , the program No. on the response is the following number. GX, GY, GM : “7” U : “8” Others ; “0”
9-11
SC(L)
Address1 4 digits
SC(H)
:
Identifier
:
AD(H)
2. Data area
C R
Page 237
8. I/O REGISTER WORD WRITE to write I/O or register words. The maximum number of words: 128 words
: WDR
Computer Link Command
?
R I
W
D
R
Identifier
:
AD(L)
:
AD(H)
1. Conventional ( Own program bit area)
Address1 4 digits
Address2 4 digits
Data1 4 digits
Data2 4 digits
Identifiers ...all-data-area identifiers, except extended identifiers ( S, N, R, D, B, H, U, P, K, V, T, C,L, X, Y,M). The range of words in address 1 to address 2 shall be 128 words maximum.
D
R
Address1 4 digits
Address2 4 digits
Data1 4 digits
Data2 4 digits
Data N 4 digits
SC(L)
W
SC(H)
R I
Identifier
?
Program NO.
:
AD(L)
:
AD(H)
2. Data area
Designate the data area in the designated program. If it is omitted, the own area is designated. However, the identify EB is designated as follows
EB address program No.
start address 0000 - 7FFF
EB00000 - EB07FFF
9
EB08000 - EB0FFFF
A
0000 - 7FFF
EB10000 - EB17FFF
B
0000 - 7FFF
EB18000 - EB1FFFF
C
0000 - 7FFF
Address1 4 digits
Address2 4 digits
Computer link response
D
R
Identifier
#
R I
Program NO.
W
D
R
SC(L)
W
C R
SC(L)
R I
SC(H)
#
SC(H)
AD(L)
:
AD(H)
:
AD(L)
1. Conventional (Own program bit area)
:
Identifier
:
AD(H)
2. Data area
Address1 4 digits
Address2 4 digits
C R
If extended bit area or extended register area (except EB) is designated with the program No. , the program No. on the response is the following number. GX, GY, GM : “7” U : “8” Others ; “0”
9-12
C R
Page 238
9.SCAN SCANHALT HALT: HLT : HLT 9.
to halt sequence scan.
Computer link command 1. Conventional (own program)
R I
H
L
T
SC(L)
?
SC(H)
:
AD(L)
:
AD(H)
Where no program is designated, Program O (System Program) is applied. C R
SC(H)
SC(L)
H
L
T
SC(H)
SC(L)
C R
H
L
T
SC(H)
SC(L)
R I
Program No.
?
Program No.
:
AD(L)
:
AD(H)
2. Other program
H
L
T
Program 0, 2, 3 to be designated. If program 1 is designated, it is processed as program designation error(Code 03H).
C R
Computer link response
:
AD(L)
:
AD(H)
1. Conventional (own program)
#
R I
:
AD(L)
:
AD(H)
2. Other program
#
R I
C R
10. SCAN HALT RESET(RELEASE) :RUN
10. SCAN HALT RESET(RELEASE) :RUN to release the sequence scan from halt condition. ( No scan executed.)
Computer link command 1. Conventional (own program)
R I
R
U
N
SC(L)
?
SC(H)
:
AD(L)
:
AD(H)
Where no program is designated, Program O (System Program) is applied. C R
SC(H)
SC(L)
R I
R
U
N
SC(H)
SC(L)
C R
R I
R
U
N
SC(H)
SC(L)
Program No.
?
Program No.
:
AD(L)
:
AD(H)
2. Other program
R I
R
U
N
C R
Program 0, 2, 3 to be designated. If program 1 is designated, it is processed as program designation error(Code 03H).
Computer link response
:
AD(L)
:
AD(H)
1. Conventional (own program)
#
:
AD(L)
:
AD(H)
2. Other program
#
C R
9-13
Page 239
11. SCAN RESTART : STA to execute the sequence scan released from HALT condition.
Where no program is designated, Program 0 (System Program) is applied. C R
A
SC(L)
A
SC(L)
R I
T
SC(H)
S
SC(L)
R I
SC(H)
?
Program NO.
:
AD(L)
:
AD(H)
Computer link command 1. Conventional (Own program)
C R
:
AD(L)
:
AD(H)
2. Other program
?
Program 0,2,3 to be designated, S
T
C R
If program 1 is designated, it is processed as program designation error (Code 03H).
Computer link response
R I
S
T
A
SC(H)
R I
S
T
A
SC(H)
SC(L)
#
Program NO.
:
AD(L)
:
AD(H)
1. Conventional (Own program)
:
AD(L)
:
AD(H)
2. Other program
#
C R
When scan halt reset (RUN) and scan start (STA) are executed for program 0 (System Program) with program -2,-3 kept halted, not only program-1 but also program-2,-3 start.
9-14
Page 240
12. CPU STATUS READ :MPC to read CPU run status .(conventional command)
M
P
C
R I
M
P
C
Data1
No program designated. C R
If designated, it is deemed as error.
Data2
SC(H)
R I
SC(L)
?
SC(H)
:
AD(L)
:
AD(H)
Computer link command
Bit 7 6
#
Data No.:1 Content Major trouble Minor trouble
Bit 7 6
5
Alarm
5
4
I/O allocated parameters change Memory card available -
4
3 2 1 0
SC(L)
:
AD(L)
:
AD(H)
Computer link response
C R
Data No.:2 Content RUN In stop Stop request in continuing In dummy stop
3
In DEBUG Mode
2 1 0
I/O Monitor User Mode PC3 Mode -
9-15
Page 241
to rewrite all addresses in the designated areas into thedesignated data.
13. FILL I/O REGISTER :FDR Computer link command
R
Address1 4digits
Address2 4digits
Data 4digits
C R
SC(L)
D
SC(L)
F
SC(H)
R I
SC(H)
?
Identifier
:
AD(L)
:
AD(H)
1. Conventional ( Own program bit area)
Identifiers ...all-data-area identifiers, except extended identifiers ( S, N, R, D, B, H, U, P, K, V, T, C,L, X, Y,M).
R I
F
D
R
Identifier
?
Program NO.
:
AD(L)
:
AD(H)
2. Data area
Address1 4digits
Address2 4digits
Data 4digits
C R
Designate the data area in the designated program. If it is omitted, the own area is designated. However, the identify EB is designated as follows
EB address program No.
start address
EB00000 - EB07FFF
9
0000 - 7FFF
EB08000 - EB0FFFF
A
0000 - 7FFF
EB10000 - EB17FFF
B
0000 - 7FFF
EB18000 - EB1FFFF
C
0000 - 7FFF
Computer link response
F
D
R
Address1 4digits
Address2 4digits
SC(L)
R I
SC(H)
#
Identifier
:
AD(L)
:
AD(H)
1. Conventional (Own program bit area)
C R
Identifiers ...all-data-area identifiers, except extended identifiers ( S, N, R, D, B, H, U, P, K, V, T, C,L, X, Y,M).
D
R
Address1 4digits
Address2 4digits
SC(L)
F
SC(H)
R I
Identifier
#
Program NO.
:
AD(L)
:
AD(H)
2. Data area
C R
If extended bit area or extended register area (except EB) is designated with the program No. , the program No. on the response is the following number. GX, GY, GM : “7” U : “8” Others ; “0”
9-16
Page 242
14. WRITE MODE SETTING to set Write Mode.
:EWR
E
W
R
SC(H)
SC(L)
E
W
R
SC(L)
R I
Setup data
?
SC(H)
:
AD(L)
:
AD(H)
Computer link command
C R
C R
No program designated. If designated, it is deemed as error.
:
Bit 3 2 1 0
AD(L)
:
AD(H)
Computer link response
#
R I
Write Mode setting data Content Program restart permit I/O write permit Program, etc. write permit Register write permit
15. WRITE MODE READ
: SWE to read write mode.
S
W
E
SC(L)
C R
S
W
E
SC(H)
SC(L)
R I
SC(H)
?
Setup data
:
AD(L)
:
AD(H)
Computer link command
No program designated. If designated, it is deemed as error.
:
Bit 3 2 1 0
AD(L)
:
AD(H)
Computer link response
#
R I
C R
Write Mode setting data Content Program restart permit I/O write permit Program, etc. write permit Register write permit
9-17
Page 243
16.
to halt the sequence program. But the system executes RESET processing.
RESET : RST
R
S
T
SC(H)
SC(L)
C R
R
S
T
SC(L)
R I
?
No program designated. If designated, it is deemed as error.
SC(H)
:
AD(L)
:
AD(H)
Computer link command
C R
:
17.
AD(L)
:
AD(H)
Computer link response
R I
# to halt the sequence program with RUN signal kept ON.
DUMMY SCAN HALT : PSC
Note: used hitherto in write processing during run. The use of this command shall be limited to the processing for Program 1. Hence, use the new command for writing program and parameters corresponding to PC3J.
P
S
C
SC(H)
SC(L)
C R
P
S
C
SC(L)
R I
?
SC(H)
:
AD(L)
:
AD(H)
Computer link command
C R
No program designated. If designated, it is deemed as error. Furthermore, where the PC3J is in run under PC3 mode the PSC command is not accepted. (Although as a rule this command is not available for use in the built-in computer link it supports the same computer link when required from the link during run in PC2 mode.
:
18.
AD(L)
:
AD(H)
Computer link response
R I
#
DUMMY SCAN HALT RESET : PRC to reset (release ) the dum m y scan halt.
Note: used hitherto in write processing during run. The use of this com m and shall be lim ited to the processing for Program 1. Hence, use the new com m and for writing program and param eters corresponding to PC3J.
P
R
C
SC(L)
C R
P
R
C
SC(L)
R I
SC(H)
?
SC(H)
:
AD(L)
:
AD(H)
Com puter link com m and
C R
No program designated. If designated, it is deem ed as error. Furtherm ore, where the PC3J is in run under PC3 m ode the PSC com m and is not accepted. (Although as a rule this com m and is not available for use in the built-in com puter link it supports the sam e com puter link when required from the link during run in PC2 m ode.
:
AD(L)
:
AD(H)
Com puter link response
#
R I
9-18
Page 244
19. CPU ID READ : IDR to read ID information of the CPU ( Series,equipment No, type, version).
R I
I
D
R
SC(L)
?
SC(H)
:
AD(L)
:
AD(H)
Computer link command
No program designated. If designated, it is deemed as error.
C R
R
CPU ROM version
ROM version of computer link
SC(L)
D
The ROM version of computer line is identical that of the CPU. SC(H)
I
Type
R I
Series name
#
Equipment name
:
AD(L)
:
AD(H)
Computer link response
C R
PC3J ID data Series name Equipment name Type
20. TIMER/COUNTER SETUP VALUE & PRESENT VALUE
Value
1
Description L2 series
0
CPU
A
PC3J to read the setup value and present value of timer/counter.
Computer link command
R I
T
C
Address 4digits
R
SC(L)
?
SC(H)
:
AD(L)
:
AD(H)
1. Conventional (Own program)
This command does not support reading of the present value (EN) and setup value (H) of the extended timer/counter. (EN and H shall be handled in the data register.
C R
T
C
R
Address 4digits
SC(L)
R I
SC(H)
?
Program No.
:
AD(L)
:
AD(H)
2. Other program
C R
Timer and counter in the designated program are designated. However, this command does not support reading of the present value (EN) and setup value (H) of the extended timer/counter . (EN and H shall be handled in the data register.)
Computer link response
R
T
C
Setup value BCD 5 digits
Present value BCD 5 digits
C R
SC(L)
C
SC(L)
T
SC(H)
R I
SC(H)
#
Program No.
:
AD(L)
:
AD(H)
1. Conventional (Own program)
:
AD(L)
:
AD(H)
2. Other program
#
R I
R
Setup value BCD 5 digits
Present value BCD 5 digits
9-19
C R
Page 245
21. TIMER/COUNTER SETUP VALUE & PRESENT VALUE WRITE : TCW to write the setup value and present value of timer/counter.
Computer link command
R I
T
C
Address 4 digits
W
Setup value BCD 5 digits
Present value 5 digits
SC(L)
?
SC(H)
:
AD(L)
:
AD(H)
1. Conventional (Own program)
C R
This command does not support writing of the present value (EN) and setup value (H) of the extended timer/counter. (EN and H shall be handled in the data register.)
T
C
Address 4 digits
W
Setup value BCD 5 digits
Present value 5 digits
SC(L)
R I
SC(H)
?
Program NO.
:
AD(L)
:
AD(H)
2. Other program
C R
Timer and counter in the designated program are designated.However, this command does not support writing of the present value (EN) and setup value (H) of the extended timer/counter. (EN and H shall be handled in the data register.)
Computer link response
T
C
W
SC(H)
SC(L)
C R
T
C
W
SC(L)
R I
SC(H)
#
Program NO.
:
AD(L)
:
AD(H)
1. Conventional (Own program)
:
AD(L)
:
AD(H)
2. Other program
#
R I
C R
9-20