Chapter 9: Message transfers
Write in register (COM = 34(H))
[Format]
ËCommand
COM DSEG DADRL DADRH | LL | LH DATA1 ...... DATAN |
ËResponse
COM | RSLT DSEG DADRL | DADRH LL | LH |
COM | = 34(H) |
| |
DSEG | = Segment (00 to 07, 10 to 2C(H)) | See page | |
DADRL, H | = Byte address (0000(H) to FFFF(H)) | See page | |
LL, H | = Data length (number of bytes) |
| |
DATA1 to N | = Write data |
|
[Function]
-Write the register data with the length shown by L, starting from DSEG, DADR.
-Up to 1024 bytes can be write at a time.
[Execution condition] |
|
- Write enable mode | : Mode 1 and mode 2 |
- PC operation status | : Stopping, operating |
[Example]
-Write 00(H), 4F(H), 32(H), and 01(H) to registers 09000 to 09003.
ËCommand
9 |
| 34 | 00 | 00 | 08 |
|
|
| 04 | 00 |
|
|
| 00 | 4F | 32 | 01 | |||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||
|
|
|
|
|
|
| File address |
|
|
|
|
| Data length |
|
|
|
|
|
|
|
|
|
|
| ||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||||||
|
| File number | 0 0800(H) = 004000 | (8) |
|
|
|
|
|
|
| Value at | Value at | Value at | Value at | |||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 09000 | 09001 | 09002 | 09003 |
Top register
number 09000
ËResponse
34 | 00 | 00 | 00 | 08 |
|
| 04 | 00 |
|
| ||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| File address |
|
|
| Data length |
|
| ||
|
|
|
|
|
|
|
|
|
| |||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
File number 0 0800(H) = 004000(8)
Top register
number 09000