MESL-S Toshiba Light Controller communication driver

 

MESL-S Toshiba Light Controller communication driver is the driver to communicate with lighting controller of Toshiba in Japan.

 

1. Read Settings

 

<Figure 1> is read setting example of MESL-S Toshiba Light Controller communication driver.

<Figure 1>  Read setting example of MESL-S Toshiba Light Controller communication driver

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

Also you can set 'readed data saving method'( 10 : decimal, 16 : hex-decimal, default = 10) by using option part.

 

MESL-S Toshiba Light Controller communication driver read schedule

Read schedule setting parameters are as follows:

1) Station – 0 ~ 9 station number.

2) Read data type – don't care.

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. ( 256 bit )

 

Read schedule example)

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

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

 

 MESL-S controller(SA station) have 256 indivisual and group status value.

<Table 1>, <Table 2> are data saving and contents of MESL-S communication driver when input 10/16 at option part. 

Data saving address Contents Remarks
Start addr + 0001 ~ 0256 indivisual  status memory value don' use A~F bit of each word
Start addr + 0301 ~ 0556 group status memory value
<Table 1> Data saving and contents of MESL-S communication driver when input 10 at option part
Data saving address Contents Remarks
Start addr + 0000 ~ 015F indivisual  status memory value use A~F bit
Start addr + 0160 ~ 031F group status memory value
<Table 1> Data saving and contents of MESL-S communication driver when input 16 at option part

 

2. settings

You can control MESL-S controller by using 'writing settings'. 

 

Digital Write

Digital write setting parameters are as follows:

1)  PORT                   Port no. (0 ~ 255)

2)  STATION             0 ~ 9 station number.

3)  ADDRESS          0001 ~ 0256 writing address for indivisual, group point control.

4)  Extra1                  selection of indivisual, group control.

A0 : indivisual point control,

A1 : group point control.

5) Extra2                   don't care.

 

Write example 1)

PORT:0,  station:1, ADDRESS:0192, Extra1: A0,  Extra2 : 0

The setting parameter shown above is 192 address indivisual point control example of 1 station MESL-S controller.

 

Analog Write

MESL-S Toshiba Light Controller communication driver don't use 'Analog Write'.