stickman47 Posted January 5, 2013 Report Posted January 5, 2013 I have a huge problem with an Analog Output project. Normally I would use FC105 and FC106 to accomplish this but, in this program, a previous editor wrote ladder code and STL within FC105. This logic is causing FC105 to not be available. I need to know if there is a way to convert an Integer to a real number, and then back to an Integer for use in a PQW. I am ok with LAD but know nothing about STL or FBD. Currently I am using an Integer, multiplied with MUL_I, to get Analog Out at 0-10VDC. The accuracy is not there since I am using Ingeters, I need to get to Real numbers to properly scale the A/O. Any information would be appreciated.
Moggie Posted January 5, 2013 Report Posted January 5, 2013 (edited) rename.bmp Drag the FC 105 in from the TI-S7 Conversion Library, as FC 105 exists in your program the software will ask if you want to "Rename" or "Overwrite" existing block. Select "Rename" and give it a FC Number that does not exist in your program. Edited January 5, 2013 by Moggie
stickman47 Posted January 5, 2013 Author Report Posted January 5, 2013 Awesome! Sounds too easy to be true, but it makes sense. I will need to do the same with FC106 as the provious programmer screwed that up too. Thanks Moggie!
Moggie Posted January 6, 2013 Report Posted January 6, 2013 (edited) Should have added - "Make a back up of existing program before you do this"........... Edited January 6, 2013 by Moggie
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now