The text of a manual · part 20 of 27
SHARP Programmable Controller New Satellite W series: Network module JW-20CM, Remote I/O slave module JW-20RS User's Manual: Chapter 9: Data Link, pages 159 to 168
Pages 159 to 168 of 230, from SHARP Programmable Controller New Satellite W series: Network module JW-20CM, Remote I/O slave module JW-20RS User's Manual
The original document is the PDF (2.5 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.
Filed in the catalog under the Sharp ZW-1PU, Sharp ZW-32IO2 and Sharp ZW-32S2T
Page 159
(3) Error code When an error occurs in the JW-20CM, it stores the occurred error’s code to system memory #170 of each station’s PC. Error code (HEX)
Cause
01
ROM error, upper CPU
Error code stored to system memory(H)
#160
02
RAM error, upper CPU
03
2 port RAM error against PC, upper CPU
04
2 port RAM error against
11
ROM error, communication CPU
12
RAM error, communication CPU
#170 to 177
Measure
Replace the JW-20CM
53 communication CPU, upper CPU
18
Communication LSI error, communication CPU
1F
No response
20
More than one token detected
21
Doubled address detected
22
Fault of sending section
23
Token does not return within the rated interval
2A
Over flow of receiving buffer.
2B
Flame length error of receiving
2C
Media error
30
EEPROM error
6E
BCC error
6F
Parameter setting error
C1
Communication error to FF
• After converting into octal, the lower two digits represent the slave station number of the current error. (Ex. C1(H) = 301(8)= slave station 01)
1F 20 21 22 23 2A 2B 2C 30 6E 6F C1 to FF
• Check the communication cable • Check for doubled allocation of slave station number • Replace the JW-20CM Check the parameter setting Replace the JW-20CM Check the communication cable Check the communication cable Replace the JW-20CM Check the parameter setting Check the communication cable and slave module
· In some cases, error code 23(H) or 2A(H) is stored when inputting power. This is not an error.
Remarks • The error code stored in the system memory #170 is shifted to #170 to #177 one after the other as new errors occur. Thus, the system memory can store up to 8 errors. When the PC is operating by RAM, these error codes do not disappear even after turning OFF the power. The contents of system memory #170 to #177 are kept storing after the JW-20CM recovers from the error. #177
#176
#175
#174
#173
#172
#171
#170 6E
Occurrence of BCC error
6F
Occurrence of parameter setting error
Disappear 6E
9·61
9
Page 160
• When any of errors “01(H)” to “18(H)” occurs among the error codes listed on the previous page, the JW20CM stores error code “53(H)” (optional error) in the system memory #160. It does not store any error code in system memory #170. • In the case of an option error "53," when you monitor system memory #050, the bit of error option module switches ON. When more than 1 bit is error, these bits switch ON. The each ON bit becomes OFF by recovering from the error condition. But the last ON bit does not become OFF even if the error condition recovers. 7
6
5
4
3
2
1
0
#050
Port 6 error Port 7 error
Port 4 error
Port 5 error
Port 2 error
Port 3 error
• The option slot port numbers are assigned in the order 2, 3, 4, 5, 6, 7, and so on, starting from the position closet to the control module.
(Ex.: JW-13BU)
Control module
② ③ ④ ⑤ ⑥ ⑦ ▲
Port number
9
9·62
Page 161
(4) Recovery method at communication errors ① Check flow chart
Occurrence of error
Connection status of cable/connector are normal.
NO
See “Check cable/connector” on next page.
YES
See “During initial communication” on page 9·66.
YES
First communication?
NO
NO
Does the error occur continuously?
See “When the communication error occurs instantaneously ” on page 9·69.
YES
9 See “When the communication error occurs continuously” on page 9·69.
Recovery
YES
NO
9·63
Normal operation
Page 162
② Check cable/connector As errors on the junction from the main cable to the drop cable or the contact failure on the connecting point of each station or errors of the master module are assumed, check with the following procedure.
FAULT lamp turns ON
YES
Exchange master module
NO
Monitor “individual communication flag” in support tool.
Error only 1 station
NO
At plural station error
9
See next page
9·64
See page 9·55
Check and exchange the “bus YES cable” and “branch cable” to the station with the error or the “station error module where the error occurred.”
Page 163
• If the bus cable between the slave station 05(8) and 06(8) is disconnected in the following system. 03(8)
02(8)
01(8)
04(8)
Master station
05(8)
B
C D Disconnection
A
06(8)
07(8)
State of an individual communication flag D7 6 5 4 3 2 1 D0 OFF
Unstable
OFF
Remove the connector on point A, and turn ON the termination resistance of the master station.
As the communication possible stations 03(8), 02(8), 01(8), and 04(8) are normal, the state of communication monitoring flag is as follows. D7
6
5
OFF Connect the A connector, and then remove the connector on point B.
4
3
2
1
D0
ON
As the one side of the termination resistance is lost, all of the communication possible stations 05(8), 06(8), and 07(8) are abnormal, and the station 05(8) is unstable. D 7 6 5 4 3 2 1 D0 OFF Unstable OFF
ON
Remove the connector on point C and make sure the B connector is not connected. Turn ON the termination resistance of the slave module 05(8).
As the communication possible station 05(8) is normal, abnormal points exists ahead of the point C. D 7 6 5 4 3 2 1 D0
Connect the C connector and make sure the B connector is not connected, and remove the connector at the next point to the point D. Turn OFF the termination resistance of the slave station 05(8), and turn ON the termination resistance of the end station 06(8).
As the one side of the termination resistance is lost, the station 05(8) and 06(8) become communication possible stations, but the station 05(8) is unstable and the station 06(8) is turned to OFF, so the abnormal states occur between the point C and the point D. D 7 6 5 4 3 2 1 D0
OFF ON
OFF
OFF Unstable OFF
ON
ON
Cause
Countermeasure
Disconnection in the bus cable and the branch cable between the station 05(8) and 06(8), or contact failure of the connectors
Remove both the bus cable and the branch cable connectors. After that, shorten one of these connectors and check conductivity using a tester.
Error on the slave station 06(8)
Exchange the slave module.
9·65
9
Page 164
③ During initial communication (start-up of the system) Lighting error code 6F(H) · When the master station indicates error code 6F(H) and the COMM lamp is OFF. The cause may be a parameter setting error of the master station. Check the master station parameters below. Parameter address(8)
Contents
Setting range
004000 to 004001
Relay link top address of master station
コ0000 to 39777(8) (File 0 : 000000 to 007777(8))
004003(8)
Amount of connectable stations
2 to 64(D)
004400 to 004403
Register link top address of master station
コ0000 to 99777(8) (File 0 : 000000 to 015777(8)) 000000 to 177777(8) (File 1 to 7)
005000 to 005177(8)
Relay link sending bytes of each station
0 to 256D) Total : 256 max.
005200 to 005377
Register link sending bytes of each station
0 to 2048(D) Total : 2048 max.
Flag top address
コ0000 to 99777(8) (File 0 : 000000 to 015777(8)) 000000 to 177777(8) (File 1 to 7)
007764 to 007767
· When the master station indicates error code 6F(H) and the COMM lamp lights. The cause may be a setting error of any of the slave stations which are set in the parameter. Check the following master station parameters.
Parameter address(8)
Contents
Setting range
Relay link top address of slave station
コ0000 to 39777(8) (File 0 : 000000 to 007777(8))
Relay link offset bytes of slave station
00000 to 00256(D)
Register link top address of slave station
コ0000 to 99777(8) (File 0 : 000000 to 015777(8)) 000000 to 177777(8) (File 1 to 7)
Register link offset bytes of slave station
00000 to 02048(D)
005000 to 005177
Relay link top address sending bytes of each station
0 to 256D) Total : 256 max.
005200 to 005377
Register link sending bytes of each station
0 to 2048(D) Total : 2048 max.
Flag top address
コ0000 to 99777(8) (File 0 : 000000 to 015777(8)) 000000 to 177777(8) (File 1 to 7)
9 004004 to 004377
004404 to 004777
007764 to 007767
When slave station is JW-22CM, see “JW-22CM users manual” for setting range.
9·66
Page 165
· When the master station is normal and the error code 6F(H) of a slave station lights. The cause may be a faulty setting of the slave station parameter. Check the following slave station parameters. Parameter address(8)
Contents
Setting range
007720, 007721
Relay link receiving bytes of slave station
0 to 256D) Total : 256 max. In case of "0", same as number of sending bytes
007722, 007723
Register link receiving bytes of slave station
0 to 2048(D) Total : 256 max. In case of "0", same as number of sending bytes
007730 to 007733
Relay link top address of slave station
コ0000 to 39777(8) (File 0 : 000000 to 007777(8))
007734 to 007737
Register link top address of slave station
コ0000 to 99777(8) (File 0 : 000000 to 015777(8)) 000000 to 177777(8) (File 1 to 7)
Flag top address
コ0000 to 99777(8) (File 0 : 000000 to 015777(8)) 000000 to 177777(8) (File 1 to 7)
※
007764 to 007767
※ In case of using memory capacity save function When slave station is JW-22CM, see “JW-22CM users manual” for setting range. When the COMM lamp of the master station is OFF (SD,RD,CD are flickering). Check the following master station’s parameters.
Parameter address(8)
Contents
9 Setting value
004002(8)
Data link function
01
007777(8)
Start switch
01
9·67
Page 166
Other cases • Check the switches of the JW-20CM (see check item) • Check optional cable of PC (The JW-20CM does not operate normally without an optional cable.) • Check cable and connector (see check item) • Check error code [Switches required check in the JW-20CM] ① Station number (STA NO.) ② Mode switch (MODE) ③ Termination resistance switch (LT) ④ Shield ground switch (LG) If there are errors in the station number and the mode switch, change the setting with the power OFF, and then turn ON the power. [Check items of cables and connectors] ① No looseness or removal of connectors (turn the connector right until it completely locks). ② Connectors are appropriately fixed on the cables (When any faults such as extrusion of pins or connector being easily removed by pulling, reinstall these connectors.) ③ Wiring conditions are appropriate (See chapters 6 and 7). ④ Not too long branch lines (shorter than 400 mm). ⑤ Termination resistance are correctly connected. (Turn “ON” the termination resistance switch of the termination stations or install a termination tool.)
9
9·68
Page 167
④ When the communication error occurs instantaneously. Cause may be: • Noise on the communication line. • Fault of a communication module. • Fault of a communication cable. Check the error’s timing. When the error occurs synchronous with a peripheral industrial robot’s operation, noise to the communication line may be a cause. Consider arrangement of the wiring route. Identify the error station. When the error occurs at only the specific station, the cause may be the station or nearby. Check the following items. • Setting of the LT (termination resistance) switch. • Cable (See page 9·64 “check items of cables and connectors”) • Error code (See page 9·54) When identification of the cause is difficult. Condition of the circuit may be unstable. (See page 9·64 “check items of cables and connectors”) ⑤ When the communication error occurs continuously. Identify the error station. Specify the error’s station using the communication flag etc., and check this station. • Check the power of the error’s station. • Check the error code of the error’s station. • Check cables near the error’s station. (See page 9·64 “check items of cables and connectors”) When identification of the cause is difficult. Condition of the whole circuit may be unstable. Check cables and connectors. (See page 9·64 “check items of cables and connectors”)
9·69
9
Page 168
(5) Module replacement procedure When you want to change the JW-20CM due to an operation fault (lighting FT lamp) etc., follow the procedures below. Make sure to store the set parameters onto a floppy diskette using a support tools. (See the next page)
Operation procedure
Start
Turn “OFF” the PC power
Remove the cables from the JW-20CM
Loosen one retention screw and Remove the JW-20CM from the rack panel
Set the switches of the new JW-20CM take out from the rack panel.
(See chapter 9·19)
9 Install the new JW-20CM
Connect the cables to the new JW-20CM
Turn “ON” the PC power Load the parameters stored in the Load the parameters.
floppy diskette into the new JW-20CM and write in the EEPROM, then start operation. For details, see chapter 11.
End
9·70