JSON Utilities and SetArray
CODESYS Forge
talk
(Thread)
JSON Utilities and SetArray
Last updated: 2024-05-11
(no subject)
I/O Drivers
tickets
(Thread)
Last updated: 2024-05-10
Post by corriibme on JSON Utilities and SetArray
CODESYS Forge
talk
(Post)
Hello @florian, Could you please help with how to set an array value? I've been trying to use the with the setKeyWithArray method which creates the key with an empty array value. But I have been unable to set items in this array? objindex:= fb_JBuilder.SetKeyWithArray("Key6", diParentIndex := diRootIndex); objindex2:= fb_JBuilder.SetValue(value:= iValue2, diParentIndex:= objindexx); //iValue: array[0..n] of int; Best regards
Last updated: 2024-05-11
Post by miodusy on CODESYS Control Standard S and Beaglebone
CODESYS Forge
talk
(Post)
Hi, CODESYS Control Standard S + CODESYS Visualization L, CODESYS Control for Beaglebone 4.11.0.0, CODESYS V3.5 SP20 + (64-bit) I have problem that license manager say that this device is not supported when i try active whole license. When I select only runtime and communication it is go next step, but then I no have license on in Visualistion section, all of rest of software metric licese is ok(IO, Istances of com et, code size etc.). Thanks!
Last updated: 2024-05-11
How to define CONDITIONAL PRAGMA that effects all ST-POU in project.
CODESYS Forge
talk
(Thread)
How to define CONDITIONAL PRAGMA that effects all ST-POU in project.
Last updated: 2024-05-12
wiki Discussion
okshivitskiy
wiki
(Discussion)
Forum for wiki comments
Last updated: 2024-05-12
blog Discussion
okshivitskiy
blog
(Discussion)
Forum for blog comments
Last updated: 2024-05-12
(no subject)
okshivitskiy
wiki
(Thread)
Last updated: 2024-05-12
Post by k2saki on How to define CONDITIONAL PRAGMA that effects all ST-POU in project.
CODESYS Forge
talk
(Post)
I'd like to use same code/project in different devices. (RPi, PLC) I change some lines in some POU before compiling. (array size, file path, etc ) My question is How to define pragma that effects all ST-POU in project. Is it possible ? I've read this. https://help.codesys.com/api-content/2/codesys/3.5.12.0/en/_cds_pragma_conditional/
Last updated: 2024-05-12
wiki Discussion
boyzfunhouse
wiki
(Discussion)
Forum for wiki comments
Last updated: 2024-05-12
blog Discussion
boyzfunhouse
blog
(Discussion)
Forum for blog comments
Last updated: 2024-05-12
Home
okshivitskiy
wiki
(WikiPage)
Project Members: okshivitskiy (admin)
Last updated: 2024-05-12
Post by corriibme on Setting array values with JSON Utilities SL
CODESYS Forge
talk
(Post)
I have been trying to set an array value to a JSON structure of this form: {"key": [1,2,3,4]} While I have been able to create the key and set its value to an empty array, I've not had any luck in putting any value in that array. objindex:= fb_JBuilder.SetKeyWithArray("Key6", diParentIndex := diRootIndex); objindex2:= fb_JBuilder.SetValue(value:= iValue2, diParentIndex:= objindex); iValue2: ARRAY[0..3] OF INT:= [1,2,3,4]; The two lines of code above produce {"key6": []} . The second line essentially has no effect.
Last updated: 2024-05-12
wiki Discussion
dalfaro21
wiki
(Discussion)
Forum for wiki comments
Last updated: 2024-05-12
blog Discussion
dalfaro21
blog
(Discussion)
Forum for blog comments
Last updated: 2024-05-12
Home
boyzfunhouse
wiki
(WikiPage)
Project Members: boyzfunhouse (admin)
Last updated: 2024-05-12
(no subject)
boyzfunhouse
wiki
(Thread)
Last updated: 2024-05-12
(no subject)
dalfaro21
wiki
(Thread)
Last updated: 2024-05-12
Home
dalfaro21
wiki
(WikiPage)
Project Members: dalfaro21 (admin)
Last updated: 2024-05-12
Post by dalfaro21 on Softmotion not working with simulation mode
CODESYS Forge
talk
(Post)
I have a KEB combivis studio software running codesys and I want to make some moves but softmotion is not working on my laptop I hope you can help me!
Last updated: 2024-05-12
wiki Discussion
rambarath
wiki
(Discussion)
Forum for wiki comments
Last updated: 2024-05-13
blog Discussion
rambarath
blog
(Discussion)
Forum for blog comments
Last updated: 2024-05-13
(no subject)
rambarath
wiki
(Thread)
Last updated: 2024-05-13
Home
rambarath
wiki
(WikiPage)
Project Members: rambarath (admin)
Last updated: 2024-05-13
Post by totorovic on Softmotion not working with simulation mode
CODESYS Forge
talk
(Post)
Good morning, I think that the mode Simulation does not support the Softmotion functionnality because it runs the CODESYS process with normal priority wich is not a good thing for real-time behavior. If you want to test your PLC project, please use a Codesys Control Softmotion (and your computer must have the Ethercat driver installed) or much easier, download your code into the C6 Smart. BR
Last updated: 2024-05-13