Thanks for your interest...
The problem that we have is like this:
We have already an existing system that is working, but the problem here is that there are no schematics available, so we don't know what is in the PLC. We have the program source on the PC from the program in Visual Basic.
We have to make a system rotate by two axis, X and Z so we can do measurement. The visual basic program let us configure the rotationangle and the timespace between the rotations...
The PC is connected with the PLC through a PC/PPI cable and from there on we drive the motors to turn via a frequency variator. When the reaches the end point, the encoder alerts the PLC so that the frequency variator can stop the motor by use of a brake.
We were searching for some examples that were made like this, so we can interprete better what is happening in our system, so we can improve it, eg changing the incremental encoders to absolute encoders so we always know in what exact position we are, even after some power drop down...
Is this usefull to change the encoders? Or can we do this by some other trick?
What kind of program is in the PLC, because this one is pasword protected, grrrr...
Thanks again for your interrest...
Giel and Juan