2 write, Write, External device setup manual – IDEC High Performance Series User Manual

Page 598

Advertising
background image

Chapter 4

580

External Device Setup Manual

7.2

Write

This command is used by the external device to write data to the MICRO/I or Touch data memory. One command can write a maxi-
mum of 255 words of data.

7.2.1

Command

Format

Detailed description

Command

Code

Description

Bytes

ENQ

05h

Command start

1

W

57h

Write Command

1

DM Address

DM address to begin writing from

This is expressed as the ASCII code of the hexadecimal value of the address.

4

Words

Number of words to write

The hexadecimal value expressed using ASCII code.

2

Data

DM ADDRESS DATA.

The hexadecimal value expressed using ASCII code.

The words are in order from the lowest address.

4 x N

N is the number of
words

BCC

Only required when 'with BCC' is set.

Exclusive OR (HEX) from ENQ to before BCC converted to ASCII code.

2

CR

0Dh

End

1

Advertising
This manual is related to the following products: