Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

Automatically sending of CSR files to Panasonic G2controller

#1
Hello I am working on a project in which I use a camera to develop part programs for the Panasonic Robot. Now we are trying to setup an automation, to run in the production. This is what I am trying to achieve.

Camera Software generates, .csr file programs. 
I need to automatically send these .csr program to the robot controller. I want to understand is there a way to automatically convert this .csr to .prg and send it to the controller or
I need to automatically load the DTPS with this file, convert it and send it to the controller
Is there a cli way to do it so I can create a automation script etc?

We are planning on ether buying a ethernet IP package for this or either setup a PLC that can do this. Computer is a Windows machine. We have DTPS G2 PC tools

Please let me know how can this be achieved. 
Thank you

TLDR: This is what I need, 
The .csr files is genrated by my software, panasonic uses DTPS software to convert the files. .csr and .prg and then ethernet sends these files to robot controller. without human intervention
#2
Possible Methods for Automation :

A) Directly via a CLI Script (Ideal Solution)
    Check if DTPS G2 offers a command-line interface (CLI) or an API to import a .csr file, convert it to .prg, and send
    it  to the robot.
    If available, a PowerShell, Python, or batch script could automate this process in a loop.

B) Automating DTPS G2 If No CLI Exists

    If DTPS G2 does not have a CLI, tools like AutoHotkey or pywinauto (Python) can be used to simulate clicks and
    automate the import of .csr files into DTPS G2, then export them as .prg.

C) Using a PLC to Handle File Transfers

    A PLC could store and send the .prg file to the robot controller via Ethernet/IP if the robot supports this
    communication mode.
    This solution could be more robust than using a PC alone, but it depends on whether the controller supports this
    protocol.

If it can help you
#3
Thank you for your response. It appears that DTPS G2 does not provide a way to interface with it via the command line.
Given this limitation, I believe the best path forward would be to consider Option 2 or Option 3.
For Option 3, the PC needs to operate in a loop since it's connected to a camera. Based on this setup, do you think a combination of the PLC, PC, DTPS, and the robot could work effectively in this scenario?
  




Users browsing this thread:
1 Guest(s)