11/24/2015 1:31 PM | |
Joined: 2/23/2013 Last visit: 5/29/2024 Posts: 11 Rating:
|
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 (149 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: 8/17/2024 Posts: 33576 Rating:
|
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:
|
added a PDF. |
11/24/2015 5:28 PM | |
Joined: 12/18/2014 Last visit: 8/17/2024 Posts: 33576 Rating:
|
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:
|
ok, i have added a link instead. |
11/24/2015 6:02 PM | |
Joined: 12/18/2014 Last visit: 8/17/2024 Posts: 33576 Rating:
|
Which Input do you mean? The analog Input? |
11/24/2015 6:43 PM | |
Joined: 12/18/2014 Last visit: 8/17/2024 Posts: 33576 Rating:
|
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 (144 Downloads) |
This contribution was helpful to
1 thankful Users |
11/24/2015 7:13 PM | |
Joined: 2/23/2013 Last visit: 5/29/2024 Posts: 11 Rating:
|
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 (158 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: 8/17/2024 Posts: 33576 Rating:
|
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 (162 Downloads) |
This contribution was helpful to
1 thankful Users |
Follow us on