IDEC DS2_Series User Manual

Page 39

Advertising
background image

DS2

series

Instruction

manual

38

f Remote configuration writing - 0x48 (‘H’ ASCII)

Saves in the DS2 non-volatile memory the binary information of the remote configuration.

Host sends:

0x02 0x08 0x48

rrrrrrr

0x03

x


DS2 replies:

0x02 0x01 0x68 0x03 0x96


where:
rrrrrrr = 7 bytes with the remote configuration status (see Synchronism packet)
x

= checksum (complement to one of the Length, Type and Data field bytes sum)

g. Teach-in 0x49 reading command (‘I’ ASCII)

Reads the pattern with the binary information relative to the shape of the object used in the Teach-
in mode.

Host sends:

0x02 0x01 0x49 0x03 0xB5


DS2 replies:

0x02 0x22 0x69

aaa bbb ccc ….. zzz

0x03

x


where:
aaa = 3 bytes with Teach-in of the 01-21 photoelements
bbb = 3 bytes with Teach-in of the 22-42 photoelements
ccc = 3 bytes with Teach-in of the 42-63 photoelements
zzz = 3 bytes with Teach-in of the 211-231 photoelements
x

= checksum (complement to one of the Length, Type and Data field bytes sum)


The correspondence between the photoelements (21) and the bits of a bytes tern is similar to the
Scanning Result packet.

h. Writing command 0x4A Teach-in (‘J’ ASCII)

Saves in the DS2 non-volatile memory the new pattern with the binary information relative to the
shape of the object to use in the Teach-in mode.


Host sends:

0x02 0x22 0x4A

aaa bbb ccc ….. zzz

0x03

x


DS2 replies:

0x02 0x01 0x6A

0x03 0x94

where:
aaa

= 3 bytes with Teach-in of the 01-21 photoelements

bbb

= 3 bytes with Teach-in of the 22-42 photoelements

ccc

= 3 bytes with Teach-in of the 42-63 photoelements

zzz

= 3 bytes with Teach-in of the 211-231 photoelements

x

= checksum (complement to one of the Length, Type and Data field bytes sum)


The correspondence between the photoelements (21) and the bits of a bytes tern is similar to the
Scanning Result packet.

Advertising