3/15/2025 8:52 PM | |
Joined: 1/4/2013 Last visit: 8/13/2025 Posts: 1186 Rating:
|
Accidentally I stumbled upon this thread and I see that my thread is more or less similar. Let me add one IMPORTANT thing : the chance of success ( so the MC_CamIn succesfully launches the cam and doesn't stay stuck ) is inversely proportional to Master's speed. If master runs slow, it seems that the MasterSyncPosition is "detected" correctly and all is fine. If master runs "fast" (and I strongly think that it depends on the CPU's performances, since in my 1511T the "Fast" means 360°/s !) then your chances to have a stuck MC_CamIn are high. The "funny" thing is that in case MC_CamIn is stuck, if you reduce the master's speed, it unfreezes and starts working immediately (when master crosses the next sync position) ! More precisely you have the "Busy" flag at TRUE from MC_CamIn, but you will never see any InSync flag coming (in fact slave never moves). Additionally no error flag/IF is present. MC_CamIn instruction does not give any error. @Siemens : it does definetly depends on Master Speed. Please fix this, otherwise we cannot do serious machines with T-CPUs. It is realyl IMPORTANT. Affected TIA : TIA 20 |
Last edited by: Davinator at: 03/15/2025 20:55:26Last edited by: Davinator at: 03/15/2025 21:06:14Last edited by: Davinator at: 03/15/2025 21:26:48Searching for Siemens used/new equipments ? |
|
This contribution was helpful to
2 thankful Users |
3/17/2025 12:24 PM | |
Joined: 11/21/2023 Last visit: 9/2/2025 Posts: 6 Rating:
|
Davinator
This very well could be but I don't believe I am specfically seeing that. In my application it is two linear axes. I am using a 1514SP TF on V20. I wouldn't necessarily say the master is running fast. We are bending a part with a servo (Slave) relative to material travel (Master). The master is running ~150mm/s. Scan time of the PLC results in about 1-2mm of Master travel per scan. MC_CamIn is executed when Master is reset to 0mm position. The CAM profile keeps the servo at the same place until Master position ~50mm, so we are well within the bounds of the CAM profile when the MC_CamIn is executed. Is your CAM profile hard coded? Or are you changing it with the user program? If an adjustment is made on the HMI I use the LCamHdl_CreateCamAdvanced Siemens-built FB to recreate the CAM profile. It seems that adjusting the CAM profile between cycles causes the problem to happen more often. |
3/17/2025 1:05 PM | |
Joined: 1/4/2013 Last visit: 8/13/2025 Posts: 1186 Rating:
|
SOLUTION FOUND. Solution : put a very high values for ramps in the MC_CamIn and put very high ramps values in the maximum values of the Axis's TO. End of the story. |
Searching for Siemens used/new equipments ? |
|
3/20/2025 2:28 AM | |
Joined: 11/21/2023 Last visit: 9/2/2025 Posts: 6 Rating:
|
This was not a solution for us. I can see how for your system moving at high speeds that changing the maximum ramps would help. But this must be a different variation of the problem. |
Follow us on