Sharp JW-21MN Network Card User Manual


 
10-11
[15] Read the special I/O parameters
Read out parameter data of special I/O modules (other than JW-21MN) from the control module.
[Write mode assignment]: None
[Communication format]
Command
Response
[Ex.] To read parameter address data 030 to 032(8) of the special I/O module (Module No. 3). (Except
one with (8), the data in cells are in hexadecimal notation)
Command
Response
[16] Set the special I/O parameters
Write parameter data of the special I/O module (other than JW-21MN) to the control module.
[Write mode assignment]
2 (and when the PC stops operation by "PC operation stop F8(H)" command).
[Communication format]
Command
Response
[Ex.] Write 14(H), 00(H), and 33(H) to parameter address 040 to 042(8) of the special I/O module (module
No. 2).(Except ones with (8) marks, the data in cells are in hexadecimal notation)
Command
Response
"+" "C" "L" "A" CMD SUB ATTR UNO PAADR N
"+" ACK "C" "L" "A" CMD SUB ATTR UNO PAADR N D1 DN
2B 43 4C 41 42 03 00 03 030
(8)
003
(8)
"+" "C" "L" "A" CMD SUB ATTR UNO PAADR N
2B 00 43 4C 41 42 03 00 03 030
(3)
003
(3)
15 21 03
ACK CMD SUB 030 031 032
Read out data
"+" "C" "L" "A" CMD SUB ATTR UNO PAADR N D1 DN
"+" ACK "C" "L" "A" CMD SUB ATTR UNO PAADR N
2B 43 4C 41 42 13 00 02 040
(8)
003
(8)
14 00 33
"+" "C" "L" "A" CMD SUB ATTR UNOPAADR N 040 041 042
Write data
2B 00 43 4C 41 42 13 00 02 040(8) 003(8)
ACK CMD SUB
(Symbols other
than the left:
See page 10-3.)
Symbol Data Details
CMD 42
(H)
Function code
SUB 03
(H)
Sub code
UNO
00 to 07
(H)
When connected to a JW20/JW20H, set the value for
the module No. switch
00 to 37
(H)
When connected to a JW30H, the upper digits are rack
No. and the lower digits are the value for module No.
switch.
PAADR 000 to 177
(8)
Read out start address
N01to80
(H)
Number of bytes to read out
D1 to DN See the example Read out data (for number of bytes of reading data)
(Symbols other
than the left: See
page 10-3.)
Symbol Data Details
CMD 42
(H)
Function code
SUB 02
(H)
Sub code
UNO
00 to 07
(H)
When connecting to JW20/JW20H, set value of module
No. switch
00 to 37
(H)
When connecting to JW30H, upper digits are rack No.
and lower digits are set value for module No. switch.
PAADR 000 to 177
(8)
Write start address
N01to80
(H)
Number of bytes to write
D1 to DN See the example Write data (for number of bytes of writing data)