This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Filter modbus register
#9
(27.04.2021, 14:11)admin Wrote: Use "read_swap":"bw"
Make sure that all properties are in lower case, otherwise they'll be ignored. Word swap only affects reading data that spans more than one register - int32, int64 etc. For a single register only byte swap can be applied.

maybe I'm missing something

as for the real analog -> floating 32 everything is ok
as for digital both in reading and writing, I have big problems, even using swap and bitmask
I have a doubt in the SIEMENS S7 1200 PLC I have a single db with real numbers and bits.
Using the PLC as TCP mb_server, are the PLC bits always registers of one word? to read the single bit it is right to use the nit mask, counting that verifying with the reading of the LM I have to swap "bw".
Does this also work in writing the bit?

Thank you
Reply


Messages In This Thread
Filter modbus register - by Frank68 - 27.04.2021, 12:06
RE: Filter modbus register - by Daniel - 27.04.2021, 12:17
RE: Filter modbus register - by Frank68 - 27.04.2021, 12:26
RE: Filter modbus register - by Daniel - 27.04.2021, 12:29
RE: Filter modbus register - by Frank68 - 27.04.2021, 13:07
RE: Filter modbus register - by Daniel - 27.04.2021, 13:13
RE: Filter modbus register - by Frank68 - 27.04.2021, 14:03
RE: Filter modbus register - by admin - 27.04.2021, 14:11
RE: Filter modbus register - by Frank68 - 27.04.2021, 16:25
RE: Filter modbus register - by Daniel - 27.04.2021, 19:49
RE: Filter modbus register - by Frank68 - 28.04.2021, 06:15
RE: Filter modbus register - by Daniel - 28.04.2021, 07:51
RE: Filter modbus register - by Frank68 - 28.04.2021, 09:25
RE: Filter modbus register - by Daniel - 28.04.2021, 09:29
RE: Filter modbus register - by Frank68 - 28.04.2021, 10:01

Forum Jump: