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 sumit on Remote Ethernet/ip Adapter communication with scanner running on codesys
CODESYS Forge
talk
(Post)
Hello there, I have my ethernet/ip adapter (from Texas Instrument) running on Texas Instrument Board and I have configured the scanner on codesys. I have mapped the I/Os and I can see (on wireshark) the frames coming from adapter but I don't see my input variables in scanner get updated, they just stay at 0. I wanted to see the real data that has been sent from adapter to scanner on codesys. I am not sure if the problem is in I/O mapping or there is a step/s that I have missed. I have attached the screenshot of my project for your ref. Thank you, Sumit
Last updated: 2023-12-15
Post by sumit on Remote Ethernet/ip Adapter communication with scanner running on codesys
CODESYS Forge
talk
(Post)
Hello there, I have my ethernet/ip adapter (from Texas Instrument) running on Texas Instrument Board and I have configured the scanner on codesys. I have mapped the I/Os and I can see (on wireshark) the frames coming from adapter but I don't see my input variables in scanner get updated, they just stay at 0. I wanted to see the real data that has been sent from adapter to scanner on codesys. I am not sure if the problem is in I/O mapping or there is a step/s that I have missed. I have attached the screenshot of my project for your ref. Thank you, Sumit
Last updated: 2023-12-15
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 martinlithlith on Device User Logon and No device is responding.. Pi4b codesys 3.5 SP19 2 + (64-bit)
CODESYS Forge
talk
(Post)
Hi! Im slowly starting to loose it and i need som help! After a few night of reading up and testing i´m still stuck as a rock and you guys and girls are my last resort for this project. Basic facts; Win 11 Codesys 3.5 SP19 2 + (64-bit) Raspberry pi 4 model b 2 gb Raspian release 11 aarch64 What keeps me up late at night; Username and Password when trying to connect to device and device only beeing connectable for a few seconds. Some of the things I have tried; Username and passord; Credientials from the raspberry Administrator Administrator admin admin Admin Admin administrator administrator Usernames and passwords that I sometimes use (this was a longshot i know, but i was running out of ideas and energy). :) Epand filesystem, activating i2c, spi, 1-wire I can start the gateway and start the runtime. I cant install the edgearm64, arm64 runtime package eventhough I guess i should, i get code [ERROR] Error output: dpkg: error processing archive /tmp/codesysedge_edgearm64_4.8.0.0_arm64.deb (--install): [ERROR] Error output: package architecture (arm64) does not match system (armhf) [ERROR] Error output: Errors were encountered while processing: [ERROR] Error output: /tmp/codesysedge_edgearm64_4.8.0.0_arm64.deb code as a respons. I have tried to Reset Origin Device - no change. I have tried to remove the /etc/CODESYSControl_User.cfg [CmpUserMgr] but i could not find it and i was not sure if i should add it instead but i did not want to mess somthing up. I have tried to create a second gateway with the specific ip if the pi, that did not help. Could it be that i´m currently connected to the pi through WIFI? I can ping the pi and I can connect and control it through VNC. When i scan to select gateway target (scan edge gateway) i find 17-21 devices but can find the pi throug the mac adress. I started of trying to use the "CODESYS Control for Raspberry Pi SL" (I have a license sience earlier) as i read somewhere that this could be used on a Pi4 as well but now i´m trying with the MC SL, no changes, same problem. Right now - gateway version 4.8.0.0 (edgearmHF, armhf), Runtime Package 4.5.0.0 (raspberry, armhf). Any sugestions are very welcome! As mentioned above, theese are some of the things that i have tried/done - but i have been going at this for a while. Best, Martin
Last updated: 2023-09-10
Post by chris12345 on FILE_OPERATION_DENIED
CODESYS Forge
talk
(Post)
Hello everyone, I am using SP19 patch 2 on a Kunbus device with runtime package 4.9.0.0. I am having the same problem as mentioned above. With the FB File.open I get the FILE_OPERATION_DENIED error. I have also tried the path /var/opt/codesys/PlcLogic. Any advice? Chris
Last updated: 2023-10-17
Why I need empty the FB to reset them? Even it's I created and there not a empty logic
CODESYS Forge
talk
(Thread)
Why I need empty the FB to reset them? Even it's I created and there not a empty logic
Last updated: 2023-02-14
Why I need empty the FB to reset them? Even it's I created and there not a empty logic
CODESYS Forge
talk
(Thread)
Why I need empty the FB to reset them? Even it's I created and there not a empty logic
Last updated: 2023-02-14
How can I get FLOAT, DOCK and AUTOHIDE to work when I right click an editor tab in the programming IDE?
CODESYS Forge
talk
(Thread)
How can I get FLOAT, DOCK and AUTOHIDE to work when I right click an editor tab in the programming IDE?
Last updated: 2022-05-22
I am using wago 750-871 plc but in codesys software i can't find the target module if any have TSP for this module
CODESYS Forge
talk
(Thread)
I am using wago 750-871 plc but in codesys software i can't find the target module if any have TSP for this module
Last updated: 2022-10-20
Controlling PM564-eth PLC using Weintek HMI with MODBUS TCP/I. I keep getting communication errors.
CODESYS Forge
talk
(Thread)
Controlling PM564-eth PLC using Weintek HMI with MODBUS TCP/I. I keep getting communication errors.
Last updated: 2021-02-15
I create python script Upload my script online to controller each time I get the password dialog
CODESYS Forge
talk
(Thread)
I create python script Upload my script online to controller each time I get the password dialog
Last updated: 2020-09-25
Post by reinier-geers on Time zone
CODESYS Forge
talk
(Post)
I use a controller with Linux. I try to change timezone. but no result. The command of codesys i dont understand ?? And Linux Commands dont work. It stays at +0 . I want Amsterdam
Last updated: 2023-12-29
Post by reinier-geers on Power off
CODESYS Forge
talk
(Post)
For power off i need to give a MC_Reset ???? Why ??? To power up i need MC_Power , but when i reset the inputs it doesnt power off the drive ! Why ? If i would use the controlword on ethercat it would. Why nog in MC ?
Last updated: 2024-01-12
Post by jinlee on Multiple WebVisu
CODESYS Forge
talk
(Post)
Hi there, I am having a similar problem like you. I have 3 screens connected to one PLC. I have set 3 different URLs for them. But 3 of them are still dependent to each other. How can I make them independently ? Kind regards, Jin.
Last updated: 2024-01-25
Post by saugat10 on Problem installing Multicore codesys control in raspberry pi 4
CODESYS Forge
talk
(Post)
I have Raspbian bullseye (32 bit) installed in my raspberry pi 4. I want to install codesys control multicore in my pi but the option is greyed out when i try to install it. Am i missing something?
Last updated: 2024-02-07
Post by yann2021 on Errors by Code Generate
CODESYS Forge
talk
(Post)
Hello, I still have errors when I try to generate the Code of my project (see attached file). When I double clic on the error message it bring me no more info. What are theses errors? How can I solve them? Thank for your help.
Last updated: 2024-02-07
Post by ralfk on Dynamic Setting IP Address from IEC code
CODESYS Forge
talk
(Post)
Hello together. I also want to try it but when enter Ethernet.UpdateConfiguredIPSettings I don't see this Option. what do I wrong. I hope somebody can help me.
Last updated: 2024-02-19
Post by ralfk on Dynamic Setting IP Address from IEC code
CODESYS Forge
talk
(Post)
Hello together. I also want to try it but when enter Ethernet.UpdateConfiguredIPSettings I don't see this Option. what do I wrong. I hope somebody can help me.
Last updated: 2024-02-19
Post by cengiz50 on Socket communication with username and password
CODESYS Forge
talk
(Post)
Hello, I wanted to ask a few things about CodeSys. I need to establish socket communication where I have to connect using a username and password. How can I do this?
Last updated: 2024-02-23
Post by reinier-geers on Compile error
CODESYS Forge
talk
(Post)
I know, But controller is Version 18.4. So i cant set to 19. I can try version 19. But will it run if i set the controller to 18.4
Last updated: 2024-02-26
Post by cavein on PFC100 Licensing fails
CODESYS Forge
talk
(Post)
Hi, i have a similar problem. im using pfc200 4.5.0.0. There are two softcontainer and only one with license in it. every 1-2 hrs it will auto logoff. i tried the steps above but i dont find the /var/opt/codesys/.cmact_licenses i need help please.
Last updated: 2024-03-19
Post by flavinhofh on Beaglebone Black OPC-UA Server
CODESYS Forge
talk
(Post)
ah ok, I will keep trying, I already removed all security from the Server side. I'm new on codesys and I don't know yet how to implement the certificates, but I will find out and also try. thanks for your reply.
Last updated: 2024-04-11
Post by enricoghisla on Functional block
CODESYS Forge
talk
(Post)
Good morning, i have a problem with an FB, i create VAR inside the block but outside i can't reach them, i can reach only IN/OUT/IN-OUT VAR, do you know which could be the problem? Regard
Last updated: 2024-04-16
Post by davidbo on I want to convert a WORD to a hex string like 15.432 to '3C48'
CODESYS Forge
talk
(Post)
I try with BYTE_TO_HEXinASCII but I cant get it right. How do I convert a word value like 15432 to the HEX text string '3C48'
Last updated: 2024-04-19
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
.