I’m sure it’s easy, but I can’t make it happen. I want to assign/address/tag an open contact with the Q output of a Timer. The timer is already created in the Variables list.
Hi Ted, If I understand correctly, you want to assign the output of the Timer block to a digital output? (if not, please clarify). I’ve connected a timer block to a Coil, tagged with a local variable named MyOutput (you don’t need the coil - you could simply connect the Q output directly to the MyOutput tag).
An instance of the program is created in a task on an ESM. The MyOutput variable is defined as an OUT [GDS] port in the Variable table:
Next, the MyOutput OUT port is connected to an IN port on the Axioline I/O module. In this case, the IN port represents a digital output.
You can think of the Axioline module as having “logical” IN ports on the CPU side, and physical “OUT” ports on the real-world side. After downloading and running this program, the digital output should turn on when the timer expires. Hope this helps. ~ Martin.
Hi Martin, Thanks for your reply. It seems I haven’t explained myself very well. I am pleased with your explanation as it is a pearl of wisdom I can use later. What I’d like to do is TAG an open contact (C001) with the output Q of a timer block, preferably without having to use a COIL(LED02) connected to that timer output block. (See attached)




Oh, I see, sorry for the long, unrelated answer.
Is this what you mean?
(the relevant tag is TON1.Q , or more generally “Instance name” dot “parameter name”)
YES! That’s it! “Instance name” dot “parameter name”… Of course says me as I’m smackin the side of my head…
Thanks Martin! BTW…I’m having lots of fun playing with the kit. Ted











