GMPCII communication driver for GIPAM2000 FI/M

 

GMPC II communication driver is the driver to communicate with power meter GIMAC/GIMACII/GIMACIII/GIPAM2000 FI/M model of LSIS Co., Ltd.  in Korea.

GIPAM2000 FI/M model communicate with GMPC controller( GMPC I, GMPC II, GMPC III, GMPC V, ... ) and computer read and write GMPC's data.

 

1. Read settings

 

<Figure 1> is read setting example of GMPC II communication driver for GIPAM2000 FI/M model. 

<Figure 1>  Read setting example of GMPC II communication driver for GIPAM2000 FI/M model

Device part of  <Figure 1> input Com Port(COM1 or TCP/IP, UDP/IP, etc), Baud Rate(38400), Parity Bit(0), Data Bit(8), Stop Bit(1) respectively according to setting of GMPC.

Baud rate, parity bit, data bit, stop bit can set by using switch of rear or front panel(GMPC controller).

 

GMPC II communication driver read schedule for GIPAM2000 FI/M

Read schedule setting parameters are as follows:

1) STATION – GIPAM2000 FI/M controller station number = 0 ~ 255.

2) Controller Model – Model = PAM2000 (when using GIPAM2000 FI/M model).

3) Read data type – Data type = 0, 1, 2, 3.... ( Cmd - 10h, refer to reference manual of GIPAM2000 FI/M )

4) Save Start Address for Communication Server – saveing start address of Communication Server.

5) Read Size – Read size.  Fixed according to read data type. ( Refer to <Table 1> ~ <Table 2> )

6) Sub1 command - Input Sub1 command according to controller model.

7) Sub2 command - Input Sub 2 command according to controller model.

 

Read schedule example)

READ,    2, PAM2000,     0,    0,   1,

FLOAT,   2, PAM2000,     1,   15,   1,

FLOAT,   2, PAM2000,     2,   20,   1,

FLOAT,   2, PAM2000,     3,   25,   1,

FLOAT,   2, PAM2000,     4,   30,   1,

FLOAT,   2, PAM2000,     5,   35,   1,

 

<Table 1> is data saving address and contents for each read type.

<Table 2> is each bit value for I/O status read command.

 

Note) Data type = Cmd number - 10h. Please refer to GPAM2000 FI/M reference manual for more information about Cmd, Sub1, Sub2, etc.

Data type Contents Data size and unit Data Saving Address
0 Read of I/O status 12 BYTE ( Bit data ) Refer to <Table 2>
1 Read of R, S, T phase current 3 Float data Start Add +  0 ~ 2 : Ir, Is, It  phase current
2 Read of Vab, Vbc, Vca voltage Start Add +  0 ~ 2 : Vrs, Vst, Vtr voltage
3 Power factor,active/reactive power Start Add +  0 ~ 2 : power factor,total active/reactive power
4 Frequency, amount of total active/reactive power Start Add +  0 ~ 2 : frequency, amount of total active/reactive power
5 Read of Va, Vb, Vc phase voltage Start Add +  0 ~ 2 : Vr, Vs, Vt  voltage
6

zero-phase sequence voltage,

 zero-phase sequence current,

bus voltage

Start Add +  0 : zero-phase sequence voltage
Start Add +  1 : zero-phase sequence current
Start Add +  2 : B  bus voltage
7 phase difference( energy ) Start Add +  0 ~ 2 : phase difference Va-Ia, Vb-Ib, Vc-Ic
8 R, S, T phase apparent power Start Add +  0 ~ 2 : R, S, T phase apparent powe
<Table 1> Data saving address and contents for each read type
Data Saving Address  Contents

Bit value for each bit

Remarks

Start Add + 0 DI status 1

7 Bit = DI_01, 6 Bit = DI_02,

5 Bit = DI_03, 4 Bit = DI_04,

3 Bit = DI_11, 2 Bit = DI_12,

1 Bit = DI_14, 0 Bit = DI_14,

 

Start Add + 1 DI status 2

7 Bit = DI_21, 6 Bit = DI_22,

5 Bit = DI_23, 4 Bit = DI_24,

3 Bit = DI_31, 2 Bit = DI_32,

1 Bit = DI_34, 0 Bit = DI_34,

 

Start Add + 2 DI status 1

7 Bit = DI_41, 6 Bit = DI_42,

5 Bit = DI_43, 4 Bit = DI_44,

3 Bit = R/L, 2 Bit = ---,

1 Bit = ---, 0 Bit = ---,

Remote = 1,

Local = 0

Start Add + 3 Event

7 ~ 1 Bit = ---, 0 Bit = Event,

Event : 1 = exist, 0 = don't exist

Start Add + 4 DO status 1

7 Bit = DO_01, 6 Bit = DO_02,

5 Bit = DO_25, 4 Bit = DO_24,

3 Bit = DO_23, 2 Bit = DO_22,

1 Bit = DO_21, 0 Bit = DO_15,

 

Start Add + 5 DO status 2

7 Bit = DO_14, 6 Bit = DO_13,

5 Bit = DO_12, 4 Bit = DO_11,

3 Bit = CB1 OFF, 2 Bit = CB1 ON,

1 Bit = CB2 OFF, 0 Bit = CB2 ON,

 

Start Add + 6 System status

7 Bit = PWR, 6 Bit = ---,

5 Bit = ---, 4 Bit = DO_04,

3 Bit = DIGE, 2 Bit = PALM,

1 Bit = DO_03, 0 Bit =---,

PWR : Power Fail,

DIGE : DIGN error,

PALM : Pre-Alarm

Start Add + 7 Controller ID

96h = FI, 97h = M

 

Start Add + 8 Relay status 1

7 Bit = ---, 6 Bit = ---,

5 Bit = 67N, 4 Bit = 51LR,

3 Bit = 49, 2 Bit = 68,

1 Bit = 67G, 0 Bit = 46,

 

Start Add + 9 Relay status 2

7 Bit = 64, 6 Bit = 59R,

5 Bit = 59S, 4 Bit = 59T,

3 Bit = 25, 2 Bit = ---,

1 Bit = ---, 0 Bit = ---,

 

Start Add + 10 Relay status 3

7 Bit = 271R, 6 Bit = 271S,

5 Bit = 271T, 4 Bit = 27RR,

3 Bit = 27RS, 2 Bit = 27RT,

1 Bit = 47P, 0 Bit = 47N,

 

Start Add + 11 Relay status 4

7 Bit = 51N, 6 Bit = 50N,

5 Bit = 51R, 4 Bit = 51S,

3 Bit = 51T, 2 Bit = 50R,

1 Bit = 50S, 0 Bit = 50T,

 

<Table 2> Each bit value for I/O status read command

GMPC II communication driver store the same data in WORD, DWORD, FLOAT memory, but the data format are different.

If you click the icon  in protocol option part, you can see the dialogue box such as <Figure 2>. you can also set read schedule by using this part. 

<Figure 2> Example of GMPC II communication driver¡¯s Option dialogue box

 You can set read schedule by using , , button and listbox of <Figure 2>.

<Figure 3> Example of GMPC II communication driver¡¯s read schedule Add/Edit dialogue box

When you click Add button or Edit button in dialogue box of <Figure 2>, dialogue box of <Figure 3> is shown.

 

2. Writing settings

You can write GIPAM2000 FI/M equipment's setting value by using write settings. 

 

Note) Write for GIPAM2000 FI/M can control when the equipment's setting is 'remote'.

 

Digital Write

Digital write setting parameters are as follows:

1)  PORT                   Port no. (0 ~ 255)

2)  STATION             GIPAM2000 FI/M controller station number = 0 ~ 255.

3)  ADDRESS          Control or reset type(hex-decimal unit), refer to <Table 3> ~ <Table 4>.

4)  Extra1                   Model name = PAM2000. ( GIPAM2000 FI/M model )

5)  Extra2                   Selection of Control or Reset command.

0 – Control command,

1 – Reset command. 

Address

Command contents of control

Remarks

0001

CB1 ON

Only write when 'Remote' mode

0002

CB2 ON

000D

CB1 OFF

000E

CB2 OFF

0026 ~ 002C

Control Contact 1 ~ 8 ON

002D ~ 0034

Control Contact 1 ~ 8 OFF

<Table 3> Setting element and command contents for control command

Address

Command contents of reset

0000

CB1 Run Time Reset

0001

Active Energy Reset

0002

Reverse Active Energy Reset

0003

Reactive Energy Reset

0006

Current Peak Demand Reset

0007

Reactive Power Peak Demand Reset

0008

Active Power Peak Demand Reset

0009

Current Over Demand Reset

000A

VAR Over Demand Reset

000B

W Over Demand Reset

000D

Operating Time Reset

000E

Fault Reset

0010 ~ 0011

CB1, CB2 ON Count Reset

0012 ~ 0015

OUT01 ~ OUT04 ON Count Reset

0017 ~ 001B

OUT11 ~ OUT15 ON Count Reset

001C

Io max Reset

001E

All Event Record Reset

001F

All Fault Record, Value, Wave Reset

0020

All Backup Data Reset

0021 ~ 0025

OUT21 ~ OUT25 ON Count Reset

0026

CB2 Run Time Reset

<Table 4> Setting element and command contents for reset command

Write example 1)

PORT : 0  Station : 2,  ADDRESS : 0001,  EXTRA1 : PAM2000,  EXTRA2 : 0

The setting parameter shown above is CB1 ON control example for 2 controller station GIPAM2000 FI/M.

CB1 ON write command can control when the controller's setting is 'remote'

 

Write example 2)

PORT : 0  Station : 2,  ADDRESS : 000D,  EXTRA1 : PAM2000,  EXTRA2 : 0

The setting parameter shown above is CB1 OFF control example for 2 controller station GIPAM2000 FI/M.

CB1 OFF write command can control when the controller's setting is 'remote'

 

Write example 3)

PORT : 0  Station : 2,  ADDRESS : 000D,  EXTRA1 : PAM2000,  EXTRA2 : 1

The setting parameter shown above is Operation Time reset example for 2 controller station GIPAM2000 FI/M.

 

Analog Write

GMPC II communication driver for GIPAM2000 FI/M model don't support analog write.

 

3. Connection of main power and communication cable

 Connection of main power and communication cable are as follows.

 

Connection of main power

Please connect 110 V AC or DC main power to 14, 29 connector at GIPAM2000 FI/M controller's rear panel such as <Figure 4>.

<Figure 5> is appearance of  GIPAM2000 FI/M controller.

 

Note) GIPAM2000 FI/M controller's Password input method : you can input 'password' by using 'UP' and 'Down' button of frong panel. ( Inital(default) Password : 0000 )

<Figure 4> Connection example of main power and communication cable to GIPAM2000 FI/M controller

<Figure 5> Appearance of  GIPAM2000 FI/M controller

Connection of I-NET communication cable

Please connect I-NET RS-485 communication cable to 84 ( Rx0 ),  69 ( Rx1 ), 83 ( Tx0 ), 68 ( Tx1 ) connector such as <Figure 4>.

 

Note) When you connect GIPAM2000 FI/M and GMPC, you have to connect Rx = Tx, Tx = Rx respectively. ( I-NET cable = offered by LSIS Co., Ltd. when you buying GMPC or GIPAM2000 FI/M)

 

4. Setting of GMPC V

Connection of GMPC V almost equal with GMPC III. So you can refer to connection of GMPC III part.

<Figure 6> is apperance of GMPC V controller.

<Figure 6> Apperance of GMPCV controller

Note) Password input method : you can input 'password' by using 4 button of frong panel. ( Inital(default) Password : press 'FUNCTION', 'SELECT', 'UP', 'ENTER' button 2 times by turns )

 

Setting of GMPC V)

1. Time & Date   :  Date and Time setting of GMPC V.

2. Model   :  Model, protocol and communication method of  GMPC V.

Model | Protocol  : select GMP(I-NET protocol of GMPC) or MODBUS protocol,

Model | Media   : select communication media of GMPC V.

Model | Main Port :  select Primary(P) or Secondary(S).

3. Serial   :  select Com1 or Com2 port of GMPC V.

4. Network(This)  : select LAN1, LAN2 Ethernet port.

Network(This) | Ethernet Port  : select primary ethernet port of GMPC V.

Network(This) | IP_0  :  input IP Address of Primary Ethernet,

Network(This) | Port_0 No_0  :  input Port number of Primary Ethernet,

Network(This) | Netmask_0  :  input Subnet mask of Primary Ethernet,

Network(This) | Gateway_0  :  input Gateway IP Address of Primary Ethernet,

Network(This) | Host_IP0   :  input Host(PC, etc) IP Address of Primary Ethernet.

 

After setting GMPC V controller, save the setting by using 'ENTER' button.

Also, you have to reset(power off and power on) in order to apply the setting value. (don't reset, GMPC V use the old setting value)

 

Note) When you using the 'Ethernet' communication, you have to set Host(PC, etc) IP address at GMPC V controller.

Also if you don't use gateway at network, please set 'Gateway' IP address to '0.0.0.0'.

 

Note) You must input power for the first time of GIMAC-IV, etc, and input power GMPC V.

If you input power GMPC V the first and input GIMAC-IV, etc, GMPC V can't find connected equipment. So it may not be able to communicate with connected equipment.