Author Topic: CALL statement  (Read 10185 times)

nheilBRO

  • Newbie
  • Posts: 17
  • I'm a llama!
    • View Profile
CALL statement
« on: August 25, 2006, 01:09:13 AM »
Hi,

Is the CALL statement on the TriLOGI 5.2 is able to call a program name, If not then how to CALL another program name from the main program.

thank...


nheilBRO

support

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3174
    • View Profile
    • Internet Programmable PLCs
Re:CALL statement
« Reply #1 on: August 25, 2006, 10:12:41 AM »
CALL statement can be used to call a custom function label name defined in the custom function table.

E.g. if C.F #5 is named "Alarm", then you can use either of the following statement to call the custom function #5.

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