BS-4800A Communication Driver

 

BS4800A Communication Driver is the driver to communicate with BS4800A load cell controller of BongSin Co., Ltd. in Korea.

 

1. Read settings

 

<Figure 1> is read setting example of BS4800A communication driver.

<Figure 1>  Read setting example of BS4800A communication driver

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

 

BS4800A communication driver¡¯s read schedule

Read schedule setting parameters are as follows:

1) STATION – Don't care.

2) Read command – 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 – Size = Fix to 1.

 

Read schedule example)

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

 

Note) BS4800A controller can set baud rate 2400 ~ 9600bps.

 

BS4800A communication driver save readed data as follows.

WORD memory)

address 0 = BIT 3 : Empty Relay,  Bit 2 : Low Relay,  BIT 1 BIT : High Relay,  BIT 0 : stability of weight.

address 1 = BIT 0 : when Start, Stop switch operation - ON, else - OFF.

DWORD memory)

address 0 = present weight value.

address 1 = Low setting value.

FLOAT memory)

address 0 - present weight value.

address 1 - Low setting value.

 

2. Writing settings

You can change the setting values of BS4800A Controller BC410 by using write settings.

 

Bit Write

Bit write setting parameters are as follows:

1)  PORT                   Port no. (0 ~ 255)

2)  STATION             Don't care.

3)  ADDRESS           Don't care.

4)  Extra1                  Write command = UAST, UMST, USTP.

5)  Extra2                  Don't care.

 

Write example 1)

PORT : 0   STATION : 0   ADDRESS : 0000  EXTRA1 : UAST  EXTRA2 : 0

The setting parameter shown above is an example of bit write for 'START' of BS4800A connected with 0 port.

 

Word Write

Word write setting parameters are as follows:

1)  PORT                   Port no. (0 ~ 255)

2)  STATION             Don't care.

3)  ADDRESS           Don't care.

4)  Extra1                  Write command = UAST, UMST, USTP, UL.

5)  Extra2                  Don't care.

 

Write example 1)

PORT : 0   STATION : 0   ADDRESS : 0000  EXTRA1 : UL  EXTRA2 : 0

The setting parameter shown above is an example of word write for 'LOW' value setting of BS4800A connected with 0 port.