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 8th, 2009, 04:37 AM   #1
siv
Member
India

siv is offline
 
Join Date: Aug 2005
Location: dubai
Posts: 28
Arrow Access Processor error status in ControlLogix

Hi There,
Can some one tell me how to access the processor error status in controllogix controller.

I have used GSV instruction
as follows
===============================
class name: FaultLog
attribute name: majorFaultBits
Destination: mydestination [DINT]
=================================
class name: ControllerDevice
Attribute Name: Status
Destnation: Mystatusbits [INT]

Ihave placed both the instrucitons (GSV) under controller faultHandler.
When i created a major fault, none of the destination tags contained any value.

OR
Since the controller may not execute any ladder,Is it possible to access those data from other PLCs for example using "CIP Generic message?

Thanks in advance.
Siv
__________________
If the application behaves crazy so the programmer.

Last edited by siv; December 8th, 2009 at 04:49 AM. Reason: more details
  Reply With Quote
Old December 8th, 2009, 05:06 AM   #2
Ken Roach
Lifetime Supporting Member + Moderator
United States

Ken Roach is online now
 
Ken Roach's Avatar
 
Join Date: Apr 2002
Location: Seattle, WA
Posts: 10,858
I have been through this same learning process and was surprised to learn that the FaultLog object gets written after the Fault Routine is executed, so that you cannot grab it as the processor goes through the Fault Routine.

The closest you can get, I recall, is to read the MajorFault Record and MinorFaultRecord using GSV from the Program Object, with "THIS" as the instance name (meaning the Fault Routine's Main Program).

I believe that the Controller state can be read by another controller. I know it's readable as an EntryStatus value when you have a Produced/Consumed tag.

What is most popular, though, is to let RSLinx do the work and use a Pre-Defined Item in your visualization software to show the state of the controller. Look in RSLinx (Enterprise or Classic) help for the Pre-Defined Items, including @Mode, @Status and @StatusNumber.
  Reply With Quote
Old December 10th, 2009, 03:53 AM   #3
siv
Member
India

siv is offline
 
Join Date: Aug 2005
Location: dubai
Posts: 28
Thanks for the info, BTW how do i create a tag in RSView32 application for @status item?
__________________
If the application behaves crazy so the programmer.
  Reply With Quote
Old December 10th, 2009, 04:08 AM   #4
Ken Roach
Lifetime Supporting Member + Moderator
United States

Ken Roach is online now
 
Ken Roach's Avatar
 
Join Date: Apr 2002
Location: Seattle, WA
Posts: 10,858
You have to be using RSView as an OPC server, not with Direct Drivers.

Just create a tag with the OPC Topic name and the pre-defined Item name in place of the Tag or Data Table address.

[ControllerTopic]@status
  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
Reading SLC/ML1100 through Controllogix? esamuelson LIVE PLC Questions And Answers 1 October 8th, 2009 12:40 PM
Remote access to Controllogix lostpatrol1 LIVE PLC Questions And Answers 2 January 7th, 2009 03:40 PM
Simatic Logon V1.3 anotherone LIVE PLC Questions And Answers 4 July 26th, 2007 03:01 AM
Secure Remote/Web Access to ControlLogix AndrewB LIVE PLC Questions And Answers 3 November 5th, 2006 02:18 AM
access path of pc access!! subnet LIVE PLC Questions And Answers 2 June 19th, 2006 10:24 PM


All times are GMT -5. The time now is 11:00 PM.


.