Jump to content
OMRON Forums

Communication between Power PMAC And Host PC


Amar

Recommended Posts

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.

Link to comment
Share on other sites

  • Replies 11
  • Created
  • Last Reply

Top Posters In This Topic

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.

Link to comment
Share on other sites

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?

Link to comment
Share on other sites

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?

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

  • 2 weeks later...

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?

Link to comment
Share on other sites

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?

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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..

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.

×
×
  • Create New...