dzrong
-
Posts
187 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Downloads
Posts posted by dzrong
-
-
Hello CharlesP,
I'm sure i never hear the parameter,and i will try that next week.
Thank you very much!
-
Hello CharlesP,
It seems not work still,but D32 has the right value.
Thank for your reply!
-
Where i can find or start the Software Panel of NC5.x ? Because i can't find it after i installed the software of Pmac-NC Pro2 Runtime.
Thanks
-
Haha,it's strange!
It's my plc14.
open plc 14
p1=p1+1
cmd"&1p p11=d6 p12=d7 p13=d8"
p2=p2+1
Ldata.coord =1;
dread;
p3=p3+1
p1001=d1
p1002=d2
p1003=d3
p1004=d4
p1005=d5
p1006=d6
p1007=d7
p1008=d8
p1009=d32
pread;
p4=p4+1
p2001=d1
p2002=d2
p2003=d3
p2004=d4
p2005=d5
p2006=d6
p2007=d7
p2008=d8
p2009=d32
close
Everything return to me is zero.
It maybe have a relationship with forward program,but i'm not sure.
Here is my code for anyone would like to check.
Thanks for your replay!
-
Hello Curtwilson,
I want to get the tool-tip posion to display in the HMI,and i used the "pread" in the plc,it seems not work in the plc but in program.The code like this:
Ldata.coord =1;
fread;
d32=$1ff;
p1=d1
p2=d2
p3=d3
p4=d4
p5=d5
p6=d6
p7=d7
p8=d8
I can get P1..8 value when using in program.but plc can't.
Could you give some suggestion?
Thanks
-
I't a problem of IDE,because i closed the IDE and openned it again,it works well.
-
I don't know why PPmac reset failed,but after it recovery by itself,i give PPmac one quesetion PPmac give me two same answer.
What's the possible reason maybe?
Thanks
-
-
When i build and download all the program,output window tell me Download successful,but one error happenned:Could not upload the pp_debug.txt file from the Power Pmac.
What's the possible reason could be?
Thanks!
Notice that:the error will happen in both 1.4.0.62 and 1.3.0.0 verion firmware.
-
Thank you very much!
-
It seems that i didn't have updated the whole file system of PPmac CPU successfully.
The problem still be there.
So how can i make the file system of PPmac CPU(FAB NO:604020-553) as same as PPmac CPU(FAB NO:604020-557)?
Thanks!
-
There seems to be many option of the Gpascii,such as -i -2 ,is there a document telling how many options be there and how to use the options?
Thanks
-
It seems that the problem has a relationship with the hardware of PPmac CPU.
The following three Combination works well:
PPmac CPU(FAB NO:604020-557;firmware:1.3.0.0;Kernel:2.6.30.3) +ACC24E3 +ACC11E
PPmac CPU(FAB NO:604020-557;firmware:1.3.0.0;Kernel:2.6.30.3) +ACC24E2A X 3 +65E +66E +67E X 2 + 36E +84E
PPmac CPU(FAB NO:604020-553;firmware:1.3.0.0;Kernel:2.6.30.3) +ACC24E3 +ACC11E
But Only this one has the problem:
PPmac CPU(FAB NO:604020-553;firmware:1.3.0.0;Kernel:2.6.30.3) +ACC24E2A X 3 +65E +66E +67E X 2 + 36E +84E
So the main differece will be the FAB NO,604020-557 AND 604020-553.
So i backup all the files of PPmac CPU(FAB NO:604020-557) including Linux files by IDE(the size of the backup file is about 956MB),and want to restore them to the PPmac CPU(FAB NO:604020-553),but some error happenned when restoring,and i'm trying now!
-
In my PPmac the version i'm using:
IDE version is 1.4.0.62
Firmware version is 1.4.0.27
Kernel version is 2.6.30.3
-
Both type of combination,but same answer even if there is no project in PPmac CPU.
Combination 1:
IDE version is 1.4.0.62
Firmware version is 1.3.0.0
Kernel version is 2.6.30.3
Combination 2:
IDE version is 1.4.0.62
Firmware version is 1.4.0.27
Kernel version is 2.6.30.3
Any reply would be greatly appreciated!
Thanks
-
This problem will happen even if there is nothing in PPmac CPU.
I mean i sent the "$$$***" and then sent the "save" and recycle the power,the problem happenned still.
-
OK, It all looks fine to me. I would say you need to upgrade to the newest firmware and IDE and see if something changes. It looks like this is an older version and that you will need to look at how the new version does the include files in usercode.h and capp.h to make the conversion.
Alternatively you could simplify the system. Remove the usercode and see if the problem still happens. If so remove a different part, and so on until there is nothing to remove or you find which part causes the problem.
How to use the serial port to check some errors had happenned in the PPmac or Linux? Maybe i can find something new!
-
And here is the usrcode.c code,if needed to check something.
-
You have a capp1.out. How many times does this call initlibrary()? If more than once then this could be the problem. Please post the source code.
Thanks for your reply.
I think it's only once,and here is the code.
-
Gpascii comman not work in linux this time.
Notice that: this window was been openned at beginning(everythins is fine at that time),no new telnet window can be openned this time.
And i'm sure this problem have a relationship with the time. Every time i power on the PPmac,about after one and half hour,this problem will be found.
-
It's happenned again! The IDE can't talk to PPmac.
But the telnet is fine because i have openned it at the beginning.
And someone tells me check TOP command.
M command:
P command:
It seems no too much Gpascii application there,and Sys.WDTFault = 0. And i'm sure there is no C application talking to PPmac using telnet,only using share memory.
How to use the serial port to check something had happenned in PPmac or Linux?
What to do next?
Thanks
-
This error happenned when i used the PPmac after about one hour,when i click the "Motor1" PPmac Plot tells me "-bash:/usr/bin/gaascii:Input/output error root@192.168.0.200:/opt/ppmac#"
gpascii input output error.bmp
And then no new communication can be established,include telnet and windows in IDE,but the established communication windows like terminal and watch can talk to PPmac still.
My IDE version is 1.4.0.62
Firmware version is 1.3.0.0
Kernel version is 2.6.30.3
Because my project can not wrok on the last firmware so i have to use the old one 1.3.0.0.
What is the reason maybe?
-
I hope you are talking about PowerPMAC and not TURBO as there is no Telnet communication for Turbo.
If you want to use telent to download the file you will have to do following....
1.User program must be compiled for user variables. If you write the user program without using the variable names then it is fine.
2.FTP the program to /var/ftp/userflash/temp folder.
3.Once the telnet terminal is open then type the command at terminal
gpascii –i
This will download entire file to PowerPMAC.
-i = option download the program to powerpmac memory.
4.The key is the user program must be compiled and error free. The gpascii will return the error and abort if it cannot understand the program line.
5. If you want to use line by line download then you may want to use rotary buffer.
Hope it answers your question.
Atul
Can i do this way to download my Subroutine in my HMI if my Subroutine don't use the variable names? If not,how can i do that?
-
Does PMAC NC support DNC mode?
in PMAC NC PRO2
Posted
Hello,
As far as i know,PMAC NC supports MDI\MANUAL\AUTO mode,but if my program is too big to download to PMAC once,i think i need the DNC mode,so does PMAC NC support DNC mode? Or how can i make it work?
Thanks