Chapter 9: Message transfers
Set/reset relay (COM = 30(H))
[Format]
ËCommand
COM DSEG DADRL DADRH BLOC DATA
ËResponse
COM RSLT DSEG DADRL DADRH BLOC
COM | = 30(H) |
|
DSED | = Segment (00 to 07, 10 to 2C(H)) | See page |
DADRL, H | = Byte address (0000(H) to FFFF(H)) | See page |
BLOC | = Bit position (00(H) to 07(H)) |
|
DATA | = Set/reset data (00(H): reset, 01(H): set) |
[Function]
- Set/reset the relays shown in DSEG, DADR, and BLOC.
[Execution condition]
-Write enable mode : Mode 1 and mode 2
-PC operation status : Stopping, operating
[Example]
- Set relay number 07001.
| Ë Command |
|
|
|
|
|
|
|
|
|
|
| Set | |||
|
|
|
|
|
|
|
|
|
|
|
| |||||
|
|
|
|
|
|
|
|
|
|
|
|
|
| |||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 30 | 00 |
| C0 | 01 |
|
|
| 01 |
| 01 |
|
| |||
9 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| File 0 |
| File address |
|
|
|
| Bit 1 | |||||||
|
|
|
|
|
|
|
| |||||||||
|
|
|
|
|
|
|
| |||||||||
|
|
|
|
|
|
|
| |||||||||
|
|
|
| 000700(8) = 01C0(H) |
|
|
|
|
|
|
|
Relay number 07001
ËResponse
30 | 00 | 00 |
| C0 |
| 01 |
|
| 01 |
|
| ||
|
|
|
|
| File address |
|
|
|
| Bit 1 | |||
|
|
|
|
|
|
|
|
| |||||
|
| File 0 |
|
| |||||||||
|
|
|
|
|
|
| |||||||
|
|
|
|
|
|
|
|
|
|
|
| ||
|
| 000700(8) | = 01C0(H) |
|
|
|
| ||||||
|
|
|
|
|
|
|
|
Relay number 07001