-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
'load pmc' doesn't work for PowerPMAC #8
Comments
Are you trying to send PMCs or other files? |
I believe that sending a PMC to the PowerPmac would be like typing the commands into gpascii. |
Yes the load button in PowerPMAC just does the same as it used to, send line by line the contents of a file into gpascii (in turbo pmac 2 it was line by line into ascii interface). You can upload/download files using the new PowerPMAC tool for project control. This will upload/download project files in the same way as the IDE. |
Hi, |
I am using the |
@GDYendell - when you downloaded the PLC and motion programs, where did they end up within the filesystem of the PowerBrick? |
The new PowerPMAC analyse tool is called 'dls-powerpmac-analyse'. This can be used to back up, compare and restore PowerPMACs. It can be pip installed into a Python virtual env (Python >=3.7).
Run with: Help: |
I am not sure, but they appeared with, e.g., |
OK I think I see what happens. If you download a file it does take effect, but even doing a |
Urszula and I were discussing this yesterday. We think, to keep the motion area and controllers in sync and allow easier comparisons between the two, that files should be uploaded to their allocated place in the controller's filesystem, and then activated in the 'live' area of the controller. This is why Urszula's suggestion of a source/destination dialog box may be needed. A discussion point about how uploads should be handled is on the agenda for the next motion controls meeting (Weds 5th) - please come along to join in |
In my opinion the PowerPMAC can only be used in one of two ways:
Trying to mix the above two approaches is certainly unsupported and full of major pitfalls. I strongly advise against it. I enclose my investigation notes into this issue from a few years ago. SUMMARY: the life-cycle of configuration files for PowerPMAC is complex and this is very unlikely to be fixed. Trying to work around it is unsupported and too fragile to be practical. hgv27681-PowerPmacIDEInvestigation-031022-1043-120.pdf @rjwills28 I think you have a reasonable amount of experience of this, I'd be interested to know if you agree with the above? |
Yes I do agree that mixing approaches could cause issues. |
Thanks @rjwills28. That implies that there is a way of doing things outside of the IDE as long as we work in the same way as dls-powerpmac-analyse. Can you briefly elaborate on what process it uses? Thanks. |
@gilesknap the powerpmac-analyse tool is fine as long as you are very careful. It can perform the same functions as the IDE (Phillip Coles was careful to match the functionality of certain commands) but there can still be conflict if you use both the IDE and the tool. DLS have still not arrived at a confirmed set of procedures for these tools playing together well on the PowerPMAC. The main point is that the pmac control tool can be used for quick tests of PLC / motion programs using the download button, but those files then need to be correctly injected into a project if they are to be handled appropriately when the IDE is used. |
I'm voting that the pmac control tool should be left as it is - it would be far too brittle to allow this tool to start downloading files into the file system of the PowerPMAC unless everyone at DLS (including motion team) are signed up to doing it in this specific way. |
We used to be able to load files to a brick using the 'load pmc' button.
This doesn't work for powerPmac.
I'm guessing it is because of the tree like file structure used by powerPMAC.
Once the button is pressed it would be good to see both sides - the source and the destination file structure.
Similarly to e.g. WinSCP
The text was updated successfully, but these errors were encountered: