![Actox ABC40DC Скачать руководство пользователя страница 20](http://html1.mh-extra.com/html/actox/abc40dc/abc40dc_user-manual_2844009020.webp)
ABC40DC User Manual
Page 20 of 34
Appendix 4
M&C Commands
Reply
Packet
format
Explanation
Interpretation
Examples
ACK
(Acknowledge
7E
FX
E0
ZZ
7F
Acknowledge
that
the
received
packet
was
properly
processed.
X
=
Device
address
of
the
packet
source
device.
ZZ
=
CRC.
1)
reply:
7E
FF
E0
E0
7F
(ACK
reply
sent
from
the
BUC)
NACK
(Not
Acknowledge)
7E
FX
F1
YY
ZZ
7F
Indicate that
a
problem
was
encountered
with
the
received
packet.
X
=
Device
address
of
the
packet
source
device.
YY
=
Error
code
(03
=
Incorrect
CRC
18
=
Unrecognized
command
30
=
Set
command
attempted
on
a
restricted
database
element)
ZZ
=
CRC.
1)
reply:
7E
FF
F1
03
F2
7F
(NACK
reply
sent
from
the
BUC
for
an
invalid
CRC)
2)
reply:
7E
FF
F1
18
E9
7F
(NACK
reply
sent
from
the
BUC
for
an
unrecognized
command).
Command
Packet
format
Explanation
Possible replies
Interpretation
Examples
1) cmd: 7E FF 02 06 06 02
7F
reply: 7E FF 84 06 06 01 02
87 7F
Get Device
Temperature
7E FF 02
06 06 02
7F
Query device for
current temperature
Update Device
Temp:
7E FF 84 06
06 TT TT ZZ 7F
TT TT = Device temp in °C
+ 273. ZZ = CRC.
(Temp = 0x0102 = 0d258 –
273 = -15°C) 2) cmd: 7E FF
02 06 06 02 7F
reply: 7E FF 84 06 06 01 34
B1 7F
(Temp = 0x0134 = 0d308 –
273 = +35°C)
Get Power
Supply
Temperature
7E FF 02
06 07 03
7F
Query device for
current power supply
temperature
Update Device PS
Temp:
7E FF 84 06
07 TT TT ZZ 7F
TT TT = PS temp in °C +
273. ZZ = CRC
1) cmd: 7E FF 02 06 07 03
7F reply: 7E FF 84 06 07 01
02 86 7F (Temp = 0x0102 =
0d258 – 273 = -15°C) 2)
cmd: 7E FF 02 06 07 03 7F
reply: 7E FF 84 06 07 01 34
B0 7F (Temp = 0x0134 =
0d308 – 273 = +35°C)
1) cmd: 7E FF 02 17 FF EA
7F
reply: 7E FF 84 17 FF 01 2C
41 7F
Get Output
Power
7E FF 02
17 FF
EA 7F
Query device for
current output power
Update Output
Power:
7E FF 84 17
FF PP PP ZZ 7F
PP PP = Output power in 10
x dBm. ZZ = CRC.
(Power = 0x012C = 0d300 =
30.0dBm.) 2) cmd: 7E FF 02
17 FF EA 7F
reply: 7E FF 84 17 FF 01 A0
CD 7F
(Power = 0x01A0 = 0d416 =
41.6dBm.)
Get Gain
7E FF 02
18 FF E4
7F
Query device for
current gain. Note:
value is depending of
attenuation settings.
Update Gain:
7E FF
84 18 FF GG GG ZZ
7F
GG GG = Gain in 10 x dB.
ZZ = CRC.
1) cmd: 7E FF 02 18 FF E5
7F reply: 7E FF 84 18 FF 02
8A 69 7F (Gain = 0x028A =
0d650 = 65.0dB.) 2) cmd:
7E FF 02 18 FF E5 7F reply: