The text of a manual · part 12 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 79 to 88
Pages 79 to 88 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 79
[Single address and continuous address] · If a slave station's I/O area is not linked to the previous slave station's I/O area, this slave station should be set as a "single address slave station ."
コ0200 コ0217
Slave station 1
}
128 points Need to set address
コ0240
· If a slave station's I/O area is linked to the previous slave station's I/O area, you do not have to set the address this slave station if "continuous address" is selected (turn OFF the D7 bit in the address's upper byte).
Slave station 2
}
Slave station 1
} }
128 points
コ0200 コ0217 コ0220 コ0237
Slave station 2
128 points Select the "continuous address" setting (You do not need to set 128 points addresses for each I/O area.)
· If "continuous address" is selected, the address changes in the previous slave station (the top I/ O address in slave station 1 in the example above) will automatically changes the addresses of the linked slave stations accordingly. If you want to disable automatic address changes, select the "single address" mode, even if the slave station address is in a continuous series with the previous slave station addresses. Then enter the address of the slave station manually.
8·41
8
Page 80
"Only when using manual allocation " ⑥
Enter the number of I/O bytes for each slave station
[DCM (decimal), byte]
(Applied to item ⑥ on pages 8·31 and 8·35) · Enter the number of I/O bytes per slave station at parameter addresses 000201 to 000277(8). · Enter the number of I/O bytes per slave station (1 to 128 bytes) in decimal notation. Entering a value greater than 128 is treated as an error. Slave station number(8)
Address
(8)
Slave station number(8)
Address
(8)
Slave station number(8)
Address
(8)
(8)
Slave station number(8)
-
-
000220
20
000240
40
000260
60
000201
01
000221
21
000241
41
000261
61
000202
02
000222
22
000242
42
000262
62
000203
03
000223
23
000243
43
000263
63
000204
04
000224
24
000244
44
000264
64
000205
05
000225
25
000245
45
000265
65
000206
06
000226
26
000246
46
000266
66
000207
07
000227
27
000247
47
000267
67
000210
10
000230
30
000250
50
000270
70
000211
11
000231
31
000251
51
000271
71
000212
12
000232
32
000252
52
000272
72
000213
13
000233
33
000253
53
000273
73
000214
14
000234
34
000254
54
000274
74
000215
15
000235
35
000255
55
000275
75
000216
16
000236
36
000256
56
000276
76
000217
17
000237
37
000257
57
000277
77
Address
8
Initial value: 00(H) in all addresses Ex. Assign 8 bytes (64 points) to slave station 01 and 10 bytes (80 points) to slave station 02 using the JW-13PG.
Display the contents of address 000201(8)
(
After converting into decimal notation, write the result in 8(D).
)
Screen display of JW-13PG Write 10(D) at address 000202(8).
00200 00201 I PARAM. >00202
DCM DCM
000 008
DCM
010
8·42
Page 81
"Only when the master station is a JW model" ⑦
Enter the I/O type for each slave station
[Bit pattern, bytes]
(Applied to item ⑦ on pages 8·31 and 8·35) · Declare whether the I/O module installed in each slave station (01 to 77(8)) is a "JW model" or a "ZW model" at parameter address 000400 to 000407(8). · Set the bit corresponding each slave station to 0 (OFF) if it is a ZW model, or 1 (ON) if it is a JW model. Set value
Enter the value of the I/O type
0 (OFF)
ZW model
1 (ON)
JW model
Parameter addresses(8)
Corresponding to the slave station number(8) 7
6
5
4
3
2
1
0
000400
07
06
05
04
03
02
01
-
000401
17
16
15
14
13
12
11
10
000402
27
26
25
24
23
22
21
20
000403
37
36
35
34
33
32
31
30
000404
47
46
45
44
43
42
41
40
000405
57
56
55
54
53
52
51
50
000406
67
66
65
64
63
62
61
60
000407
77
76
75
74
73
72
71
70
Initial value: FF(H) in all addresses
Ex. Make slave station 07 a "ZW model" and all the other slave stations JW models, using the JW-13PG.
Display the contents of address 000400(8)
Write a 0 in bit 7 (slave station 07) after converting to bit pattern
Screen display of JW-13PG 00376 □□□□□□□□ 00377 □□□□□□□□ I PARAM. >00400 □■■■■■■■
8·43
8
Page 82
"Only when the master station PC is a JW model and a JW model special I/O module is used as a slave station" ⑧
Enter the data register address
Station number: OCT (octal), bytes of the special I/O module
Rack and slot numbers: HEX (hexadecimal), bytes
(Applied to item ⑧ on pages
Number of data bytes: DCM (decimal), bytes
8·31 and 8·35)
Register top address: OCT (octal), bytes
· Since the special I/O module uses an I/O relay area and a data memory area, you have to enter slave station numbers, rack/slot numbers, the number of data bytes, and the top register addresses of the slave station which contains the special I/O module at parameter address 000600 to 000777(8). · Use 4 bytes of memory to assign one special I/O module. Parameter address (8)
Set contents
000600
Slave station number (00 to 77(8))
000601
Upper 4 bits: Rack number (0 or 1) Lower 4 bits: Slot number (00 to 0F(H))
000602
Number of data bytes (01 to 64(D))
000603
Top register address (file address) D7 bit: 1 for set, 0 for not set.
to
8
Special I/O number to
No.1 to
000774
Slave station number (00 to 77(8))
000775
Upper 4 bits: Rack number (0 or 1) Lower 4 bits: Slot number (00 to 0F(H))
000776
Number of data bytes (01 to 64(D))
000777
Top register address (file address) D7 bit: 1 for set, 0 for not set.
No.32
Initial value: 00(H) in all addresses ■ Number of data bytes Enter the number of bytes that the special I/O module uses for data exchange. A maximum of 128 bytes can be assigned per station. A maximum of 512 byes can be assigned to all stations.
Special I/O module model name
Number of data bytes
JW-8AD (analog input)
36 bytes
JW-2DA (analog output)
8 bytes
JW-2HC (high speed counter)
8 bytes
JW-31LM (I/O link master station)
2 to 6 bytes
JW-11DU/12DU (ID control module)
64 bytes max.
JW-12PM (positioning module)
16 bytes
8·44
Page 83
■ Top register address Enter top address of each special I/O module, which can be allocated up to 64 points per unit, at file addresses 000000 to 017700(8). Bit contents of the parameter address 000603(8) etc. 7 6 5 4 3 2 1 0 4th digit 3rd digit
0
0
2nd digit 1st digit
5th digit 1: Enter top register address 0: Do not enter top register address Lower 2 digits are always 00.
Ex.: Set a JW-2DA (8 data bytes and a top register address of 490000) installed in "slave station number 01," "rack number 0," "slot number 2" and assigned as No. 1 (1st module) using the JW-13PG. Remote I/O master station
Slave station 01
Slave station 02
Slave station 03
JW-2DA
After converting into octal notation, write station number 01(8)
Display the contents of address 000600(8)
8
Write rack number 0 and slot number 2 at parameter address 000601(8). After converting it into decimal notation at parameter address 000602(8), write the number of bytes 8. Screen display of JW-13PG 00601 00602 I PARAM. >00603
After converting the number into octal notation at parameter address 000603(8), write it at 300(8).
3 Parameter address 000603(8)
0
0
1 1 0 0 0 0 0 0 0 0 1
0 0 0 0
Set File address 10000(8) = Register address 49000
8·45
OCT OCT
003 010
OCT
300
Page 84
8-4 Error and treatment Operation status of the JW-20CM can be check by indication lamps, flags, or system memory. (1) Indication lamp ① JW-20CM
JW–20CM COMM○ SD○ RD○ CD○ LT○ TEST○ ERROR○ FAULT○
○S0 ○S1 ○S2 ○S3 ○S4 ○S5 ○S6 ○S7
Indication lamp
8 Name
Operation
Recovery
COMM
Lights while the remote I/O is operating
--------------------------------------------------
SD
Flickers while sending data
--------------------------------------------------
RD
Flickers while receiving data
--------------------------------------------------
CD
Flickers while detecting a carrier
--------------------------------------------------
LT
Lights when the termination resistance switches turned ON
--------------------------------------------------
TEST
Lights while testing
--------------------------------------------------
ERROR
· Check disconnection of communication cable Lights while an error is detected (Indicate · Check settings of switches · Check settings of parameter error code by S0 to S7 LEDs) · Check power supply voltage.
FAULT
Lights when the watchdog timer is time up (JW-20CM is faulty)
Replace the JW-20CM
S0 to S7
Indicates error codes by hexadecimal when an error is occurred
See the next page
8·46
Page 85
(Error code) Error LED name code S0 S7 6 5 4 3 2 1 (HEX)
Cause
Measure
○○ ○ ○ ○○ ○● ○○ ○ ○ ○○ ●○
01(H) ROM error, upper CPU 02(H) RAM error, upper CPU
○○ ○ ○ ○○ ●● ○○ ○ ○ ○● ○○
Replace the JW-20CM 03(H) 2 port RAM error against PC, upper CPU 2 port RAM error against communication CPU, upper CPU 04(H)
○○ ○ ● ○○ ○● ○○ ○ ● ○○ ●○
11(H) ROM error, communication CPU 12(H) RAM error, communication CPU
○○ ○ ● ●○ ○○
18(H) Communication LSI error, communication CPU 1F(H) No response, communication CPU
• Check the communication cable • Check for doubled allocation of slave station number • Replace the JW-20CM
20(H) More than one token detected 21(H) Doubled address detected
Check the parameter setting and switch setting.
○○ ○ ● ●● ●● ○○ ● ○ ○○ ○○ ○○ ● ○ ○○ ○● ○○ ● ○ ○○ ●○ ○○ ● ○ ○○ ●●
22(H) Fault of sending section • Replace the JW-20CM Token does not return within the rated interval • Check the communication cable 23(H)
○○ ● ○ ●○ ●○
2A(H)
○○ ● ○ ●○ ●● ○○ ● ○ ●● ○○
2B(H) Flame length error • Occurs because of a media execution cable error or noise from outside. 2C(H) Media error
○○ ● ● ○○ ○○
30(H) EEPROM error
●○ ● ● ●● ●○ ●○ ● ● ●● ●●
BE(H) BCC error BF(H) Parameter setting error
●● ○ ○ ○○ ○●
※ to ●● ● ● ●● ●●
Check the communication • After converting into octal, the lower two digits represent the slave station number of the current cable and slave module ※ FF(H) error. (Ex. 01(H) = 301(8) = slave station 01)
Overflow of receiving buffer. Occurs when the upper CPU processing is delayed. Check the communication
Check the communication cable Replace the JW-20CM Check the parameter contents.
C1(H) Communication error to
● : ON, ○ : OFF
Remarks • Error codes “23” and “2A(H)” may occur when applying power. This is not an error. • To check the communication cable, remove both connectors and short the connector terminals at one end. Then measure the conductivity using a tester. • Check the parameter and switch settings for all stations. If the settings are correct, replace the JW-20CM or JW-20RS.
8·47
8
Page 86
② JW-20RS
JW–20RS COMM○ SD○ RD○ CD○ LT○ TEST○ ERROR○ FAULT○
○S0 ○S1 ○S2 ○S3 ○S4 ○S5 ○S6 ○S7
Indication lamp
8
Name
Operation
Recovery
COMM
Lights while the remote I/O is operating
--------------------------------------------------
SD
Flickers while sending data
--------------------------------------------------
RD
Flickers while receiving data
--------------------------------------------------
CD
Flickers while detecting a carrier
--------------------------------------------------
LT
Lights when the termination resistance switches turned ON
--------------------------------------------------
TEST
Lights while testing
--------------------------------------------------
ERROR
· Check disconnection of communication cable Lights while an error is detected (Indicate · Check settings of switches error code by S0 to S7 LEDs) · Check settings of parameter · Check power supply voltage.
FAULT
Lights when the watchdog timer is time up (JW-20RS is faulty)
Replace the JW-20RS
S0 to S7
Indicates error codes by hexadecimal when an error is occurred
See the next page
8·48
Page 87
(Error code) LED name S7 6 5 4 3 2 1 S0
Error code (HEX)
○○ ○ ○ ○○ ○●
01(H) ROM error, upper CPU
○○ ○ ○ ○○ ●○
02(H) RAM error, upper CPU
○○ ○ ○ ○○ ●●
03(H) 2 port RAM error against PC, upper CPU
○○ ○ ○ ○● ○○
04(H) 2 port RAM error against communication CPU, upper CPU
○○ ○ ● ○○ ○●
11(H) ROM error, communication CPU
○○ ○ ● ○○ ●●
13(H) RAM error, communication CPU 18(H) Communication LSI error, communication CPU
Cause
Measure
Replace the JW-20RS
○○ ● ○ ○○ ○●
20(H) More than one token detected 21(H) Doubled address detected
• Check the communication cable • Check for doubled allocation of slave station number • Replace the JW-20RS
○○ ● ○ ○○ ●○
22(H) Fault of sending section
Replace the JW-20RS
○○ ● ○ ○○ ●●
23(H) Token does not return within the rated interval
○○ ● ○ ●○ ●○
2A(H)
○○ ● ○ ●○ ●●
2B(H) Flame length error • Occurs because of a media execution cable
○○ ● ○ ●● ○○
2C(H) Media error
○○ ● ○ ●● ●○
2E(H)
○○ ● ● ○○ ○○
30(H) EEPROM error
●○ ○ ● ●● ●○
90(H) I/O bus error
●○ ○ ○ ○○ ○●
91(H) I/O signal error
●○ ○ ● ○○ ●○
92(H) Mismatch number of I/O points
○○ ○ ● ●○ ○○ ○○ ● ○ ○○ ○○
• Check the communication cable • Replace the JW-20RS
Overflow of receiving buffer. Occurs when the upper CPU processing is delayed. Check the communication error or noise from outside.
Synchronization between master and slave • Reinput the power station is deviated
●○ ○ ● ○○ ●●
93(H) Interrupted data from master station
●○ ○ ● ○● ○○
94(H) Defected power failure at I/O processing
• Decrease load of slave station • Check the communication cable • Replace the JW-20RS • Check I/O module, option cables
8 Check the communication cable and master module Check power supply Check master station PC,
●○ ○ ● ○● ○●
95(H) Master station PC error
• master module, or communication cable
●○ ○ ● ●● ●○
9E(H) BCC error
●○ ○ ● ●● ●●
9F(H) Parameter setting error
Check parameter contents
● : ON, ○ : OFF
Remarks • Error codes “23” and “2A(H)” may occur when applying power. This is not an error. • To check the communication cable, remove both connectors and short the connector terminals at one end. Then measure the conductivity using a tester. • Check the parameter and switch settings for all stations. If the settings are correct, replace the JW-20CM or JW-20RS.
8·49
Page 88
(I/O error code of JW model) LED name 80 40 20 10 8 4 2 1
Error code (HEX)
● ○ ○ ● ○ ● ● ● 97(H)
Cause
Measure
I/O table error
Register I/O table Replace the JW-20RS
● ○ ○ ● ● ○ ○ ○ 98(H) Input data parity error
Replace basic rack panel,
● ○ ○ ● ● ○ ○ ● 99(H) Output data error extension cable, I/O
● ○ ○ ● ● ○ ● ○ 9A(H) I/O table registration error module, or register I/O
● ○ ○ ● ● ○ ● ● 9B(H) Special I/O module error ● ○ ○ ● ● ● ○ ○ 9C(H) Blown fuse table. Replace the fuse
• When error numbers 98 through 9C(H) occur, the module will store “rack No.” and “slot No.” in the parameter address 005000(8) in the JW-20RS. Parameter address D7 D6 D5 D4 D3 D2 D1 D0
005000(8)
Rack No.
Slot No.
When more than one module has and error, the lowest “rack No.” and “slot No.” will be stored. • A special I/O module error (9B(H)) can be detected by the JW-2DA/8AD/11DU/12DU/12PM. When the JW-2DA/12PM detects this error, you can also assume that there is a problem in the 24 V power supply. • A fuse blown error (9C(H)) can be detected by JW-12S/13S/32S/33S/35S. If the error cannot be eliminated after replacing the module in which the error occurred, check the modules in the JW-20RS and then in the rack panel.
8
③ PC body and JW-20CM, JW-20RS The operating status of the remote master station and slave stations will vary according to the operation, stop, error, and power failure conditions in the PC as follows. For output hold switch in detail, see page 8·15 ●: Light ON, ×: Blinks, No mark: Lights OFF PC body operational condition
Power supply module
Indicator Halt Power output lamp Operating Error HALT POWER RUN FAULT
Operating at normal Close Stop at normal Open Error Open Remote master Open station error
PC body operational condition
PC body
System memory #170 to COMM SD RD CD ERROR TEST FAULT S0 to S7 #177
Flag relay
●
●
ON ON Not fixed
●
●
Not fixed
●
●
●
×
Power supply module Halt Power output lamp HALT POWER
Operating at normal Close Open Stop at normal Open Error Remote master Open station error PC power in OFF Open
JW-20CM Indication lamps
Hold Hold Hold
●
× × ×
●
× × ×
●
× × ×
Hold
●
JW-20RS Indication lamps
Output hold switch “HOLD”
Output hold switch COMM SD RD CD ERROR TEST FAULT S0 to S7 “RST”
●
− Reset Reset
●
Reset
●
Reset
●
●
Condition of output module
− Hold Reset
●
●
●
× × ×
●
※
× × ×
●
●
Error code
Reset
Not fixed
●
●
Error code
Reset
Not Fixed
●
●
Error code
× × ×
※ When the JW-20RS fault lamp is lit and no error code is displayed, it might be the case that the PC has stopped operation (in the program mode).
8·50