Chapter 9: Message transfers
Write program (COM = 14(H))
[Format]
ËCommand
COM PSEG PADRL PADRH LL | LH | DATA1 | ..... | DATAN |
ËResponse
COM | RSLT PSEG PADRL | PADRH LL | LH |
COM | = 14(H) |
| |
PSEG | = Program segment (08(H), 09(H)) | See page | |
PADRL, H | = Program address (0000(H) to 7DFF(H)) See page | ||
LL, H | = Data length (number of words) |
|
DATA1 to N = Write data (2 bytes = one step)
[Function]
-Write a program with a length (number of words) shown by L, from address PSEG, PADR.
-Up to 512 words can be write at a time.
[Execution condition] |
|
- Write enable mode | : Mode 2 |
- PC operation status | : Stopping |
[Example]
-Write the contents below in program address 000000 to 000002 (file number 8).
ËCommand
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 9 |
14 | 08 | 00 | 00 |
|
| 03 | 00 |
|
| 00 | 80 |
| 00 | 91 |
|
| 08 | B8 |
| ||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| Address |
|
|
|
|
|
|
| ||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |||
|
|
| Top program |
|
|
| Data length |
|
|
| |||||||||||||||||
|
|
|
|
|
|
|
|
|
| Address |
|
|
|
|
| Address |
|
|
| ||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |||||||||||
|
|
| address |
|
|
|
| ||||||||||||||||||||
|
|
|
|
|
|
| |||||||||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
| 000002 contents |
| ||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
| |||||||||||||||
|
|
|
|
|
|
|
|
| 000000 contents | 000001 contents |
|
|
ËResponse
14 | 00 | 08 | 00 | 00 | 03 | 00 |
|
|
|
|
|
|
|
Top program Data length address
Note: Inquiries concerning the bit configuration of programs cannot be accepted.