Dupline Optolink communication driver is the driver to communicate with general controller of Carlo Gavazzi in Italy.
Note) When you use the Dupline Optolink, 'Mux' module should not be used.
<Figure 1> is read setting example of Dupline Optolink communication driver.
<Figure 1> Read setting example of Dupline Optolink 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 to setting of controller.
Dupline Optolink driver communicate with Optolink Interface equipment(communication module).
Optolink module(G3491) can change baud rate(9600, 19200) by using Dip switch.
Dupline Optolink communication driver¡¯s read schedule
Read schedule setting parameters are as follows:
1) Station – Controller station number = 1 ~ 63.( by using 3 ~ 8 Dip switch of OptoLink G3491 module, ex) Dip 8 = On - station = 1, Dip 7 = On - station = 2, ... )
2) Read Area – Data area = 0, 1, 2, AI, CNT8, CNT4.
3) Read Start Address – Read start address.
4) Save start address for Communication Server – Saving start address of Communication Server.
5) Read Size – fixed to 16.
Read schedule example)
READ, 1, 0, 0, 0, 8,
READ, 1, 1, 0, 8, 8,
READ, 1, 2, 0, 16, 8,
READ, 2, AI, 0, 32, 16,
READ, 3, CNT4, 0, 48, 16,
DWORD, 4, CNT8, 0, 0, 16,
You can write the setting value by using write settings.
Bit Write
Bit write setting parameters are as follows:
1) PORT Port no. (0 ~ 255)
2) STATION Controller station number = 1 ~ 63.
3) ADDRESS Write address of data area.
4) Extra1 Write area = 0, 1, 2.
5) Extra2 Don't care.
Write example 1)
PORT : 0, STATION : 1, ADDRESS : 0011, EXTRA1 : 1 , EXTRA2 :
The setting parameter shown above is On/Off control example of 11 address of '1' area.
Word Write
Word write setting parameters are as follows:
1) PORT Port no. (0 ~ 255)
2) STATION Controller station number = 1 ~ 63.
3) ADDRESS Write address of data area.
4) Extra1 Write area = AI, AO.
5) Extra2 Don't care.
Write example 1)
PORT : 0, STATION : 1, ADDRESS : 0001, EXTRA1 : AO, EXTRA2 :
The setting parameter shown above is a write example of 1 address of 'AO' area.
Note) You have to connect direct serial cable( pin 2, 3, 5 direct, 9 pin connector) with Dupline Optolink and computer.
If you are using Dupline Optolink module, don't use Mux module at the same time.( because of a communication error )