Hello and Happy New Year Everyone,
How do I get my current move STEP number from within a program? Is it stored in a parameter? Using a DX200 controller.
Thank-you in advance.
Hello and Happy New Year Everyone,
How do I get my current move STEP number from within a program? Is it stored in a parameter? Using a DX200 controller.
Thank-you in advance.
Happy New Year to you also!
If you are trying to view the current move STEP number on the pendant, under any program, at the top of the pendant. Select Display, then select, ENABLE STEP NO. This will display the step number between the Instruction number and Instruction command line. It will stay enabled in all programs until you return to display and select it again. It will have an asterisk beside the button when enabled.
Hi Roboticsprogrammer256,
Yes, I have that turned on. I was looking for a way to use or reference that number with the program. As an example, when I use the GETPOS instruction, I wanted to be able to get the current STEP number the program is on and use in the instruction. I haven't been able to find a way to reference it beside being able to see it on the screen. I've had a look through all the parameters and haven't notice any obvious reference to it.
If all else fails, I'll have to manually add the STEP number for every location I want to use it, even though this will create headaches if any MOV steps are added or deleted later. Not being able to reference it reduces the programming flexibility.
Yaskawa robot do not output the step or line number for an end user to access.
Maybe they could think about adding it to the parameters somewhere or make a new inform command, CRSTEP would be nice, since it looks like it's readily available data. Then us "end users" could put it to good use.