12.07.2014 Views

Manual - Holdan.eu

Manual - Holdan.eu

Manual - Holdan.eu

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Menu text<br />

CHA FUNC<br />

(Hex)<br />

Range of adjustment (decimal)<br />

Macro<br />

Run macro 0..7 F1 0..1 = Run, Erase macro<br />

Number of items within 0..7 F4 Read Only<br />

macro<br />

Function to adjust 0..7 F2 0..4095<br />

Value 0..7 F3 Value for Function<br />

10.5.1 Reading a previously stored Macro<br />

In order to read a macro the following commands must be sent in this specific<br />

order – no other commands should be sent between these messages. The<br />

CHA in these cases relate not to the source but to the macro we are reading.<br />

Packet sent<br />

Packet returned<br />

SOP CMD CHA WIN OUT FUN PAY CS EOP SOP CMD CHA WIN OUT FUN PAY CS EOP<br />

Read number of items currently stored in Preset 2 Returned packet indicates 4 items<br />

available to read<br />

F 84 01 42 00 F4 - BB CR F 44 01 42 00 F4 00002 FC CR<br />

Read the Function for the first item in the preset / Payload is the Function stored – 86 = Zoom<br />

macro<br />

F 84 01 42 00 F3 - BA CR F 44 01 42 00 F3 000086 ?80 CR<br />

Read the Data for the first item in the preset / Payload is the data for the function – 100%<br />

macro<br />

F 84 01 42 00 F2 - B9 CR F 44 01 42 00 F2 000064 5D CR<br />

Read the Function for the second item in the Payload is the Function stored – 87 = Shrink<br />

preset / macro<br />

F 84 01 42 00 F3 - BA CR F 44 01 42 00 F3 000087 81 CR<br />

Read the Data for the second item in the preset /<br />

macro<br />

Payload is the data for the function – 100%<br />

F 84 01 42 00 F2 - B9 CR F 44 01 42 00 F2 000064 5D CR<br />

The above example shows the read for all the items within macro 0. The first<br />

command reads the number of items available in the macro and resets the<br />

read address. Then the following items read the function and then the data for<br />

each of the items in the preset/macro. Following a read of the data for a<br />

macro internally the next item in the macro is selected for reading so it is not<br />

possible to read the same item twice without first re-reading the number of<br />

items in the macro.<br />

10.5.2 Writing to a macro<br />

In order to read a preset / macro the following commands must be sent in this<br />

specific order – no other commands should be sent between these messages.<br />

Packet sent<br />

Packet returned<br />

SOP CMD CHA WIN OUT FUN PAY CS EOP SOP CMD CHA WIN OUT FUN PAY CS EOP

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!