I would like to pull in multiple registers with one dataset. I attached a screenshot which shows registers R30001 through R30016. As you can see, R30001 has a value of 94, R30005 a value of 138, etc.
This is if I set my PLC data type to Input registers, PLC base address: 30001 and Number of values: 1 the resulting dataset reads 94. If I then change Number of values: 16, the resulting dataset reads 94.
Q: How do I read multiple registers and then separate them to individual analog values? I would assume number of values is delineated by individual registers where value (1) is register R30001, value (2) is R30002...so forth. If diagnostics can read them this easily there must be a simple way to pull these in. Thanks in advance.Modbus_registers.docx
Helllo Scott Krejci,
I took the liberty of inserting the screenshot you reference here in my reply so members of the community can see it from their mobile, etc and do not have to download it. For future reference, to Insert an image into the post, you can use the Insert/Edit Media Icon that lives in the formatting toolbar just above the blank field when you created the text for your post. :)
Best Regards,
Rachelle McWright: Business Development Manager, Dynamic Simulation: U.S. Gulf Coast
In reply to Matt Stoner:
In reply to Scott Krejci:
In reply to Rachelle McWright:
In reply to Bill Sayers:
In reply to Alfred Pol:
Andre Dicaire