You are not registered yet. Please click here to register!

plc storereviewsdownloads
This board is for PLC Related Q&A ONLY. Please DON'T use it for advertising, etc.
Try our online PLC Simulator- FREE.  Click here now to try it.

New Here? Please read this important info!!!

Go Back - Interactive Q & A > - Interactive Q & A > LIVE PLC Questions And Answers

Thread Tools Display Modes
Old September 19th, 2015, 07:29 PM   #1
United States

bright676 is offline
Join Date: Nov 2012
Location: va
Posts: 491
Floating integer decimal set (F8)

RSLogix 500

I have a floating integer that I only want to go 2 places to the right of the decimal point(100th) but I can't find the instructions to do so.

Can some one point me in the right direction as to where the I can find this?

  Reply With Quote
Old September 19th, 2015, 09:10 PM   #2
Lifetime Supporting Member
United States

OkiePC is offline
OkiePC's Avatar
Join Date: Mar 2005
Location: ENE of Nowhere Oklahoma
Posts: 10,943
Are you wanting this done in the PLC?

If so, just multiply by 100 and store as an integer (if the whole portion times one hundred is less than 32768) and then divide by 100 again and store as a float.

"floating integer"... I am not going to let that confuse me...maybe you have an integer that represents a floating point value and you need to make the decimal point reappear? If you are using a direct reference to the tag, you'll have to do that in an expression everywhere it is used in Factory Talk (divide by 100). If you are using an HMI tag, look for scaling options to allow it to be done in one place for all references to the tag.
You've been taken, but you don't know it yet.
  Reply With Quote
Jump to Live PLC Question and Answer Forum


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Topics
Thread Thread Starter Forum Replies Last Post
signed and unsigned guest LIVE PLC Questions And Answers 13 September 12th, 2017 01:45 AM
sew movidrive and ipos plus programming liew_sc LIVE PLC Questions And Answers 25 April 19th, 2016 04:46 PM
Omron CX Programmer 9.34 Eddy1910 LIVE PLC Questions And Answers 9 April 15th, 2013 02:26 AM
PID Control Versus PLC DjFab LIVE PLC Questions And Answers 11 May 12th, 2007 11:11 AM
Floating Point to Integer Conversion dan_mah LIVE PLC Questions And Answers 7 April 14th, 2005 05:12 PM

All times are GMT -4. The time now is 09:05 PM.