Delta Tau Forums
GetResponse - Printable Version

+- Delta Tau Forums (
+-- Forum: Delta Tau Data Systems (
+--- Forum: Power PMAC (
+--- Thread: GetResponse (/showthread.php?tid=2838)

GetResponse - khalil-yazji - 02-19-2019

Hi all
I want to use Pmac Commands in a background C app.
I can use the Command() function to send commands but I can't get any return with this function.
I found that I can use GetResponse function for returns in the gplib.h and I can see the function declaration with some information about the parameters. However, it's not clear how to use it. and what is the echomode and what values are used for it?

I couldn't find any details about this function in the manual, the software reference nor in the IDE help.


RE: GetResponse - steve.milici - 02-20-2019

The current versions of the IDE (3.x and 4.x) are missing the Power PMAC CAPI help, as it wouldn’t “import” properly.

You can install it manually from this link with instructions:

The “GetResponse()” function is documented there.

RE: GetResponse - khalil-yazji - 02-22-2019

Thanks for your reply. I got the help files for C API.

In functions like GetResponse and Command they return an integer for status.
0 is OK and negative number for error number. is there any list or information about what are the error numbers for these functions?
I have done some testing in Command() and found the following error numbers:
-31 for syntax error.
-20 for program not open
-22 for calling a program which is not in buffer.

Are those codes correct?


RE: GetResponse - steve.milici - 02-25-2019

The “Command()” function should be returning the standard PMAC Command Processor error numbers (*-1) as listed in the “Power PMAC Software Reference Manual” in the section “Reported Errors for Illegal Commands” starting on page 71. Here is a link to this manual on the ODT Forums’ FileDepot (requires registration):
“ PMAC/Manuals/Power PMAC Software Reference Manual.pdf”

RE: GetResponse - JeffB - 12-20-2019

Can you please update the link? thanks

RE: GetResponse - leandro.martins - 08-30-2021

Hello Steve

As the filedepot is closed and the link is not working, is there any other place with the instructions to import the C API help, or at least a document with the functions documented?

thanks in advance

RE: GetResponse - AAnikstein - 08-30-2021

The linked document (Power PMAC Software Reference Manual) should now be available on the appropriate Omron website instead of in our File Depot. For instance, for users in the Americas, they would download it from manuals section of their related product page on the Omron Site (I chose the CK3E page, but it is also on the CK3M and UMAC pages) or by searching for "Power PMAC Software Reference Manual".

RE: GetResponse - Eric Hotchkiss - 08-30-2021

Going forward, users are recommended to reach out to their respective Omron Tech Support representatives in order to obtain the C API help files.

I am also attaching them to this comment.