12.07.2015 Views

G4 Multi Channel Weighing Instrument. PM/DT/HE Technical Manual

G4 Multi Channel Weighing Instrument. PM/DT/HE Technical Manual

G4 Multi Channel Weighing Instrument. PM/DT/HE Technical Manual

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>G4</strong> <strong>Multi</strong> <strong>Channel</strong> <strong>Weighing</strong> <strong>Instrument</strong>Data representationData sent to and from the instrument uses 16 bit holding registers (40XXX) and canuse different formats for flexibility.IntegerUnsigned integer (1 modbus register)Values stored in one modbus register as an unsigned integer(16 bit number without decimals).Scaled integer (2 modbus registers + 1 modbus register = 3 modbus registers)Values stored in a special 3 register format. The first two registers are used asa 32 bit long integer value (with sign) and the third register is holding the number ofdecimals in the value.Example: 12345678 (32 bit number) in the two first registers and 3 in the third registergive the value: 12345.678.Register Hex Decimal Description1 00BC 188 The 16 most significant bits in the value.2 614E 24910 The 16 least significant bits in the value.3 0003 3 The number of decimals.Calculations in decimal numbers:First multiply the most significant register with 2 16 (65536) and addthe least significant register to the value.188 * 2 16 + 24910 = 12345678Now divide the number to get the right number of decimals. The decimal register wasset to 3 in this example, which gives the value 10 3 = 1000 to divide with.12345678 / 1000 = 12345.678Note: If you want to read weight or flow rate values and your PLC system can’t handle32 bit values, the second register can be used as a 16 bit register with the number ofdecimals that is indicated in the third register. This will limit the value range to -32768to +32767. Flags in Status register for corresponding scale indicates when the weightsare bigger than a 16 bit integer. These flags must be checked to be sure that theweight or flow value fits in just one register.6-25

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!