Q-Light Tower Lamp communication driver

 

 

Q-Light Tower Lamp communication driver is the driver to communicate with Tower Lamp controller of Q-Light Co., Ltd. in Korea.

 

1. Read settings

 

<Figure 1> is read setting example of Q-Light Tower Lamp communication driver.

<Figure 1> Read setting example of Q-Light Tower Lamp communication driver

Device part of  <Figure 1> input Device type(TCP/IP), IP address of PLC(192.168.1.200), service port of TCP/IP protocol ( 20000 ),respectively, according to setting of controller.

 

Q-Light Tower Lamp communication driver¡¯s read schedule

Read schedule setting parameters are as follows:

1) STATION – don't care. ( fixed to 0 )

2) Read command – command = READ. ( refer to <Table 1> )

3) Read start address – don't care.

4) Save Start Address for Communication Server – readed data saving start address of communication server.

5) Read Size – fixed to 1.

 

Read schedule example)

READ,     0,     READ,     0,    0,   1,

 

<Table 1> is data saving address and and contents of READ command.

Data saving address

Contents

Remarks

Start addr + 0

Red Lamp value

0 = OFF, 1 = ON, 2 = ON/OFF blinking

   

Start addr + 1

Yellow Lamp value

Start addr + 2

Green Lamp value

Start addr + 3

Blue Lamp value

Start addr + 4

Gray Lamp value

Start addr + 5

Beep status

0 = OFF, 1 ~ 5 = Beep Sound ON

1 ~ 5, differ from sound according to beep value

Start addr + 6

Reserved

 

Start addr + 7

<Table 1> Data saving address and and contents of READ command

If you click the icon  in protocol option part, you can see the dialog box such as <Figure 2>. you can also set read schedule by using this part. 

<Figure 2> Example of Q-Light Tower Lamp communication driver¡¯s Option dialog box

You can set read schedule by using , , button and listbox of <Figure 2>. 

<Figure 3> Example of Q-Light Tower Lamp communication driver¡¯s read schedule Add/Edit dialog box

When you click Add button or Edit button in dialog box of <Figure 2>, dialog box of <Figure 3> is shown.

 

2. Write settings

You can control Lamp status and Beep Sound by using write settings.

 

Digital Write

Digital write setting parameters are as follows:

1)  PORT                   Port no. (0 ~ 255)

2)  STATION             don't care.

3)  ADDRESS           sound type selection when BEEP write command

sound type : 0 = WS, 1 = WP, 2 = WM(1), 3 = WA(1), 4 = WB, 5 = BUZZ, 6 = WM(8), 7 = WA(8)

4) Extra1                    write command.

 RED : red Lamp On/Off,

YELLOW = yellow Lamp On/Off,

GREEN = green Lamp On/Off,

BLUE = blue Lamp On/Off,

GRAY = gray Lamp On/Off,

BEEP = Beep sound On/Off.

5) Extra2                    blinking selection of lamp.

 0 = don't blinking,

1 = blinking.

 

Write example 1)

PORT:0,  station:0, ADDRESS:0000, Extra1: RED,  Extra2 : 0

The setting parameter shown above is red lamp On/Off control example.

 

Write example 2)

PORT:0,  station:0, ADDRESS:0000, Extra1: RED,  Extra2 : 1

The setting parameter shown above is red lamp Blinking/Off control example.

 

Write example 3)

PORT:0,  station:0, ADDRESS:0000, Extra1: GREEN,  Extra2 : 0

The setting parameter shown above is green lamp On/Off control example.

 

Write example 4)

PORT:0,  station:0, ADDRESS:0000, Extra1: GREEN,  Extra2 : 1

The setting parameter shown above is green lamp Blinking/Off control example.

 

Write example 5)

PORT:0,  station:0, ADDRESS:0000, Extra1: BEEP,  Extra2 : 0

The setting parameter shown above is WS beep sound On/Off control example.

 

Analog Write

Analog write setting parameters are as follows:

1)  PORT                   Port no. (0 ~ 255)

2)  STATION             don't care.

3)  ADDRESS           sound type selection when BEEP write command

sound type : 0 = WS, 1 = WP, 2 = WM(1), 3 = WA(1), 4 = WB, 5 = BUZZ, 6 = WM(8), 7 = WA(8)

4) Extra1                    write command.

 RED : red Lamp On/Off, ( Output value : 0 = Off, 1 = On, 2 = blinking )

YELLOW = yellow Lamp On/Off, ( Output value : 0 = Off, 1 = On, 2 = blinking )

GREEN = green Lamp On/Off, ( Output value : 0 = Off, 1 = On, 2 = blinking )

BLUE = blue Lamp On/Off, ( Output value : 0 = Off, 1 = On, 2 = blinking )

GRAY = gray Lamp On/Off, ( Output value : 0 = Off, 1 = On, 2 = blinking )

BEEP = Beep sound On/Off.( Output value : 0 = Off, 1 ~ 5 = differ from sound according to Output value )

5) Extra2                    don't care.

 

Write example 1)

PORT:0,  station:0, ADDRESS:0000, Extra1: RED,  Extra2 : 0, Output value = 1

The setting parameter shown above is red lamp On control example.

 

Write example 2)

PORT:0,  station:0, ADDRESS:0000, Extra1: RED,  Extra2 : 0, Output value = 2

The setting parameter shown above is red lamp Blinking setting example.

 

Write example 3)

PORT:0,  station:0, ADDRESS:0000, Extra1: BEEP,  Extra2 : 0, Output value = 5

The setting parameter shown above is WS 5 sound On setting example.

 

Write example 4)

PORT:0,  station:0, ADDRESS:0007, Extra1: BEEP,  Extra2 : 0, Output value = 3

The setting parameter shown above is WA(8) 3 sound On setting example.

 

3. Appearance of Q-Light Tower Lamp

<Figure 4> is appearance of Q-Light Tower Lamp controller.
<Figure 4> Appearance of Q-Light Tower Lamp controller

 

 

<±×¸² 4> Q-Light Tower Lamp ÀåºñÀÇ ¸ð½À