Hello everyone, I am configuring a PTO instruction on an ML1400 PLC with different acceleration and deceleration settings (ADI=1). As per the manual, to have separate acceleration and deceleration profiles, a long integer file number and starting element must be selected. The file must contain four long elements. For ADP-Accel/Decel Pulses or File:Elem when ADI=1, I opted for a four-element Long integer data file. This includes "Element 1: Acceleration Count, Element 2: Deceleration Count, Elements 3 and 4: Reserved." I also verified that the pulse numbers are accurate within the specified range. I attempted to duplicate the file using a CPW instruction and a MOV command, but encountered an issue. The error code -3 appeared: "Acceleration Count and Deceleration not defined during going to run mode when Accel/Decel Pulses Independent (ADI) is set to 1." Could you advise on what needs to be input in the function file ADP? Or provide guidance on referencing the four long element integer file?
Unable to transfer data from L#:## to PTOX:#.ADP file not functioning properly?
This solution is not effective.
To set the independent acceleration/deceleration value location for the ADP in the PTO Function File, simply right-click on the value field and select "Select Independent Accel/Decel Value Location" from the menu. Then, enter the address of the first element in your Long data file (such as L9:0) in the dialog box that pops up. This address will be converted into a hexadecimal number and automatically inserted in the value field. This process may seem complex at first, but once you understand the trick, it becomes very straightforward. If you need further assistance, the Knowledgebase is a helpful resource to refer to.
I appreciate your prompt responses to my inquiries, you have been extremely valuable in assisting me.
I am experiencing a recurring issue with my machine where I have to repeatedly set the long address manually upon start-up. Is there a way to automate this process using the first pass bit? Additionally, I am also faced with the task of manually changing the bit and clearing the fault on the PLC. How have you resolved this issue? Thank you for your prompt responses and assistance. Your input has been greatly appreciated.
From your elaboration, it seems to me that you've got most of the parameters correctly. Error -3 usually crops up when Acceleration and Deceleration parameters don't get updated properly due to missing or incorrect data. My suggestion is to double-check the values you're copying to the acceleration and deceleration elements with your CPW or MOV command. Also, ensure that the four-element Long integer data file (Accel/Decel Pulses) is properly initialized before you attempt to copy the data into it. In any PLC programming, small oversights can lead to disconcerting errors. Hope this helps!
✅ Work Order Management
✅ Asset Tracking
✅ Preventive Maintenance
✅ Inspection Report
We have received your information. We will share Schedule Demo details on your Mail Id.
Answer: Answer: To achieve separate acceleration and deceleration profiles, a long integer data file with four elements needs to be selected, with Element 1 for Acceleration Count, Element 2 for Deceleration Count, and Elements 3 and 4 reserved.
Answer: Answer: The error code -3 "Acceleration Count and Deceleration not defined" suggests that the required parameters were not properly defined. Ensure that the acceleration and deceleration counts are set correctly in the long integer data file when configuring the ADP-Accel/Decel Pulses or File.
Answer: Answer: You can use a CPW instruction and a MOV command to duplicate the file and set the acceleration and deceleration counts. Ensure the values are correctly referenced in the four-element long integer data file for proper configuration.
Join hundreds of satisfied customers who have transformed their maintenance processes.
Sign up today and start optimizing your workflow.