PLCs I am used to working with have system tags that can be useful to monitor.
I have a SLC 5/05 (unfamiliar to me and I don’t have the programming software to make changes) that I need to monitor if is in run mode - does anyone know if such a system tag exists for these PLCs? I cant seem to find documentation on system tags.
I believe the manual short-hands to just ‘S’ while the actual status data is all ‘S2’, so you’ll want ns=1;s=[Device]S2:1. Make this a short datatype to get all 16 bits.
We can then use bitwise AND masking with S2:1 to get the integer value of the first 4 bits. This should match the values in @brian.mcenulty’s manual screenshot.
{[default]S2 Status} & 0x000F
If you want it to be a boolean tag for remote running, just add another clause, e.g.