Search talk: ethercat bus cycle

 
<< < 1 .. 16 17 18 19 20 .. 26 > >> (Page 18 of 26)

Post by andreiot40 on Step motor ECT60 Ethercat in codesys 3.5 CODESYS Forge talk (Post)
I want to use my step motor with driver ECT60 Ethercat on CODESYS 3.5. All connexion is good because it work with Twincat 3. But now I want to use that with CODESYS 3.5 but the communication doesn't work. someone can help me ?
Last updated: 2024-08-13

Post by reinier-geers on Ethercat not running. CODESYS Forge talk (Post)
I change a running programm but now ethercat is not running. all users are there. Why is it always problems with codesys/ Diadesigner. i see also a Crist ? Why ther is only one master
Last updated: 2024-10-16

Post by kbucsit22 on Ethercat Slave - Load PDO From Device CODESYS Forge talk (Post)
Hi All, I am using Control Win V3 x64. Anyone experiences to use Expert mode to map the Ethercat Slave device to press this Load PDO from Device, Pressed first time then nothing happens. Pressed second time then the software crashes. Best regards, Kenneth
Last updated: 2024-10-22

Post by kbucsit22 on Ethercat Slave - Load PDO From Device CODESYS Forge talk (Post)
Codesys Version V3.5 SP20 Patch 3 Ethercat Master: EXW1-BECAC (SMC) The Load PDO Button was pressed but software hangs. I try Beckhoff its working, dont know Codesys got issues.
Last updated: 2024-10-25

Post by kbucsit22 on Ethercat Slave - Load PDO From Device CODESYS Forge talk (Post)
Codesys Version V3.5 SP20 Patch 3 Ethercat Master: EXW1-BECAC (SMC) The Load PDO Button was pressed but software hangs. I try Beckhoff its working, dont know Codesys got issues.
Last updated: 2024-10-25

Post by eschwellinger on Problem Update new version Master ethercat CODESYS Forge talk (Post)
Hi, if you are on RTE SL, in that situation you should think on an update all 1. RTE version 2. CODESYS DEvelopmentsystem Version 3. Ethercat Master Version to 4.8.0.0.
Last updated: 2024-10-28

Post by elektron785 on CAN-Bus in Demo-Version CODESYS Forge talk (Post)
Hallo, wie verhält es sich mit der Demo-Version und Datenübertragung z.B. via CAN-Bus. Der Bus läuft, das Device befindet sich im Zustand "Operational" aber es werden keine Daten von der Soft-SPS empfangen. Ich benutze aktuell eine nicht lizenzierte Version von CoDeSys Control for Linux ARM64SL. Normalerweise sollte die Demo-Version uneingeschränkt laufen - also kann ich davon ausgehen, dass es sich um einen Programmierfehler handelt oder ist die Feldbusfunktion ohne Lizenz doch in irgendeiner Form eingeschränkt verfügbar (außer dem 30 Minuten Limit nach Reboot)?
Last updated: 2024-02-06

Post by tk096 on Some 'pathetic' errors in SoftMotion program CODESYS Forge talk (Post)
Meanwhile, I would like to understand why the motion FB instances must still be called even after the Execute is set to FALSE, especially in view of the fact that the next instruction is programmed to abort the previous one, with BufferMode set to 'Aborting'. All these unnecessary FB calls are an unnecessary overhead on the CPU anyway. Is there any precise rule about when to cease calling the various instances? (It should precisely be the 'done' status that says this one has finished its work). In general: - Motion function blocks have to be called until they report 'Done', 'Error', 'CommandAborted' or a subsequent motion FB with BufferMode=Aborting is started in the current cycle. - Setting the Execute input to FALSE will not abort any ongoing motion of the motion function block. For example, one case that is often problematic is the execution of the Axis Halt instruction. When, after a MoveAbosulte instruction this returns the event as 'done' and indeed the axis is in standstill, the state machine first sets the move instruction to FALSE, and the next cycle sets the Halt request to TRUE. Some of the time everything works out fine. Occasionally, however, in this exchange, the axis goes into fault, also losing the OPERATIONAL state. I think the error SMC_FB_WASNT_CALLED_DURING_MOTION is only a follow-up (and misleading) error that results from the axis not being in operational state anymore (bus problems). 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'? Which error does the respective function block (Halt.ErrorId) report?
Last updated: 2024-07-22

Post by eschwellinger on CAN-Bus in Demo-Version CODESYS Forge talk (Post)
nein nur die 30 Minuten- aber sonst keine Einschränkung. Gerätebaum alles Grün/Orange? IO Variablen mappen und auch im Programm verwendet?
Last updated: 2024-02-06

Post by martinlithlith on Mux I2C CODESYS Forge talk (Post)
Hi! I´ll try to get this thread going again as i´m having simliar problems. Right now i get a red triangle on my connected devices (i´m testing with a BME280 sensor and a PCA9685 resvo driver). The TCA9548 have the green symbol beside it. On the "red" devices i get that the bus is not running. I have tried to either run it using the parent bus cycle setting or creating a new freewheeling task prio 1 but nothing helps. I have compared my settings to the settings from the example from the MUX package and i have read (i think) every thread in forge that could be of interest. EDIT: The ic2detect only shows the mux (70-70) and the servo drive (70-76) so i´ll look in to if i managed to burn the 280-sensor while soldering). Another question regarding the 280 sensor. I have a sensor GY-BM E/P 280 that should record humidity and temperatur. Could this be a problem with the library? Does anyone have an idea of what i might be doing wrong? I have some experience from Codesys but not much so this could be an easy one. All suggestions are welcome. I tried to upload the project archive but it did not work. Should i upload the export or how could i show you my horrible project? Best, Martin
Last updated: 2023-10-22

Post by z870623 on About CPU Loading CODESYS Forge talk (Post)
I am running a runtime environment on an ARM A35 dual-core processor (1.5GHz) and have encountered some issues. The CPU load (both CPU0 and CPU1) occasionally spikes above 50% before returning to normal, and this happens around 2-3 times per minute. At the same time, I’ve noticed that the Max Cycle Time in the Codesys monitoring screen shows much worse performance compared to the A53 (1.2GHz), with nearly double the cycle time. The optimizations I have made so far are as follows: Set the CPU to performance mode. Isolated CPUs: CPU0 is dedicated to running Linux services and the runtime itself, while CPU1 runs the EtherCAT task and the MainTask. Despite CPU1 only running these two tasks, the utilization still increases above 50%, which I find unreasonable. Additionally, I performed tests using cyclictest both without and with the runtime running. The performance is shown in the following image: From the results, I believe the CPU performance should be fine, but I am unsure why the monitoring results are not as expected. The testing outcomes should ideally be as close as possible to the cyclictest results. Does anyone have related solutions to this issue?
Last updated: 2024-10-14

Post by rossanoparis on RevPi CONNECT+, CODESYS, EtherCAT master "Filedbus lost synchronicity" CODESYS Forge talk (Post)
Hello @rmaas I assume, you've already verified and tuned everything regarding the EtherCAT network. In my case the problem was due to a wrong core assignement. I suggest to not use the core #0 for your EtherCAT task. The OS realtime patch, which is present on RevPi OS, uses the core #0 for its porpouses and it mustn't be used by any other task which requires realtime and deterministic features. regards Rossano
Last updated: 2024-04-11

Post by bernhardw on Probleme mit MC_HALT_SML und MC_STOP_SML CODESYS Forge talk (Post)
Hallo … ich verwende: SoftMotionLight im Positions-Mode Ethercat-Bus Servoverstärker: Metronix BL4104-C . MC_HALT_SML funktioniert nicht zuverlässig (Achse fährt manchmal zu weit oder bis zum Softwareschalter) Ich habe festgestellt, dass intern beim Aufruf von Positions- auf Velocity-Mode umgeschaltet wird - und dann wird wahrscheinlich intern auf Drehzahl 0 abgeregelt. Kennt jemand dieses Problem? – der Wechsel der Betriebsart ja ist nicht verzögerungsfrei! MC_STOP_SML Der Baustein hat keinen Eingangsparameter "Deceleration" Die Achse stoppt und bleibt im Positions-Mode. Aber die Verzögerung ist nicht wie beschrieben: nicht "Objekt 6085h: quick_stop_deceleration" - sondern "Objekt 6084h: profile_deceleration" - aus zuvor aufgerufenem MC_MOVE_ABSOLUTE_SML Ich wäre dankbar für jeden Hinweis Gruß Bernhard
Last updated: 2024-08-05

Post by manuknecht on High Cycle Times for SoftMotion_PlanningTask when using AxisGroup CODESYS Forge talk (Post)
Hello all I am using an AxisGroup with the Gantry2 Kinematics to move a 2D-Gantry system. When creating the AxisGroup, the SoftMotion_PlanningTask is created automatically with a cycle time of 2 ms in my case. I realized that the maximum cycle time of this task can spike to very high values (up to 60 ms) at lower speeds of the motion, leading to synchronization issues and errors on the axes. The same behaviour - though not as drastic - can be observed with virtual axes too. Is this behaviour intended or to be expected? Can the cycle time or type of the SoftMotion_PlanningTask be changed to prevent these errors? Or is there another fix for this issue? I tried changing the cycle type to Freewheeling, which solved the synchronization issues, but caused an error on the AxisGroup after a while, reading SMC_CP_QUEUE_UNDERRUN. Thanks in advance and best regards Manuel
Last updated: 2024-03-07

Post by mondinmr on Direct Pointers in IOMapping for EtherCAT with IoDrvEthercatLib.ETCSlave_Dia CODESYS Forge talk (Post)
Using SDO, I can read the EtherCAT mappings and offsets from various registers like 0x1c12, 0x1c13, etc. When I obtain registers mapped in the PDOs and various offsets, I could technically access directly to the statusword, controlword, etc., if they are mapped. I have noticed that on IoDrvEthercatLib.ETCSlave_Diag I can find pointers to the input and output buffers. However, although the input buffer can be easily read by referring to what has been obtained from the SDOs, it is not possible to write to the output buffer, as it is overwritten in each cycle by the data from the IOMapping task. Is there a way, knowing an instance of IoDrvEthercatLib.ETCSlave_Diag, to obtain the pointer to the first data in the IOMapping? The offsets are identical to those of the PDOs, but obviously the data is a copy. For me, the cleanest thing would be to access the pointers on IOMapping, for DS402a devices to retrieve the key data and point them to internal references. I need to know this as, having developed our own motion library, I would like to simplify the initial setup by eliminating unnecessary and nonsensical mappings that can lead users to unnecessary errors. In the current version that we have been using for years, we have to map everything manually. I would like to pass only the slave reference to the FB_init constructors and eliminate the mapping.
Last updated: 2024-02-12

Post by eschwellinger on EtherCat Master cannot open network adaptor on Win10x64 target CODESYS Forge talk (Post)
you need to have either Winpcap (versions < CODESYS 3.5.19.0) or Npcap installed
Last updated: 2023-09-20

Post by beppo on EtherCAT SM Drive configuration error CODESYS Forge talk (Post)
Hello, I'm facing the same issue, did you solved it? Thanks. GB
Last updated: 2024-01-31

Post by beppo on Config. Error on SM_Drive_GenericDSP402 CODESYS Forge talk (Post)
Hello, I'm having similar issue but with EtherCat drives. Did you solve this? Thank in advance, GB
Last updated: 2024-01-31

Post by dkugler on Direct Pointers in IOMapping for EtherCAT with IoDrvEthercatLib.ETCSlave_Dia CODESYS Forge talk (Post)
rmaas: how do you get the reference of the slave?
Last updated: 2024-02-13

Post by rmaas on Direct Pointers in IOMapping for EtherCAT with IoDrvEthercatLib.ETCSlave_Dia CODESYS Forge talk (Post)
Wow, this is next level for me, very impressive! glad you found a solution, thanks for sharing!
Last updated: 2024-02-13

Post by esave on Stepper Drive with Ethercat CODESYS Forge talk (Post)
The stepper supports CiA402 maybe I can use a CiA402 library to controll the stepper motor. Has anybody experience with that?
Last updated: 2024-03-21

Post by dkugler on EtherCAT fieldbus CODESYS Forge talk (Post)
There is an example for activating/deaktivating an optional Slave in the FAQ's: https://faq.codesys.com/pages/viewpage.action?pageId=49283084
Last updated: 2024-04-12

Post by xiaonyan on Generic EtherCAT slave CODESYS Forge talk (Post)
Thanks for the reply. so where can i get this help from...the new post or link....where can i find it
Last updated: 2024-05-17

Post by fugtwad on Automation Builder V2.5 EtherCAT CM579 Master Scan for devices - >No gateway selected CODESYS Forge talk (Post)
ABB Automation Builder v2.5.0.22 Premium CodeSys 2.3.9.62 Running on Win 10 VM x64 Goal: I have an EtherCAT topology issue which normally a "Scan for devices.." on the EtherCAT master would shed some light on. Issue: Upon trying such I get a "No gateway selected" error. Question: How might I point the the "scanner" at a gateway? What is working: Gateway is running in system tray. I can go online to PLC. A scan from the "Diagnostics live" tab of the EtherCAT master gives slave status. What I have tried: Restarting gateway in system tray. Exiting system tray gateway and reloading it. Turning off firewall. Contacting ABB support multiple times. Any help appreciated.
Last updated: 2024-05-20

Post by bruno-roth on Codesys access to DICTIONARY OBJECTS of ethercat (CoE ) Servo Drive CODESYS Forge talk (Post)
You could use the FBs ETC_CO_SdoWrite and ETC_CO_SdoRead
Last updated: 2024-06-19

<< < 1 .. 16 17 18 19 20 .. 26 > >> (Page 18 of 26)

Showing results of 636

Sort by relevance or date