Post by mtho on JSON Utilities - JSON file written with invalid structure
CODESYS Forge
talk
(Post)
I'm using the JSON Utilities SL library to write configurations in my program to a file. I'm generating the JSON data using the builder function block and all appears to work correctly. When I write the jsondata to file, I'm finding that some of the JSON elements are not being written in the right location in the file. Rather than writing they keys under the parent object, they get written outside the root JSON object at the end of the file. If I then try to read the file back into the program, I get an invalid_structure error. I don't get any errors when populating the JSON data or when writing the file. I attached an example of the JSON writer output. The problems begin with key P200. Each P200 should go under MBR1 through MBR3. Among the rest of the keys, they are supposed to be under different parent objects. I am using default values for wsLineBreak and encoding.
Last updated: 2024-03-06
Two drives on one axis, Gantry Robot
CODESYS Forge
talk
(Thread)
Two drives on one axis, Gantry Robot
Last updated: 2023-08-25
Problems connecting to Codesys 4.9.0.0 runtime on my Wago PFC200
CODESYS Forge
talk
(Thread)
Problems connecting to Codesys 4.9.0.0 runtime on my Wago PFC200
Last updated: 2023-08-26
Post by timvh on gateway problem
CODESYS Forge
talk
(Post)
Maybe select the local gateway instead of the gateway on the remote device?
Last updated: 2023-08-31
Ranges, Lambdas, on Fixed arrays of structs
CODESYS Forge
talk
(Thread)
Ranges, Lambdas, on Fixed arrays of structs
Last updated: 2023-08-31
Introductory short video series on PLC programming (CODESYS)
CODESYS Forge
talk
(Thread)
Introductory short video series on PLC programming (CODESYS)
Last updated: 2023-08-28
Post by eschwellinger on Code Size
CODESYS Forge
talk
(Post)
will start with next relaese on RTE, at the moment not possible.
Last updated: 2023-09-08
Post by eschwellinger on SPI Master not running/MCP3008 Missing driver.
CODESYS Forge
talk
(Post)
SPI enabled on 'sudo raspi-config' reduce _diMaxSpeed
Last updated: 2023-09-12
Post by transmin01 on EtherCat Master cannot open network adaptor on Win10x64 target
CODESYS Forge
talk
(Post)
Thanks @eschwellinger installed WinPcap. Regards Trevor
Last updated: 2023-09-14
EtherCat Master cannot open network adaptor on Win10x64 target
CODESYS Forge
talk
(Thread)
EtherCat Master cannot open network adaptor on Win10x64 target
Last updated: 2023-09-14
Network Variable List in Codesys 3.5 on CAN
CODESYS Forge
talk
(Thread)
Network Variable List in Codesys 3.5 on CAN
Last updated: 2023-08-05
Cannot install library "mail service" on SP17
CODESYS Forge
talk
(Thread)
Cannot install library "mail service" on SP17
Last updated: 2021-12-22
Making changes to ENI controlled code on site
CODESYS Forge
talk
(Thread)
Making changes to ENI controlled code on site
Last updated: 2011-05-04
Ged rid of lines on Chart XY
CODESYS Forge
talk
(Thread)
Ged rid of lines on Chart XY
Last updated: 2022-04-05
Where do I find documentation on the libaries in V3.3 ?
CODESYS Forge
talk
(Thread)
Where do I find documentation on the libaries in V3.3 ?
Last updated: 2010-02-08
Adding a CANBUS device on Codesys Control Linux SL
CODESYS Forge
talk
(Thread)
Adding a CANBUS device on Codesys Control Linux SL
Last updated: 2022-05-25
How to have a persistent var on raspberry ?
CODESYS Forge
talk
(Thread)
How to have a persistent var on raspberry ?
Last updated: 2018-01-03
[FATAL ERROR] Unresolved reference: 'USERMGRUSERGETPROPERTY' on Codesys 3.5 SP19
CODESYS Forge
talk
(Thread)
[FATAL ERROR] Unresolved reference: 'USERMGRUSERGETPROPERTY' on Codesys 3.5 SP19
Last updated: 2023-04-02
Disable Codesys communication on fieldbus ethernet card
CODESYS Forge
talk
(Thread)
Disable Codesys communication on fieldbus ethernet card
Last updated: 2022-06-13
modbus RTU on ControlWin softplc: disable RTS DTR
CODESYS Forge
talk
(Thread)
modbus RTU on ControlWin softplc: disable RTS DTR
Last updated: 2020-03-26
New to CANopen on EASY215.Help required.
CODESYS Forge
talk
(Thread)
New to CANopen on EASY215.Help required.
Last updated: 2009-01-15
Post by callumo1 on Check For Open Dialogs On Client
CODESYS Forge
talk
(Post)
Okay, Thanks for the help
Last updated: 2023-09-26
Post by sukrit on What licenses are required for runtime on raspberry pi cm4
CODESYS Forge
talk
(Post)
attached is the software matrics
Last updated: 2023-10-17
What licenses are required for runtime on raspberry pi cm4
CODESYS Forge
talk
(Thread)
What licenses are required for runtime on raspberry pi cm4
Last updated: 2023-10-17
CODESYS Control for Raspberry Pi SL on Raspberry Pi 4b
CODESYS Forge
talk
(Thread)
CODESYS Control for Raspberry Pi SL on Raspberry Pi 4b
Last updated: 2023-10-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
.