ControlLogix read force status in plc program

crawler009

Member
Join Date
Feb 2012
Location
Planet Earth
Posts
239
Hi everyone

i have a customer, who wants to show an alarm on the machine, if the I/O forces are enabled and set, on at ControlLogix L81E with firmware 33.
I thought i would find a easy GSV command, but i didnt find anything (yet).
Or maybe a MSG with CIP Generic Parameter read, also no luck yet.

One way i found, which would probably work (https://literature.rockwellautomation.com/idc/groups/literature/documents/pm/1756-pm015_-en-p.pdf)
is to read the controller log check for a specific message like "forces enabled" or "forces disabled".
Is it possible to read the messages in the PLC?

Does someone know if its possible to get the Status bit (forces enabled/disabled) directly?


Best regards
 

Attachments

  • controller log types.png
    controller log types.png
    58.6 KB · Views: 10
Last edited:
The document you cite above, chapter 4. Use the GSV instruction shown on page 48. Your Dint will have the info you're looking for. Easiest way.
 
Use the "Module" Object Class for your GSV
Leave Instance blank
Use "ForceStatus" for the Attribute Name
Enter a Destination INT tag

1711372860135.png

So bit 0 tells you if there are forces installed or not, and bit 1 tells you if force are enabled or not.

1711373360644.png

OG
 
Last edited:

Similar Topics

Hello, So i managed to read the string coming from control logix and put a string display in PanelView 800. Now I am struggling to do the other...
Replies
1
Views
140
This seems to be a very simple thing to do, but I keep getting an 16#0005 Error message "Class or instance not supported". I'm trying to read a...
Replies
0
Views
491
Hello, I inherited a control system one of my predecessors thought it was a good idea to put logic for cant optimization and Kinetix motion...
Replies
15
Views
3,558
I am working on a project, inside an AB CLX, I implemented the Modbus TCP Client AOI published on AB website, to interreact with a Modbus ASCII...
Replies
7
Views
3,560
PLC is ControlLogix 1756-L73 CPU with firmware 28 In the PLC the value for A60[110] is "AT", Style ASCII, Data Type INT. In KEPServerEX I tried...
Replies
4
Views
1,541
Back
Top Bottom