Author Topic: Robot Program call  (Read 334 times)

0 Members and 1 Guest are viewing this topic.

Offline chintankAne

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 14
Robot Program call
« on: May 25, 2017, 11:43:36 PM »
I want to call program from PLC. I want to know what are the program calling methods. Like in fanuc RSR,PNS ...

 I have to send Program Number from PLC?

Offline Danny_Pla

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 1
Re: Robot Program call
« Reply #1 on: June 13, 2017, 07:14:49 AM »
You must use

The built In Routine:

  SYS_CALL('ML', 'path of your  program')  -- ML -> memory Load
   
  SYS_CALL('PG', 'ud:\\usr\\prog_main') -- PG-> Program Go!, load and execute de program.
 


To send the program number i use a CASE sentence with an variable that the PLC change.

Offline sandrot

  • Jr. Member
  • **
  • Thank You
  • -Given: 0
  • -Receive: 6
  • Posts: 66
    • Comau Robotics
Re: Robot Program call
« Reply #2 on: June 26, 2017, 02:10:58 PM »
$FMI and $FMO are Flexible Multiple Ports, reserved to application programs. PDL2 treats them as INTEGER values. Define a $FMI with your program number and then you can use what Danny_Pla suggests.
An email to service.robotics@comau.com will also help.