PowerTech DSP communication driver is the driver to communicate with Rectifier DSP controller of PowerTech in Korea.
<Figure 1> is read Schedule setting example of PowerTech DSP communication driver.
<Figure 1> Read Schedule setting example of PowerTech DSP communication driver |
Device part of <Figure 1> input Com Port(COM1), Baud Rate(9600), Parity Bit(0), Data Bit(8), Stop Bit(1) respectively ( fixed to 9600, 0, 8, 1 ).
PowerTech DSP communication driver¡¯s read schedule
Read schedule setting parameters are as follows:
1) STATION – 0 ~ 255 station number of DSP controller.
2) Read command – don't care.
3) Read start address – don't care.
4) Save Start Address for Communication Server – Input save start address of communication server.
5) Read Size – fixed to 6 word. ( refer to <table 1> )
Read schedule example)
READ, 0, 0, 0, 0, 6,
READ, 1, 0, 0, 10, 6,
<Table 2> is data saving address and contents of PowerTech DSP communication driver.
Data saving address | Contents |
Start addr + 0 | status of Rectifier, 00:Local/Remote, 01:Run/Stop, 02:Reset |
Start addr + 1 | status of error |
Start addr + 2 | voltage setting value |
Start addr + 3 | current setting value |
Start addr + 4 | voltage value |
Start addr + 5 | current value |
<Table 2> Data saving address and contents of PowerTech DSP communication driver |
You can control PoweTech DSP controller by using 'write settings'.
Digital Write
Digital write setting parameters are as follows:
1) PORT Port no. (0 ~ 255)
2) STATION 0 ~ 255 station number of DSP controller.
3) ADDRESS writing memory address.
4) Extra1 don't care.
5) Extra2 don't care.
Write example 1)
PORT:0, station:0, ADDRESS:0001, Extra1: , Extra2 :
The setting parameter shown above is Run/Stop control setting example for 0 station PowerTech DSP controller.
Analog Write
Analog write setting parameters are as follows:
1) PORT Port no. (0 ~ 255)
2) STATION 0 ~ 255 station number of DSP controller.
3) ADDRESS writing memory address.
4) Extra1 don't care.
5) Extra2 don't care.
Write example 1)
PORT:0, station:1, ADDRESS:0032, Extra1: , Extra2 :
The setting parameter shown above is Current setting value write example for 1 station PowerTech DSP controller.