Recent Changes - Search:

Products

General resources

    Android
      DataEdit
    WinCE

edit SideBar

FM3080 / FM3080 : FM3080
By - May 10, 2019, at 04:59 AM

1.  How to lighten different LED colors and set the duration by sending UCS (Unified Commands Set) command on FM3080

1.1  Control LED colors

Command:LEDONI$

Parameter: C, the color of LED:0C - Red, 1C - White, 2C - Green, 3C – Blue. D, the duration of LED: range 10 – 3600000, for example 2000D means 2000ms,

Example:

Set LED to Red, 6000ms

Sending:

ASCII: ~<SOH>0000#LEDONI0C6000D;<ETX>

HEX: 7E 01 30 30 30 30 23 4c 45 44 4f 4e 49 30 43 36 30 30 30 44 3B 03

Responding:

ASCII: <STX><SOH>0000@LEDONI0C6000D<ACK>;<ETX>

HEX: 02 01 30 30 30 30 40 4C 45 44 4F 4E 49 30 43 36 30 30 30 44 06 3B 03

Set LED to Green, 3000ms

Sending:

ASCII: ~<SOH>0000#LEDONI2C3000D;<ETX>

HEX: 7E 01 30 30 30 30 23 4c 45 44 4f 4e 49 32 43 33 30 30 30 44 3B 03

Responding:

ASCII: <STX><SOH>0000@LEDONI2C3000D<ACK>;<ETX>

HEX: 02 01 30 30 30 30 40 4C 45 44 4F 4E 49 32 43 33 30 30 30 44 06 3B 03

1.2  Control Beep

Command:BEEPON$

Parameter: F,the Frequency of beep, the unit is Hz, range 1-20000Hz. For example 2700F means 2700Hz. T,the time of duration,the unit is ms,range 1-10000ms. For example 100T means the duation time is100ms。 V,the volume of beep, range 1-20db. For example 20V means 20db.

Example:

Set Beep to 1600HZ, 50ms and 20db

Sending:

ASCII: ~<SOH>0000@BEEPON1600F50T20V;<ETX>

HEX: 7E 01 30 30 30 30 40 42 45 45 50 4F 4E 31 36 30 30 46 35 30 54 32 30 56 3B 03

Responding:

ASCII: <STX><SOH>0000@BEEPON1600F50T20V<ACK>;<ETX>

HEX: 02 01 30 30 30 30 40 42 45 45 50 4F 4E 31 36 30 30 46 35 30 54 32 30 56 06 3B 03

Edit - History - Print - Recent Changes - Search