Skip to main content
Submitted by Randy_Licata on Thu, 10/27/2016 - 09:47

I'm getting this error when I try to execute the program. Some background: Using an external driver and DMC-4080 to control a stepper motor. Connections are made through the 26-Pin Axis A port. Here is the program that I am currently writing:

#AUTO
'Assign IP to controller'
IP 192,168,142,10;
LU 0; 'shut off automatic updating to display'
MG "Test 1";
LU 1;
'Turn Axis A motor off in order to properly config it'
MOA;
'Set Axis A to Steper motor Type: -2=active high step | 2=active low step'
MTA -2;
'Step Resolution for driver'
YAA 1;
YBA 200; 'step resolution for motor'
YCA 4000; 'step resolution for encoder'
'Set Amplifier Gain on Axis-A to value (1 for test)'
AGA = 1;
'SH enables the external amp'
SHA;
'Checks for error - should be 0 after SH'
TEA;
BGA;
EN;

Comments 1

AndrewS on 12/20/2016 - 08:14

Hi Randy_Licata,
That error is based on the labels in the program that is downloaded. Make sure the program is properly downloaded and if you are calling a specific label or program line number with XQ, make sure it is in the program.

Some helpful troubleshooting commands are LS for list program in controller memory space, LL for list labels in program memory space, and XQ for how to execute from a certain label.

Regards,
Andrew