Specifications
51
the next item in the macro is selected for reading so it is not possible to read the
same item twice without first re-reading the number of items in the macro.
9.5.2 Writing to a macro
In order to read a preset / macro the following commands must be sent in this
specific order – no other commands should be sent between these messages.
Packet sent
Packet returned
SOP CMD CHA
WIN
OUT
FUN
PAY CS
EOP
SOP CMD
CHA WIN OUT FUN PAY CS EOP
Clear macro
F
04
02
42
00
F1
000001
3A
CR
F
44
02
42
00
F1
000001
7A
CR
Write the function for first item in macro 3 = Zoom
F
04
02
42
00
F3
000086
C1
CR
F
44
02
42
00
F3
000011
01
CR
Write data for the first item = 100
F
04
02
42
00
F2
000064
9E
CR
F
44
02
42
00
F2
000011
DE
CR
Write the function for the second = shrink
F
04
02
42
00
F3
000087
C2
CR
F
44
02
42
00
F2
000011
02
CR
Write the data for the second item = 100
F
04
02
42
00
F2
000064
9E
CR
F
44
02
42
00
F3
000011
DE
CR
9.5.3 Run and Restore macros
Macros once programmed can be run by sending one of the following commands.
By running macro 5 the unit can be restored to its previously saved state, when
used in conjunction with the other macros this allows a default setup or baseline for
the unit to be created.
Packet sent
Packet returned
SOP
CMD
CHA
WIN
OUT
FUN
PAY
CS
EOP
SOP
CMD
CHA
WIN
OUT
FUN
PAY
CS
EOP
Restore
F
04
05
42
00
F1
000000
3C
CR
F
44
05
42
00
F1
000000
7C
CR
Run macro 1
F
04
00
42
00
F1
000000
37
CR
F
44
00
42
00
F1
000000
77
CR
Run macro 2
F
04
01
42
00
F1
000000
38
CR
F
44
01
42
00
F1
000000
78
CR
Run macro 3
F
04
02
42
00
F1
000000
39
CR
F
44
02
42
00
F1
000000
79
CR
Run macro 7
F
04
07
42
00
F1
000000
39
3E
F
44
02
42
00
F1
000000
7E
CR