Post by damian177 on RPi, Codesys , RS232
CODESYS Forge
talk
(Post)
Hi, so far I have only used one com port - built-in interface in RPi - RS232 (dev/serial0) as COM1 in Codesys, and my CODESYControl_User.cfg have congiuration like below: [SysCom] Linux.Devicefile=/dev/serial portnum := COM.SysCom.SYS_COMPORT1 Actually I added to my Rpi Hat with 2xRS232 (SPI). - /dev/spidev0.0 and /dev/spidev0.1 How I should change my CODESYControl_User.cfg file to use added porta as COM2 and COM3 in Codesys ?
Last updated: 2023-10-05
Post by r-niedermayer on Issue with WebVisu on Raspberry PI
CODESYS Forge
talk
(Post)
Regarding to your application: When clicking in the web visualization, the boolean variable will be tapped for both buttons. The LED in the web visualization lights up as long as the variable is true The used variables should come from the GVL, ad/or thePLC_Prg. We see no difference or problem in both projects: You have created a visuelement Push button a a tapper, that is supposed to control the variable in this way as expected. This is also reflected (switching Bool from false to true) in the program code, as well as in the (GVL declared) variables. Wherever the misunderstanding comes from: no, this is not memory or license related. Our best guess: it is probably more of an applicative/conceptual implementation.
Last updated: 2024-04-11
Post by bahrt on Mapping GPIO and adding GPIO configurations
CODESYS Forge
talk
(Post)
Hi I am about to configure ALL GPIOs on a Raspberry Pi 3 model B V1.2. It seems that I have limited understanding of why not all the IO’s become available with the corresponding mapped IO’s – the 'dwInUse' contains mapping of the inputs from GPIO0 to GPIO27. But 'dwInputs' are only showing GPIO0 to GPIO8 and GPIO15 as available inputs. These mentioned inputs work fine You will be able to watch the limited mapped IO activity here: https://drive.google.com/file/d/1zz4PBNBfRZBF2YkiJ2VQxw6L9MBVji7R/view?usp=sharing Can you please bring your best idea on why GPIO09 to GPIO14 and GPIO16 to GPIO27 state are zero in the dwInputs register? Thanks in advance. Best regards Andreas Bahrt
Last updated: 2023-11-16
Post by bahrt on Raspberry Pi GPIO mapping
CODESYS Forge
talk
(Post)
Hi I am about to configure ALL GPIOs on a Raspberry Pi 3 model B V1.2. It seems that I have limited understanding of why not all the IO’s become available with the corresponding mapped IO’s – the 'dwInUse' contains mapping of the inputs from GPIO0 to GPIO27. But 'dwInputs' are only showing GPIO0 to GPIO8 and GPIO15 as available inputs. These mentioned inputs work fine You will be able to watch the limited mapped IO activity here: https://drive.google.com/file/d/1zz4PBNBfRZBF2YkiJ2VQxw6L9MBVji7R/view?usp=sharing Can you please bring your best idea on why GPIO09 to GPIO14 and GPIO16 to GPIO27 state are not active (at a fixed zero state) in the dwInputs register? Thanks in advance. Best regards Andreas Bahrt
Last updated: 2023-11-21
Post by captaincookie on increase default string length in queue
CODESYS Forge
talk
(Post)
I solved it by creating a new element of IElement according to the ElementExample (MyElement) in the ElementCollectionsExamples project. The variables in this element can then be defined in any properties as needed.
Last updated: 2023-10-11
Post by jddaigle on A method in the Task Configurator
CODESYS Forge
talk
(Post)
How is that possible to put a Function Block Method in the Task Configurator, as they did in the CNC3DEditor.project example? In that exmaple, I removed the gCNCMachine.SlowTaskCall method from the Task Configuration and I can't put it back. https://us.store.codesys.com/cnc-3d-editor.html Thanks!
Last updated: 2025-01-23
Is it possible to use debug functions such as Step Execution while the PLC ladder is in Running?
CODESYS Forge
talk
(Thread)
Is it possible to use debug functions such as Step Execution while the PLC ladder is in Running?
Last updated: 2024-01-16
Post by syjoo on Recipe Manager in PRG (3.05.13.XX)
CODESYS Forge
talk
(Post)
I'm using version 3.5.13. Is it possible to handle Recipe Manager in PRG in this environment? Can you give me a simple example? Although it has been confirmed that the functions work on Recipe Manager, they do not work properly when implemented through FB within a simple PRG. I would like to save the current value as a recipe or load the recipe's value as the current value. And I want to save the recipe as a file or load the recipe saved as a file. somebody help me. (TT)
Last updated: 2024-04-15
Post by paro on Codesys Control for Win & WagoApp Bibliotheken
CODESYS Forge
talk
(Post)
aktuell können die bibliotheken aus diesem Paket verwendet werden: https://www.wago.com/de/d/swreg_codesys_v_3_c
Last updated: 2024-02-06
Post by mubeta on Strange problem with the ‘MC_SetPosition’ function
CODESYS Forge
talk
(Post)
Here is the archive of the simulation project: https://drive.google.com/file/d/1n74Qy-1yLPpI2OK4FaZO5q50y2uTa0Wr/view?usp=drive_link
Last updated: 2025-01-12
setting up Raspberry pi as an opc ua Server with UaExpert as Client
CODESYS Forge
talk
(Thread)
setting up Raspberry pi as an opc ua Server with UaExpert as Client
Last updated: 2024-09-11
Setting up Raspberry pi as an Opc ua Server with UaExpert as Client
CODESYS Forge
talk
(Thread)
Setting up Raspberry pi as an Opc ua Server with UaExpert as Client
Last updated: 2024-09-11
Post by trusty-squire on Strange problem with the ‘MC_SetPosition’ function
CODESYS Forge
talk
(Post)
Just a stab in the dark, but you might want to check the Dynamic Limits (accel, decel, velocity, jerk) in the Codesys SoftMotion device configuration, as well as checking similar limits on your servo drive? Are you seeing any errors, or does the MC_SetPosition FB get marked as complete?
Last updated: 2025-01-09
string as array of bytes
CODESYS Forge
talk
(Thread)
string as array of bytes
Last updated: 2021-11-30
RasPi as a modbus slave
CODESYS Forge
talk
(Thread)
RasPi as a modbus slave
Last updated: 2017-02-19
Pi as Modbus TCP slave. Errors
CODESYS Forge
talk
(Thread)
Pi as Modbus TCP slave. Errors
Last updated: 2019-03-22
Codesys saves project as '0 File'
CODESYS Forge
talk
(Thread)
Codesys saves project as '0 File'
Last updated: 2019-11-28
Control Win as Ethernet/IP master
CODESYS Forge
talk
(Thread)
Control Win as Ethernet/IP master
Last updated: 2022-09-06
SFC Action Implemented as SFC
CODESYS Forge
talk
(Thread)
SFC Action Implemented as SFC
Last updated: 2009-08-31
PLC as POP3 Mail Receive Server
CODESYS Forge
talk
(Thread)
PLC as POP3 Mail Receive Server
Last updated: 2023-06-14
Running CODESYS headless as a Server?
CODESYS Forge
talk
(Thread)
Running CODESYS headless as a Server?
Last updated: 2021-07-07
string as array of bytes
CODESYS Forge
talk
(Thread)
string as array of bytes
Last updated: 2021-11-30
RASPBERRY PI AS PROFINET SLAVE
CODESYS Forge
talk
(Thread)
RASPBERRY PI AS PROFINET SLAVE
Last updated: 2019-03-25
WebVisu multiple arrays as graph source
CODESYS Forge
talk
(Thread)
WebVisu multiple arrays as graph source
Last updated: 2018-11-28
my computer as EtherCAT master
CODESYS Forge
talk
(Thread)
my computer as EtherCAT master
Last updated: 2011-05-12
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
.