Read Free Memory Size; Monitor Tmr, Cnt, And Md - Sharp JW-21MN User Manual

Me-net module
Table of Contents

Advertisement

[1] Read free memory size

Read free memory size.
[Write mode assignment]: None
[Communication format]
Command
Response
Symbol
CMD
SUB
M
Ex. When reading the amount of free program memory (up to 7.5 k words). The data in the cells are
hexadecimal numbers.
Command
Response

[2] Monitor TMR, CNT, and MD

Read out the current value and attributed data from TMR, CNT, and MD in the specified area.
[Write mode assignment]: None
[Communication format]
10
Command
Response
Symbol
CMD
SUB
When JW20/JW20H is
When JW30H is used:
TMR NO
N
D1 to DN
(See page 10-3 for other symbols not described above)
[Ex.] Read the current value of TMR, CNT, and MD at addresses 000 to 002
Command
Response
"+"
"C"
"L"
"+"
ACK
"C"
Data
43
Function code
(H)
4D
Sub code
(H)
03
Program memory capacity: 3.5 k words
(H)
07
Program memory capacity: 7.5 k words
(H)
07
Program memory capacity: 15.5 k words
(H)
07
Program memory capacity: 31.5 k words
(H)
2B
43
4C
"+"
"C"
"L"
2B
00
43
ACK
"+"
"C"
"L"
"+"
ACK
"C"
Data
Details
42
Function code
(H)
23
Sub code
(H)
used: 000 to 777
(8)
TMR, CNT, MD number
(in order of 2 bytes data,
0000 to 7777
(8)
L and H.)
(TMR, CNT, MD)
1000 to 1777
(8)
(TMR, CNT)
Number of reading data
0000 to 0100
(in order of 2 bytes data,
(8)
L and H.)
Reading current value
data
See the example
(Data 2 bytes x number
of reading data)
(The data in cells are in hexadecimal notation)
2B
43
4C
"+"
"C"
"L"
2B
00
43
ACK
65
38
32
No. 000
No. 001
Current value:
Current value:
3865
6032
"A"
CMD
SUB
ATTR
"L"
"A"
CMD
SUB
Details
41
43
4D
00
"A"
CMD
SUB
ATTR
4D
41
43
4D
CMD
SUB
"A"
CMD
SUB
ATTR
"L"
"A"
CMD
SUB
D1
Symbol
TA1
to
TAN
41
42
23
00
"A"
CMD
SUB
ATTR
4C
41
42
23
CMD
SUB
60
14
73
08
No. 002
DTMR
Current value:
000
7314
(BCD)
10-4
ATTR
MODE
(Symbols other than the
left: See page 10-3.)
00
07
7.5k word
TMR.NO.
ATTR
TMR.NO.
DN
TA1
Data
Details
Not used as TMR,
00
(H)
CNT, or MD
01
ZW/JW MD
(H)
02
ZW CNT
(H)
04
ZW TMR
(H)
08
DTMR (BCD)
(H)
09
DTMR (BIN)
(H)
Number of reading
0A
UTMR (BCD)
(H)
0B
UTMR (BIN)
(H)
0C
DCNT (BCD)
(H)
0D
DCNT (BIN)
(H)
0E
UCNT (BCD)
(H)
0F
UCNT (BIN)
(H)
(8)
00
00
03
000
3 pieces
(8)
00
00
00
ATTR
000
(8)
0C
0E
DCNT
UCNT
001
002
(BCD)
(BCD)
N
N
TAN
Data 1 bytes
x
data
00
03
00
3 pieces

Advertisement

Table of Contents
loading

Table of Contents