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
Beaglebone Black - only one Ethernet port - how to connect to LAN, and EtherCAT?
CODESYS Forge
talk
(Thread)
Beaglebone Black - only one Ethernet port - how to connect to LAN, and EtherCAT?
Last updated: 2022-01-16
exporting or copying the COE online data from an ethercat slave device
CODESYS Forge
talk
(Thread)
exporting or copying the COE online data from an ethercat slave device
Last updated: 2019-10-30
How to connect Codesys Control win v3 to an ethercat board-card(hilscher)
CODESYS Forge
talk
(Thread)
How to connect Codesys Control win v3 to an ethercat board-card(hilscher)
Last updated: 2018-11-26
It it possible to connect 100 EtherCAT Slaves to a Codesys Master on a RaspberryPi 3
CODESYS Forge
talk
(Thread)
It it possible to connect 100 EtherCAT Slaves to a Codesys Master on a RaspberryPi 3
Last updated: 2020-12-14
CODESYS Safety for EtherCAT Safety Module + Beckhoff EL6900 + SEW MOVIC System
CODESYS Forge
talk
(Thread)
CODESYS Safety for EtherCAT Safety Module + Beckhoff EL6900 + SEW MOVIC System
Last updated: 2020-11-09
Use of front Ethernet port on beckhoff CX2040 as an EtherCAT master
CODESYS Forge
talk
(Thread)
Use of front Ethernet port on beckhoff CX2040 as an EtherCAT master
Last updated: 2021-04-29
How to handle machine ESTOP or EtherCAT loss with SFC language
CODESYS Forge
talk
(Thread)
How to handle machine ESTOP or EtherCAT loss with SFC language
Last updated: 2017-08-17
EtherCAT Master : Set MAC address of NIC by IEC code or file?
CODESYS Forge
talk
(Thread)
EtherCAT Master : Set MAC address of NIC by IEC code or file?
Last updated: 2020-05-17
Omron R88D-KN08H-ETC with a raspberry on top... (over ethercat)
CODESYS Forge
talk
(Thread)
Omron R88D-KN08H-ETC with a raspberry on top... (over ethercat)
Last updated: 2022-01-17
Post by rmaas on Direct Pointers in IOMapping for EtherCAT with IoDrvEthercatLib.ETCSlave_Dia
CODESYS Forge
talk
(Post)
The reference used is the ethercat slave name. For example in this screenshot the reference would be: EL1809_1
Last updated: 2024-02-13
Post by felipemsgarcia on Generic EtherCAT slave
CODESYS Forge
talk
(Post)
Hello, I'd like to know if it's possible to add a servo drive as a generic EtherCAT slave (non-Motion). Thank you in advance!
Last updated: 2024-05-14
Automation Builder V2.5 EtherCAT CM579 Master Scan for devices - >No gateway selected
CODESYS Forge
talk
(Thread)
Automation Builder V2.5 EtherCAT CM579 Master Scan for devices - >No gateway selected
Last updated: 2024-05-20
SafetyApp - Exchange 8 bits from EtherCAT Safety Module to PLC mapping issue
CODESYS Forge
talk
(Thread)
SafetyApp - Exchange 8 bits from EtherCAT Safety Module to PLC mapping issue
Last updated: 2024-06-17
PFC200 (750-8214) high linux load average, but seems random. Possibly EtherCAT related.
CODESYS Forge
talk
(Thread)
PFC200 (750-8214) high linux load average, but seems random. Possibly EtherCAT related.
Last updated: 2024-07-11
Post by manuknecht on High Cycle Times for SoftMotion_PlanningTask when using AxisGroup
CODESYS Forge
talk
(Post)
Hi These issues occured using a Raspberry Pi 4. I also repeated the experiment with codesys control for Windows, which results in much lower cycle times. With up to 3 ms, I still think they are fairly high given they should run at 2 ms and don't require complicated kinematics. The effect of higher cycle times for slower movements also prevails.
Last updated: 2024-03-13
Post by sl0802 on Ethercat Dynamic Configuration : Clear all slaves
CODESYS Forge
talk
(Post)
Hi, Can you please share some information how did you configure ethercat slaves dynamically with Ethercat stack library. It would be Great help!! Thank you, Regards.
Last updated: 2024-02-13
Post by fugtwad on Automation Builder V2.5 EtherCAT CM579 Master Scan for devices - >No gateway selected
CODESYS Forge
talk
(Post)
Scan from "IP-Configuration" with PC connected to first EtherCAT slave and "EtherCAT" tick box ticked gives slave info. As does ticking the "Emergency" tickbox.
Last updated: 2024-05-20
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 nathant on Saving variable values on power cycle (RevPi Connect)
CODESYS Forge
talk
(Post)
Hello, this seems to be a known issue, but persistent/retain variables don't seem to work properly on RevPi devices. Is there a workaround to this? All I need is for a few configuration variables to be remembered through power cycle.
Last updated: 2023-12-03
RPI can system operation like rm in a shell have an impact on a Task cycle time
CODESYS Forge
talk
(Thread)
RPI can system operation like rm in a shell have an impact on a Task cycle time
Last updated: 2024-09-27
Post by banialuk on CAN Open Manager - varible of SYNC
CODESYS Forge
talk
(Post)
Hello, were I have find varaible of SYNC "Cycle Period" , or variable that informs about the start of a new cycle SYNC. I want to use this variable in program code. I need to for communication beetween Mster and slave, and send PDO informations.
Last updated: 2024-10-26
Post by banialuk on CAN Open Manager - varible of SYNC
CODESYS Forge
talk
(Post)
Hello, were I have find varaible of SYNC "Cycle Period" , or variable that informs about the start of a new cycle SYNC. I want to use this variable in program code. I need to for communication beetween Mster and slave, and send PDO informations.
Last updated: 2024-10-26
Post by mubeta on Some 'pathetic' errors in SoftMotion program
CODESYS Forge
talk
(Post)
Thank you for your interest. Your answers are in line with what I knew, so at least it comforts me that I did not misinterpret the situation. However, I don't have an exact match as, for this project over the past few days I have: 1) I have gone back to leaving the various FBs of the motion always called, all of them, and in the state machine I use a boolean to activate the various useful Execute. (But in the future I want to go back and try the programming technique with which I wanted to develop this project); 2) For the occasional error: SMC_FB_WASNT_CALLED_DURING_MOTION perhaps it was due to the fact that I had set the Ethercat bus synchronism only at the CAN master level, but not at the level of individual drives. I have now also activated it for the individual drives and it does indeed seem to have been resolved, but having also adopted the programming technique mentioned in point 1), I cannot say whether this was the solution to the problem, or instead the previous point. Is there an error ‘regulator or start not set’ in the device log before the error ‘motion generating FB wasn't called for at least one cycle’? I can't answer that right now. By now the machine is running and I am no longer there, at this one. Also, I seem to remember that the 'fbeFBerror' drive structure (5-element array), does not cycle, BUT ONCE THE 5 EVENTS AFTER SWITCHING ON, IT DOES NOT UPDATE ANYMORE (but that's another issue), so diagnostics were not easy.
Last updated: 2024-07-24
Post by eschwellinger on onewire bus master stop working after 4.8.0.0 upgrade
CODESYS Forge
talk
(Post)
hm.. wie wäre es mit 4.9.0.0 Runtime?
Last updated: 2023-09-21
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
.