Hi all
How can I Use the DIN instruction to read in the number/step.???
If you can give me an example please ??
Hi all
How can I Use the DIN instruction to read in the number/step.???
If you can give me an example please ??
There aren't any tag in DIN instruction to get the step number.
I didn't see other instruction for do it.
Only there are GETPOS instruction that can give position of a step. You can give step number and it save the position of robot for that step.
There aren't any tag in DIN instruction to get the step number.
I didn't see other instruction for do it.
Only there are GETPOS instruction that can give position of a step. You can give step number and it save the position of robot for that step.
Hi TSGIR
what do you mean by the position of a step (are the values of all axes or just the number of a step )
The GETPOS instruction gets the position of a servo command taught position and places it into a position variable. The programmer determines what position variable to store into and of what step number.
To use GETPOS you define two tag, first tag is position variable (to get robot position and data of all axis) and step number.
Example,
GETPOS P000 STEP#(1)
According to this example, the position of MOV instruction in STEP 1 save in P000. (Data of all axis save in P000)