Author Topic: User Menu /submenu using interrupt  (Read 5834 times)

Jones

  • Newbie
  • Posts: 2
  • I love YaBB 1G - SP1!
    • View Profile
User Menu /submenu using interrupt
« on: March 06, 2003, 06:37:23 AM »
I would like to program a user menu on my plc. My first idea was to use interrupt, but I dont think that the example shipped with ver. 5.1 is working.  
« Last Edit: December 31, 1969, 04:00:00 PM by 1076562000 »

support

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3171
    • View Profile
    • Internet Programmable PLCs
Re: User Menu /submenu using interrupt
« Reply #1 on: March 10, 2003, 07:11:06 AM »
Which "example" didn't work? Examples that demostrate interrupt cannot be simulated because the simulator does not support Interrupt inputs (input 3,4,5,6 shares with interrupts 1,2,3,4 on the M-series PLC but this is not simulated on the simulator). However, if you transfer it to the PLC it will work just fine.

Anyway there really isn't a need to use interrupt to implement user menu. All you need is the ladder logic that are connected to the input buttons to trigger some custom functions when an input button is pressed. A good example will be the "SetTimCtrSV.pc5" in the "c:\TRiLOGI\TL5\usr\samples" folder.
« Last Edit: December 31, 1969, 04:00:00 PM by 1076562000 »
Email: support@triplc.com
Tel: 1-877-TRI-PLCS