question

Craig DIckson avatar image
0 Likes"
Craig DIckson asked Joerg Vogel answered

Change photoeye blocking and clearing time from code?

Is it possible to change a PE blocking or clearing time from code?

FlexSim 19.1.2
photo eyepe
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

1 Answer

·
Joerg Vogel avatar image
0 Likes"
Joerg Vogel answered

It is a subnode of a simple data node.

Model.find("PE1>variables/localType").subnodes["blockTime"].value=4;

"clearTime" is called the other subnode.

5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.