The text of a manual · part 13 of 27
SHARP Programmable Controller New Satellite W series: Network module JW-20CM, Remote I/O slave module JW-20RS User's Manual: Chapter 8: Remote I/O, pages 89 to 98
Pages 89 to 98 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 89
(2) Flag Flag area is 8 bytes from the “flag top address” set in the master station JW-20CM parameter, monitor communication condition. Example: In this case the flag top address is file address 000740(8) (コ0740) D7 D6 D5 D4 D3 D2 D1 D0 コ0740 07 06 05
04 03 02
01
コ0741
17 16 15
14 13 12
11 10
コ0742
27 26 25
24 23 22
21 20
コ0743
37 36 35
34 33 32
31 30
コ0744
47 46 45
44 43 42
41 40
コ0745
57 56 55
54 53 52
51 50
コ0746
67 66 65
64 63 62
61 60
コ0747
77 76 75
74 73 72
71 70
All stations communication
▲ Communication condition with slave station 10(8)
▲
▲ Communication condition with slave station 77(8)
Communication condition with slave station 70(8)
① All stations communication flag When the master module JW-20CM is communicating normally with the preset number of slave stations, this flag will be ON. 07400
All stations normal communication All stations communication
② Individual communication flag The flags corresponding to the slave stations, which are communicating normally with the master module JW-20CM will be ON. 07477
Slave station 77(8) normal communication
Slave station 77(8)
8·51
8
Page 90
(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)
Error code stored to system memory
Cause
#160
01
ROM error, upper CPU
02
RAM error, upper CPU
03
2 port RAM error against PC, upper CPU
04
2 port RAM error against
#170
Measure
Replace the JW-20CM
53(H)
communication CPU, upper CPU 11 12
RAM error, communication 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
8
Occurs when the upper CPU processing is delayed. Flame length error
2C
Media error
30
EEPROM error
BE
BCC error
BF
Parameter setting error
1F (H) 20 (H) 21 (H) 22 (H) 23 (H)
• Check the communication cable • Check for doubled allocation of slave station number • Replace the JW-20CM Check the parameter setting and switch
Replace the JW-20CM Check the communication cable
Overflow of receiving buffer.
2B
C1
Communication error to
• 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)
FF
•
ROM error, communication CPU
2A (H) 2B (H) 2C (H) 30 (H) BE (H) BF (H) C1 (H) to FF (H)
Check the communication cable Replace the JW-20CM Replace the JW-20CM Check the switch 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.
8·52
Page 91
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
• 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
8 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
8·53
Page 92
(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 8·57.
YES
First communication?
NO
NO
Does the error occur continuously?
8
See “When the communication error occurs instantaneously ” on page 8·59.
YES
See “When the communication error occurs continuously” on page 8·60.
Recovery
YES
NO
8·54
Normal operation
Page 93
② 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.
Set the error operation mode of a JW-20CM master module to “2.”
FT lamp turns ON
YES
Exchange JW-20CM
NO
Monitor “individual communication flag” in support tool.
Error only 1 station
NO
At plural station error
See next page
8·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.”
8
Page 94
• 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
4
OFF Connect the A connector, and then remove the connector on point B.
3
ON
6
5
4
3
OFF Unstable
Remove the connector on point C and make sure the B connector is not connected.
D0 OFF
2
1
D0
OFF
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 OFF ON
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.
1
There is no normal station amoung commiunicatable station 05, 06, 07(8), and 05(8) is unstable. D7
8
2
OFF
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. D7
6
5
4
3
OFF Unstable
2
1
D0
OFF
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.
8·56
Page 95
③ During initial communication (start-up of the system) Check the error code of master station · When the master station indicates error code BF(H) The cause may be a parameter setting error of the master station. Check the master station parameters. (See the next page) · When the master station indicates error code C1 to FF(H) The cause may be a error of slave station. Check the error code of slave station. · When the COMM lamp of master station is OFF (SD, RD, and CD are flickering) Check the following master station’s parameters Parameter address
Contents
Setting value
003777(8)
Start switch
01
· Other cases Check the switches of the communication module Check optional cable of PC (The PC does not operate normally without an optional cable.) Check cable and connector Check error code Check the error code of slave station · When the error code of slave station is no display and FAULT lamp is ON The cause may be error of wiring. Check for wiring. · When the slave station indicates error code 93(H) to 95(H) When the slave station indicates error code 9F(H) · The cause may be a parameter setting error of the slave station. Check the slave station parameters. · When relation I/O is error Check I/O and rack panel. · Other cases Check the switches of the communication module Check optional cable of PC (The PC does not operate normally without an optional cable.) Check cable and connector
8·57
8
Page 96
Parameter setting range <Fixed allocation> · When fixed allocation is used, set parameter within the range shown below: コ0000
Number of slave stations (1 ≦ n ≦ 32 or 63) Remote I/O top address Number of slave station I/O points (fixed to 64 points or 128 points) B1 to Bn : Blank between stations 1 to n : A: N:
A 1
N B1
2
N B2
• • •
N
コ1577
(Setting of JW model special I/O module) 0 to 128 bytes in total per remote slave station 0 to 512 bytes in total of all stations
Data register Number of modules
8
Up to 8 modules per remote slave station Up to 32 modules in total of all stations
<Manual allocation> · When the manual allocation is used, set parameter within the range shown below: 1 to n : Number of slave stations (1 ≦ n ≦ 63) A1 to An : Remote I/O top address N1 to Nn : Number of slave station I/O bytes (0 ≦ Nn ≦ 128) N1 + N2 + · · · + Nn ≦ 512
コ0000
A1 1
N
2
N
A2 • • •
An Nn
コ1577
(Setting of JW model special I/O module) Data register Number of modules
0 to 128 bytes in total per remote slave station 0 to 512 bytes in total of all stations Up to 8 modules per remote slave station Up to 32 modules in total of all stations
8·58
Page 97
④ 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. • Check cables/connectors Looseness or removal of connectors (turn right until fixed securely) Whether connectors are assembled to cables appropriate (check insulation/conductivity) Cable length should be less than 1 km Branch cable length should be less than 40 cm • Error code (See page 8·52) When identification of the cause is difficult. Condition of the circuit may be unstable. (See page 8·52 “check items of cables and connectors”) · Looseness or removal of connectors (turn right until fixed securely) · Whether connectors are assembled to cables appropriate (check insulation/conductivity) · Cable length should be less than 1 km · Branch cable length should be less than 40 cm
8·59
8
Page 98
⑤ When the communication error occurs continuously. Identify the error station. Specify the error’s station using the communication flag etc., (see page 8·51) and error code (see page 8·47). Then check this station. • Check the power of the error’s station. • Check the error code of the error’s station. • Check cables/connectors Looseness or removal of connectors (turn right until fixed securely) Whether connectors are assembled to cables appropriate (check insulation/conductivity) Cable length should be less than 1 km Branch cable length should be less than 40 cm When identification of the cause is difficult. Condition of the whole circuit may be unstable. Check cables and connectors. · Looseness or removal of connectors (turn right until fixed securely) · Whether connectors are assembled to cables appropriate (check insulation/conductivity) · Cable length should be less than 1 km · Branch cable length should be less than 40 cm
8
8·60