JOAS DALI Lighting Controller communication driver

 

JOAS DALI Lighting Controller communication driver is the driver to communicate with DALI Lighting system of JoongAng Control Co., Ltd. in Korea.

 

1. Read Settings

 

<Figure 1> is read setting example of  JOAS DALI Lighting Controller communication driver.

 
<Figure 1>  Read setting example of  JOAS DALI Lighting Controller communication driver

Device part of  <Figure 1> input Com Port(COM7), Baud Rate(9600), Parity Bit(0), Data Bit(8), Stop Bit(1) respectively, according to setting of controller.

 

JOAS DALI Lighting Controller communication driver¡¯s read schedule

Read schedule setting parameters are as follows:

1) Cell ID – 0 ~ 254 Cell ID, 255 = Broadcasting ID.

2) Read Command – Command = STS, LEVEL. ( Refer to <Table 1> )

3) Read Start Address Don't care.

4) Save start address for Communication Server – Saving start address of Communication Server.

5) Read Size – Fixed to 1. ( Refer to <Table 1> )

 

Read schedule example) 

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

READ,  0, LEVEL,  0, 100,  1,

 

<Table 1> is data saving address and contents of JOAS DALI Lighting Controller communication driver.

Read command Contents

Data saving address

Range

STS  On, Off status read of total lamp Start Addr + 0 ~ 31 : On, Off status of each lamp 0 : Off, 1 : On
LEVEL Llevel read of total lamp Start Addr + 0 ~ 255 : Level value of each lamp 0 ~ 100 %
<Table 1> Data saving address and contents of JOAS DALI Lighting Controller communication driver

 

JOAS DALI Lighting Controller communication driver store the same data in WORD, DWORD, FLOAT, DOUBLE, INT64 memory, but the data format are different.

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

 
<Figure 2> Example of  JOAS DALI Lighting Controller communication driver¡¯s Option dialogue box

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

 
<Figure 3> Example of  JOAS DALI Lighting Controller communication driver¡¯s read schedule Add/Edit dialogue box

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

 

2. Write settings

You can control and write the setting value by using write settings.

  

Digital Write

Digital write and analog write have the same setting parameters except output value. 

 

Analog Write

Analog write setting parameters are as follows:

1)  PORT                   Port no. (0 ~ 255)

2)  STATION             0 ~ 254 Cell ID, 255 = Broadcasting ID.

3)  ADDRESS           0 ~ 255 indivisual SADDR number that registered Ballst. ( decimal unit )

4)  Extra1                   Write command = LEVEL, G_LEVEL, ONOFF, GROUP, DIM, G_DIM.

LEVEL = indivisual lamp Level control. Outout value range = 0 ~ 100%.

G_LEVEL = group lamp Level control. Outout value range = 0 ~ 100%.

ONOFF = indivisual lamp On, Off control. Outout value range : 0 = Off, 1 = On.

GROUP = group lamp On, Off control. Outout value range : 0 = Off, 1 = On.

DIM = indivisual lamp Dimming Up, Down control. Outout value range : 0 = Down, 1 = Up.

G_DIM = group lamp Dimming Up, Down control. Outout value range : 0 = Down, 1 = Up.

5)  Extra2                   Don't care.

 

Write example 1)

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

The setting parameter shown above is a Level control example of 0 Group, 0 Cell ID, 0 SADDR JOAS DALI Lighting controller. ( Level range = 0 ~ 100%)

 

Write example 2)

PORT:0,  station:0, ADDRESS:0002, Extra1:LEVEL,  Extra2 : 0

The setting parameter shown above is a Level control example of 0 Group, 0 Cell ID, 2 SADDR JOAS DALI Lighting controller. ( Level range = 0 ~ 100%)

 

Write example 3)

PORT:0,  station:0, ADDRESS:0002, Extra1:ONOFF,  Extra2 : 0

The setting parameter shown above is a On, Off control example of 0 Group, 0 Cell ID, 3 SADDR JOAS DALI Lighting controller. ( 1 = On, 0 = Off )

 

Write example 4)

PORT:0,  station:0, ADDRESS:0002, Extra1:DIM,  Extra2 : 0

The setting parameter shown above is a Dimming up, down example of 0 Group, 0 Cell ID, 4 SADDR JOAS DALI Lighting controller. ( 1 = up, 0 = down )

 

3. Appearance of JOAS DALI Lighting Controller

<Figure 4> is appearance of JOAS DALI Lighting Controller.

<Figure 4> Appearance of  JOAS DALI Lighting Controller