INPUT STATUS
HOLDING REGISTER
INPUT REGISTER
Address
In this parameter we load the address of the query, the value can be between 1 – 65536.
Length
With this parameter we will be able to define the number of registers we want to query, this length can be
1 or 2 according to the type of query.
If the query is of the “Input Status” of “Coil Status” type, the length will necessarily be 1, that is, no
modification will be allowed.
If the query is of the “Input Register” or “Holding Register” type, the length can be 1 or 2, implying that as
a result of the query we will have 16 or 32 bits respectively.
Variable Type
This parameter is very important since it defines how the GRD/cLAN is going to store data received from
a query. The types of variable that we will select depend on the type of queried register and its length.
The types are:
BIT
BIT WORD
INTEGER
INTEGER SIGNED
INTEGER 32 BIT SIGNED
(Address 40001 will get registers 40002:40001)
FLOAT 32 BITS
(Address 40001 will get registers 40002:40001)
INTEGER 64 BITS
(Address 40001 will get registers 40004:40001)
FLOAT 64 BITS
(Address 40001 will get registers 40004:40001)
Swapped
Registers will be ordered in a diferent way in querys with register length greater than one.
INTEGER 32 BIT SIGNED
(Address 40001 will get registers 40001:40002)
FLOAT 32 BITS
(Address 40001 will get registers 40001:40002)
INTEGER 64 BITS
(Address 40001 will get registers 40001:40004)
FLOAT 64 BITS
(Address 40001 will get registers 40001:40004)
Offset
The offset can only be selected when we define the type of variable as “BIT WORD” this means that
from a Modbus query that returns 16 bits we can keep the result of 1 bit. The value of this parameter
goes from 0 to 15, being 0 the LSB and 15 the MSB.
Types of queries
We will now see the types of queries we can create and according to its parameters to which channel we
will be able to add them.
Register type Length
Data type
Offset
Channel
Input Status
1
BIT
-
I or O
GRD-MQ User Manual
Embedded MODBUS master Configuration
37 / 84
Summary of Contents for GRD-MQ Series
Page 26: ...Analog inputs GRD MQ User Manual Physical Inputs Outputs 25 84 ...
Page 33: ...2020 09 28 GRD MQ User Manual Features of power supply and inputs outputs 32 84 ...
Page 74: ...2020 11 20 GRD MQ User Manual Scripts Publish Subscribe 73 84 ...
Page 76: ...Wiring Terminal Blocks 2020 10 05 GRD MQ User Manual GRD1620 MQ 3G 75 84 ...
Page 79: ...2020 10 05 GRD MQ User Manual GRD3621 MQ 3G 78 84 ...
Page 83: ...Wiring Terminal Blocks 2020 10 05 GRD MQ User Manual GRD3534 MQ 3G 82 84 ...