News:

SMF - Just Installed!

Main Menu

camshaft gantry system

Started by stavelse, August 07, 2010, 12:04:30 PM

Previous topic - Next topic

stavelse

I have made the program for the camshaft gantry system, but I have a problem with the curr-y-pos(dat4). The value in dat2=-1, the value in dat4=1,39.

Is this a bug?

EasyPLC_Master

#1
Hello stavelse,

No, there isn't any bug or error.

The gantry plc data stack elements named Axis_X_Pos and Axis_Y_Pos are used to manage the X and Y gantry axis.
The operating principle is: you set a value with EasyPLC in this elements and activate the asociated output and the gantry axis will move to the position stored in this data stack elements.
The data stack elements named Curr_X_Pos and Curr_Y_Pos are the feedback of the axis, then the PLC can know where the axis are.
The problem you have is that the Y axis only moves from 2.3 (Upper position) to 1.4 (Lower position), then if you program a value minor than 1.4 in data 2 (Axis_Y_Pos) the Y axis will move down, but when arrives to position 1.4 will stop, this is the reason you see a diferent value in the data stack element 2 (when you want to send the Y axis) and the data element 4 (where the axis currently is).