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 mubeta on Some 'pathetic' errors in SoftMotion program
CODESYS Forge
talk
(Post)
Hello everyone, I have a very simple program for the process, but it's driving me crazy and I can't see the problems I'm left with: Short topological description: Dual Core Berghof controller with softmotion runtime version 3.5.19.30; Two axes with servodrive on canopen bus, clocked distributed from master; Ethercat I/O node; 2 ms ethercat task, 2 ms canopen bus cycle time; I/O objects of the canopen master and canopen drives connected to the ethercat task cycle; Problem 1: Two separate programs each manage their own axis and drive, with separate state machines. A first axis moves primarily in velocity, except having to position itself absolutely at a predetermined point at the end of the job; the second axis, on the other hand, is a paper unwinder that changes, for each job cycle, from actions in absolute, relative, and cam displacement with the master axis. Well, the state machine of both axes was written in such a way as to call running the useful FB and change it on state change in this way: CASE i_stateMachine OF 0: o_Power(Enable := TRUE, bRegulatorOn := FALSE, bDriveStart := FALSE, Axis := o_PaperUnwinderAxis); o_MoveAbs(Execute := FALSE, Axis := o_PaperUnwinderAxis); o_MoveRel(Execute := FALSE, Axis := o_PaperUnwinderAxis); o_CamSelect(Execute := FALSE, Master := o_MachineAxis, Slave := o_PaperUnwinderAxis, CamTable := cam_PaperUnwinder); o_CamIn(Execute := FALSE, Master := MachineEncoder, Slave := o_PaperUnwinderAxis); o_CamOut(Execute := FALSE, Slave := o_PaperUnwinderAxis); o_SetPosition(Execute := FALSE, Axis := o_PaperUnwinderAxis); IF ... THEN i_StateMachine := 10; END_IF; 10: o_Power( Enable := TRUE, bRegulatorOn := TRUE, bDriveStart := TRUE, Axis := o_PaperUnwinderAxis ); IF o_Power.Status THEN i_StateMachine := 20; END_IF; 20: (* Avanzamento carta *) o_MoveAbs( Execute := TRUE, Position := o_Somewhere, Velocity := 25.0, Acceleration := 3666.7, Deceleration := 3666.7, Jerk := 48000.0, Direction := MC_DIRECTION.positive, Axis := o_PaperUnwinderAxis ); IF o_MoveAbs.Done THEN o_MoveAbs(Execute := FALSE, Axis := o_PaperUnwinderAxis); i_StateMachine := 30; END_IF 30: d_HomingPosition := ...; o_SetPosition( Execute := TRUE, Position := d_HomingPosition, Mode := FALSE, Axis := o_PaperUnwinderAxis ); (* ... *) IF o_SetPosition.Done = TRUE THEN o_SetPosition(Execute := FALSE, Axis := o_PaperUnwinderAxis ); o_LogServer.Append(sMessage := '...', lscClass := LOGSERVER_CLASS.ALWAYS, sdt := o_CommonsMgrData.systime.sdtLocal); i_StateMachine := 40; END_IF; 50: ... The code above is a sketchy example of what I wanted to write. But it gives me a spot problem: in some, the state change results in a drive error, which is unrecoverable except with a reinitialization via SM3_ReinitDrive(). Things are improved a little if in the program I always run the call of all softmotion blocks in this way: o_Power(Axis := o_PaperUnwinderAxis); o_Jog(Axis := o_PaperUnwinderAxis); o_Halt(Axis := o_PaperUnwinderAxis); o_MoveAbs(Axis := o_PaperUnwinderAxis); o_MoveRel(Axis := o_PaperUnwinderAxis); o_CamIn(Master := MachineEncoder, Slave := o_PaperUnwinderAxis); o_CamOut(Slave := o_PaperUnwinderAxis); If I don't execute all the calls of all the motion FBs used, when exchanging machine state often (but not always), the axis goes into error with event id THE_FB_WASNT_CALL... Done a little diagnostics it seems that the FBs return the bDone, before they are completely terminated. I tried doing the machine state exchange not with the bDone bit of the FBs, but with the 'standstill' state of the axis. It didn't seem to change anything. Problem 2: During the use SM3_ReinitDrive() I get the erro in the log: "NetID 0: SDO read error for object 16#607C..." Assuming that the device involved it's one of the two servodrive, (no others device are present in the network), I don't found any object 0x607C in the 'possible object list in/out' of the two drive, and I don't understand where this object can be listed. So any ideas and suggestions regarding these two issues will be very, very welcome. If you need the source project, I am willing to send it.
Last updated: 2024-07-17
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 tk096 on Motion FB Error
CODESYS Forge
talk
(Post)
Hi, Softmotion Robotics does not support tracking in/out to dynamic coordinate systems with relative movements. Is MC_MoveLinearAbsolute an option? See SMC_RELATIVE_MOVEMENT_TRACKING_CS in https://content.helpme-codesys.com/en/libs/SM3_Error/Current/SM3_Error/SMC_ERROR.html Concerning the other error: Do you use any motion function blocks of SM3_Basic to move a single axis of the robot in your application?
Last updated: 2023-10-20
AlarmMgr Database Error in method WriteToStorage: Error code = 30531, Action = 1030
CODESYS Forge
talk
(Thread)
AlarmMgr Database Error in method WriteToStorage: Error code = 30531, Action = 1030
Last updated: 2023-11-21
Package Download Error: The response ended prematurely, with at least 11522184 additional bytes expected. error
CODESYS Forge
talk
(Thread)
Package Download Error: The response ended prematurely, with at least 11522184 additional bytes expected. error
Last updated: 2022-11-11
Project compiling error in Simulation mode
CODESYS Forge
talk
(Thread)
Project compiling error in Simulation mode
Last updated: 2023-09-08
Error index was outside the bounds
CODESYS Forge
talk
(Thread)
Error index was outside the bounds
Last updated: 2023-09-19
CODESYS Development System V3.5.18.30 Installation Error
CODESYS Forge
talk
(Thread)
CODESYS Development System V3.5.18.30 Installation Error
Last updated: 2022-12-07
EtherCAT_Master error if integrated into project
CODESYS Forge
talk
(Thread)
EtherCAT_Master error if integrated into project
Last updated: 2017-08-28
Unable to import device description error
CODESYS Forge
talk
(Thread)
Unable to import device description error
Last updated: 2021-07-29
Help with error C0142
CODESYS Forge
talk
(Thread)
Help with error C0142
Last updated: 2023-10-04
SFC Pre-compilation problem/Error
CODESYS Forge
talk
(Thread)
SFC Pre-compilation problem/Error
Last updated: 2015-02-23
Device Logon Error on EPEC 6505
CODESYS Forge
talk
(Thread)
Device Logon Error on EPEC 6505
Last updated: 2022-03-29
File reading or writing error
CODESYS Forge
talk
(Thread)
File reading or writing error
Last updated: 2020-10-10
PI3 B+ MCP2515 CAN ERROR
CODESYS Forge
talk
(Thread)
PI3 B+ MCP2515 CAN ERROR
Last updated: 2020-09-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
.