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.

---------->>>>>Get FREE PLC Programming Tips

New Here? Please read this important info!!!


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

PLC training tools sale

Reply
 
Thread Tools Display Modes
Old December 28th, 2017, 08:18 AM   #1
IdealDan
Member
Malaysia

IdealDan is offline
 
Join Date: May 2017
Location: MA
Posts: 340
How words are in an Integer in PLC5/04 Processor?

Hi Friends!
How many words are in an Integer in PLC5/04 Processor?
In an INTEGER Say N10:0, N10:1, N10:2, N10:3..........N10:x WHAT IS THE ACCEPTABLE MAXIMUM/LIMIT NUMBER or WORD per say? (I mean value for x=?)
  Reply With Quote
Old December 28th, 2017, 09:21 AM   #2
RonJohn
Lifetime Supporting Member
United States

RonJohn is offline
 
RonJohn's Avatar
 
Join Date: Jul 2013
Location: NE Ohio
Posts: 439
Max should be 255. One way to verify would be to create a new offline SLC project in RSLogix500 for the type of processor you have and create a new Integer data file containing, say 1000 elements.

If you need more than 255, I believe there is a setting in the processor status file to allow indexing across data files. (Edit: this method can cause unexpected results & run time faults if used improperly. Be sure to read and understand all SLC programming manuals before attempting)

Last edited by RonJohn; December 28th, 2017 at 09:32 AM. Reason: Indexing across data files caveat emptor.
  Reply With Quote
Old December 28th, 2017, 10:19 AM   #3
undr_the_table
Member
United States

undr_the_table is offline
 
undr_the_table's Avatar
 
Join Date: Jul 2017
Location: places
Posts: 25
Can confirm a integer file has up to 255 integers per file
  Reply With Quote
Old December 28th, 2017, 11:55 AM   #4
OkiePC
Lifetime Supporting Member
United States

OkiePC is offline
 
OkiePC's Avatar
 
Join Date: Mar 2005
Location: ENE of Nowhere Oklahoma
Posts: 9,982
don't forget element 0

Actually you can have a total of 256 elements per integer file in a SLC or Micrologix. The highest element number will be 255.
__________________
It's not all the variables I am most concerned with, it's the undiscovered constants.
  Reply With Quote
Old December 28th, 2017, 01:56 PM   #5
IdealDan
Member
Malaysia

IdealDan is offline
 
Join Date: May 2017
Location: MA
Posts: 340
thanks
  Reply With Quote
Reply
Jump to Live PLC Question and Answer Forum

Bookmarks


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
RSLogix User Fault Routine jthornton LIVE PLC Questions And Answers 17 October 23rd, 2008 03:55 PM
Migrating VB6 IDEA app to VB.Net Extrasoft LIVE PLC Questions And Answers 5 November 4th, 2007 07:13 AM
Ton Timer ICAPALDO LIVE PLC Questions And Answers 41 December 21st, 2004 05:43 PM
COP and CPW commands PhilipW LIVE PLC Questions And Answers 18 October 16th, 2003 08:30 PM
Update/evaluation of internal relays/contacts...PLEASE HELP s_viswesh LIVE PLC Questions And Answers 18 October 14th, 2002 02:58 PM


All times are GMT -5. The time now is 04:19 AM.


.