4/23/2012 1:51 PM | |
Posts: 559 Rating: (87) |
Dear All, How can we scale or Unscale into S5 PLC if we don't want to use FB 250 or if FB 250 is not availabe into PLC standard Block lost? How to convert Int to real & Real to Int? If anyone has done this then please reply immediately |
4/23/2012 2:06 PM | |
Joined: 7/18/2011 Last visit: 12/6/2024 Posts: 521 Rating: (91) |
Hi Divyesh, What type of S5 PLC are you talking about? 100U, 115U, 135U ... ? What do you mean with FB 250 is lost? Are you talking about lost in offline program? If so, you can simply upload FB250 from PLC and use it in offline program. And when offline program is completed, then you can download the blocks that use the FB250. You don't have to download FB250 itself. Kind regards, BV |
4/23/2012 2:42 PM | |
Joined: 12/1/2009 Last visit: 10/27/2024 Posts: 672 Rating: (147) |
Dear DIVYESH, is the FB250 not available in your CPU or does your CPU not support floating point arithmeticoperations? In second caseyou can purchasean optional package for handling floating point values 6ES5 845-8GP01 "GP115U" (if still available). The package is originaly developed for S5-115U CPU's but will run on95U & 100U as well (just a bit more slower). The other option would be to develop your own blocks. Regards. |
Give us your feedback and show us your respect! |
|
4/23/2012 4:09 PM | |
Posts: 559 Rating: (87) |
Dear All, I have CPU 135U ( 928A ) in which I want to do the scaling. I have uploaded the whole backup from the CPU.But FB 250 was not available. Please reply how do the scaling in this CPU? |
4/23/2012 4:33 PM | |
Posts: 8946 Rating: (999) |
CPU928A supports floating - point operation, so scaling is absolute no problem! Write a FB by yourself! |
4/23/2012 7:39 PM | |
Joined: 7/18/2011 Last visit: 12/6/2024 Posts: 521 Rating: (91) |
Hi Divyesh, In S5-135U the scaling is done by FB's that you have to purchase separately.Check if there are no function blocks with names RLG:AE (standard number is FB 40) or RLG:AA (FB 41) Order nr for Basic Functions package : 6ES5 842-8AA01 Kind regards, BV |
This contribution was helpful to2 thankful Users |
4/24/2012 7:31 AM | |
Joined: 12/1/2009 Last visit: 10/27/2024 Posts: 672 Rating: (147) |
Hello BeVee , does this package contains the FB250 he is looking for? I could not find it. Please verify. Regards. Here is the link to the manual of the "Basic Function Blocks" package. https://support.automation.siemens.com/WW/llisapi.dll?func=cslib.csinfo&lang=en&objid=19394653&caller=view Except the scaling of analog inputs & outputs I could not find any general scaling block. What I still not understand is that when he makes a complete upload to the PG, the FB250 is not getting transferrerd? At least the block header or something should be there or not? Regards. |
Last edited by: TIBI68 at: 4/24/2012 7:52 AMGive us your feedback and show us your respect! |
|
4/24/2012 7:43 AM | |
Joined: 7/18/2011 Last visit: 12/6/2024 Posts: 521 Rating: (91) |
Hi TIBI68, |
4/24/2012 8:03 AM | |
Joined: 12/1/2009 Last visit: 10/27/2024 Posts: 672 Rating: (147) |
Of course, if he needs to scale his analogs he has to get the function bocks or write his own. I could also not understand that time, why in some CPU's they were coming "free" buildt in, and for other you needed to purchase them seperately. Maybe a sort of Siemens strategy. Regards. |
Give us your feedback and show us your respect! |
|
4/24/2012 9:06 AM | |
Posts: 559 Rating: (87) |
Dear IBN-Service, Thanks for your advice. We have developed our own logic for scaling. But In S5 because of instructions we could not go ahead. I have tried to use floating point direcly but it showing OPID illegal. How Real values directly supports to this CPU? You are requested to give some examples which you have developed related to real values. Only 2-3 lines are enough becasue we just want to see the operands. how to be used? |
Last edited by: SolutionFinder at: 4/24/2012 9:28 AM |
|
Follow us on