29
Serial/Ethernet/USB Communication (SCOM) Interface
IND100084-18
Cyclic Operation (identified in BYTE #5 and #7 with 0x03):
Byte #
0
1
2
3
4
5
6
7
8
9
10
0x07 0xFF 0x42 0x5A 0x5A 0x03 0x00
Buzzer ON
OFF
IDCHK
With two more bytes after Byte #7 (Buzzer) value, the BZZ command is able to run the defined pattern of ON and
OFF cycle.
Byte #7:
Describes the status of the Buzzer, in this example Cyclic Operation (0x03)
Buzzer (Byte #7)
can be defined as follows:
0x00
Turn the buzzer off.
0xFF
Turn the buzzer on, run defined ON-OFF pattern forever
0x01-0x0F
Turn the buzzer on, run defined ON-OFF pattern for XX cycles and turn off buzzer
After unit reset the value is set to: 0x00
After microcontroller reset the value is set to: 0x00
ON (Byte #8):
Define the Buzzer on time in the pattern.
Range values multiplied in milliseconds:
0x00 - 0xFF On time = ON x 100ms
OFF (Byte #9):
Define the Buzzer off time in the pattern.
Range values multiplied in milliseconds:
0x00 - 0xFF
Off time = OFF x 100ms
After unit reset the value is set to: 0x00
After microcontroller reset the value is set to: 0x00
Both ON and OFF has to be set the value larger than 0x00, in order to trigger the ON-OFF-ON Alarm mode. If at least
one of them is set to 0x00, the buzzer is constantly on, when BZZ is turned on. If both are set larger than 0x00, the
buzzer is turned on periodically, when BZZ is turned on.
Example:
Activate Buzzer: Cyclic operation - Example Repeat Cycles 3 times (0x03) with 200ms (0x02) ON then 100ms OFF (0x01):
0x07
0xFF
0x42
0x5A
0x5A
0x03
0x00
0x03
0x02
0x01
0xF9
ACK reply from the unit:
0x06
0xFF
0x42
0x5A
0x5A
0x03
0x01
0x03
0x02
0x01
0xF9
Содержание HATTELAND TECHNOLOGY X MMD G2 Series
Страница 56: ...56 This page left intentionally blank...
Страница 57: ...57 Appendixes...
Страница 68: ...Hatteland Technology AS www hattelandtechnology com Enterprise no NO974533146...