11/24/2015 1:31 PM | |
Joined: 2/23/2013 Last visit: 5/29/2024 Posts: 11 Rating: (0) |
I have recently started using UDF blocks, which are useful to simplify a program layout. i have noticed that the behaviour in real instalations is different to simulation. Unconnected inputs appear to be floating high and giving an output. i have now connected status 0 to these inputs. Has anyone else encountered this? i am worried the simualtion behaviour is not consistent. i have added PDF of UDF and also link to file below. no input was present on the "pump" but the alarm output still became active? AttachmentLOGO!Soft Comfort - SENS027 - pressure.pdf (208 Downloads) |
Last edited by: Jezza at: 11/24/2015 4:56:23 PMLast edited by: Jezza at: 11/24/2015 5:38:55 PMLast edited by: Jezza at: 11/24/2015 7:07:24 PM |
|
11/24/2015 1:57 PM | |
Joined: 12/18/2014 Last visit: 11/18/2024 Posts: 34239 Rating: (4263) |
Can you upload your UDF to the forum? |
11/24/2015 4:56 PM | |
Joined: 2/23/2013 Last visit: 5/29/2024 Posts: 11 Rating: (0) |
added a PDF. |
11/24/2015 5:28 PM | |
Joined: 12/18/2014 Last visit: 11/18/2024 Posts: 34239 Rating: (4263) |
You must zipped the lma-file and then upload the ZIP-file. |
11/24/2015 5:39 PM | |
Joined: 2/23/2013 Last visit: 5/29/2024 Posts: 11 Rating: (0) |
ok, i have added a link instead. |
11/24/2015 6:02 PM | |
Joined: 12/18/2014 Last visit: 11/18/2024 Posts: 34239 Rating: (4263) |
Which Input do you mean? The analog Input? |
11/24/2015 6:43 PM | |
Joined: 12/18/2014 Last visit: 11/18/2024 Posts: 34239 Rating: (4263) |
In the UDF, which you have uploaded, I can observe no difference between simulation and online. In both cases, the analog input is not wired. The output Q1 switches because no pulses are present and negates the output of the B056 turn to the input of ON / OFF. After one minute delay B057 on by. Just as it has been programmed, the UDF performs its function. AttachmentTest_online_and_simulation.wmv (190 Downloads) |
This contribution was helpful to1 thankful Users |
11/24/2015 7:13 PM | |
Joined: 2/23/2013 Last visit: 5/29/2024 Posts: 11 Rating: (0) |
Apologies, wrong file uploaded, have a look at the attachment there is an AND block. there was no connection from the pump but the output still came on? AttachmentSENS027 - pressure.zip (214 Downloads) |
Last edited by: Min_Moderator at: 11/25/2015 2:24:38 PMAdd attachment in Forum |
|
11/24/2015 7:38 PM | |
Joined: 12/18/2014 Last visit: 11/18/2024 Posts: 34239 Rating: (4263) |
The problem is the AND block. The connector "I1 (pump on)" on the AND block in the UDF has the same effect as if the legs would not be not connected to the AND block without external wiring. Then works only the negation of the analog comparator. AttachmentTest2.wmv (214 Downloads) |
This contribution was helpful to1 thankful Users |
Follow us on