CYPRES S6AL211A94 Handbuch - Seite 10

Blättern Sie online oder laden Sie pdf Handbuch für Kontrollsysteme CYPRES S6AL211A94 herunter. CYPRES S6AL211A94 17 Seiten. Assp 4 ch led driver ic for intelligent lighting hardware

2.2.2

Control Command

First six characters of the received string are treated as a control command.
The argument is only valid ASCII character code A, B, C, D, E, F and 0-9.When it received an invalid value
will be treated as receiving a "0".
Please send a space character in front of the argument.
Table 2. Control Commands
Command
DIMSET
MEMSET
QUERYS
WAKEUP
PRESET
SELECT
(Others)
[1]: Write data to excluding the address "0x10" is stored in non-volatile memory. Therefore, please do not
power-off from the transmission of the MEMSET command within 5 seconds. If power is lost within 5 seconds,
the write data is not guaranteed.
[2]: Unless setting to illuminate within 3 seconds after receiving the WAKEUP command, it moves again to
the standby state.
[3]: When receive at standby state, this device outputs the response within 4 ms from the first character.
S6AL211A94, ASSP 4ch LED Driver IC for Intelligent Lighting Hardware Manual, Doc. No. 002-08545 Rev. *B
Argument
1st : ch1 dimming level
2nd : ch2 dimming level
Set the dimming level on each channel.
ex. ) DIMSET FF AA FF 93<CR><LF>
3rd : ch3 dimming level
4th : ch4 dimming level
1st : write address
Write data to the memory.
ex. ) MEMSET 3055<CR><LF>
2nd : write data
Read from memory.
1st : read address
ex. ) QUERYS 24<CR><LF>
Return to the normal dimming operation state from
the standby state.
No argument
This command is ignored when the state is not the
standby.
Initialize the device when the light is off bye
protection.
No argument
This command is ignored when the light is not off
bye protection.
Select the slave device.
When the argument matches the parameter
"SLAVE ADDRESS", all commands is accepted.
When the argument don't match the parameter
1st : slave address
"SLAVE ADDRESS",it is accepted only command
of WAKEUP and SELECT.
If the received argumentis "FF", regardless of the
setting value of "SLAVE ADDRESS", all
commands is accepted.
It is determined that the invalid command, input is
ignored.
About Corresponded UART Interface
Function
[1]
[2]
Response
OK<CR><LF>
OK<CR><LF>
Read Data or "TRUE"
or "FALSE"+
<CR><LF>
[3]
OK<CR><LF>
OK<CR><LF>
If the received
argument is "FF" or the
value of "SLAVE
ADDRESS", output the
response
"OK<CR><LF>".
No response
10