Jump to content
PLC Forum


How to get number of element of a struct pass to FC variant input


AC14
 Share

Recommended Posts

Hi guys, is my first question.

is possible with some function count the number of bit in a struct pass to FC like variant input?

 

ex.:

i have a DB with this struct

 

image.png.e4061cba25fcd82e74bda6b6b0f1cd68.png

 

and a FC with this input

image.png.1ee3c4a8ec1ab1608368344c3f64fad7.png

I pass sistem struct in "IN_System [Bool]" and i want to dynamic count of element in the struct.

Is it possible??

 

Sorry for my english

image.png

Link to comment
Share on other sites


Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...