The text of a manual · part 10 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 59 to 68
Pages 59 to 68 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 59
[I/O table registration in case of using JW-I/O] 1. In case of not setting dummy I/O Register I/O table based on the installed I/O module. (Set parameter address 001001(8) = 65(H), the procedure B in the flow chart.) However, in case of parameter address of JW-20RS 001002(8) = 00(H) (default setting), the JW-20CM automatically registers I/O table when the power is input and there is no need to register I/O table. (Procedure A in the flow chart.) 2. In case of setting dummy I/O Set number of dummy I/O points for each slot and registers I/O table based on this setting and the installed I/O module. (Set parameter address 001001(8) = 64(H), procedure C in the flow chart.) Procedure D in the flow chart is special method to set byte of I/O module for each slot. Normally set I/O module type using steps 1 and 2 above.
Not setting dummy I/O Auto setting the kinds of I/O module
Yes
No (Manual I/O registration) ③
(Auto I/O registration)
Set no. of dummy I/O points
Not setting the kinds of I/O module (auto setting)
[8·25] No D ④
Yes
Set the kinds of I/O module
C
B
[8·26]
⑤
⑤
⑤
Registration of I/O table (parameter address 001001(8) = 65(H))
Registration of I/O table (parameter address 001001(8) = 64(H))
Registration of I/O table (parameter address 001001(8) = 64 (H))
[8·27]
⑦ Set max. racks, slot number
[8·28]
① to ⑧ are applied to page 8·24 to 29.
⑧ Set remote I/O top address
[8·29]
8·21
8
Page 60
Turn “ON” the power of slave module
Connect support tools · Connect a support tool with the slave module JW-20RS and prepare the setting parameter. <Usable support tools> JW-13PG/12PG JW-50SP JW-50PG, Z-100LP2S • For operation of each support tool, see the instruction manual attached. The following describes an example of JW-13PG’s key operation. Stop operation of remote I/O
[HEX (hexadecimal), byte]
· Setting of the parameter is only available when the operation of the JW-20RS is stopped. · Write “00(H)” to parameter address 003777(8) and stop operation of the JW-20RS. (Operation example of JW-13PG)
Display the contents of ) parameter ( Parameter setting address 007777 by
8 hexadecimal.
Screen display of JW-13PG
( Write 00 . ) (H)
07775 07776 I PARAM. >07777
HEX HEX
00 1F
HEX
00
Reference Function of JW-13PG • key: Changeover unit of figures
→HEX (hexadecimal) → OCT (octal) → DCM (decimal) →Bit pattern • key: Byte display ←→ Changeover word display
· Please set ① to ⑧ of 8·24 and after when using ZW-I/O or JW-I/O.
To the next page
Remarks Indicates in [ ] of each item mean as follows: (Example) Stop remote I/O operation [HEX (hexadecimal), bytes] This means to set “stop remote I/O operation” by hexadecimal and byte unit.
8·22
Page 61
From the previous page
Writing to the EEPROM, start operation
[HEX (hexadecimal), byte]
· Write “81(H)” into parameter address 003777(8) and write the set parameter contents into the EEPROM. Then start the slave module. · After starting operation, the setting value changes to “01(H).” Setting value (H)
Contents
00
Stop operation
01
Start operation
80
Writing to the EEPROM, stop operation
81
Writing to the EEPROM, start operation
08
Initialize setting values of parameter addresses
(Operation example of JW-13PG)
Display the contents of address 003777(8)
Screen display of JW-13PG
Write 81(H)
03775 03776 I PARAM. >03777
HEX HEX
00 00
HEX
01
Remarks 8 · Writing time to EEPROM is approximately 0.7 sec. When any error is found for parameter settings, lights the error code 9F(H) by the indication lamp. · Written contents into the EEPROM are automatically written to the RAM of the slave module when turning ON the power of the PC. At reading, the PC checks BCC and compares BCC check code of the parameter memory address (003776(8)). When an error is found, the JW-20RS lights the error code 9E(H) by the indication lamp. · After initialized the parameters, the JW-20RS initializes parameter address 000000 to 003776(8).
8·23
Page 62
"Only when using ZW model I/O module" ① Select "number of I/O byte checking" function
[OCT (Octal), bytes]
(Applied to item ① on pages 8·20 to 22) · Select whether to check or not number of bytes of I/O module used for the remote I/O slave module. Set selection in parameter address 003750(8). If "check" is selected, the I/O module can detect when number of I/O modules is changed by fault or disconnection of the I/O modules. Set value
Contents
00(H)
Do not check
45(H)
Check
Initial value: 00(H) (Do not check)
(To select "check" using JW-13PG)
Display contents of address 003750(8)
Screen display of JW-13PG 03746 03747 I PARAM. >03750
Write 45(H)
HEX HEX
00 00
HEX
45
"Only when using ZW model I/O module" ② Set number of I/O bytes
[DCM (decimal), word]
(Applied to item ② on pages 8·20 to 22)
8
· Set total number of bytes of installed modules when "yes" is selected (address 003750(8) = 45(H)). · If the set number of I/O bytes mismatch with the actual number of bytes of the installed module, the JW-20RS detects as error (error code 92(H)). · Set between 000 to 128 in decimal notation. Address
Contents
003752(8)
Lower bytes
003753(8)
Upper bytes
Initial value: 00(D) for both upper and lower bytes.
Ex.: If one ZW-16N1 (16 points/2 bytes) and one ZW-16S1 (16 points/2 bytes) are installed, (Set 2 bytes + 2 bytes = 4 bytes using the JW-13PG) Screen display of JW-13PG Display the contents of address 003752(8) in decimal notation and words.
03746 03750 I PARAM. >03752
Write data 4
8·24
D D
00000 00037
D
00004
Page 63
"Only when manual I/O registration using the JW model I/O module" ③ Set number of dummy I/O points
[HEX (hexadecimal), bytes]
(Applied to item ③ on pages 8·20 to 22) · Set to allocate addresses (dummy I/Os) on vacant slots in parameter address 000000 to 000017(8). · Set two slots with one byte of parameter address.
Parameter address(8) 000000
Set to 0
Set to 0
Parameter address(8) 000010
000001
Slot 3
Slot 2
000002
Slot 5
000003
Rack No. 0 7
6
5
4
3
2
1
0
Rack No. 1 7
6
5
4
3
2
1
Slot 1
Slot 0
000011
Slot 3
Slot 2
Slot 4
000012
Slot 5
Slot 4
Slot 7
Slot 6
000013
Slot 7
Slot 6
000004
Slot 9
Slot 8
000014
Slot 9
Slot 8
000005
Slot B
Slot A
000015
Slot B
Slot A
000006
Slot D
Slot C
000016
Slot D
Slot B
000007
Slot F
Slot E
000017
Slot F
Slot E
Set value(H)
Contnets
Set value(H)
Contnets
0
0
No dummy I/O point
8
128 points of dummy I/O (16 bytes)
1
16 points of dummy I/O (2 bytes)
9
144 points of dummy I/O (18 bytes)
2
32 points of dummy I/O (4 bytes)
A
160 points of dummy I/O (20 bytes)
3
48 points of dummy I/O (6 bytes)
B
176 points of dummy I/O (22 bytes)
4
64 points of dummy I/O (8 bytes)
C
192 points of dummy I/O (24 bytes)
5
80 points of dummy I/O (10 bytes)
D
208 points of dummy I/O (26 bytes)
6
96 points of dummy I/O (12 bytes)
E
224 points of dummy I/O (28 bytes)
7
112 points of dummy I/O (14 bytes)
F
240 points of dummy I/O (30 bytes)
Ex.: Set 32 points (4 bytes) of dummy I/O in the following vacant slots using JW-13PG.
JW-20RS JW-12N JW-12N Vacant slot JW-12S JW-12S Not used Not used Not used
Power supply module
0 1 2 3 4 5 6 7 8 9 ←Slot No.
↑ Set number of dummy I/Os
(
Display contents of address 000002(8)
)
(Write 02(H))
←Rack No. 0
Screen display of JW-13PG 00000 00001 I PARAM. >00002
8·25
HEX HEX
00 00
HEX
02
8
Page 64
"Only when manual I/O registration using JW model I/O modules" ④ Set type of I/O module
[HEX (hexadecimal), byte]
(Applied to item ④ on pages 8·20 to 22) · Set types of installed I/O module in each slot and number of dummy I/O points set for vacant slot into parameter address 000100 to 000137(8). · Set one slot with one byte of parameter address.
8
Parameter address (8)
Contents in rack No. 0
Parameter address (8)
Contents in rack No. 1
Set value(H)
000100
Set to 00(H)
000120
Slot 0
91
JW-12S, JW-13S
000101
Set to 00(H)
000121
Slot 1
92
JW-32S JW-32SC, JW-33S JW-34S, JW-35S
94
JW-62SC
00 to 0F
Vacant slot 00 ↑ Lower bits are number of dummy I/O points
A1
JW-11N, JW-12N JW-13N
A2
JW-31N, JW-32N JW-34N, JW-34NC
A4
JW-64NC
D1
JW-2DA, JW-8AD JW-31LM
F1
JW-2HC, JW-11DU JW-12DU
000102
Slot 2
000122
Slot 2
000103
Slot 3
000123
Slot 3
000104
Slot 4
000124
Slot 4
000105
Slot 5
000125
Slot 5
000106
Slot 6
000126
Slot 6
000107
Slot 7
000127
Slot 7
000110
Slot 8
000130
Slot 8
000111
Slot 9
000131
Slot 9
000112
Slot A
000132
Slot A
000113
Slot B
000133
Slot B
000114
Slot C
000134
Slot C
000115
Slot D
000135
Slot D
000116
Slot E
000136
Slot E
000117
Slot F
000137
Slot F
Model name of the installed module
Set 00(H) for a slot having power supply module or slave module JW-20RS. Ex.: Set the I/O module in the previous page using the JW-13PG
Display contents of address 000102(8)
Write A1(H) in address 000103(8)
Write A1(H)
(
Write 02(H) in address 000104(8)
)
Write 91(H) in address 000105(8)
Screen display of JW-13PG Write 91(H) in address 000106(H)
00104 00105 I PARAM. >00106
HEX HEX
02 91
HEX
91
8·26
Page 65
"Only when using JW model I/O modules" ⑤ Registration of I/O table
[HEX (hexadecimal), byte]
(Applied to item ⑤ on pages 8·20 to 22) · Set in parameter address 001001(8) Set value(H)
Contents
60
Set both number of dummy I/O points and type of I/O module with operation described in page 8·25 and 26
64
Manual setting number of dummy I/O points and automaticl setting of I/O module type.
Number of dummy I/O points is 00 (number of dummy I/O points set by operatoin in page 8· 25 will be 00), and set I/O module type automatically. When setting is complete normally, set value will be 00(H). · When manual I/O table registration is selected, the JW-20RS automatically registers I/O address table for each rack slot into parameter address 004000 to 004077(8). It also stores sum check code of parameter address 000000 to 000277(8) into parameter address 000300(8). 65
Ex.: Set number of dummy I/O points and I/O module type set in page 8·25 and 26 using the JW13PG. Screen display of JW-13PG
Display contents of address 001001(8)
Write 60(H)
00777 01000 I PARAM. >01001
HEX HEX
00 00
HEX
60
8
"Only when using JW model I/O module" ⑥ Prohibit automatic registration of I/O table at inputting power
[HEX (hexadecimal), bytes]
(Applied to item ⑥ on pages 8·20 to 22) · Set 03(H) in parameter address 001002(H) to prohibit "automatic registration of I/O table" during inputting power to the slave station module. (In case of setting using the JW-13PG) Screen display of JW-13PG
(
Write 03(H) in address 001002(8)
01000 01001 I PARAM. >01002
)
HEX HEX
00 60
HEX
03
Note: If 00(H) is set to parameter address 001002(8), the JW-20RS automatically register I/O at inputting power. If the power is reinput when an I/O module is faulty, the I/O address will automatically be registered. If the I/O module is faulty, reinput of power may register wrong I/O address. In this case use this function to prohibit wrong registration.
8·27
Page 66
"Only when using JW model I/O module" ⑦ Set maximum rack and slot numbers
[HEX (hexadecimal), bytes]
(Applied to item ⑦ on pages 8·20 to 22) · Set maximum rack and slot numbers in parameter address 001000(8) and shorten I/O processing time. · If this is left 00(H) (default value), the JW-20RS processes from rack No. 1 and slot number F so that it takes approximately 8 ms. · Set rack number in upper 4 bits and slot number in lower 4 bits. 7 001000(8)
6
5
Rack No.
4
3
2
1
0
Slot No.
· Maximum amount of usable racks is 2 and a rack having slave module JW-20RS is rack No. 0. Even the rack panel JW-13BU is used, number of slots will be up to "C."
Slot number
0 1 2 3 4 5 6 7 8 9 A B C
Rack 1
Slot number
8
0 1 2 3 4 5 6 7 8 9 A B C
Rack 0
Slave module (JW-20RS) Ex.: Set the configuration in page 8·25 (rack No. 0 and slot No. 6) using the JW-13PG. Screen display of JW-13PG Display contents of address 001000(8)
(Write 06(H))
8·28
00776 00777 I PARAM. >01000
HEX HEX
00 00
HEX
06
Page 67
"Only when using JW model I/O module" ⑧ Setting remote I/O top address
[OCT (octal), word]
(Applied to item ⑧ on pages 8·20 to 22) · In order to light a search module (SU) lamp, set remote I/O top address of each slave station which are allocated in the master station using file address into parameter address 001004 and 001005(8). Display on the JW-13PG 001000(8)
Lower bits
001000(8)
Upper bits
01000 01002 I PARAM. >01004
0 0
000006 000003
0
000200
(When to set file address 000200(コ0200) using the JW-13PG)
Display contents of address 00104(8)
(Octal) ( Word display )
Write file address 000200(8)
Remarks · Though input output relays, auxiliary relays etc. of the PC are allocated their byte addresses for each item, allocate the file address which are allocated throughout the memory register range.
File address 000000
Byte address コ0000 Input/output relays
000377 000400
Auxiliary relay
000677 000700 000777 001000
Latch relay
コ0377 コ0400 コ0677 コ0700 コ0777 コ1000
8
General purpose relay コ1577
001577
[Operation method of I/O search (slave station): In case of JW-13PG] Connect the JW-13PG to the slave module JW-20RS in which an I/O shall be searched. · Assign byte address シフト SHIFT
D
3
Select I/O search mode
B
A
1
0
,
Set byte address in octal
SET 8 RESET
Select byte address assignment
9
(Light)
Continous search
(Light OFF)
· Assign rack number and slot number シフト SHIFT
D
3
Select I/O search mode
B
B
1
1
Set rack number in octal
Select rack and slot No. assignment
,
Set slot number in hexadecimal SET 8 RESET 9
8·29
(Light)
,
Continous search
(Light OFF)
,
,
Page 68
(4) Parameter setting of master module (JW-20CM) Set the following parameter address after setting switch. Setting item varies with using PC (JW model or ZW model). O: Necessity for setting Item
Set remote I/O operation mode
Set number of connected slave stations Set remote I/O top address Enter the remote I/O top address of slave station 02 to 77 Enter the number of slave I/O points Enter the number of I/O bytes for each slave station Set blank between stations
8
Enter I/O type for each slave station Enter the data register address of the special I/O mode Set top address of flag area Writing to the EEPROM, start operation/stop setting
Initial value (H)
Setting contents
000000
000001
Address (8)
000002 000003 000004 to 000177 000200 000201 to 000277 000301 to 000376 000400 to 000407 000600 to 000777 003764 to 003767
003777
JW-PC
ZW-PC
Fixed
Manual
Fixed
Manual
See page
00
001(8): Fixed allocation, asynchronous, error mode 1 002(8): Fixed allocation, asynchronous, error mode 2 004(8): Fixed allocation, synchronous, error mode 0 005(8): Fixed allocation, synchronous, error mode 1 006(8): Fixed allocation, synchronous, error mode 2 011(8): Manual allocation, asynchronous, error mode 1 012(8): Manual allocation, asynchronous, error mode 2 014(8): Manual allocation, synchronous, error mode 0 015(8): Manual allocation, synchronous, error mode 1 016(8): Manual allocation, synchronous, error mode 2
○
○
○
○
8· 34
00
Set number of connected modules by decimal notation (01 to 63)
○
○
○
○
8· 35
00
Set file address by octal notation
○
○
○
○
8· 35
00
Enter the file address by octal notation
−
○
−
○
8· 40
00
00(H): 64 points (8 bytes), number of slave station; 63 01(H): 128 points (16 bytes), number of slave station; 32
○
−
○
−
8· 38
00
Enter the number of bytes of each slave station in decimal notation (0 to 128)
−
○
−
○
8· 42
00
Enter the number of blank bytes between stations in decimal notation (0 to 255)
○
−
○
−
8· 39
Set each station in bit unit 0: ZW model I/O module 1: JW model I/O module Set using 4 bytes per module (Set slave station number, rack number, slot number, number of data bytes, and register top address.)
○
○
−
−
8· 43
○ ※
○ ※
−
−
8· 44
00
Set file address with octal notation.
○
○
○
○
8· 36
01
00(H) : Stop remote I/O operation 01(H) : Start remote I/O operation 80(H) : Writing to the EEPROM, stop operation 81(H) : Writing to the EEPROM, start operation 08(H) : Initialize the parameter
○
○
○
○
8· 37
FF
00
· If a special I/O module is not set in a slave station, the setting is not required.
8·30