Internet PLC Forum

General => Technical support => Topic started by: garysdickinson on November 29, 2016, 04:43:47 PM

Title: ILock Documentation Issue
Post by: garysdickinson on November 29, 2016, 04:43:47 PM
I got bored and decided to do some recreational PLC coding and decided to write a Tic Tac Toe program in ladder logic.  

To make the problem more challenging I decided to attempt to write the code without using custom functions, just 100% ladder logic.  

This is where I got into some issues with the [ILock] and [ILoff] functions.  Turns out that they are not broken, but I was transfixed by the example in section 9.3.5. of the TL6ReferenceManual.  

 [ILock] and [ILoff] turned out to not be very useful for my purposes, but I'd like to know how to program the "Equivalent Circuit".  I have tried everything, but I can't build this circuit with i-TRiLOGI 6 or 7.

Best regards,

Gary D*ckinson
Title: Re:ILock Documentation Issue
Post by: support on November 29, 2016, 09:28:33 PM
Thanks Gary.

i-TRiLOGI can't produce the ladder logic graphically as shown on the equivalent circuit on the right.

By using [ILOCK] and [ILOFF] the logic on the left is equivalent to the logic on the right. Basically that's what it meant.

Title: Re:ILock Documentation Issue
Post by: garysdickinson on December 01, 2016, 10:30:39 AM
Oh damn.

The equivalent circuit seemed so much simpler than using ILock and IOff!

Best regards,

Gary D*ckinson