Author Topic: ILock Documentation Issue  (Read 13177 times)

garysdickinson

  • Hero Member
  • Posts: 502
  • Old PLC Coder
    • View Profile
ILock Documentation Issue
« 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
« Last Edit: November 29, 2016, 05:06:48 PM by garysdickinson »

support

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3174
    • View Profile
    • Internet Programmable PLCs
Re:ILock Documentation Issue
« Reply #1 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.

Email: support@triplc.com
Tel: 1-877-TRI-PLCS

garysdickinson

  • Hero Member
  • Posts: 502
  • Old PLC Coder
    • View Profile
Re:ILock Documentation Issue
« Reply #2 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