Register  |  Login
 
PLC Training Forum
Forum
 
  Forum  PLC Programming  Tips, Tricks an...  Tip - Integers in the Control Logix and Compact Logix
Previous Previous
 
Next Next
New Post 1/13/2009 9:33 AM
  AutomationNC
72 posts
Helper


Tip - Integers in the Control Logix and Compact Logix  

Since the Logix processors are 32 bit processors, it actually will slow down your logic computations to use 16 bit integers.  Make sure you use the DINT or double integer type as a minimum.  For instance when performing a math calculation using the 16 bit integer, the processor will have to add steps to convert the 16 bit integer to a 32 bit integer to perform the calculation.  When it achieves the result, it then needs to convert it back to the 16 bit integer to post the result.  In this example the 16 bit integer causes the processor to go through 2 additional conversions than would be necessary if a DINT type had been used.

 
Previous Previous
 
Next Next
  Forum  PLC Programming  Tips, Tricks an...  Tip - Integers in the Control Logix and Compact Logix
  
 

 

  
Like this Site?

Check out our PLC Training Facebook site and "like" us!

Click Here!

  
Squidoo

Checkout our new Squidoo lens!  We have posted an interview with Russell White on PLC training.

To see it Click Here!

Let't wake up Squidoo and let them know we are here!

  
Terms Of Use  |  Privacy Statement
Home  |  Subscriptions  |  Training Videos  |  PLC Training  |  Articles  |  PLC Training Forum  |  Contact  |  About Us
Copyright © 2008 - 2011 by Automation Technologies, Inc. - All Rights Reserved