![NKK SWITCHES IS-Dev Kit-8 Скачать руководство пользователя страница 19](http://html1.mh-extra.com/html/nkk-switches/is-dev-kit-8/is-dev-kit-8_user-manual_1697353019.webp)
IS-Dev Kit-8 User Manual
7850 East Gelding Drive • Scottsdale, AZ 85260-3420
IS-Dev Kit 8 Users Manual A.doc
Page 19 of 31
Toll Free
1.877.2BUYNKK (877.228.9655)
•
Phone
480.991.0942
• Fax
480.998.1435
www.nkkswitches.com
1209
Commands that disable switch and timer execution
Upon transmitting any of the following commands, the timer stop running and attributes for the switches
activity do not execute. The switches are still scanned and reported. The attributes execution is enabled upon
reboot/power up or by command from host.
The reason for disabling attribute execution is for faster download of images and attribute as well as command
to check the image at any address.
Command to download setup data
The command downloads the flags and other setup values. This information are stored on the MicroSD flash.
command format:
2AH
[00H]
[00H]
[55H]
[flag]
[0001H]
[0001H]
[reserved]
transmit format:
(xxH)
(xxAH)
(xxAH)
(xxAH)
(xxAH)
(xxAH)
(xxAH)
(xxAH)
[flag] is one byte sent in ASCII HEX format. (Detail below)
[reserved] is two bytes sent in ASCII HEX format. These byte should be 00H. This is for future use. Customer
could use the last byte for storing the data version.
All other byte must be transmitted with the stated values.
Flag Byte
Default value=80H
Bit
Enable
Value
Flag
Controller action when flag is set
B0
0
Buzzer
Beeper sound for switch press
B1
0
61H flag
61H is transmitted in response to command.
B2
0
79H flag
79H is transmitted upon completion of
command.
B3
0
Switch release report flag
Switch release are reported
B4
0
6EH flag
6CH/6EH is transmitted if there is any error
during communication to host.
B5
0
Timer expire report flag
Timer expiration is reported
B6
0
Switch press report flag
Switch presses are reported
B7
0
Address change report flag Whenever a new image is displayed, the two
bytes address, preceding by FCH, are
transmitted via RS232.
Example:
2A30303030 3535 3030 30303031 30303031 30303130
sets all the flags ON and set the data
version to 10.The flag takes affect when the controller is reset.
Command to upload the setup data
This command uploads the flags and other setup values to the host.
command format:
2BH
0000H
transmit format:
(xxH) (xxAH)
The controller transmits 10 bytes in HEX. The first two bytes are always 00H.