4/17/2017 1:48 PM | |
Posts: 2826 Rating: (684) |
Hello.
EPSILON is a small number. Siemens uses 1.0E-6 as default. Reference: https://support.industry.siemens.com/cs/attachments/109479728/109479728_LGF_DOC_V3_0_0_en.pdf, page 30 - 31 |
4/18/2017 11:23 AM | |
Joined: 12/9/2010 Last visit: 10/8/2022 Posts: 623 Rating: (76) |
hi List, you should use jump after comparison as below- L DB10.DBD0 : 0.05 L 10.0 *R T MD100 L DB10.DBD4 : 0.5 == R jcn end0 S M200.0 end0: nop 0 |
If you like the comment, rate it (right top) or thank it (left bottom). |
|
This contribution was helpful to1 thankful Users |
4/19/2017 6:33 AM | |
Posts: 664 Rating: (17) |
Dear Sachinpatke, Thanks for the reply given. Please clear some of my doubt : If i am jumping, the bit i need M200.0 will never get on. In my project i have to compare these real values and have to process some other logic with result m200.0. Is there any other solution to compare these values and put on memory bit when result ok. Thanks&Regards, |
4/19/2017 6:35 AM | |
Posts: 664 Rating: (17) |
Dear #dP, Thanks for the reply.. I am working with S7-300. there is having any option like mentioned by you in S7-300.?? Thanks&Regards, |
4/19/2017 6:52 AM | |
Posts: 2826 Rating: (684) |
See what you can do with: https://support.industry.siemens.com/cs/de/en/view/24000326 |
This contribution was helpful to1 thankful Users |
Follow us on