12/2/2015 8:48 AM | |
Posts: 5225 Rating: (1196) |
The S7-1200 does not have what you are looking for (..or it is kept secret from us users). We are forced to use the motion functions that are available. Firmware V4.1.3. with motion control version 5 allows to use the motion control blocks in interrupts - it was a problem before. I however have not yet used the motion control inside the interrupts yet (for the versions mentioned) to be able to tell you more. Also I have not seen formal documents to expand on this information. A work around is to have the motion control trigger a memory bit for the enable instead of the output bit which you would do normally. Then you can have your user program read the memory bit and trigger the output when you choose to. In this way you can have an interrupt force the output off regardless of the enable memory bit. This method's negative - your (open loop) motion control will have wrong positioning information and you will need to do homing. If however you only do [relative] motions with some position trigger sensor, this method may not have a negative side. Alternatively use an external encoder to keep track of the movement. Also see the following information in the FAQ... What are your thoughts on this matter? |
Last edited by: William_B at: 12/2/2015 8:52:19 AMadd link to FAQ Last edited by: William_B at: 12/2/2015 8:53:37 AM |
|
12/2/2015 9:39 AM | |
Posts: 1529 Rating: (202) |
If you've never used a motion controller, the S71200 works great. If you are used to SIMOTION, prepare for some disappointments. |
12/2/2015 9:45 AM | |||
Posts: 5225 Rating: (1196) |
Hi. I have had issue with an application that did not work right. It was with firmware V4.0.x. (motion V4) I have learnt, that there is a 10ms "scan cycle" for the motion control. That meant that up to 20ms delay to commands may apply. You will have to check what applies for motion V5. As to your question - please review
Highlighted: S7-1200 FW V4.1.3 allows to execute motion function blocks in any OB. What has been suggested to you sounds good enough to try out. BUT be sure it is FW4.1.3 on your PLC. Any FW4.x can be upgraded to this version.Please let us know the result. Go well. |
||
This contribution was helpful to1 thankful Users |
Follow us on