Specifications

C2-1000 SERIES OPERATION MANUAL
68
10.5.1 Reading a previously stored Macro
In order to read a macro the following commands must be sent in this specific order
no other commands should be sent between these messages. The CHA in these
cases relate not to the source but to the macro we are reading.
Packet sent Packet returned
SOP CMD CHA WIN OUT FUN PAY CS EOP SOP CMD CHA WIN OUT FUN PAY CS EOP
Read number of items currently stored in Preset 2 Returned packet indicates 4 items available to
read
F 84 01 42 00 F4 - BB CR F 44 01 42 00 F4 00002 FC CR
Read the Function for the first item in the preset /
macro
Payload is the Function stored – 86 = Zoom
F 84 01 42 00 F3 - BA CR F 44 01 42 00 F3 000086 ?80 CR
Read the Data for the first item in the preset / macro Payload is the data for the function – 100%
F 84 01 42 00 F2 - B9 CR F 44 01 42 00 F2 000064 5D CR
Read the Function for the second item in the preset /
macro
Payload is the Function stored – 87 = Shrink
F 84 01 42 00 F3 - BA CR F 44 01 42 00 F3 000087 81 CR
Read the Data for the second item in the preset /
macro
Payload is the data for the function – 100%
F 84 01 42 00 F2 - B9 CR F 44 01 42 00 F2 000064 5D CR
The above example shows the read for all the items within macro 0. The first
command reads the number of items available in the macro and resets the read
address. Then the following items read the function and then the data for each of the
items in the preset/macro. Following a read of the data for a macro internally 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.
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
Menu text CHA FUNC
(Hex)
Range of adjustment (decimal)
Macro
Run macro 0..7 F1 0..1 = Run, Erase macro
Number of items within
macro
0..7 F4 Read Only
Function to adjust 0..7 F2 0..4095
Value 0..7 F3 Value for Function