EasyManua.ls Logo

Flexitron Webdyn WebdynModbus - Page 50

Flexitron Webdyn WebdynModbus
73 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
contact@webdyn.com | webdyn.com
V1.0 subject to changes | Webdyn © by Flexitron Group
50
prexID_MODBUS_TYPE2.ini
# Denition of packets
# Id;Name;ReadFctCode;WriteFctCode;StartReg;NbReg;EnableReading;
EnableWriting;Option1;Option2
Modbus_RequestsTables={
1;voltage;3;0;0;4;1;2
}
# Denition of variables
# Id;ReqId;Name;Type;Signed;Position;Option1;Option2;CoeA;CoeB,
Unit,Action;
Modbus_VariablesTables={
1;1;U1;3;2;1;;;10;0;V;2
2;1;U2;3;2;2;;;10;0;V;2
}
On the server side, a link must be set up between the data received and the corresponding denition
les.
After the data are formatted, we obtain the following results:
Device at address 1:
Counter values:
COUNTER1 COUNTER2 COUNTER3 COUNTER4
27/03/13-09:45:00 32 pulses 52 pulses 5 pulses 102 pulses
27/03/13-10:00:00 35 pulses 57 pulses 5 pulses 108 pulses
Status of outputs:
OUTPUT1 OUTPUT2 OUTPUT3 OUTPUT4
27/03/13-09:45:00 1 0 1 0
27/03/13-10:00:00 1 1 0 0