Jump to content
OMRON Forums

Recommended Posts

Posted

We are using Power PMAC for our application developed in Microsoft Visual Studio .Net. I tried to establish communication using "PowerPmacComLib.dll" using SSH connection type. We have not yet tested it, hope it will communicate properly.

After importing this library i have found that there is lots of functions unavailable.

We need command for Download motion program file into Power PMAC.

As per unavailability of DPRAM in Power PMAC what are the other options to fetch real time data in Host PC?

 

Note - We are not using Power PMAC Development Kit.

  • Replies 11
  • Created
  • Last Reply

Top Posters In This Topic

Posted

This dll is not for customer use. If you wish to create a Windows application having a "download" function you will need the Power PMAC Development Kit - it has this function.

 

Since the Ethernet port is 1Gb speed you can usually poll PMAC for real-time data. There are also streaming data gather functions in the PDK.

Posted

that means, i can't connect to Power PMAC straightway from host PC application developed using other tool and there is no any API library like "PCOMMSERVERLib.dll" which we are using previously to communicate with UMAC or other PMAC modules.

 

Can i write our own driver for Ethernet using other development tool in host PC to communicate with Power PMAC or i can't do this without PDK?

Posted

You can have full access to "PowerPmacComLib.dll" when you install and license the Power PMAC PDK.

 

You can also create you application based on SSH connections running gpascii on Power PMAC without the PDK. You will need a very good working knowledge of Power PMAC on-line command syntax.

Posted

Thanks for your valuable feedback..

 

I have other doubts, i.e

 

what about Linux?

Is PDK available for Linux environment also? (Our lots of application will develop on Linux)

Is any barrier for MODBUS? ( separate firmware is required?)

We need manuals for PDK and DLL. How can we get this?

Posted

We do not have the PDK for Linux and have no plans to make one.

 

Modbus is a standard feature for Power PMAC - see the example projects:

PowerPmacModbusExample

ModbusLibExample

 

The manuals for the PDK are part of the "Help" system of the installed product.

Posted

Talking to PPMAC through Linux with your own driver should not be too bad. For example, if you want to go with Python on Linux, you can use Paramiko, which is a native SSH implementation:

 

http://www.paramiko.org/

 

Or others:

 

https://wiki.python.org/moin/SecureShell

 

Connect to your PPMAC IP Address (default 192.168.0.200), port 22

 

It will request a username, which is "root". Password is "deltatau"

 

After that, issue "gpascii -2"

 

Then, you can issue commands as though you are talking through the IDE.

 

This naturally will not be as fancy or nice as the PDK, but you can do virtually anything you need still.

  • 2 weeks later...
Posted

Talking to PPMAC through Linux with your own driver should not be too bad. For example, if you want to go with Python on Linux, you can use Paramiko, which is a native SSH implementation:

 

http://www.paramiko.org/

 

Or others:

 

https://wiki.python.org/moin/SecureShell

 

Connect to your PPMAC IP Address (default 192.168.0.200), port 22

 

It will request a username, which is "root". Password is "deltatau"

 

After that, issue "gpascii -2"

 

Then, you can issue commands as though you are talking through the IDE.

 

This naturally will not be as fancy or nice as the PDK, but you can do virtually anything you need still.

 

Dear Sir,

 

Thank you very much.

Is it possible to implement DPRAM like functionality?

Posted

Talking to PPMAC through Linux with your own driver should not be too bad. For example, if you want to go with Python on Linux, you can use Paramiko, which is a native SSH implementation:

 

http://www.paramiko.org/

 

Or others:

 

https://wiki.python.org/moin/SecureShell

 

Connect to your PPMAC IP Address (default 192.168.0.200), port 22

 

It will request a username, which is "root". Password is "deltatau"

 

After that, issue "gpascii -2"

 

Then, you can issue commands as though you are talking through the IDE.

 

This naturally will not be as fancy or nice as the PDK, but you can do virtually anything you need still.

 

Dear Sir,

 

Thank you very much.

Is it possible to implement DPRAM like functionality?

 

How to do real time data gathering?

Posted

Make a thread in your host program to poll variables/structures (whatever you are trying to gather) at a set period. That is as close to real-time data gathering that you can achieve without purchasing the PDK, which has built-in real-time gathering tools.

 

Remember to poll something in gpascii -2 mode, all you have to do is query (i.e. send down the variable/structure name to PPMAC) (e.g. send down Motor[1].Servo.Kp and PPMAC responds with the current value).

 

To change the way PPMAC replies, you can set the "echo" parameter.

 

echo 7 makes PPMAC respond with just the value, omitting the structure name, in the current communication thread.

Posted

Make a thread in your host program to poll variables/structures (whatever you are trying to gather) at a set period. That is as close to real-time data gathering that you can achieve without purchasing the PDK, which has built-in real-time gathering tools.

 

Remember to poll something in gpascii -2 mode, all you have to do is query (i.e. send down the variable/structure name to PPMAC) (e.g. send down Motor[1].Servo.Kp and PPMAC responds with the current value).

 

To change the way PPMAC replies, you can set the "echo" parameter.

 

echo 7 makes PPMAC respond with just the value, omitting the structure name, in the current communication thread.

 

Thank You Sir..

Guest
This topic is now closed to further replies.

×
×
  • Create New...