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: 1 day ago
Post by fless on How to change bHiresMode
CODESYS Forge
talk
(Post)
Hi, you should see 2 input fields in the scaling tab of your linear axis: increments and units in application just set increments to 10 and units in application to 366
Last updated: 2024-03-12
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 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: 5 days ago
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 fless on How to change bHiresMode
CODESYS Forge
talk
(Post)
you need to set the increments to 10 (the screenshot shows 10000 hex = 65536). all the turn settings to 1. and the application units to 366. But usually you use the resolver resolution per motor turn. Insert the gear ratios (1:1 for no gear) and the last field you put the circumference of your drive wheel.
Last updated: 2024-03-12
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 gseidel on Discontinuity of A/B/C axis movement.
CODESYS Forge
talk
(Post)
Hi jonasz, you already solved it, I'm answering here for the sake of others with a similar question. You can provide the slope of the A/B/C axis with the U/V/W word. See example 3 here: https://content.helpme-codesys.com/en/CODESYS%20SoftMotion/_sm_cnc_din66025_additional_axis.html If you don't want to change the G-Code, the function block SMC_RecomputeABCSlopes can compute the slopes automatically. https://content.helpme-codesys.com/en/libs/SM3_CNC/Current/SM_CNC_POUs/SoftMotion-CNC/SoftMotion-Function-Blocks/SMC_RecomputeABCSlopes.html Best regards, Georg
Last updated: 2024-04-30
Automatic parameter change with "Write all values"
CODESYS Forge
talk
(Thread)
Automatic parameter change with "Write all values"
Last updated: 2012-10-22
IDE 3.5.14.20 lag/delay when windows change
CODESYS Forge
talk
(Thread)
IDE 3.5.14.20 lag/delay when windows change
Last updated: 2020-10-15
Change Timer Preset Value through HMI
CODESYS Forge
talk
(Thread)
Change Timer Preset Value through HMI
Last updated: 2020-03-26
Sudden Font size change in IDE, unusable CodeSys
CODESYS Forge
talk
(Thread)
Sudden Font size change in IDE, unusable CodeSys
Last updated: 2021-03-31
How to change keyboard layout on the virtual keyboard?
CODESYS Forge
talk
(Thread)
How to change keyboard layout on the virtual keyboard?
Last updated: 2023-11-17
Execute a external program when variable change true/false
CODESYS Forge
talk
(Thread)
Execute a external program when variable change true/false
Last updated: 2015-06-17
CTD β Change preset value, same variable as current value
CODESYS Forge
talk
(Thread)
CTD β Change preset value, same variable as current value
Last updated: 2016-10-06
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
.