DGM02
Device Manual
Made in Italy
DALCNET S.r.l.
36077 Altavilla Vicentina (VI)
–
Italy
Via Lago di Garda, 22
Tel. +39 0444 1836680
–
Rev.
06/12/2022 -
Pag.
30/32
Q
UERY COLOR TC LEVELS
This command is used to submit a query for Tc levels. If the addressed device is of type DT8 TW, the DGM responds with the
current colour levels (2 bytes per device), otherwise it returns all data to 00. The request is enclosed by the tags: <rctc> and
</rctc>.
The maximum size is fixed at 64.
If a node is not of type DT8, the Tc codes are all set to zero (2 times 0x00).
Query tc colour levels
<rctc addr='0000' size='0001'></rctc>
DGM answer
<rctc>FD01</rctc>
F
ADE ENGINE
One or more fadings can be initiated at 512 brightness levels (fades). This request is performed with a string enclosed by the
<fade> and </fade> tags:
<fade time = '0000' addr = '0000' size = '0200'> .... </fade>
The field time indicates, in hexadecimal notation, the fade time in 0.1s units, with an interval from 0.1 to 3600 seconds
(1 hour).
The minimum slope is 25.5 seconds per step; This means that the maximum fade time to go from 0 to 1 level (or from
35 to 34 for example) is 25.5s, to go from 0 to 2 level is 51s. The slope is limited internally. The value "0000" indicates
to stop fading at the actual value.
The addr field indicates, in hexadecimal notation, the first slot to be transmitted.
The size of the field indicates, in hexadecimal notation, the number of slots to be transmitted.
The slots to be transmitted must be inserted inside the tags, in the range from 00 to FF in hexadecimal notation.
The value set to "XX" indicates that the fade is not processed for the corresponding channel.
A maximum of 64 values (i.e. channels) can be sent in a single packet, so at least 8 packets must be sent to initiate a fade on all
512 channels.
For example, to set:
Send:
the first lamp at maximum level and the third off, with 5
seconds of fade time
<fade time='0032' addr='0000' size='0003'>FFXX00</fade>
When packets are received by Ethernet or field bus and with fade control active, each time a string is received a string is sent as
a response with a minimum configurable time (minimum scan time):
<date> 010203040506070809 ..... </data>
Reports the status of all 512 light intensity levels. If there are no changes, the string is still sent with a configurable time (maximum
scan time) if greater than zero.
NOTE: The spacing and order of the fields must be strictly adhered to. The transmission string must be sent strictly in a single TCP
packet; The response string is sent in a single TC packet