![]() |
||
|
This board is for PLC Related Q&A ONLY. Please DON'T use it for advertising, etc. |
||
| ||
New Here? Please read this important info!!!
|
|
#1 |
|
Member
![]() Join Date: Oct 2003
Location: USA
Posts: 130
|
First Pass Bit RSLogix 5000
Hello guys, does anyone know if there is such a bit as a first pass bit like in the 500 family, in the 5000 family. I tried searching ab's site but everyone knows how great that is. Thanks for your time
|
|
|
|
#2 |
|
Lifetime Supporting Member
|
For bit addresses, S:FS is a first scan flag for Logix processors.
http://domino.automation.rockwell.co...F?OpenDocument Is a listing of other status file equivilants. Be warned on the S:FS though, if you have additional timed or other tasks, you should latch your own global bit in a scheduled cylic task, or better, one global bit for each task you have configured. Then use the global 'per task' first scan bits if needed in each task.
__________________
------------------------------------ How to ask questions the SMART Way! Look First, Ask Second! Last edited by rdrast; December 30th, 2003 at 02:15 PM. |
|
|
|
#3 |
|
Member
|
|
|
|
|
#4 |
|
Member
![]() Join Date: Sep 2009
Location: chi
Posts: 6
|
first pass in rslogix5000
I have the same question I need to know how to set or reset some parameters at power up
|
|
|
|
#5 |
|
Lifetime Supporting Member + Moderator
|
Since you have the same question, the same answer should apply, right ?
![]() "S:FS" is a boolean system tag in the Logix 5000 family of controllers that is true only on the first scan of the continuous task. It is often used as the address for an ordinary Examine If Closed (XIC) instruction in ladder logic. " ---] [----" If you need to use a first-scan function in a conditional subroutine or periodic or event-driven task, use the First Scan tag to latch another global tag that can be used in those tasks. I often use the S:FS bit to perform RES, COP, and FLL instructions, as well as resetting indexes, timers, and counters to their initial state. |
|
|
|
#6 |
|
Lifetime Supporting Member
![]() Join Date: Sep 2006
Location: Alabama
Posts: 131
|
Ken,
I almost never use a continuous task, but the S:FS has always worked in a periodic task as well. According to KB #34980, each program in the controller has its own first-scan bit. Isn't that the case? |
|
|
|
#7 |
|
Lifetime Supporting Member + Moderator
|
Tip of the hat to Danny.... he's right. My mind was on conditional subroutines, which don't have their own Program databases.
The most important sentence in that Technote is "Each Program in the project has its own individual first scan bit". That means each Program, in each Task (Continuous, Periodic, Event) has its own First Scan bit. Last edited by Ken Roach; July 16th, 2010 at 03:54 PM. |
|
|
|
#8 |
|
Lifetime Supporting Member
|
Just adding, I still use a global set of bits (a DWORD, actually) to trigger first scan initialization of multiple tasks.
Rung 0 of the first continuous routine uses s:fs to set the DWORD so that one bit is set for each task initialization that must be done. As each individual task completes it's initialization, it sets a bit false. I can tell when my initialization is completed by seeing that the DWORD equals zero. That also gives me a handy way to re-trigger initialization logic should the need arise.
__________________
------------------------------------ How to ask questions the SMART Way! Look First, Ask Second! |
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Topics
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Custom Data Monitor in RSLogix 5000 | Oakley | LIVE PLC Questions And Answers | 3 | May 28th, 2007 02:53 AM |
| 10 Bit Encoder Decoder/ GE90-30 | Control Freak | LIVE PLC Questions And Answers | 6 | July 12th, 2005 11:28 AM |
| RSLogix Emulate 5000 | Mike Oakley | LIVE PLC Questions And Answers | 1 | January 15th, 2005 10:50 AM |
| RSlogix 5000 instalation problem | lllerena | LIVE PLC Questions And Answers | 3 | November 30th, 2003 04:31 PM |
| RSLogix 5000 | eastkodakguy | LIVE PLC Questions And Answers | 2 | July 3rd, 2002 11:28 AM |