Counter Preset Values

Oneslyfox

Member
Join Date
Aug 2012
Location
Ontario
Posts
7
Hi everyone,

probably a simple question, but I can't find it anywhere. The counter and timer commands in TIA Portal (v10.5 SP2) all have presets ("values" or "times"). I'd like to have the output of a move command feed right into them (see attached Image), but I'm told they're read only from other commands. Is there anyway to remove the read-only attribute? Thanks!

PLC Timer question.jpg
 
Since no one has answered I'll take a chance even though I haven't used this language.

It appears that the presets to the timer is supplied by reference to another memory location (a data block's element). So it would seem that you would modify the content of that data block's element to alter the preset value rather than trying to write to an internal location in the timer. The preset is probably reloaded from that memory location each time the timer is executed.

So to change the preset for 'HeartBeatOnFaultTimer' write to %DB1.DBD6
 
Last edited:

Similar Topics

I am trying to figure out how to use a High speed counter module for an incremental encoder. I don't have the exact model number for the encoder...
Replies
4
Views
2,575
I have a counter in ControlLogix that I would like to change the preset from Panelview I can set the value of a DINT tag in Panelview and it...
Replies
9
Views
3,715
Hi, I'm using RsLogix 500 micro starter edition with a micrologix 1200 plc. I want to use a counter where I can change the preset via variable. I...
Replies
3
Views
3,673
Hi gang, I don't even know what to call this so I can do a search on it. I need a device that I can set to a preset number (001-999) and then...
Replies
9
Views
2,768
Hello All, i'm a total newb to PLC programming so any help is appreciated. I have an encoder mounted to a motor shaft. the encoder is used to...
Replies
29
Views
14,681
Back
Top Bottom