PCD-SBUS communication driver is the driver to communicate with S-BUS protocol of Saia-Burgess Controls in Switzerland.
Note) It is better to use DLL-PCD S-BUS than this communication driver.
PCD controller have 2 Protocol, P8 and S-BUS. PCD S-BUS communication driver use S-BUS protocol.
<Figure 1> is read setting example of PCD SBUS communication driver.
<Figure 1> Read setting example of PCD SBUS communication driver |
Device part of <Figure 1> input Com Port(COM1), Baud Rate(9600), Parity Bit(0), Data Bit(8), Stop Bit(1) respectively, according tosetting of controller.
Note) IP address, station number of PCD controller can set 'Online Configurator' program.
PCD SBUS communication driver¡¯s read schedule
Read schedule setting parameters are as follows:
1) Station – PCD S-BUS station number = 0 ~ 254.
2) Read data type – data type = I,O,F,R, T,C.
3) Read Start Address – reading start address in data type.
4) Save start address for Communication Server – Saving start address of Communication Server.
5) Read Size – word or double word / float unit read size.
I,O,F : 1 ~ 16 word ( 16bit unit ),
R,T,C : 1~32 double word.
Read schedule example)
READ, 0, I, 0, 0, 8,
READ, 0, O, 0, 10, 8,
READ, 0, F, 0, 20, 8,
DWORD, 0, R, 0, 0, 16,
DWORD, 0, T, 0, 16, 16,
DWORD, 0, C, 0, 32, 16,
When using RS-485 communication
Normally, for communicating with computer, you should to install RS-485 communication card or RS-232C to RS-485 Converter at computer.
<Figure 2> is wiring diagram of PCD7.T 120 RS-232C/RS-485 Converter.
<Figure 2> Wiring diagram of PCD7.T 120 RS-232C/RS-485 Converter |
When you using PCD7.T 120 RS-232C/RS-485 Converter, you should to set 'TxRTS' and 'RTS Delay Time' for Read, Write.
So, we don't recommend PCD7.T 120 RS-232C/RS-485 Converter.
You can control PCD controller by using 'write settings'.
Digital Write
Digital write setting parameters are as follows:
1) PORT Port no. (0 ~ 255)
2) STATION PCD S-BUS station number = 0 ~ 254.
3) ADDRESS writing address in data type.
4) Extra1 write data type = O, F.
5) Extra2 don't care.
Write example 1)
PORT : 0 , STATION : 3, ADDRESS : 0021, EXTRA1 : F, EXTRA2 :
The setting parameter shown above is control( On/Off ) example of F0021 address.
Analog Write
Analog write setting parameters are as follows:
1) PORT Port no. (0 ~ 255)
2) STATION PCD S-BUS station number = 0 ~ 254.
3) ADDRESS writing address in data type.
4) Extra1 write data type = R, T, C.
5) Extra2 don't care.
Write example 1)
PORT : 0 , STATION : 4, ADDRESS : 0304, EXTRA1 : T, EXTRA2 :
The setting parameter shown above is dobule word unit write setting example of T304 address.
Please connect RS-232C communication cable to 9pin connector such as <Figure 3>.
<Figure 3> Wiring diagram of RS-232C communication cable for PCD controller |
Note) You can't use RS-232C communication cable for P8 protocol at S-BUS protocol( communication driver ).