Scan time conversion from RSLogix500 to 5000

mondi_19

Member
Join Date
Dec 2010
Location
IL
Posts
10
I am converting (well not me personally but an application, I am just checking that that everything went OK, it did not, what a mess!, that's another topic) a program from RSLogix 500 (SLC 5/05) to RSLogix 5000 Compact logix 1678-L43. In the SLC program a compute (CPT) instruction is used and inside the instruction the scan time is used (S:35). Now I don't know how to convert that in RSLogix 5000. During the conversion it got to converted to a tag (S:35). Any ideas how I can use the scan time as a variable in the program?

Thanks in advance to all that reply.

Scan time CPT RSLogix500.png
 
You can read the "scantime" from each Task in the ControlLogix using a Get System Variable (GSV) instruction.

If this logic is going into a Periodic Task, you could just depend on the Task to be executed at the configured rate.

If it's going into the Continuous Task, you'll probably want to use the GSV.

Configure the GSV for the Task object, and for either the name task or "THIS" task, and the Last Scan Time attribute.

You can look up the Task object in the RSLogix 5000 "GSV/SSV Objects" section of the Help file for more details.

The ControlLogix execution interval value will be in microseconds, not milliseconds.
 

Similar Topics

I have a Type C to RS485 adapter connect to my Siemens RWF55. I use modscan to scan it to get a value from the Siemens controller. In the...
Replies
4
Views
97
Hi everyone, I'm trying to simulate any program in control expert and see a register in Modscan32 or any software to do that (Like ModbusPoll). I...
Replies
0
Views
92
I am not sure if this is possible but if there is a way, you guys would be the ones to know. I am currently working on a project where we are...
Replies
7
Views
215
Hi, I'm new to PLCs and learning about PLC Scan times for Schneider PLCs I've derived the PLC scan time using the free running blocks. The PLC...
Replies
7
Views
648
Hello. Does anyone know the equivalent of the first scan bit in a L32ER compactlogix? Do o need to obtain it via GSV? I’m looking to regain...
Replies
3
Views
445
Back
Top Bottom