Read The Optional Parameters; Set The Optional Parameters - Sharp JW-21MN User Manual

Me-net module
Table of Contents

Advertisement

[13] Read the optional parameters

Read the parameter data for option module (other than JW-21MN) from the control module.
[Write mode assignment]: None
[Communication format]
Command
Response
Symbol
CMD
SUB
UNO
PAADR
N
D1 to DN
[Ex.] Read the parameters at address 030 to 032
hexadecimal, except when followed by an
Command
Response

[14] Set the optional parameters

Write parameter data of option module (other than JW-21MN) to the control module.
10
[Write mode assignment]
2 (or when the PC is stopped by using a "PC operation stop F8
[Communication format]
Command
Response
Symbol
CMD
SUB
UNO
PAADR
N
D1 to DN
[Ex.] Write 14
Command
Response
"+"
"C"
"L"
"A"
CMD SUB ATTR UNO PAADR
"+"
ACK
"C"
"L"
Data
42
Function code
(H)
02
Sub code
(H)
00 to 07
Set value for the module No. switch
(H)
000 to 077
Read the starting address
(8)
01 to 40
Number of bytes to read out
(H)
See the example Read out data (for number of bytes of reading data)
2B
43
4C
41
42
"+"
"C"
"L"
"A"
CMD SUB ATTR UNO PAADR N
2B
00
43
4C
41
ACK
"+"
"C"
"L"
"A"
"+"
ACK
"C"
"L"
Data
42
Function code
(H)
12
Sub code
(H)
00 to 07
Set value for the module No. switch
(H)
000 to 077
Write the starting address
(8)
01 to 40
Number of bytes to write
(H)
Write data (corresponding to the number of bytes
See the example
to write)
, 00
, and 33
to parameter address 040 to 042
(H)
(H)
(H)
(The data in cells are in hexadecimal, except when followed by an
2B
43
4C
41
42
"+"
"C"
"L"
"A"
CMD SUB ATTR UNO PAADR N
2B
00
43
4C
41
ACK
"A"
CMD
SUB ATTR UNO PAADR
Details
for an option module (No.3). (Data in frames are in
(8)
, indicating octal data).
(8)
02
00
03
030
003
(8)
42
02
00
03 030
CMD SUB
(H)
CMD SUB ATTR UNO PAADR N
"A"
CMD
SUB ATTR UNO PAADR
Details
12
00
02
040
003
(8)
42
12
00
02
040
CMD SUB
10-10
N
N
D1
DN
(8)
003
15
21
03
(3)
(3)
030
031
032
Read out data
" command).
D1
DN
N
(Symbols other
than the left: See
page 10-3.)
in option module (module No. 2).
(8)
,indicating octal data.)
(8)
14
00
33
(8)
040
041
042
Read out data
003
(8)
(8)
(Symbols other
than the left: See
page 10-3.)

Advertisement

Table of Contents
loading

Table of Contents