11/1/2023 3:16 PM | |
Joined: 12/31/2021 Last visit: 6/25/2024 Posts: 2 Rating:
|
- TIA Version V16 - PLC Sim V16 - Doubt: the "LAxesGrpCtrl" example seem the motion from the place position to the waiting position isn't executed when tried with PLC Sim. I want to try the "LAxesGrpCtrl" block library but I don't have any of the Sinamic servo drivers. I have an ideal test with PLC Sim V16 and Factory I/O Pick&Place XYZ example. I follow tutorial I follow the tutorial at SIMATIC S7-1200: Handling library for pick & place applications - ID: 109792862 - Industry Support Siemens and open example project. The first problem is that can't start the PLC Sim with the problem "MC-Servo[OB91]" and "MC-Interpolator[OB92]" cannot be simulated. Then I deleted [OB91], and [OB92], and ran the simulation again. it works! Finally, I tried to set "True" for the tag "execute" in DB "ControlVariables" reference chapter 4.4 in the document. I saw "PathDefinition".pathDefinitionTransferVariable.pathName in DB35502 was changed to 'Wait' and targetPosition points[0], points[0] had value. But it seems the motion from the place position to the waiting position isn't executed. Because I don't see "Axis_X".Position, "Axis_Y".Position, "Axis_Z".Position change value different 0.0 in Wath and force tables> LAxesGrpCtrl_ApplicationControl. Hope to receive help from everyone if this library and sample program can be used with the simulation function with PLC Sim! |
Last edited by: tonyteosh at: 11/02/2023 01:34:02Last edited by: tonyteosh at: 11/02/2023 03:01:56Last edited by: Jen_Moderator at: 11/02/2023 11:42:04Text formatting and link optimized. |
|
11/6/2023 9:55 AM | |
Joined: 9/23/2005 Last visit: 8/27/2025 Posts: 4416 Rating:
|
Hi, I don't know this library in depth, but in general terms I can say that the main objective of PLCSim is to test algorithms created by the user. It has limitations regarding the simulation of physical elements and communications with external equipment. I suggest you take a look at the PLCSim manual https://support.industry.siemens.com/cs/br/pt/view/109773149/en, especially the chapters: 3.5 Differences between a simulated PLC and a physical PLC and 10.2 Restrictions with motion control |
Denilson Pegaia |
|
Follow us on