useful DyNet op codes
………………………………………………………………………………………………………....
………………………………………………………………………………………………………....
DMC810GL Instruction Manual Rev B.DOC 11
Interface Use RS485, 9600, 8 bit data, 1
start bit, 1 stop bit, no parity. Idle between
bytes to be < 1ms. Delay between Packets
to be > 10ms.
Logical Message Protocol 8 byte packet,
Checksum = Negative 8 bit 2's complement
sum of bytes 1-7. All numbers in
hexadecimal:
Select Current Preset
Byte 0: 1C hex
Byte 1: Area
Byte 2: Fade Rate low byte (usually
100)
Byte 3: Preset: 0 = P1, 1 = P2, 2 = P3, 3
= P4, A = P5, B = P6, C = P7, D = P8
Byte 4: Fade Rate high byte (usually 0)
Byte 5: Preset Bank: 0 = P1 – P8, 1 =
P9 – P16, 2 = P17 – P24 etc.
Byte 6: Join
Byte 7: Checksum
Example: Select Preset 4 in Area 1:
[1C] [01] [20] [03] [00] [00] [FF] [C1]
Set to Off
Byte 0 1C hex
Byte 1 Area
Byte 2 Fade Rate low byte (usually
100)
Byte 3 4
Byte 4 Fade Rate high byte (usually 0)
Byte 5 Unused (usually 0)
Byte 6 Join (usually FF hex)
Byte 7 Checksum
Example: Turn Area 1 Off:
[1C] [03] [0A] [04] [00] [00] [FF] [D4]
Decrement Level (sent to dimmers)
Byte 0 1C hex
Byte 1 AREA
Byte 2 Fade Rate low byte (usually
100)
Byte 3 5
Byte 4 Fade Rate high byte (usually 0)
Byte 5 Unused (usually 0)
Byte 6 Join (usually FF hex)
Byte 7 Checksum
Example: Decrease the level of Area 3:
[1C] [03] [1F] [05] [00] [00] [FF] [BE]
Increment Level (sent to dimmers)
Byte 0 1C hex
Byte 1 AREA
Byte 2 Fade Rate low byte (usually
100)
Byte 3 6
Byte 4 Fade Rate high byte (usually 0)
Byte 5 Unused (usually 0)
Byte 6 Join (usually FF hex)
Byte 7 Checksum
Example: Decrease the level of Area 3:
[1C] [03] [1F] [06] [00] [00] [FF] [BD]
Save Current Preset
Byte 0 - 1C
Byte 1 - Area
Byte 2 - Not used
Byte 3 - Opcode $66
Byte 4 - Not used
Byte 5 - Not used
Byte 6 - Join or Domain
Byte 7 - Checksum
Example: Save Current Preset in Area 1:
[1C] [01] [00] [66] [00] [00] [FF] [7E]
Restore Saved Preset
Byte 0 - 1C
Byte 1 - Area
Byte 2 - Fade - low Byte
Byte 3 - Opcode 67
Byte 4 - Fade - high Byte
Byte 5 - Not used
Byte 6 - Join or Domain
Byte 7 - Checksum
Example: Restore Saved Preset in Area 1:
[1C] [01] [FA] [67] [00] [00] [FF] [83]
Preset Offset
Byte 0 - 1C
Byte 1 - Area
Byte 2 - Data - Offset value plus Bit 8
set, to distinguish Preset Offset from Swap
Bank
Byte 3 - Opcode $64
Byte 4 - Not used
Byte 5 - Not used
Byte 6 - Join or Domain
Byte 7 - Checksum
Example: Preset Offset of 15 in Area 1:
[1C] [01] [8F] [64] [00] [00] [FF] [F1]
Reset Preset
Byte 0 - 1C
Byte 1 - Area
Byte 2 - Fade - low Byte
Byte 3 - Opcode $0F
Byte 4 - Fade - high Byte
Byte 5 - Not used
Byte 6 - Join or Domain
Byte 7 - Checksum
Example: Reset Preset in Area 1 over 5
seconds:
[1C] [01] [FA] [0F] [00] [00] [FF] [DB]
Area Linking
The Base Area acts like an Area 0 for all
Channels that have that Base Area defined,
and is useful as a global control for a block
of Areas. The following is for the 24 Areas
directly above the Base Area, as used by
the Set Area Links and Clear Area Links
messages:
Byte 2 Bit 7 is the 1
st
Area, and Bit 0 is 8
th
Byte 4 Bit 7 is the 9
th
, and Bit 0 is the 16
th
Byte 5 Bit 7 is the 17
th
, and Bit 0 is the 24
th
Set Area Links:
Byte 0 - 1C
Byte 1 - Area
Byte 2 - Data - Areas to Link
Byte 3 - Opcode $20
Byte 4 - Data - Areas to Link
Byte 5 - Data - Areas to Link
Byte 6 - Join
Byte 7 - Checksum
Example: Link Areas 4 & 5 (assumes
Base Area = 3):
[1C] [04] [80] [20] [00] [00] [FF] [C0]
Clear Area Links
Byte 0 - 1C
Byte 1 - Area
Byte 2 - Data - Areas to Unlink
Byte 3 - Opcode $21
Byte 4 - Data - Areas to Unlink
Byte 5 - Data - Areas to Unlink
Byte 6 - Join
Byte 7 - Checksum
Example: Separate Areas 4 & 5 (assumes
Base Area = 3):
[1C] [04] [80] [21] [00] [00] [FF] [C0]
Un Panic Clears panic condition (Unlocks
Smart Panels & restores previous dimmer
Preset)
Byte 0 1C hex
Byte 1 AREA
Byte 2 Unused(usually 0)
Byte 3 17 hex
Byte 4 Unused(usually 0)
Byte 5 Unused(usually 0)
Byte 6 Join (usually FF hex)
Byte 7 Checksum
Example: Restore normal operation in
Area 2:
[1C] [02] [F0] [18] [00] [00] [FF] [DB]
Panic Sets panic condition (Locks Smart
Panels & selects dimmer Panic Preset)
Byte 0 1C hex
Byte 1 AREA
Byte 2 Unused(usually 0)
Byte 3 18 hex
Byte 4 Unused(usually 0)
Byte 5 Unused(usually 0)
Byte 6 Join (usually FF hex)
Byte 7 Checksum
Example: Select Panic Mode in Area 2:
[1C] [02] [F0] [17] [00] [00] [FF] [DC]
Request Channel Level (sent to dimmer)
Byte 0 1C hex
Byte 1 AREA
Byte 2 CHANNEL NUMBER (0 origin)
Byte 3 61 hex
Byte 4 Unused(usually 0)
Byte 5 Unused(usually 0)
Byte 6 Join (usually FF hex)
Byte 7 Checksum
Example: Request Level of Channel 5
(Area 2):
[1C] [02] [04] [61] [00] [00] [FF] [7E]
Report Channel Level (reply from dimmer)
Byte 0 1C hex
Byte 1 AREA
Byte 2 CHANNEL NUMBER (0 origin)
Byte 3 60 hex
Byte 4 Target LEVEL (01 = 100%, FF =
0%)
Byte 5 Current LEVEL (01 = 100%, FF
= 0%)
Byte 6 Join (usually FF hex)
Byte 7 Checksum
Example: Report that Channel 5 (Area 2)
Target Level is 58% & Current Level is
58%:
[1C] [02] [04] [60] [70] [70] [FF] [9F]
Start Fading To A Level (0.1 sec to 25.5
sec)
Byte 0 1C hex
Byte 1 AREA
Byte 2 CHANNEL NUMBER (0 origin)
Byte 3 71 hex
Byte 4 CHANNEL LEVEL (01 = 100%,
FF = 0%)
Byte 5 Fade Rate (0.1 sec INTERVAL)
Byte 6 Join (usually FF hex)
Byte 7 Checksum
Example: Area 2 Channel 3 Fade to 50%
over 5 seconds:
[1C] [02] [02] [71] [82] [32] [FF] [BC]
Start Fading to a Level (1 sec to 255 sec)
Byte 0 1C hex
Byte 1 AREA
Byte 2 CHANNEL NUMBER (0 origin)
Byte 3 72 hex
Byte 4 CHANNEL LEVEL (01 = 100%,
FF = 0%)
Byte 5 Fade Rate (1 sec INTERVAL)
Byte 6 Join (usually FF hex)
Byte 7 Checksum
Example: Area 2 Channel 3 Fade to 50%
over 50 seconds:
[1C] [02] [02] [72] [82] [32] [FF] [BB]
Start Fading to a Level ( 1 min to 22 min)
Byte 0 1C hex
Byte 1 AREA
Byte 2 CHANNEL NUMBER (0 origin)
Byte 3 73 hex
Byte 4 CHANNEL LEVEL (01 = 100%,
FF = 0%)
Byte 5 Fade Rate (1 min INTERVAL,
max of 22)
Byte 6 Join (usually FF hex)
Byte 7 Checksum
Example: Area 2 Channel 3 Fade to 50%
over 15 minutes:
[1C] [02] [02] [73] [82] [0f] [FF] [DD]