QUOTE(TWControls @ May 4 2008, 01:54 PM) [snapback]68501[/snapback]
The problem with using heartbeats between the PLC and XYCOM is knowing whether the PLC is in program mode or is faulted
I may not be able to detect the keyswitch position, but I be I can come very close. All you need is a spare output that the XYCOM can read the state of. In the program make an unconditional rung that contains this output. Configure the output to be OFF in program mode and ON in fault mode.
This will give you a RUN/PROGRAM mode indicator. Then add a GSV to keyswitch and you should be able to determine the true keyswitch position
This seems like a good solution. In the past we have used the heartbeat to determine the state but like you said this isn't truly program mode, it could be faulted. The Proface unit is pretty good talking with the Logix 5000, it takes a direct import of the .L5K file and uses that as the tags in the GDU. This issue is not imparative I was just hoping that we could come up with something, the output is probably the best solution I will let you know what I end up doing, it may be one of those things that I don't worry about because it is on a screen that no one besides me will probably look at. Plus most people just open the cabinet to look at the PLC instead of using the screens that I have spent hours developing.