Search talk: bus cycle task

 
<< < 1 .. 7 8 9 10 11 .. 16 > >> (Page 9 of 16)

Gemeinsamer Betrieb von Adafruit PWM und SHT21 Sensor am I2C Bus CODESYS Forge talk (Thread)
Gemeinsamer Betrieb von Adafruit PWM und SHT21 Sensor am I2C Bus
Last updated: 2017-01-12

Ethernet/IP -- bus shows okay, signals are mapped, but nothing passes through CODESYS Forge talk (Thread)
Ethernet/IP -- bus shows okay, signals are mapped, but nothing passes through
Last updated: 2021-03-18

Codesys Control RTE V3 - Network Adapter configuration for Ethercat real time bus CODESYS Forge talk (Thread)
Codesys Control RTE V3 - Network Adapter configuration for Ethercat real time bus
Last updated: 2021-10-07

How to disable Error Control (Heartbeat) temporarily for a CAN bus device? CODESYS Forge talk (Thread)
How to disable Error Control (Heartbeat) temporarily for a CAN bus device?
Last updated: 2023-01-23

Bosch BME 280 bzw 688 Sensor per I2C Bus steuern und Daten in Codesys verarbeiten CODESYS Forge talk (Thread)
Bosch BME 280 bzw 688 Sensor per I2C Bus steuern und Daten in Codesys verarbeiten
Last updated: 2024-05-22

Bosch BME 280 bzw 688 Sensor per I2C Bus steuern und Daten in Codesys verarbeiten CODESYS Forge talk (Thread)
Bosch BME 280 bzw 688 Sensor per I2C Bus steuern und Daten in Codesys verarbeiten
Last updated: 2024-05-22

Global variable access by Programms and Modbus Devices (attach device to bus) CODESYS Forge talk (Thread)
Global variable access by Programms and Modbus Devices (attach device to bus)
Last updated: 2024-07-18

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 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 cvrettacos-dse on CODESYS 3.5.17 J1939 Manager's Task Priority CODESYS Forge talk (Post)
Can anyone tell me what the J1939 Manager's default Task priority is in 3.5.17? Thank you.
Last updated: 2023-11-03

PLCwinNT decrease from 1ms to 250μs the task cyclic timer ? CODESYS Forge talk (Thread)
PLCwinNT decrease from 1ms to 250μs the task cyclic timer ?
Last updated: 2015-08-13

Does all programs in a task calls exactly at the same time ? CODESYS Forge talk (Thread)
Does all programs in a task calls exactly at the same time ?
Last updated: 2016-08-05

What if the time for a cyclic task is not enough ? CODESYS Forge talk (Thread)
What if the time for a cyclic task is not enough ?
Last updated: 2012-01-15

Task can lockup if UDP Transmitter or Receiver is not there. CODESYS Forge talk (Thread)
Task can lockup if UDP Transmitter or Receiver is not there.
Last updated: 2009-06-16

Post by scarter on Import/Export PLCOpen xml Task Configuration CODESYS Forge talk (Post)
I'm Having the same issue. If I highlight PLC Logic and import it erases everything else and replaces the Task config. If I highlight the Application I get the same result. Simple manual fix is click and drag the task config onto the origional Application, and delete the second one. Easy fix but not the expected result of importing task config.
Last updated: 2024-01-17

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 rmaas on Fieldbus has lost synchronicity CODESYS Forge talk (Post)
Hi, On a gantry system with 2 axis i am getting the following error: SMC_DI_FIELDBUS_LOST_SYNCRONICITY This happens random, sometimes it happens every 5 minutes and sometimes no error for 2 hours... The Setup: - Using codesys 3.5 SP20 with all latest libs... - Kontron AL Pi-Tron CM4 with Preempt realtime patch (Raspberry Pi 4) - Codesys runtime 4.11.0.0 (single core) - CODESYS Control for Raspberry Pi SL licensed - Softmotion + CNC + Robotics licensed - 2x Leadshine EL8-EC400 servo drives - Axis group for a 2-axis T-Gantry Ethercat network wiring: Ethercat master softmotion -> Beckhoff EK1100 -> Servo drive #1 -> Servo drive #2 Ethercat Cycle time = 4ms Max Jitter = 140~150 What i have tried so far: - changed the sync offset from 20% to 30% - changed ethercat task priority from 1 to 0 Running tasks: - Ethercat tast: Prio = 0, Interval = 4ms - Main task: Prio = 1, Interval = 8ms - Visu task: Prio = 31, Interval = 100ms - Softmotion planning task: Prio = 15, Freewheeling - 3 other default tasks that were created by AC_Persist Motion fb's are called in the ethercat task... Does anyone have an idea how to fix this? Any help is greatly appreciated!
Last updated: 2024-04-11

Post by andrej on Threads and TID created by CODESYSControl Win V3 CODESYS Forge talk (Post)
Hi all, for a deeper understanding of the Codesys RTE - I created a simple application with 3 IEC tasks (Ta,Tb,Tc) each with different priorities, and different cycle times. The application runs on Windows 10 in the Soft PLC CODESYS Control Win V3. If my understanding is correct, the RTE i.e. the Process CodesysControlService should spawn 3 threads (Th_a,Th_b,Th_c) which are executed with the defined cycle times, the priority of the threads should reflect the priority of the task set in the Codesys IDE. Does somebody have an idea, how I could identify the respective threads in Windows? Kind regards Andrej
Last updated: 2023-10-02

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

Post by trycyclepower on EtherCAT drive going into fault mode require power cycle everytime CODESYS Forge talk (Post)
I have EtherCAT servo drive lost communication with PLC everytime it gets faulted, it does not not communicate until I power cycle everything again, how to solve this issue?
Last updated: 2024-09-11

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 tk096 on Fieldbus has lost synchronicity CODESYS Forge talk (Post)
Hi, a few suggestions on how to tackle the problem: - it might help to increase the cycle time of the ethercat task - increase the value of the ethercat parameter DCInSyncWindow (https://content.helpme-codesys.com/en/libs/IODrvEtherCATDriver/Current/pou-IoDrvEtherCAT/DCInSyncWindow.html) (see attached image) - enable FrameAtTaskStart (https://content.helpme-codesys.com/en/libs/IODrvEtherCATDriver/Current/pou-IoDrvEtherCAT/FrameAtTaskStart.html) in the ethercat master (see attached image) - if the drives can handle the synchronization problems, checking of the synchronization can be deactivated using SMC_Set_ETC_DCSyncSupervision (https://content.helpme-codesys.com/en/libs/SM3_Drive_ETC/Current/SMC_Set_ETC_DCSyncSupervision.html).
Last updated: 2024-04-11

Post by niloufar on Execution Order of Function Blocks CODESYS Forge talk (Post)
Hi, Our program incorporates various function blocks and programs written in different languages such as St and SFC. They implement numerous actions and methods using different languages from their function blocks. My question is whether the execution order of function blocks is associated with the programming languages used. I understand that cycle time can be configured in the task configuration, but I'm curious if there is a specific sequence order of execution for function blocks written in different languages. For example, all function blocks in (ST) are executed first, followed by the execution of (SFC). Specifically, when the function is written in (ST) and the action is implemented in (SFC). I modified all function blocks in the main PLC program and configured a task configuration for the main program.
Last updated: 2023-12-13

Post by timvh on Is it possible to use debug functions such as Step Execution while the PLC ladder is in Running? CODESYS Forge talk (Post)
Yes, it is possible to set breakpoints and use step into / step over (also in Ladder diagram). Yes, the PLC will actually stop, so be carefull with this. How a PLC works is that at the start of the execution of the Task, the Inputs are read, then the code is being executed and then the outputs are written. So if you set a breakpoint, you will not see your analog inputs changing, because the task cycle is interrupted and the inputs and outputs are not refreshed. For detailed information, see: https://content.helpme-codesys.com/en/CODESYS%20Development%20System/_cds_using_breakpoints.html
Last updated: 2024-01-16

<< < 1 .. 7 8 9 10 11 .. 16 > >> (Page 9 of 16)

Showing results of 379

Sort by relevance or date