6/6/2019 8:53 AM | |
Posts: 12 Rating:
|
So my design is the following: 6 inputs consisting of a knob that can choose between 4 settings. On and off buttons. 12 relays and 2 anlog outputs. The program needs to pass different values from UDF to another UDF depending on the settings that have been chosen with the knob. The parameters that I'm passing between the UDF's are time values in seconds and count values in positive numbers ranging from 5 to 10. The time values are passed with no problems what so ever, but the count values are generated in the first UDF but no read by the second UDF. I have mapped the values to differen VM addresses without any succsess. I'm not getting the problem. I was thinking, maybe the target UDF cannot accept values generated from two different UDF's? With a hope of help, Ingvar! ------------------------------------------------------------------------------------------ |
Last edited by: Jen_Moderator at: 06/06/2019 10:18:10New subject after splitting |
|
6/6/2019 8:58 AM | |
Joined: 12/18/2014 Last visit: 12/11/2023 Posts: 31595 Rating:
|
In this case is a screenshot not helpfull. Please upload your program and the UDFs as an ZIP file. |
6/6/2019 9:28 AM | |
Posts: 12 Rating:
|
Hi, sorry about that. Here comes the program itself. UDFs called Chooser and another called Counter should pass their values to all of the UDF's on the right, but I have only for testing purpose connected one of the UDF on the right, called 551.
AttachmentProgram.zip (136 Downloads) |
6/6/2019 9:53 AM | |
Joined: 12/18/2014 Last visit: 12/11/2023 Posts: 31595 Rating:
|
The values are transferred from UDF to UDF. |
Follow us on