Jump to content

Recommended Posts

Posted
Hi, I am wondering if anyone knows if it is possible to use index registers for timers in GX Works 2. I am using an FX3U plc and I would like to pass an index value into a function block so I can use a different timer inside each function block. I have used indexes with timers extensively in GX Developer -FX with the same PLC without any problems but using the structured ladder in GX Works 2 I get a compile error. The programming manual suggests it is possible saying "Only Z0 or Z1 can be used for contacts of coils of the timer" but this doesnt seem to work. I have attached a screenshot which illustrates the problem. The first output function (line 21) uses timer 10 and compiles correctly, the second uses timer (1+10)=11 and fails. Interestingly, if I change the PLC to a Q type this line does compile (although that is not much benifit to me!) Does anyone know how to get around this problem? Cheers.

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...