Post by levih on FbHTTPs_Get how to get data from a website and use it in codesys
CODESYS Forge
talk
(Post)
You get an array of DWORD into your receive buffer. You need to process this into usable data, before you can fit it into your DUT. I've made it work using FbWrite_ToIEC_ByRule in stead of Fb_JSON_ParseAndModify. I've attached images of the code. You receive the data into ARRAY[0..1023] OF DWORD. Then you use that array as the input for fbWrite_ToIEC_ByRule. To get the output from this you define a rule to fit the expected data structure including nesting levels. The you feed the rule into FbWrite_ToIEC_ByRule and then you can set the output to be of your DUT type.
Last updated: 2025-06-16
Post by kporter on High-resolution drive with SoftMotion
CODESYS Forge
talk
(Post)
I'm beta-testing a new EtherCAT drive for a rotary (modulo) axis in a system where the encoder resolution is 81920000 counts per rotation. If I enter this in the SoftMotion Scaling/Mapping tab for "increments <=> motor turns", I get the error below on the Commissioning tab. Is SM unable to handle a high-resolution encoder? The bus cycle is currently set to the default of 4 msec (Control Win V3 x64), although I plan to reduce that to reduce latency, possibly by switching to the realtime (RT) master. Is SoftMotion incompatible with high-resolution encoders? SMC_CGR_INVALID_POSPERIOD Invalid modulo period (<= 0 or greater than half the bus bandwidth)
Last updated: 2025-08-25
Post by dkugler on Webvisu Combined Authentication
CODESYS Forge
talk
(Post)
you are able to do this all in one screen. It is possible to set the rights of every element to visible but not editable for the user "none". so everyone is able to see this elements, but can't do any changes. At the login button you set the rights to editable for the user "none" to be able to go to the login. Every element that should be hidden before logging in, set the rights visible and editable only for "higher" users. Hint: to change rights you are able to select more then one element and edit rights for all at the same time. Saves a lot of time! Good luck!
Last updated: 2025-09-03
Post by bbmussatto on Connetion with Topcon Opus B3 ECO Full display
CODESYS Forge
talk
(Post)
I have a Topcon Opus B3 ECO Full display and i wanna program it with codesys, but i cant connect it to the display. After creating a new project, i choose the device "Opus B3-B4-B6-3.5.19.50" that is already available in my version of codesys, but i think the problem is that my version of codesys or something else is not the same as the codesys runtime version running on my display. Can anyone tell me how i can see the codesys runtime version on my display? i tried looking in the settings (Daemon > CDS) on the display, but all i see is "N/A" for "Customer Number", "Customer Part Number" and "Customer Serial Number". Can anyone help me make this connection?
Last updated: 2025-10-07
Post by kronlundo on Licensing info not available (WAGO PFC200 + Codesys V3)
CODESYS Forge
talk
(Post)
Hi! We're using a WAGO PFC200 for several projects towards the energy sector, and recently upgraded to CODESYS V3. We have the "IEC 60870-5-104 Server" package in a test program, and it works well with the package in DEMO mode. However, when we acquired a license for the "IEC 60870-5-104 Server" package and tried to add the license on the PFC200 through the license manager, we get an error (see attached file). It seems like there is no CmContainer on the device, does anyone have an idea on how to fix this? We've also contacted WAGO on this issue a while back with no feedback yet.
Last updated: 2024-06-10
Project compiling error in Simulation mode
CODESYS Forge
talk
(Thread)
Project compiling error in Simulation mode
Last updated: 2023-09-08
Detect "Cancel" Press in FileOpenSave Dialog
CODESYS Forge
talk
(Thread)
Detect "Cancel" Press in FileOpenSave Dialog
Last updated: 2023-09-20
Integer with comma in visualization
CODESYS Forge
talk
(Thread)
Integer with comma in visualization
Last updated: 2023-09-20
Enumeration in einer anderen DUT einbinden
CODESYS Forge
talk
(Thread)
Enumeration in einer anderen DUT einbinden
Last updated: 2008-09-17
Modbus Worte in Real umwandeln
CODESYS Forge
talk
(Thread)
Modbus Worte in Real umwandeln
Last updated: 2017-01-01
WORD-Variable in REAL konvertieren
CODESYS Forge
talk
(Thread)
WORD-Variable in REAL konvertieren
Last updated: 2006-05-29
Eingabe Werte in einem Fb intern
CODESYS Forge
talk
(Thread)
Eingabe Werte in einem Fb intern
Last updated: 2013-03-17
Listing POUs in Project with Scripts
CODESYS Forge
talk
(Thread)
Listing POUs in Project with Scripts
Last updated: 2022-10-10
Uhrzeit und Datum in Datei speichern
CODESYS Forge
talk
(Thread)
Uhrzeit und Datum in Datei speichern
Last updated: 2008-04-02
Interface member in a FB
CODESYS Forge
talk
(Thread)
Interface member in a FB
Last updated: 2018-05-15
Endianness Problem in TCP Communication
CODESYS Forge
talk
(Thread)
Endianness Problem in TCP Communication
Last updated: 2022-09-11
dark background in text editor?
CODESYS Forge
talk
(Thread)
dark background in text editor?
Last updated: 2020-08-17
Retain variables in function block
CODESYS Forge
talk
(Thread)
Retain variables in function block
Last updated: 2021-02-02
Problem encountered in V16.1 Upgrade
CODESYS Forge
talk
(Thread)
Problem encountered in V16.1 Upgrade
Last updated: 2020-08-16
More COM port in Linux Codesys
CODESYS Forge
talk
(Thread)
More COM port in Linux Codesys
Last updated: 2022-03-28
sysprocess library in Codesys einbinden
CODESYS Forge
talk
(Thread)
sysprocess library in Codesys einbinden
Last updated: 2019-10-30
BACnet als AddOn in strukturiertem Text
CODESYS Forge
talk
(Thread)
BACnet als AddOn in strukturiertem Text
Last updated: 2008-02-14
Codesys and SMS in RPi
CODESYS Forge
talk
(Thread)
Codesys and SMS in RPi
Last updated: 2023-09-29
increase default string length in queue
CODESYS Forge
talk
(Thread)
increase default string length in queue
Last updated: 2023-10-11
Fehlermeldung Objektverweis nicht in Objektinstanz
CODESYS Forge
talk
(Thread)
Fehlermeldung Objektverweis nicht in Objektinstanz
Last updated: 2023-10-23
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.