CPU Status

Join Date
Oct 2009
Location
Singapore
Posts
9
Hi

I have L35E Controller. I programmed for reading the status of CPU using GSV function with the attribute name function and class name controller device. I configured the dest as DINT.

I am getting some value but i donot know which status bit corresponds to what?

Means if Controller is RUN mode which bit will show the status...

Regards
G.Vignesh
 
Hi

I have L35E Controller. I programmed for reading the status of CPU using GSV function with the attribute name function and class name controller device. I configured the dest as DINT.

I am getting some value but i donot know which status bit corresponds to what?

Means if Controller is RUN mode which bit will show the status...

Regards
G.Vignesh
I've used a CIP Message to get the processor status and it worked.
Not sure how to do it with GSV.
 
The destination for STATUS is an INT, not DINT, though DINT will work through promotion.

The bit definition for the status is actually given in the online HELP file for the GSV instruction. Look up "Instruction Help", "Input/Output", "GSV"... Scroll down, there is a link to the various GSV Objects.

It isn't a single bit, it is an encoded bitfield to show processor mode, keyswitch position, etc.
 
Both RSLinx Classic and RSLinx Enterprise have CPU status objects that can sense (and allow HMI products to display) the CPU mode even when it is in Fault or Program mode.

The original poster will have to post what "some value" is if he wants more advice.
 
If write the same GSV insruction logic to main routine and aslo the fault routine, then i can get the status even for fault condition. Pls clarify this is ok or not
 

Similar Topics

Good afternoon, I have a Simatic S5 / S5-135U with three CPU 928B. The PLC is not operating due to a BASP error. On two of the CPU boards only...
Replies
5
Views
1,077
Hello everyone, I have 8xS71200 cpu fitted profinet with Wincc RT on pc station .I use tia portla v13 sp1 and i want to check and show current...
Replies
9
Views
9,594
Hi Everyone, I want to know how i show the cpu status in wincc flexible runtime. i am using the cpu 325-2dp with profibus network. when anyone...
Replies
6
Views
2,116
Hi All. I'm creating several diagnostic screens for the maintenance personnel, displaying the I/O status. Do you know if it's possible to get...
Replies
4
Views
3,730
Hi, does anyone knows what is the problem on an S7-400 cpu in case all the leds are constantly on (not blinking, I think in this case it that...
Replies
8
Views
7,269
Back
Top Bottom