Jump to content

Recommended Posts

Posted
Is there a way to initialise the PV value of a timer before the timer starts? My attempts at this seem to result in the PV value being set correctly, but as soon as the timer starts counting, the PV resets to zero (using an incremental counter).

Posted
Quote from Omron Instruction set: Timer numbers cannot be designated as D to change the PV of a timer or a counter. You can, however, easily change the PV of a timer or counter by using BSET.
Posted
I think with MOV you can only set a constant value, with the method Jay suggests you can use a variable to set the timer PV.
Posted
The instruction set reference was from the CQM1 manual. In C series instruction sets, it was not possible to MOV to Timer PV, but BSET allowed TC to be in the possible list of destinations. I have since checked (with CX Simulator) the CS/CJ instruction set and you are correct. A MOV to timer PV is possible and does work. Touche.
Posted
I stand corrected, lostcontrol! I also was under the impression you could only change a PV on the fly using BSET, as I was used when I "grew up" with CQM/C200H series. Since then I rarely use this function to change a timers PV.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...