C2-1000 S
ERIES
O
PERATION
M
ANUAL
60
10.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
10.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
0000 00 7C CR
Run macro 1
F
04
00
42
00
F1
000000 37 CR
F
44
00
42
00
F1
0000 00 77 CR
Run macro 2
F
04
01
42
00
F1
000000 38 CR
F
44
01
42
00
F1
0000 00 78 CR
Run macro 3
F
04
02
42
00
F1
000000 39 CR
F
44
02
42
00
F1
0000 00 79 CR
Run macro 7
F
04
07
42
00
F1
000000 39 3E
F
44
02
42
00
F1
0000 00 7E CR