DT-Europe Posted August 21, 2008 Share Posted August 21, 2008 What are the use of these files: - pp_disable.txt - pp_startup.txt - pp_default.cfg - pp_save.cfg and how can we use them (put our stuff inside) in our project? In general, can we include our own files with some basic setup inside (like setting Motor[] or Coord[] variables)? Link to comment Share on other sites More sharing options...
bradp Posted August 21, 2008 Share Posted August 21, 2008 [quote=DT-Europe] What are the use of these files: - pp_disable.txt - pp_startup.txt - pp_default.cfg - pp_save.cfg and how can we use them (put our stuff inside) in our project? In general, can we include our own files with some basic setup inside (like setting Motor[] or Coord[] variables)? [/quote] The first thing you need to know is that there is a program named proj_pp which has the job of loading files from the project into active memory. - pp_disable.txt --> The first script executed by proj_pp. You can add any on-line commands to this file that you want sent to Power PMAC before the project files are sent. Typical use would be to disable PLC's or Kill motors. - pp_startup.txt --> The last script executed by proj_pp. You can add any on-line commands to this file that you want sent to Power PMAC after the project files are sent. Typical use would be to enable PLC's or motors. - pp_default.cfg --> A list of Power PMAC parameters and their values to be loaded after $$$***. This gives the user the ability to have a customized default configuration matching their application needs. - pp_save.cfg --> The file containing the Power PMAC parameters and their values at the last SAVE command. The way parameters are saved in the Power PMAC is by writing their values to this file. This file gets loaded at power-on and after $$$. Link to comment Share on other sites More sharing options...
dzrong Posted May 6, 2014 Share Posted May 6, 2014 Hello, Why my plc1 can't start.I had put enable plc1 into pp_startup.txt. It seems if some cmd in the config file the problem will happen. Sys.WpKey=$AAAAAAAA//MACRO Communication Setup Gate3[0].MacroEnableA=$FCCFF00; //Activate 4 Servo Nodes and 6 IO Nodes of MACRO A Gate3[0].MacroModeA=$403000; // Set MACRO A as master Sys.WpKey=0 Link to comment Share on other sites More sharing options...
Richard Naddaf Posted May 6, 2014 Share Posted May 6, 2014 Settings have nothing to do with enabling a PLC. - First of all, do you have a PLC 1 loaded. Can you do LIST PLC 1 in the terminal window and see the contents? - Can you enable it from the terminal window? Or the task manager for that matter? - Does your project download without errors? Link to comment Share on other sites More sharing options...
Recommended Posts