Simpson Gima Instruction Manual Download Page 14

14

4.4.3 Cyclic Redundancy Check

A 16-bit CRC field is tagged on to the end of all messages.  This filed is the result
of a CRC calculation performed on the message contents.  The CRC field is used
by the host and receiving devices alike to determine the validity of the entire mes-
sage string.  A receiving device recalculates the CRC and compares it to the value
contained in the message.  A slave device ignores a message if the two values do
not match.

NOTE:

Use of the CRC is essential when communication in noisy environments

to reduce the effects of erroneous bit errors.  The meter will not reply to
commands with a CRC in error and the host should retransmit the com-
mand after a predetermined time-out period.  If the host receives a string
with a CRC in error, the transaction should be re-initiated.

The CRC is calculated no all bytes of a message from the address to the last data
byte inclusively.  Each bit of the message is processed through the CRC calcula-
tion starting with the first bit of the address.  The Modbus standard method of CRC
calculation requires reversal of the data bytes as they are fed serially through the
bit processing routines.  A simpler method involves swapping the low and high
order bytes of the CRC integer at the end of the calculation.  This is shown in the
following routine.

1

Load a 16-bit register (CRC Register) with FFFF Hex. (all1’s).

2

Exclusive-OR the first eight bits of the message with the low-order byte of the
CRC register.  Put the result in the CRC register.

3

Shift the CRC register one bit to the right (divide by two), filling the MSB with
a zero.

4

If the bit shifted out in three is a one, Exclusive-OR the CRC register with the
value A001 Hex.

5

Repeat steps 3 and 4 until eight shifts have been performed and the bits
tested.  A single byte has thus been processed.

6

Repeat steps 2 to 5 using the next eight-bit byte of the message until all bytes
have been processed.

7

The final contents of the CRC register are tagged on to the end of the mes-
sage with the most significant byte first.

8

Swap the low and high order bytes of the integer result.

19

4.5.3 Table 12 Additional Instantaneous Values

Notes:

4. Use “Power Scale” at address 2840 to convert to real W, VA or var.

4.5.4 Table 13 Peak Values

Notes:

5. Use “Amps Scale” at address 2837 to convert to real peak hold amps.
6. Use “Ph Volts Scale” at address 2838 to convert to real peak hold

volts.

7. Use “Power Scale” at address 2840 to convert to real peak W MD.
8. Peak kW MD & MD Period may not be written using Command 16.

4.5.4.1 Instantaneous/Peak Values

Instantaneous and peak measurements available for display on a GIMA are stored
in Modbus Table 11-13 as Signed Integers.  Parameters not available on an indi-
vidual meter are returned as zero.  Negative values are used for per phase/system
kvar and PF readings to represent capacitive loads.  All other values will be re-
turned as positive integers.

t

e

s

ff

O

s

s

e

r

d

d

A

s

t

n

e

t

n

o

C

t

a

m

r

o

F

s

e

t

y

B

s

d

r

o

W

s

s

e

c

c

A

0

2

7

0

3

A

V

k

1

e

s

a

h

P

t

n

I

d

e

n

g

i

S

2

1

d

a

e

R

4

1

3

7

0

3

A

V

k

2

e

s

a

h

P

t

n

I

d

e

n

g

i

S

2

1

d

a

e

R

4

2

4

7

0

3

A

V

k

3

e

s

a

h

P

t

n

I

d

e

n

g

i

S

2

1

d

a

e

R

4

3

5

7

0

3

r

a

v

k

1

e

s

a

h

P

t

n

I

d

e

n

g

i

S

2

1

d

a

e

R

4

4

6

7

0

3

r

a

v

k

2

e

s

a

h

P

t

n

I

d

e

n

g

i

S

2

1

d

a

e

R

4

5

7

7

0

3

r

a

v

k

3

e

s

a

h

P

t

n

I

d

e

n

g

i

S

2

1

d

a

e

R

4

t

e

s

ff

O

s

s

e

r

d

d

A

s

t

n

e

t

n

o

C

t

a

m

r

o

F

s

e

t

y

B

s

d

r

o

W

s

s

e

c

c

A

0

8

2

3

3

1

l

d

l

o

H

K

P

t

n

I

d

e

n

g

i

S

2

1

e

ti

r

W

/

d

a

e

R

5

1

9

2

3

3

2

l

d

l

o

H

K

P

t

n

I

d

e

n

g

i

S

2

1

e

ti

r

W

/

d

a

e

R

5

2

0

3

3

3

3

l

d

l

o

H

K

P

t

n

I

d

e

n

g

i

S

2

1

e

ti

r

W

/

d

a

e

R

5

3

1

3

3

3

1

V

d

l

o

H

K

P

t

n

I

d

e

n

g

i

S

2

1

e

ti

r

W

/

d

a

e

R

6

4

2

3

3

3

2

V

d

l

o

H

K

P

t

n

I

d

e

n

g

i

S

2

1

e

ti

r

W

/

d

a

e

R

6

5

3

3

3

3

3

V

d

l

o

H

K

P

t

n

I

d

e

n

g

i

S

2

1

e

ti

r

W

/

d

a

e

R

6

6

4

3

3

3

D

M

W

k

k

a

e

P

t

n

I

d

e

n

g

i

S

2

1

e

ti

r

W

/

d

a

e

R

8

,

7

7

5

3

3

3

d

o

ir

e

P

D

M

t

n

I

d

e

n

g

i

S

2

1

e

ti

r

W

/

d

a

e

R

8

8

6

3

3

3

D

M

W

k

t

n

I

d

e

n

g

i

S

2

1

y

l

n

O

d

a

e

R

Summary of Contents for Gima

Page 1: ...NS MODULE INSTRUCTION MANUAL 32 SIMPSON ELECTRIC COMPANY 520 Simpson Avenue Lac du Flambeau WI 54538 0099 715 588 3311 FAX 715 588 3326 Printed in U S A Part No 06 116937 Edition 2 06 07 Visit us on the web at www simpsonelectric com ...

Page 2: ...ctured by it to be free from defects in material and workmanship under normal use and service its obligation under this warranty being limited to making good at its factory or other article of equipment which shall within one 1 year after delivery of such instrument or other article of equipment to the original pur chaser be returned intact to it or to one of its authorized service centers with tr...

Page 3: ... m 7 8 W l e n a p d n i h e b m m 0 3 1 m m 8 3 1 x m m 6 9 x m m 6 9 t h g i e W g 0 0 2 x o r p p A s l a n i m r e T m m 0 4 2 0 e g a C g n i s i R 2 s r o t c u d n o C s m m o C l a i r e S s u b d o M e p y T s u B g n i d a o L X R e v i r D X T x e l p u D f l a H V 0 s e r i W 2 4 5 8 4 S R 2 2 4 S R e l u d o M s n o i t p O r e p d a o L t i n U 4 1 s d a o L t i n U 2 3 l o c o t o r...

Page 4: ...taneous Peak Values 20 4 5 5 Table 14 Meter Set up 20 4 5 5 1Meter Set up Values 21 4 5 6 Table 15 Peak Current and Voltage Demand 21 4 5 7 Table 16 Current and Voltage Demand 22 4 5 8 Function 04 or 03 Read Multiple Registers 22 4 5 9 Function 06 Preset a Single Register 23 4 5 10 Function 08 Loop Back Diagnostic 25 4 5 11 Function 16 Preset Multiple Registers 26 4 5 12 Exception Responses 27 4 6...

Page 5: ...les refer to section 4 5 The All Value unit provides access to all parameters shown in the table in section 4 5 Both types of Options Units provide access to standard programmable meter set tings such as CT primary 28 Exception Response EXCEPTION FUNCTION CODE All normal function types have a most significant bit of 0 80 Hex In an Excep tion Response the meter sets the MSB to 1 adds 80H to the rec...

Page 6: ...on errors and can handle the query it will reply with a normal response If the Options Unit does not receive the message due to a communication failure no response will be returned and the host will eventually time out If the Options Unit receives the message but detects a communication error via its CRC no response will be returned and the host will time out If the Options Unit receives the query...

Page 7: ...al Scroll through the program settings using until the meter displays Baud Rate 1 Press to select the next highest available baud rate setting 2 Press to select the next lowest available baud rate setting 3 Press and hold for two seconds to finish r t 26 4 5 11 Function 16 Preset Multiple Registers Description This function allows a number of registers in a meter table to be set by the host in a s...

Page 8: ...or more meters connected in a multi drop network have the same address data on the network will be corrupted and communication will fail r 25 4 5 10 Function 08 Loop Back Diagnostic Description This function provides a simple means of testing the communication network and detecting if a particular meter is present This command is not available as a broadcast command as it requires a return data pa...

Page 9: ...ter on the bus Certain commands allow the host to transmit commands or data to all meters simultaneously These com mands are known as broadcasts and use address 0 The RS 485 standard en ables reliable communication over a maximum distance of 1200 meters Standard line repeaters may be installed to increase the maximum distance of an RS 485 network and or the number of devices that may be connected ...

Page 10: ...ures half duplex operation in RS 485 mode with data direction control The RS 422 standard enables reliable communication over a maximum distance of 1200 meters Standard line repeaters may be in stalled to increase the maximum distance of an RS 422 network and or the num ber of devices that may be connected 23 Meter Response The example shows a replay of 6 bytes 3 integers as 3 ph kW 570 02 3A Hex ...

Page 11: ... 5 8 Function 04 or 03 Read Multiple Registers Description This function allows a number of registers from a meter table to be read in a single operation This command is commonly used to obtain instantaneous energy or set up data from the meter This command is not available as a broadcast com mand as it requires a return data packet from the meter Host Request The example above shows a read of thr...

Page 12: ...nd of each message is marked by a silent period of at least 3 5 character periods approximately 3 5ms 9600 baud This is shown in the RTU message from in figure 4 6 Figure 4 6 RTU Framing T R A T S S S E R D D A N O I T C N U F A T A D C R C D N E D O I R E P T N E L I S S T I B 8 S T I B 8 S T I B 8 x n S T I B 6 1 D O I R E P T N E L I S 21 4 5 5 1 Meter Set up Values Information about the GIMA c...

Page 13: ... i t l u M d a e R o N 4 0 s r e t s i g e R e l p i t l u M d a e R o N 6 0 r e t s i g e R e l g n i S a t e s e r P s e Y 8 0 c i t s o n g a i D k c a B p o o L o N 6 1 s r e t s i g e R e l p i t l u M t e s e r P s e Y 20 4 5 4 2 Scaling Instantaneous Peak Values Instantaneous readings from the GIMA are provided as Signed Integer values with no decimal point or legend e g kW or MW Scaling fa...

Page 14: ... final contents of the CRC register are tagged on to the end of the mes sage with the most significant byte first 8 Swap the low and high order bytes of the integer result 19 4 5 3 Table 12 Additional Instantaneous Values Notes 4 Use Power Scale at address 2840 to convert to real W VA or var 4 5 4 Table 13 Peak Values Notes 5 Use Amps Scale at address 2837 to convert to real peak hold amps 6 Use P...

Page 15: ...t address 2840 to convert to real W VA or var t e s f f O s s e r d d A s t n e t n o C t a m r o F s e t y B s d r o W s s e c c A 0 6 1 8 2 h P 3 W k r e g e t n I d e n g i S 2 1 y l n O d a e R 4 1 7 1 8 2 h P 3 A V k r e g e t n I d e n g i S 2 1 y l n O d a e R 4 2 8 1 8 2 h P 3 r a v k r e g e t n I d e n g i S 2 1 y l n O d a e R 4 3 9 1 8 2 h P 3 F P r e g e t n I d e n g i S 2 1 y l n O ...

Page 16: ... e R 7 9 1 5 o L d n I h r a v k 8 0 2 5 i H p a C h r a v k g n o L d e n g i s n U 4 2 e t i r W d a e R 9 1 2 5 o L p a C h r a v K 17 4 5 1 2 Writing to Energy Registers Function 6 or 16 may be used to write to the energy registers in Table 2 Function 6 allows access to the upper and lower integers of the 4 byte long individually Upper integers have a maximum write value of 0x00F preventing ou...

Reviews: