GLOFA communication driver is the driver to communicate with GLOFA PLC(232/422/485) of LSIS Co., Ltd. in Korea.
<Figure 1> is read setting example of GLOFA communication driver.
<Figure 1> Read setting example of GLOFA communication driver |
Device part of <Figure 1> input Com Port(COM1), Baud Rate(19200), Parity Bit(0), Data Bit(8), Stop Bit(1) respectively according to setting of PLC.
GLOFA communication driver read schedule
Read schedule setting parameters are as follows:
1) STATION – PLC station number.
2) Read memory type – Memory type = I(input), Q(output), M(internal memory).
3) Read start address – Read start address in memory.
4) Save Start Address for Communication Server – saveing start address of Communication Server.
5) Read Size – Word unit read size.
6) Rack(Base) number – Rack number when I, Q memory.
7) Slot number – Slot number when I, Q memory.
Read schedule example)
READ, 0, I, 10, 2, 0, 1,
READ, 0, Q, 20, 2, 1, 0,
READ, 0, Q, 24, 2, 1, 2,
READ, 0, M, 30, 16,
You can control GLOFA PLC by using write settings.
Digital Write
Digital write setting parameters are as follows:
1) PORT Port no. (0 ~ 255)
2) STATION PLC station number.
3) ADDRESS Write address in memory.
4) Extra1 Write memory type = Q or M.
5) Extra2 Rack number when Q memory type.
Write example 1)
PORT : 0 Station : 1, ADDRESS : 0003, EXTRA1 : Q, EXTRA2 : 1
The setting parameter shown above is a control(On/Off) example for 1 rack, 3 channel of Q memory type.
Analog Write
Analog write setting parameters are as follows:
1) PORT Port no. (0 ~ 255)
2) STATION PLC station number.
3) ADDRESS Write address in memory.
4) Extra1 Write memory type = Q or M.
5) Extra2 Rack number when Q memory type.
Write example 1)
PORT : 0 Station : 1, ADDRESS : 0002, EXTRA1:M, EXTRA2 :
The setting parameter shown above is word write example for 0002 word of M memory type.
Please connect full RS-232C Serial communication cable for GLOFA PLC. If you connect brief cable(2, 3, 5 connector), it can't communate with PLC.
Also you have to set mode switch properly(dedicated communication mode) of the G4L-GUEA module. ( refer to reference manual of GLOFA PLC )