Read The Special I/O Parameters; Set The Special I/O Parameters - Sharp JW-21MN User Manual

Me-net module
Table of Contents

Advertisement

[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
"+"
Symbol
CMD
SUB
00 to 07
UNO
00 to 37
PAADR
000 to 177
N
01 to 80
D1 to DN
See the example Read out data (for number of bytes of reading data)
[Ex.] To read parameter address data 030 to 032
one with
, the data in cells are in hexadecimal notation)
(8)
Command
2B
"+"
Response
2B

[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
[Communication format]
Command
"+"
Response
"+"
Symbol
CMD
SUB
00 to 07
UNO
00 to 37
PAADR
000 to 177
N
01 to 80
D1 to DN
See the example Write data (for number of bytes of writing data)
[Ex.] Write 14
, 00
(H)
No. 2).(Except ones with
Command
2B
"+"
Response
2B
"C"
"L"
"A"
CMD SUB ATTR UNO PAADR
ACK
"C"
"L"
"A"
CMD
Data
42
Function code
(H)
03
Sub code
(H)
When connected to a JW20/JW20H, set the value for
(H)
the module No. switch
When connected to a JW30H, the upper digits are rack
No. and the lower digits are the value for module No.
(H)
switch.
Read out start address
(8)
Number of bytes to read out
(H)
43
4C
41
42
03
"C"
"L"
"A"
CMD SUB ATTR UNO PAADR N
00
43
4C
41
42
ACK
CMD SUB
"C"
"L"
"A"
CMD SUB ATTR UNO PAADR N
ACK
"C"
"L"
"A"
CMD
Data
42
Function code
(H)
02
Sub code
(H)
When connecting to JW20/JW20H, set value of module
(H)
No. switch
When connecting to JW30H, upper digits are rack No.
(H)
and lower digits are set value for module No. switch.
Write start address
(8)
Number of bytes to write
(H)
, and 33
to parameter address 040 to 042
(H)
(H)
marks, the data in cells are in hexadecimal notation)
(8)
43
4C
41
42
13
"C"
"L"
"A"
CMD SUB ATTR UNO PAADR N
00
43
4C
41
42
ACK
CMD SUB
N
SUB ATTR UNO PAADR
Details
of the special I/O module (Module No. 3). (Except
(8)
00
03
030
003
(8)
(8)
03
00
03 030
003
(3)
(3)
" command).
(H)
SUB ATTR UNO PAADR
Details
of the special I/O module (module
(8)
00
02
040
003
14
(8)
(8)
040
13
00
02
040
003
(8)
10-11
N
D1
DN
(Symbols other
than the left:
See page 10-3.)
15
21
03
030
031
032
Read out data
D1
DN
N
(Symbols other
than the left: See
page 10-3.)
00
33
041
042
Write data
(8)
10

Advertisement

Table of Contents
loading

Table of Contents