Slider width on tables
CODESYS Forge
talk
(Thread)
Slider width on tables
Last updated: 2009-03-11
Crash on device cache build - help !
CODESYS Forge
talk
(Thread)
Crash on device cache build - help !
Last updated: 2023-03-31
CPU Load on Linux Control SL
CODESYS Forge
talk
(Thread)
CPU Load on Linux Control SL
Last updated: 2019-04-26
Profinet Master on Raspberry Pi
CODESYS Forge
talk
(Thread)
Profinet Master on Raspberry Pi
Last updated: 2014-12-17
OPC UA not working on 3.5.16.0
CODESYS Forge
talk
(Thread)
OPC UA not working on 3.5.16.0
Last updated: 2020-08-04
Replace Application.app and Application.crc on PI
CODESYS Forge
talk
(Thread)
Replace Application.app and Application.crc on PI
Last updated: 2017-03-30
Configuration of Channels on PLC became
CODESYS Forge
talk
(Thread)
Configuration of Channels on PLC became
Last updated: 2022-05-25
DataLogging for analysis on Excel
CODESYS Forge
talk
(Thread)
DataLogging for analysis on Excel
Last updated: 2021-11-29
Ethernet/IP xDone stuck on
CODESYS Forge
talk
(Thread)
Ethernet/IP xDone stuck on
Last updated: 2018-11-28
crash of webserver on beaglebone black
CODESYS Forge
talk
(Thread)
crash of webserver on beaglebone black
Last updated: 2023-06-30
Install only HMI on a PC
CODESYS Forge
talk
(Thread)
Install only HMI on a PC
Last updated: 2017-05-29
Gear on is slave offline
CODESYS Forge
talk
(Thread)
Gear on is slave offline
Last updated: 2024-01-14
Rpi install runtime licence on SP13
CODESYS Forge
talk
(Thread)
Rpi install runtime licence on SP13
Last updated: 2024-01-18
Restore license on Raspberry Pi
CODESYS Forge
talk
(Thread)
Restore license on Raspberry Pi
Last updated: 2024-02-03
Init Array input on a method
CODESYS Forge
talk
(Thread)
Init Array input on a method
Last updated: 2024-02-26
Codesys v3.5 on WAGO 750-8202
CODESYS Forge
talk
(Thread)
Codesys v3.5 on WAGO 750-8202
Last updated: 2024-03-07
looking for v2.3 libraries on v3.5.19
CODESYS Forge
talk
(Thread)
looking for v2.3 libraries on v3.5.19
Last updated: 2024-03-25
Modbus writing on value change
CODESYS Forge
talk
(Thread)
Modbus writing on value change
Last updated: 2024-04-03
Issue with WebVisu on Raspberry PI
CODESYS Forge
talk
(Thread)
Issue with WebVisu on Raspberry PI
Last updated: 2024-04-11
KNX SL on stock PFC200 firmware
CODESYS Forge
talk
(Thread)
KNX SL on stock PFC200 firmware
Last updated: 2024-05-23
Post by abinvest579 on Function Block
CODESYS Forge
talk
(Post)
Any solutions on this ???
Last updated: 2024-06-17
Strange Behavior on Raspberry Pi
CODESYS Forge
talk
(Thread)
Strange Behavior on Raspberry Pi
Last updated: 2024-06-18
Post by ahuckphin on Issues with Modbus Slave with Raspberry Pi
CODESYS Forge
talk
(Post)
I have a DFRobot RS485 temperature & humidity sensor (SEN0438) connected to my Raspberry Pi via a USB to RS485 adapter. I am able to connect and read the sensor data when running a python code locally. However in Codesys, I encounter this error "A bus error has occurred." and "There was no response in time". Could this be because of Modbus Server Channel and Modbus Server Init configuration on my part? Admittedly I am new to Codesys. To get to this stage, I: 1. added some lines to CODESYSControl_User.cfg 2. added "Modbus_COM" in Codesys and set "Serial Port Configuration" under "General" 3. added "Modbus_Master_COM_Port" in Codesys and checked transmission mode is set to "RTU" 4. added "Modbus_Slave_COM_Port" in Codesys and checked server address is set to 1 (also set 1 in my sensor) 5. added 1 channel and 1 init for "Modbus_Slave_COM_Port" under "Modbus Server Channel" and "Modbus Server Init"
Last updated: 2024-07-10
Post by trusty-squire on CNC - How to manipulate SMC_GeoInfo objects
CODESYS Forge
talk
(Post)
I have an application using CNC GCode interpolation, but I need to modify the GCode provided to the PLC based on certain parameters. I am currently attempting to modify the SMC_GeoInfo objects in the SMC_OutQueue using the code below. Note that all the other code is pretty standard and works fine, but when I add the below it errors. PROGRAM TEST VAR fbReadCncFile : SMC_ReadNCFile2; fbCncInterpreter : SMC_NCInterpreter; arrCncInterpreter : ARRAY[1..99] OF SMC_GeoInfo; pGeoInfo: POINTER TO SMC_GeoInfo; giGeoInfo: SMC_GeoInfo; // ... END_VAR // ... Some code here in order to read CNC file using SMC_ReadNCFile2 and provide to SMC_NCInterpreter pGeoInfo := SMC_GetObj(poq:=ADR(fbCncInterpreter.poqDataOut), n:=1); IF pGeoInfo <> 0 THEN giGeoInfo := pGeoInfo^; // Do some manipulation here, then update the queue at the same position MC_SetObj(poq:=ADR(fbCncInterpreter.poqDataOut) , n:=0 , pgi:=ADR(giGeoInfo) ); END_IF It throws an error when I get to the line giGeoInfo := pGeoInfo^; Error: EXCEPTION [AccessViolation] occured: App=[Sim.Device.Application], Task=[PathTask] How do I use SMC_GetObj and access the data? It creates a pointer with the value as shown in the photo, but all the dereferenced values say dereference of invalid pointer.
Last updated: 2024-07-26
Post by ricola on ERROR: CodeMAccess2: Used CmRuntime 2.61.2705.500 is too old
CODESYS Forge
talk
(Post)
hi there , can someone tell me how to deal with this error , please? I use the Linux ARM64SL (4.11) on a bullseye distro and when I want to update or install some package, I have the following reply : pi@NanoPi-R5C:~$ sudo apt upgrade Reading package lists... Done Building dependency tree... Done Reading state information... Done You might want to run 'apt --fix-broken install' to correct these. The following packages have unmet dependencies: ** codesyscontrol : Depends: codemeter but it is not installable or codemeter-lite but it is not installable** E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution). and if I try apt --fix-broken install as suggested, I have a proposal to uninstall codesyscontrol ... :-D so I tried to search if there is some Codesys repo: nothing, then I tried to see if ther was something inside Codesys dev (V3.5.20) and I only found that by reading/requesting my device, i spoted that codemeter was too old . I don't see how to deal with this issue. is there a codemeter.deb somewhere ? thanks in advance for any help.
Last updated: 2024-09-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.