4 posts in this topic

Hello, 

I have a micrologix 1400 plc connected to a length measurement gauge. The gauge sends an analog value to the plc to an analog input. I convert the value into a dimension and send it to F8:0. but I need this value in three different steps in the program. Since i just have one element of float (F8:0) is there anyway i can store the value in a different location or create more floating point tags eg. F8:1. F8:2 ? 

 

Thank You 

 

Capture1.PNG

Share this post


Link to post
Share on other sites

Not sure I get what you are going for, but...

You can use the F8:0 as much or as little as you like.

If you intend to "record" the F8:0 to another floating value like F8:1, it's as simple as a COP or MOV command.

Say when the conditions are true in Rung 2, which results in the "latching" of B3/1.  You could create a rung that senses the latching as a rising edge trigger, therefore only used for one scan, then COP or MOV the F8:0 value to F8:1.  Basically, telling you the value at the moment the rung was true.

Share this post


Link to post
Share on other sites

You will need to add more elements to the F8 data file. Right click on the F8 - FLOAT folder and select Properties. Enter the total number of elements desired in the Elements box and click OK or Apply. I'm pretty sure you'll have to do this offline and download the program to the processor.

Share this post


Link to post
Share on other sites

If the value in F8:0 is what you want to use in other places in your program, just go ahead and use it. You can read a memory location as many times as you want.

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now