The text of a manual · part 36 of 44
Programmable Controller TOYOPUC PC3JG-P-CPU TIC-6088 / PC3JG-CPU TIC-6125 Operation Manual: 9. Built-in function, pages 316 to 325
Pages 316 to 325 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 316
(6)Loading of link file The link file is read to the CPU with special module byte data reading fiat (SPR-FUN304). (6-1)Usage of SPR fiat SPR Execution condition
D0000 D0001 D0002
1 0 3
OP1
OP2
OP3
D0
D1
D2
Link No.1 2 3 4 5 6 7 8 Link fiat available flag (V90,92,94,96,98,9A,9C,9E)
Link No. 1 - 8 0 0 5 0 4 0 0 0 0
Number of loading bytes (Hex) The top address of link file (Hex) The first indirect addressing of register forwarding ahead (Hex)
1 : A link fiat available flag is a flag which shows the response of the link module to the link file loading demand of the CPU. The address of the flag is decided by link No. Link No.
1
Flag address V90
2
3
4
5
6
7
8
V92 V94 V96 V98 V9A V9C V9E
2 : OP1 sets link No. and the number of loading total bytes from the link file. 3 : OP2 sets the top address of the loading link file. 4 : OP3 sets the top address forwarding of the loading link file ahead by indirect addressing. (6-2)Attention of link file loading 1 : The link file is not load while RUN of the CPU is stopping. 2 : Execute the execution condition by the edge in two seconds or more. 3 : The number of loading bytes is 256 bytes or less (100h). 4 : Setting as follows, becomes applied fiat error 1(special relay V50:ON). * Set link No. excluding 1-8. * The link module does not exist in specified link No.. * The address of the register forwarding ahead is outside a regulated range. 5 : Setting as follows, becomes applied fiat error 2(special relay VC9:ON). * Read link file address exceeds 19Fh. * Number of total bytes of read link files exceeds 416 bytes. * There is no response from the link module.
9-91
Page 317
(6-3)Example of circuit to loading retry frequency It is an example of the circuit to read D0000-D001F the retry frequency of the slave. Example of circuit reference 00000
F0002 WMOV
FUN 101 2040h D100
Forwarding byte number 64 bytes Link No. 2 (It is set according to link No. as for 1-8).
00001
00002
F0003 WMOV
FUN 101 C0h
F0004 WMOV
FUN 101 2000h
D101
D102
The top address of link file is stored
The top indirect address as destination register is stored.
D0000
00003
FUN 448 START
00004
2 sec clock
Link No. 1 2 3 4 5 6 7 8 Link command available flag (V90,92,94,96,98,9A,9C,9E) F0001 FUN 304 SPR D100 D101
V073 V092 P000
00005
D102
Command to load the data from link file to CPU
FUN 452 END
It is necessary to load the data to the CPU so that the 00006
FUN 456 link file is in DLNK-M2.
PEND
Register table Register
H
L
Slave 01
Slave 00
Slave 03
Slave 02
D0000 The retry frequency is hexadecimal data.
D0001 Slave 05
Slave 04
D0002
9-92
Page 318
9.3.11. Error Contents and Supposed Causes Special register Error contents Main supposed cause contents RAM check error during initial @@F9 RAM (memory) error processing Read / storage of config uration @@F8 Non-volatile memory error data impossible
0011 @@12 @@13
0014 0015 0021 0022 0023 0024 0025 0026 0027 0028 0029 002A
No response from communication portion (at normal condition) Communication no resume Communication no stop No response from communication portion at power supply or at reset No response from communication portion after parameter transfer Total number of bytes exceeding 256 Station with 0 byte present Total number of bytes of one slave exceeding 64 Input / output designation error Range over PLC input / output and range in duplication Sub code error Setting error of “General-purpose status area” Setting error of “Short-circuit state area” Setting error of “Unconnected state area”
Recovery method When it dose not start by supplying power once again, exchange PC3JG.
Communication portion hardware error • Error with communication circuit of DLNK
When it dose not start by supplying power once again, exchange PC3JG.
Link parameter error • Error with CPU main body or memory
Rewrite normal parameter, and reset or supply power once again.
Reset so that there should not be duplication of node address, and supply power once again. Reset the correct communication speed, and supply power once again.
@@F0
Node address duplication
Duplication of DLNK node address with other node
@@F3
Switch setting error
Setting error in the communication speed setting switch
@@ : Master's node address, ## : Node address of abnormal slave
9-93
Page 319
Special register contents
##D6
Error contents
Main supposed cause
The number of bytes of a slave and the number of bytes of a link parameter are not in agreement. Collation error (Note) When "recognition of the (Disagreement of number of slave I/O bytes" of a link the number of I/O parameter setup is set up for "not bytes) recognize" by DLNK-M2 or when a slave cannot be recognized, the number of I/O bytes of a slave becomes 0 byte. There is no response from a slave or A slave does not exist. (Note1) After the abnormalities (Error code: d9) in transmission Collation error occur, it detects "a slave cannot be (A slave cannot be recognized", also when it resets, recognized.) while an unusual cause has not been canceled. (Note2) When a slave cannot be recognized, the number of I/O bytes of a slave becomes 0 byte.
Response timeout from slave
##D9
Transmission error
@@E0
Transmission error (network power error)
Communication power is not supplied to the communication connector.
Transmission error (sending timeout)
Sending has not completed owing to any of the following: (1) No slave (2) Communication speed in discrepancy (3) Failure with DLNK-M2 Trouble with communication environment
@@E2
Recovery method Confirm the I/O byte number of the slave to be connected, and change link parameter. (*When the node address of the slave has been changed, turn on the slave once again and change the link parameter. When the slave has been removed, it is also necessary to change the link parameter.) Please check the following item. ・Is the power supply supplied to the slave? ・The connector of a slave is connected correctly? ・Doesn't the node address overlap? ・Aren't there any abnormalities in a telecommunication cable? Check whether the slave connector is connected correctly or not. Check whether the power is supplied to the slave or not. Check the wiring portion to the connector for disconnection or short circuit in communication line. In the case of a slave by other manufacturers, refer to the instruction manual for the slave concerned. Check whether the communication power supply unit works normally or not, and whether the voltage is within the rating or not. Check the power line for disconnection or short circuit. Check the following and turn it on again. • Whether the connector of DLNK is connected or not • Whether power is supplied to the slave or not • Whether the communication speed of master meets that of the slave • Whether there is disconnection or short circuit in the connector concerned or not. In the case of recurrence, exchange module.
@@ : Master's node address, ## : Node address of abnormal slave
9-94
Page 320
Special register contents
@@F1
Error contents
Busoff detection
Main supposed cause
Recovery method
Busoff condition (communication stop owing to data error) detected
Check the following and turn it on again. • Whether the communication speed of master meets that of the slave • Whether the end terminal resistance (121Ω) is connected to each of the ends of network bus or not • Whether all the slaves are set correctly or not • Whether the communication cable is wired correctly or not • Whether the power cable and power source are connected correctly or not • Whether there is disconnection or short circuit in the wiring portion to the connector connected or not. In the case of recurrence, exchange module.
@@ : Master's node address, ## : Node address of abnormal slave
9-95
Page 321
9.3.12. Error Check Flowchart of DLNK-M2
PC3JG terminator terminator Trunk line
Trunk line
Slave
T-branch tap
T-branch tap Network power supply (24V)
Trunk line
Branch line
Branch line
Branch line
Slave
Slave
Slave
<Main, error list> When trial run Be in is adjusted operation
Error
Main presumption cause
Standard value
E0:Network power supply error
O
O
E2:Sending error
O
O
F9:Hard error
O
-
F1:BusOFF
O
-
D9:Transmission error
O
-
Out of response time from slave
-
- a).”Disagreement of the number of I/O bytes” The number of bytes of a slave and the number of bytes of a link parameter are not in agreement. Note) When "recognition of the number of slave I/O bytes" of a link parameter setup is set up for "not recognize" by DLNK-M2 or when a slave cannot be recognized, the number of I/O bytes of a slave becomes 0 byte. b). “A slave cannot be recognized.” There is no response from a slave or A slave does not exist. Note1) After the abnormalities (Error code: d9) in transmission occur, it detects "a slave cannot be recognized", also when it resets, while an unusual cause has not been canceled. Note2) When a slave cannot be recognized, the number of I/O bytes of a slave becomes 0 byte.
-
D6:Collation error
O
The power supply voltage is abnormal in the 11 - 25Vdc network. Wiring the same as Connected confirmation of the slave cannot have system chart. Agreement of been done (There is no answer from all slaves). transmission rate. Abnormality occurred by the memory check in Abnormality does PC3JG. not occur. Abnormality does Forwarding data layout is outside regulations not occur. (protocol abnormality). (The protocol is CAN standard)
Machine error occurrence N Is DLNK error? Y According to the instruction manual of each equipment Please do the troubleshooting.
Error code is confirmed. D9: MS and the NS lamp of the slave are confirmed at abnormal transmission.
To the next page
9-96
Page 322
From former page
F0
F1
F3
F9
F8
To (1) To (7) To (2)
D6 To (4)
RAM error
D9
E0
E2
To (3) To (5) To (6)
No display To (8)
Non-volatile memory error
Supply power once again.
Recovery?
Y
N Exchange PC3JG End
Note 1: At the event of serious failures, CPU memorizes up to 8 error codes. Therefore, check whether there is other serious failure by I/O monitor or so. In the case of serious failure with DLNK-M2, error code 84 I/O MODULE ERROR 2 occurs.
9-97
Page 323
(1) (error F0)
(2) (error F3)
Node address duplication Set the switch so that there should not be duplication on node address, and supply power once again. * Fix the node address of DLNK-M2 to “00.”
Recovery?
Y
Switch setting error Set the communication speed setting switch correctly. * The communication speed cannot be set other than 125, 250, or 500 Kbps.
N Exchange PC3JG
End
9-98
Page 324
(3) (error D9) Transmission error Different station numbers for error occurrences
Slave communication speed and address setting correct?
Procedure
C
Procedure E
Y Power is being correctly supplied to the slave (MS lamp lit)?
Procedure C
Lit in red (hardware fault) Not lit (power is not being supplied)
Lit in green (hardware is operating correctly)
Check the NS lamp for the slave.
Not lit and flashing in green (communication power is turned back on again)
Flashing in red (communication error) Check the communication cable. Procedure B (3) to (6) Check the communication Procedure B (1) to (6)
OK cable.
Check the communication power. Procedure A
OK
OK
Check the number of CAN errors. Procedure F OK Replace the faulty slave. NG Exchange PC3JG
9-99
Page 325
(4) (error D6) Collation error (“Disagreement of the number of I/O bytes” or ”A slave cannot be recognized.”)
For the link parameter setting, please confirm "Number of real slave I/O bytes" is set to "Recognized".*1 If it is "Not recognized", set it to "Recognize". And then reset and restart CPU or turn on the power supply again. *1Refer to "9.5.4.2 Link Parameter Setting".
Please confirm the number of I/O bytes in the link parameter and the number of Procedure D I/O bytes of slaves. *2 Number of I/O bytes of slaves. =0 bytes?
*2: Refer to special register S3*0~ S3*4 for link error data output.
Accord?
N
Y
N Set parameters correctly.
Y
A slave cannot be recognized. The following item is checked. - Is the power supply supplied to the slave? - Is the connector of a slave connected correctly? - Doesn't the node address overlap? - Aren't there any abnormalities in communication cables? Please exchange slaves if there is no problem in items mentioned above
Exchange the slave.
(5) (error E0) Network power source error
Confirm the communication power source. Procedure A Recovery?
Y
N Confirm the communication cable. Procedure B (3) to (6) Y Recovery?
N End
Exchange PC3JG
9-100