
CL01 Intelligent Controller Users Manual
7850 East Gelding Drive • Scottsdale, AZ 85260-3420
CL01 Intelligent Controller Users Manual B.doc
Page 10 of 24
Toll Free 1.877.2BUYNKK (877.228.9655) •Phone 480.991.0942 • Fax 480.998.1435
www.nkkswitches.com • Email engineering@nkkswitches.com 0110
Step 6D: If timer for switch 2 is expired then:
1. Transmit 84H to host if flag is enabled.
2. Increment current address for switch 2.
3. If current address for switch 2 is not equal ((end address for switch 2) +1) then:
l. Transmit FEH and current address for switch 2 to host if flag is enabled.
m. Set update flag for switch 2.
4. If current address for switch 2 is equal ((end address for switch 2) +1) then:
n. Read the attributes for end address location for switch 2.
o. If end location action address for switch 2 is equal zero then put current address for switch 2 =
start address for switch 2 and set update flag for switch 2.
p. If end location action address for switch 2 is not equal zero then:
i. Start address for switch 2 = end address action address for switch 2.
ii. Current address for switch 2 = end address action address for switch 2.
iii. Get the attributes and put the values for switch 2 action address for switch 1, switch 2
action address for switch 2, end address for switch 2 and timers for switch 2.
iv. Set update flag for switch 2.
q. If end location action address for switch 1 is equal zero then take no action.
r. If end location action address for switch 1 is not equal zero then:
i. Start address for switch 1 = end location action address for switch 1.
ii. Current address for switch 1 = end location action address for switch 1.
iii. Get the attributes and put the values for switch 1 action address for switch 1, switch 1
action address for switch 2, end address for switch 1 and timers for switch 1.
iv. Set update flag for switch 1.
Step 6E: If the switch 1 is released: Transmit B1H to host if flag is enabled.
Step 6F: If the switch 2 is released: Transmit B2H to host if flag is enabled.
Step 6G: If update flag for switch 1 is set then:
1. Clear the switch 1 update flag.
2. Transmit FDH and current address for switch 1 to host if flag is enabled.
3. Send the picture from microSD to OLED module 1 according to current address for switch 1.
Step 6H: If update flag for switch 2 is set then:
1. Clear the switch 2 update flag.
2. Transmit FEH and current address for switch 2 to host if flag is enabled.
Send the picture from microSD to OLED module 2 according to current address for switch 2.
Step 6I: Checks the host communication buffer for data. If there is data, process them. (For detail see
Communication Protocol)
Step 6J: Go to step 6A.