Post by k2saki on CNC Override speed. SMC_Interpolator.dOverride is working ?
CODESYS Forge
talk
(Post)
Hello. I have a question about override of moving speed. I am testing G-Code in Simulation mode. I set SMC_Interpolator.dOverride <--- 0.5, 1.0, 2.0 when Interpolator is working But SMC_Interpolator.dVel(speed) did not changed at all. Am I missing something to take effect ?
Last updated: 2024-05-01
Post by hyet on IoDrvModbusTCP_Diag not defined when using MODBUS
CODESYS Forge
talk
(Post)
Currently seeing the same issue here, with a project moved from 3.5.19. Diving into it too to see if i can find the cause
Last updated: 2024-05-01
Post by corriibme on Profinet IO-link master - IODD files
CODESYS Forge
talk
(Post)
I am having the same problem right now. Could you please share more information if you were able to solve the problem?
Last updated: 2024-05-05
Post by tama00 on GPIOs not running with Raspberry Pi 4 (and SPI connection)
CODESYS Forge
talk
(Post)
Hello everyone, I have a working SPI connection (with transferExt) between a Raspberry master with Codesys and an ESP32 slave. I would also like to use a few GPIO pins. Is there a problem with using SPI AND GPIOs? Environment: Raspberry Pi 4+ with Raspian from Oct 23 Codesys V3.4 SP19 Patch 5 with Runtime Version 4.10.0.0 Device: GPIOs B+/Pi2 My problem: The status is displayed as “GPIOs : not running”. And also during mapping the message “The bus is not running. The values shown are perhaps not actual”. However, the variable changes that I make in my program are displayed under “Current Value”. In the Logic Analyzer, the pin toggles during transmission with small intervals of +-4us (seems to be a cyclical disorder, but I don't know where exactly it could be coming from). This applies to pins that I actually use (output) but also to the other GPIOs (not used). With GPIO 4, the line remains permanently high. Attached is a screenshot from the Logic Analyzer. Channel 1,3,5 were GPIO pin 26, 22, 17 Would be very grateful for help. Best regards
Last updated: 2024-05-06
Post by mxj262 on FB having single input but initialized with Array
CODESYS Forge
talk
(Post)
Ok yes now the loop has stopped when I set sum to zero before the for loop. Why will it retain the sum value from the last call?
Last updated: 2024-05-06
Post by alex-wall on Network Variables not updating
CODESYS Forge
talk
(Post)
This worked for me. I had four identical PLC's. Three of them worked just fine with 255.255.255.255 as the broadcasting address but the 4th would not update the variables. Changed it to 192.168.x.255 and everything worked.
Last updated: 2024-05-07
Post by stiller on OPC-UA ApplicationUri / ProductUri
CODESYS Forge
talk
(Post)
Hello! Is there a way to change ApplicationUri and ProductUri of the OPC_UA server? I can not find any information about it. Does someone have a clue? Thank you in advance!
Last updated: 2024-05-10
Post by dalfaro21 on Softmotion not working with simulation mode
CODESYS Forge
talk
(Post)
I have a KEB combivis studio software running codesys and I want to make some moves but softmotion is not working on my laptop I hope you can help me!
Last updated: 2024-05-12
Post by eschwellinger on Ethercat bus on Beckhoff CX with Codesys for Linux
CODESYS Forge
talk
(Post)
yes I think you need to build the kernel drivers for the CCAT driver for the backplane ETC networkcard https://github.com/Beckhoff/CCAT/
Last updated: 2024-05-13
Post by kevinm on Data source and safety PLC
CODESYS Forge
talk
(Post)
I am having the same trouble. However, if I change the Login Configuration settings to 'Type: Login using the credentials determined at runtime' then the Connection information continues as 'Connection state: Connecting' and 'Error information: OK'. There is no User Management on the source PLC.
Last updated: 2024-05-16
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 hanoues on Error 550 delete opertion failed
CODESYS Forge
talk
(Post)
hello, Can anyone help me with my FTP problem on Windows 10? When I try to remove a folder, I can't, and it shows the error message 550.
Last updated: 2024-05-21
Post by rafaelbrito on Licensing info not available.
CODESYS Forge
talk
(Post)
Hello, I'm having the same problem. I'm trying to license Codesys running in a Linux container, which I downloaded from the following link (https://hub.docker.com/r/hilschernetiotedge/codesys_control_sl_linux). The same error that you mentioned appears. Is there any solution?
Last updated: 2024-05-22
Post by william-blandon on RecipeManCommands.ReloadRecipes
CODESYS Forge
talk
(Post)
Thanks Edwin. I have reviewed the example and I'm doing basically the same when calling the methods. The recipe files are in the right directory. Everything looks okay but simply it doesn't work. May migrating to Codesys 3.5.20 will solve this?
Last updated: 2024-05-24
Post by k2saki on Open dialog from ST previous to version 3.5.6
CODESYS Forge
talk
(Post)
Thanks, that helps me a lot, but I have a question about this. https://forge.codesys.com/forge/talk/Engineering/thread/d8839077a0/
Last updated: 2024-06-05
Post by kumareasu on Panasonic servo Softmotion project
CODESYS Forge
talk
(Post)
I would like to use panasonic servo with CoDeSys + CODESYS SoftMotion Axes (4)Article no. 2305000009. Could anyone can share the example as CoDeSys project.
Last updated: 2024-06-09
Post by nikgind on Codesys Communication Manger - Required information model version exists in the model repository but is not found
CODESYS Forge
talk
(Post)
Hi I am trying to import a custom information model that I created using UA Modeler. I have only added two new methods and two new object types. It is possible to add the information model to the Communication Manager and the two new object types are shown in the Information Model tab. After compiling i get the following error: Communication Manager [Device: PLC Logic: Application]: The information model http://opcfoundation.org/UA/ is required by http://yourorganisation.org/Bsp_3.1/ with a minimal publication date from 15.12.2023 but the device has only a model from 15.09.2021 installed. Probably the information model from 15.09.2021 is missing in the information model repository. The error message does not make sense to me. Should it not be “Probably the information model from 15/12/2023 is missing in the information model repository”? Anyway I have installed the information model from 15/12/2023 but not from 15/09/2021. Which makes the error message even stranger.
Last updated: 2024-06-09
Post by ignat on SafetyApp - Exchange 8 bits from EtherCAT Safety Module to PLC mapping issue
CODESYS Forge
talk
(Post)
Hi transmin01, I am struggling with the same issue. Have you found out the solution?
Last updated: 2024-06-17
Post by rmaas on Strange Behavior on Raspberry Pi
CODESYS Forge
talk
(Post)
Hello, what you are seeing is not strange behavior. The problem is that everyting is happening in the same program cycle. After the variable Stepnumber is changed from 10 to 20 for example then you want the program to wait with the next EQ until the next program cycle. Else every EQ will be be true because in every line the variable Stepnumber is increased. When the program arrives (still in the same cycle) at the line with the timer, the Stepnumber has been increased to 30 in the meantime and the timer will allway be ON because even though the variable is written to 10 in this line in the next cycle it starts with 10 and will be 30 again before reaching the timer in line 8. Not very good at explaining stuff but i hope you get the problem. See screenshot below for an example of one way you could solve this...
Last updated: 2024-06-18
Post by calviniscoding on JSON
CODESYS Forge
talk
(Post)
Can you post the new code that you have by chance? Also, are you able to send the values of tags dynamically with the RTAC in this JSON format? I'm running into a lot of road blocks with it.
Last updated: 2024-06-21
Post by calviniscoding on JSON
CODESYS Forge
talk
(Post)
Can you post the new code that you have by chance? Also, are you able to send the values of tags dynamically with the RTAC in this JSON format? I'm running into a lot of road blocks with it.
Last updated: 2024-06-21
Post by calviniscoding on JSON
CODESYS Forge
talk
(Post)
Can you post the new code that you have by chance? Also, are you able to send the values of tags dynamically with the RTAC in this JSON format? I'm running into a lot of road blocks with it.
Last updated: 2024-06-21
Post by kthomas on Cant login to Rpi4 but can see it in codesys communications settings.
CODESYS Forge
talk
(Post)
This is what I see in codesys window. And here is with the netstat command on the pi
Last updated: 2024-06-23
Post by thn-power on Codesys Communication Manger - Required information model version exists in the model repository but is not found
CODESYS Forge
talk
(Post)
Hi, Did you manage to solve the problem? I'm experiencing the same thing using a exported nodeset from UaModeler.
Last updated: 2024-06-28
Post by wbj0t on What the right way to update TCP/COM slave device holding registers
CODESYS Forge
talk
(Post)
Hi all :) I have an plc. This plc has option to be as slave device. There are TCP -> Serial Slave Device and COM -> Serial Slave Device. There are 4096 ModBus holding registers with mark "internal modify" for the both devices above. So, COM Slave has 4096 registers and TCP Slave has 4096 registers. And, finally, I have an ARRAY[0..4095] OF WORD. This array glued with COM Slave and TCP slave. Yes, I need plc's opportunity to be communication both TCP and COM ways for the same registers. For example, the next task structure: * TASK_0: 1. pou_READ_Registers 2. pou_0 3. pou_1 4. ... 5. pou_N 6. pou_WRITE_Registers At the first pou I read registers for the other pous, after job we have sort of state of the plc. At the last pou (6) we write modified registers. It is a good scenario: some one wrote registers for the job, after job we save these (modified) registers. But, what if registers wrote between 1 and 6 pou by operator, for example, at the 3 pou -> the last pou 'pou_WRITE' will rewrite this request from operator. What the right way to work with this logic? Thanks you.
Last updated: 2024-07-01
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
.