How do i setup a setup task?
CODESYS Forge
talk
(Thread)
How do i setup a setup task?
Last updated: 2023-06-30
i cant able to read from rs232
CODESYS Forge
talk
(Thread)
i cant able to read from rs232
Last updated: 2007-11-29
Can I install anoter driver into CoDeSys?
CODESYS Forge
talk
(Thread)
Can I install anoter driver into CoDeSys?
Last updated: 2009-09-02
how can i integrate my own i2c device
CODESYS Forge
talk
(Thread)
how can i integrate my own i2c device
Last updated: 2015-02-16
Can I use SysCom lib from Codesys in TwinCAT
CODESYS Forge
talk
(Thread)
Can I use SysCom lib from Codesys in TwinCAT
Last updated: 2018-10-05
How can I get a licence of SM_PLCopen.lib
CODESYS Forge
talk
(Thread)
How can I get a licence of SM_PLCopen.lib
Last updated: 2006-06-22
Can't see PLC when I chage the ip
CODESYS Forge
talk
(Thread)
Can't see PLC when I chage the ip
Last updated: 2022-09-12
Reading Profinet I&M data in Codesys Profinet Master
CODESYS Forge
talk
(Thread)
Reading Profinet I&M data in Codesys Profinet Master
Last updated: 2020-12-01
How should I define the sensor ID In CODESYS???
CODESYS Forge
talk
(Thread)
How should I define the sensor ID In CODESYS???
Last updated: 2015-02-23
"Dynamic polygon arrays currently not supported" - What am I missing?
CODESYS Forge
talk
(Thread)
"Dynamic polygon arrays currently not supported" - What am I missing?
Last updated: 2023-06-30
I have to write on the Raspberry and read
CODESYS Forge
talk
(Thread)
I have to write on the Raspberry and read
Last updated: 2022-02-10
how do I save real values every houre
CODESYS Forge
talk
(Thread)
how do I save real values every houre
Last updated: 2016-11-30
How can I use the "IoDrvEtherCAT.GetStatistics" method
CODESYS Forge
talk
(Thread)
How can I use the "IoDrvEtherCAT.GetStatistics" method
Last updated: 2021-12-20
My functions change to gray when I build them
CODESYS Forge
talk
(Thread)
My functions change to gray when I build them
Last updated: 2013-01-16
Error when I go online on Simulation or PLC
CODESYS Forge
talk
(Thread)
Error when I go online on Simulation or PLC
Last updated: 2024-02-07
Post by andy-yemm on Assertion Failed
CODESYS Forge
talk
(Post)
I had similar assertion failed error messages today. I am fairly new to Codesys. I tried using SFC for the first time, I usually use ST. Anyway I had errors in some of my transitions. I copied and pasted transition code and forgot to change the target of the code. I started getting lots of the assertion errors but now I have sorted out the problems and it compiles OK the assertion error messages seem to have stopped. There do not seem to be any other responses to your post, did you resolve your problem?
Last updated: 2024-03-19
Post by alex2 on Codesys SVN
CODESYS Forge
talk
(Post)
Hello Everyone. I have a question about the SVN module on Codesys. I am using Codesys V3.5.10 and installed Codesys SVN 4.2.5.1 but when i try to connect my SVN to codesys i have a message saying that there is no license for accessing the Url. I searched on the codesys store and it seems that "CODESYS Professional Developer Edition" is needed? Am i right? Do i also need to buy a USB key? Is there another edition but only for the SVN? I thank you in advance for your answers.
Last updated: 2024-04-27
i can't declear the address in GVL - codesys SP19 Patch5
CODESYS Forge
talk
(Thread)
i can't declear the address in GVL - codesys SP19 Patch5
Last updated: 2024-05-13
Post by srouse on PFC200BUS not running
CODESYS Forge
talk
(Post)
I started a project in codesys for a WAGO 750-8212 PLC and I am working on getting online with the controller. I can log in to the controller and I can see and control all of the fieldbus couplers that I have. I am unable to get the internal bus working. It just says that the bus is not running and when I scan or devices nothing shows up. Am I missing something important in my device tree?
Last updated: 2024-07-10
How Could I Desactivated The Watchdog ?
CODESYS Forge
talk
(Thread)
How Could I Desactivated The Watchdog ?
Last updated: 2024-08-13
I have errors while building the project
CODESYS Forge
talk
(Thread)
I have errors while building the project
Last updated: 2024-10-15
Post by winki on Modbus TCP & RTU with Control for Linux SL
CODESYS Forge
talk
(Post)
Hello, Today I am able to test ma industrial computer in my test bench. I am able to do all the configuration throught my VPN, 100% remote. I can see the gateway & the Virtual PLC. Now I would like to do some Modbus TCP Client & Modbus RS485. But I am lost due to docker ! When I go to modbus TCP it only gave me the docker network, but not my eth0 & eth01 When I go to modbus rtu, how can I create the link between Com number & my /dev/ttyRS485 Loic,
Last updated: 2024-10-23
Post by toffeebonbon on EL7041-0052 - does it run with EL7041 SoftMotion?
CODESYS Forge
talk
(Post)
Good morning everyone. In my setup I am trying to use a couple of EL7041-0052 (the EL7041 variant without terminals for an encoder) to run stepper motors without feedback. When using the softmotion drivers for the EL7041 (Rev22 and Rev24, even selecting external feedback type doesn't work) the device log shows warnings for the corresponding hardware: "SDO write error 0x1 -> 0x8012:0x08 eError 0x1 AbortCode 0x6090011". 0x8012:0x08 is the register for the Feedback Type. My best guess was setting the the register value in the start parameters to zero, but the result is the same. What else can I try to get the hardware to work? I have screenshots attatched showing the running fieldbus and the log messages. EDIT: One clarification: the "device log" that shows the error is the PLC, not the ethercat terminal. The log of the terminal itself shows neither errors nor warnings. BR Robert
Last updated: 2023-11-29
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 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
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
.