Sharp JW-20FLT 用户手册
![Sharp](https://files.manualsbrain.com/attachments/09c3752719497cddb7682a2870f2b01d664ac839/common/fit/150/50/128db0ff9ffd18d046ef9a246eb7bdc77b15206699c58d5f48a715e1dba1/brand_logo.png)
9-25
Chapter 9: Message transfers
9
Monitoring relay (COM = 20
(H)
)
[Format]
COM
= 20
(H)
DSED
= Segment (00 to 07, 10 to 2C
(H)
)
See page 9-20.
DADR
L, H
= Byte address (0000
(H)
to FFFF
(H)
)
See page 9-20.
BLOC
= Bit position (00
(H)
to 07
(H)
)
DATA
= Read data (00
(H)
: OFF, 01
(H)
: ON)
[Function]
- Read the bit data (relay) shown in DSEG, DADR, and BLOC.
- Read the bit data (relay) shown in DSEG, DADR, and BLOC.
[Execution condition]
- Write enable mode : Mode 0, mode 1 and mode 2
- PC operation status : Stopping, operating
- Write enable mode : Mode 0, mode 1 and mode 2
- PC operation status : Stopping, operating
[Example]
- Monitor the ON/OFF status of relay number 04033.
- Monitor the ON/OFF status of relay number 04033.
Ë
Command
Ë
Response
COM
DSEG DADR
L
DADR
H
BLOC
COM
RSLT
DSEG DADR
L
DADR
H
BLOC DATA
Bit 3
Bit 3
File 0
File 0
ON
Ë
Command
Ë
Response
20
00
03
01
03
20
00
00
03
01
03
01
File address
000403
(8)
= 0103
(H)
File address
000403
(8)
= 0103
(H)
Relay number 04033
Relay number 04033