I've been automatically generating and compiling LS files into TP code for a while now with no issues, but I've just found a weird problem with timed joints moves. For context, I'm running the old 5.30 controller software version (compatibility for a customer with an old robot). Here's the LS file I'm trying to translate:
/PROG COL_PLC1
/ATTR
PROTECT = READ_WRITE;
TCD: STACK_SIZE = 0,
TASK_PRIORITY = 50,
TIME_SLICE = 0,
BUSY_LAMP_OFF = 0,
ABORT_REQUEST = 0,
PAUSE_REQUEST = 0;
DEFAULT_GROUP = 1,*,*,*,*;
CONTROL_CODE = 00000000 00000000;
/MN
1: J PR[1] 750msec CNT100 ACC100;
/POS
/END
Display More
and here's the error I get when building:
QuoteDisplay More----------------------------------------------------------------------
Translating E:\plc_test\col_plc1.lsError occurred during load
E:\plc_test\col_plc1.ls(13)
on line 13, column 38
Undefined instruction
E:\plc_test\col_plc1.ls(13)
on line 13, column 31
Undefined instruction
Build Failed: Error translating program: Code: 0x160002: [SPRUNCMDF] status = 38000F; "ERSRCH 0X160002 " :
----------------------------------------------------------------------
If I change to a linear move, this works fine. If I change the velocity type to percentage, like 1: J PR[1] 100% CNT100 ACC100;, it's fine. What's really weird is that if I open the teach pendant and change the program, I can make it a timed move, and I can even print out an LS file. But that same LS file then will not re-build.
Again this is with the old 5.30 software version, but does anyone have any idea about this?