bill n tn

MrPLC Member
  • Content count

    7
  • Joined

  • Last visited

Community Reputation

0 Neutral

About bill n tn

  • Rank
    Newbie

Profile Information

  • Country United States
  1. Status files

    Can't say concerning the status file. but there is a folder in the Cotnroller Tree called "Power Up Handler". The programs and routines you palce here will execute on power up. I think reading the help about the Power Up handler might be what you are looking for. You probably need to do the same activities after returning from program mode. Use the S:FS (first scan) status flag for this sort of thing. Thanks for the ideas!
  2. Status files

    ControlLogix family controllers don't have pre-defined Status files like PLC-5 and SLC-500 controllers. There are a handful of pre-defined tags, like "S:FS" for first scan and flags for overflow, etc. There's a lot of controller status and diagnostic data, in fact probably more than the SLC/PLC. But it's not automatically made available to the User program. Instead, two special instructions called Get System Variable and Set System Variable are used (GSV and SSV). The Help file has an excellent reference under "GSV/SSV Objects". For example, if you want to read the scantime for the continuous task, in the SLC you'd reference S:3 or S:35. In the ControlLogix, you execute a GSV instruction to read the scantime of the current task. It takes a little more labor, but considering how seldom I access the S: file in my program in an SLC, I can see why it's on-demand in the ControlLogix. Do you have a specific Status function you're trying to access ? I need to know if the processor has lost power (rebooted). I have a machine that has some tasks that need to be done after the power has been cycled before it will run properly and I was thinking there could be a status file to show this.
  3. anyone know if there is a list of the status files for compact and control logix with their descriptions? is this something I will have to gather in the different manuals?
  4. at one time I was using the real(floating point) but I was div by 60 instead of multiplying. Thanks for the help!!!!!
  5. I am creating a count down timer in a control logix , I have subtracted the acc from the preset and dumping this in a dint called remaining time and i want to display this in minutes and seconds. I can get the minutes working but I am having trouble with the seconds. I am div the remaining time by 60000 to get the minutes and putting this into a dint called minutes. I have tried div tag minutes buy 1000 and this does not work. I am displaying this in a PV+. I am fairly new to Allen Bradley, any suggestions?
  6. RSLogix 5000

    Thanks! I will try this today and hopefully I will figure it out. Thanks again
  7. I have just started learning the new RSLogix 5000 version 16 and I need some help. Does anyone know how to set up a sequence output in this software? I know how to in RSLogix 500 but with this new tag base I don't know how to set up my tags. I usually use a b3 word to hold my sequences but I have not got a clue how to set something like this up in this new tag base style. Can anyone help?