LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

What does this block diagram ??

Solved!
Go to solution

What does this block diagram ??

Corresponds to a VI library Modbus. But I have because if the block is configured to write to multiple coils Coils because Read is set to 1 ??

As part of all this work?

Sorry if the question is beginner.

labviewww.PNG

Es un placer echar una mano siempre( Base de una sana convivencia). Si mi respuesta te sirve por favor agradecemelo con un Kudo 🙂
Un especial saludo a mis hermanos latinos. Un mundo mejor es posible.
0 Kudos
Message 1 of 3
(1,170 Views)
Solution
Accepted by topic author jorge81

In this block diagram, "Read Coils" and "Write Multiple Coils" are enumerated values (or possibly rings, doesn't matter which for the purpose of this explanation). Enumerations assign names to numbers, to make them easier to read. The Read Coils command has a value of 1, the Write Multiple Coils command has a value of 15. You don't need to worry about that number, though, because the enumeration takes care of it for you.

 

The cluster constant containing Read Coils is there just to provide the correct datatype (a cluster with the right elements). Nearly all of the elements of that cluster are overridden by the values wired into the Bundle by Name node. For example the Read Coils value is there as a placeholder for any Function Code; the actual Function Code is set by wiring Write Multiple Coils into Bundle by Name.

Message 2 of 3
(1,165 Views)

You can turn off that little number by right-clicking on the enum and selecting Visible Items->Digital Display.  When the check mark goes away, so should that little number.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 3 of 3
(1,141 Views)