Sharp JW-20FL5 User Manual page 105

Fl-net module (board)
Table of Contents

Advertisement

Chapter 9: Message transfers
The current value monitor of the timers/counters (COM = 23
[Format]
Ë Command
COM TADR
Ë Response
COM
RSLT TADR
COM
TADR
L, H
L
L, H
DATA
1 to N
ATTR
1 to N
[Function]
- Reads the current values and the attributes of the timers/counters identified by the starting number
TADR and the number of data L.
- Up to 256 timers/counters can be read at a time.
- The current value data is read from the timer/counter's current range (b0000 to xxxxx ).
- The attributes are as shown below :
00
Not in use
(H)
01
MD
(H)
02
CNT
(H)
04
TMR
(H)
9
08
DTMR(BCD)
(H)
09
DTMR(BIN)
(H)
[Execution condition]
- Write enable mode
- PC operation status
[Example]
- Reads the current values of TMR0000 and TMR0001.
Ë Command
23
Ë Response
23
TADR
L
L
H
L
TADR
L
H
DATA
ATTR
N
= 23
(H)
= Timer and counter number (0000
= Number of data to read
= The current value data (read current value field of the timer and the counter)
= The attribute data of the timer and the counter
0A
UTMR(BCD)
(H)
0B
UTMR(BIN)
(H)
0C
DCNT(BCD)
(H)
0D
DCNT(BIN)
(H)
0E
UCNT(BCD)
(H)
0F
UCNT(BIN)
(H)
: Mode 0, mode 1 and mode 2
: Stopping, operating
00
00
02
00
Top number of
the timer and
Number of data
the counter
00
00
00
02
Top number of
the timer and
Number of data
the counter
L
H
L
L
DATA
L
H
1
......
ATTR
1
N
to 03FF
)
(H)
(H)
00
34
92
The current
value of
TMR0000
1234
9-28
)
(H)
......
See page 9-21.
78
D6
08
The current
DTMR
value of
(BCD)
TMR0001
5678
0A
UTMR
(BCD)

Advertisement

Table of Contents
loading

This manual is also suitable for:

Jw-20fltJw-50flZ-336j

Table of Contents