Post by simotion on Inheritance of axis
CODESYS Forge
talk
(Post)
I have developped a function block 'Axis' the inherits from 'AXIS_REF_SM3' -> FUNCTION_BLOCK Axis EXTENDS AXIS_REF_SM3 In my global variable list I define a variable MasterDrive of type Axis and assign Axis1. Axis1 is a virtual drive (AXIS_REF_VIRTUAL_SM3). This type should inherit from AXIS_REF_VIRTUAL. VAR_GLOBAL MasterDrive : Axis := Axis1; However I get the error 'Cannot convert type'. What is the way to obtain what I want : function block inheriting AXIS_REF_SM3 and initialising this function block with a Softmotion virtual or real axis?
Last updated: 2023-12-07
Ethercat scan for devices not picking up EL7041 as a softmotion axis
CODESYS Forge
talk
(Thread)
Ethercat scan for devices not picking up EL7041 as a softmotion axis
Last updated: 2023-09-18
Post by kumareasu on Hydraulic Axis Controller
CODESYS Forge
talk
(Post)
I want to make Hydraulic Axis Controller with Linear encoder feedback. Any library available ?
Last updated: 2023-12-08
How to record positions in softmotion's x-y axis by X-Y chart of package
CODESYS Forge
talk
(Thread)
How to record positions in softmotion's x-y axis by X-Y chart of package
Last updated: 2018-12-04
Getting SMC_ERROR 34 SMC_AXIS_NOT_READY_FOR_MOTION, while the axis should be ready for motion
CODESYS Forge
talk
(Thread)
Getting SMC_ERROR 34 SMC_AXIS_NOT_READY_FOR_MOTION, while the axis should be ready for motion
Last updated: 2023-02-27
Raspberry Pi with Realtime Patch, Pixtend, Softmotion, 3 axis gant via ethercat with some strange behaviours
CODESYS Forge
talk
(Thread)
Raspberry Pi with Realtime Patch, Pixtend, Softmotion, 3 axis gant via ethercat with some strange behaviours
Last updated: 2020-02-08
How do I avoid axis deviations when the gantr block offset changes!
CODESYS Forge
talk
(Thread)
How do I avoid axis deviations when the gantr block offset changes!
Last updated: 2023-05-30
The A/B/C axis problem of CNC interpolator in 6DOF robot
CODESYS Forge
talk
(Thread)
The A/B/C axis problem of CNC interpolator in 6DOF robot
Last updated: 2022-09-12
Axis state varying between PowerOff and StandStill when MC_Power is executing
CODESYS Forge
talk
(Thread)
Axis state varying between PowerOff and StandStill when MC_Power is executing
Last updated: 2021-01-28
How to record positions in softmotion's x-y axis by X-Y chart of package
CODESYS Forge
talk
(Thread)
How to record positions in softmotion's x-y axis by X-Y chart of package
Last updated: 2018-11-25
Post by simotion on Pointer to Softmotion axis
CODESYS Forge
talk
(Post)
No ideas?
Last updated: 2023-10-27
Motion π¬π§
CODESYS Forge
talk
(Discussion)
Realizing single or multi axis motion control, CAM, CNC and Robotic applications
Last updated: 2 days ago
Post by janderson on Ethercat scan for devices not picking up EL7041 as a softmotion axis
CODESYS Forge
talk
(Post)
I have a beckhoff EL7041-1000 rev 21 in my ethercat bus but it wont correctly create a softmotion axis unless i manually insert the device. scan for devices gives me an el7041-1000 without an SM3 axis.
Last updated: 2023-09-02
Post by simotion on Axis variable indicating modulo of finite setting
CODESYS Forge
talk
(Post)
What variable of the axis indicates it is a modulo of finite axis? I want to check that in the code, to adopt my motion code between the two types.
Last updated: 2023-11-24
Post by pr0schwein on Driving the slave axis across master's zero point - caming
CODESYS Forge
talk
(Post)
Is there a way to move the slave axis across the zero point of the master axis with variable start and stop points? For example: Slave start at 270Β° and end at 50Β°. thanks :)
Last updated: 2024-01-18
Post by niallel on How to change bHiresMode
CODESYS Forge
talk
(Post)
Hi, I'm trying to get Scaling working on my axis. An increment produces 36.6mm of movement, so I want to put the units in application as 36.6. However the docs say that I need to change bHiresMode as it doesn't show me the option for Precision in the User Interface. I'm thinking that I need to change the precision so I can enter decimal places. How can I do this, or is my thinking wrong? Thanks,
Last updated: 2024-03-11
Post by simotion on Pointer to Softmotion axis
CODESYS Forge
talk
(Post)
In my projet I use Softmotion. There are several Softmotion axis (type SM_Drive_Virtual). In the Global Variable List I have an array of pointers to the adress of the Axis. Axis : ARRAY[1..iMaxCntAxes] OF POINTER TO AXIS_REF_SM3 := ADR(AX01_Axis), // [1 ADR(AX02_Axis), // [2] This works, but when compiling I get the message : . [WARNING] E3D: GVL Device: PLC Logic: Application: C0564: A reference to uninitialized variable AX01_Axis is used for initialization of Axis. Accessing the uninitialized variable may result in unexpected behavior. [WARNING] E3D: GVL Device: PLC Logic: Application: C0564: A reference to uninitialized variable AX02_Axis is used for initialization of Axis. Accessing the uninitialized variable may result in unexpected behavior. Is there a way when initializing to force the hardware (softmotion axis) to first initialize and then the Global Variable List?
Last updated: 2023-10-25
Post by simotion on Variable indicating axis pending gearing or camming
CODESYS Forge
talk
(Post)
Is there a variable indicating that a gearing or camming operation is pending? For instance MC_Gearin has beeen triggered, but starting point of master axis to start the sychronisation movement is not reached yet, so the slave axis is just waiting for this. I should be able to differ between a pending and active gearing or camming
Last updated: 2023-11-28
Post by totorovic on Pointer to Softmotion axis
CODESYS Forge
talk
(Post)
I get the same warning message with initialized variable. Codesys 3.5.19.20
Last updated: 2023-11-09
Post by eschwellinger on Softmotion axis to CANopen Maxon IDX drive
CODESYS Forge
talk
(Post)
can you add here the EDS file?
Last updated: 2024-01-07
Post by reinier-geers on Inheritance of axis
CODESYS Forge
talk
(Post)
Do You have a solution ? Ive want the same
Last updated: 2024-01-12
Post by chir on SMC_REGULATOR_OR_START_NOT_SET issue
CODESYS Forge
talk
(Post)
Drive: Inovance MD520 In a project I add SoftMotion CiA402 Axis
Last updated: 2024-04-22
Post by gseidel on Hydraulic Axis Controller
CODESYS Forge
talk
(Post)
Hi kumareasu, yes, correct. Best regards, Georg
Last updated: 2024-04-30
Post by jonasz on Discontinuity of A/B/C axis movement.
CODESYS Forge
talk
(Post)
PrtScr
Last updated: 2024-05-09
Post by imdatatas on MC_CamIn did not work properly with SMC_FreeEncoder on SoftMotion 4.17.0.0
CODESYS Forge
talk
(Post)
Hello, I am facing a problem with the new Softmotion 4.17.0.0 version. Has anyone encountered a similar problem, what is the solution? I would be happy if you could share it. Problem description: -- "SMC_FreeEncoder" encoder axis is the master, -- The motor of the servo driver on the EtherCAT bus is the slave axis. -- When the MC_CamIn block executed, the InSync output is activated. However, although the master encoder axis position value changes, there is no movement in the slave servo axis! Test steps: 1-) EtherCAT servo axis installed, configured and motion test was performed with MC_Jog. No problem. 2-) Softmotion general axis pool > SMC_FreeEncoder was added and pulse amount configuration was performed. No problem. 3-) Incremental encoder actual count value was transferred to the "SMC_FreeEncoder.diEncoderPosition" variable as DINT under the ethercat task in every cycle and the encoder axis position value was observed. No problem. 4-) A simple CAM table with a 1:1 ratio was created under the project tree. (For example: Simply, when the encoder rotates 1 turn, the motor will rotate 1 turn.) 5-) The SMC_FreeEncoder axis enabled with MC_Power and brought to the StandStill state. 6-) The MC_CamTableSelect block was run with default input values ββ(all absolute) and only the Cam table name was specified. The Done output was seen successfully. No problem. 7-) The MC_CamIn block was activated with default input values ββ(absolute) and only the master encoder axis name, slave servo axis name, CamTableID input pins was specified and then "Execute" input set to TRUE. 8-) The InSync output information of the MC_CamIn block observed as TRUE. However, although the encoder axis value changed, the position value of the slave axis did not change at all, it did not move. It always remained at 0.0mm. 9-) When I repeated the same steps above, only changing the master axis to SM_Drive_Virtual instead of FreeEncoder and gave movement to the virtual axis, this time the slave axis moved successfully. However, when the same steps and operations are performed with the same IDE just downgrade SoftMotion version from 4.17.0.0 to 4.10.0.0, everything works normally and without problems as expected in MC_CamIn block with FreeEncoder master. (By the way, The used IDE version is Codesys V3.5 SP20patch3.) Best Regards Imdat
Last updated: 6 days ago
To search for an exact phrase, put it in quotes. Example: "getting started docs"
To exclude a word or phrase, put a dash in front of it. Example: docs -help
To search on specific fields, use these field names instead of a general text search. You can group with AND
or OR
.