yyterminal
-
Posts
5 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Downloads
Posts posted by yyterminal
-
-
6 minutes ago, AAnikstein said:
Somewhat. You can use Linux commands from Motion Programs or PLCs by using the "system" command, potentially in conjunction with "Ldata.SystemCmdStatus" and/or "sendallsystemcmds". If this is in relation to your other thread, though, you are better off just using the "send" command.
Sending Linux commands from Motion Programs/PLCs may not work exactly as you want, depending on the command. If the command is not "instantaneous" (such as if it requires waiting for some response/other action to "finish"), it may run into issues. For echo, I would not expect this to cause many problems, though.
Thanks very muchAAnikstein for your suggestions in both threads:
In fact, I tested a C Background program that will be compiled into a .out file which could be further invoked by Linux.
This approach seems to be working in that from SSH connection, instead of entering the STDIN Open for ASCII Input, we could call that .out file to monitor status of specific variable and use C command of printf to send that message to the Terminal where could be obtained by its caller.
Thanks.
-
Hi all,
I found that once #1p is issued from Power PMAC, we could get R position from Terminal.
However, once cmd"#1p" is executed within motion programs, we couldn't get such message from Terminal.
So I just wonder for some reason, the message report from motion program is disabled?
Thanks.
-
Hi all,
Just wonder if pmc file is compatible with Linux command like echo.
-
Hi all,
I'm pretty new to PowerPMAC so this might be an easy question to you.
I would like to print a simple debug message "Hello World" to the Terminal at the end of one of the motion programs (*.pmc file).
Any suggestions are welcomed.
Thanks.
disable Terminal message suppression
in Power PMAC
Posted
I see. Thanks for the clarification. Yes, it returns its result to the caller which makes sense.
Thanks.