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
cLAN-MQ User Manual
Embedded MODBUS master Configuration
34 / 73
Содержание cLAN-MQ Series
Страница 14: ...2020 11 19 cLAN MQ User Manual cLAN Configurator 13 73 ...
Страница 22: ...Analog inputs cLAN MQ User Manual Physical Inputs Outputs 21 73 ...
Страница 30: ...2020 09 28 cLAN MQ User Manual Features of power supply and inputs outputs 29 73 ...
Страница 59: ...2020 11 20 cLAN MQ User Manual Scripts Publish Subscribe 58 73 ...
Страница 66: ...2020 09 28 cLAN MQ User Manual cLAN2205 MQ 65 73 ...
Страница 69: ...2020 09 28 cLAN MQ User Manual cLAN3404 MQ 68 73 ...