Post by mmpl on Array of UDT Compare
CODESYS Forge
talk
(Post)
Hi I am trying to compare value of Array. I am getting an error. I attached picture. Please help.
Last updated: 2024-04-08
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
Post by leon78 on Codesys 3.5 SP17 Patch 2 CheckBounds (POUs for Implicit Checks)
CODESYS Forge
talk
(Post)
Hello! I use CheckBounds (POUs for Implicit Checks). But I have a problem. I use an array as an VAR_IN_OUT of Function Block. If I try to monitor the array of variable length ([* ]), its does't work. The CheckBounds POU isn't called. If I use the array of fixed lenght ([lower..upper]), the CheckBounds POU is called. Why?
Last updated: 2023-11-14
Post by leon78 on Codesys 3.5 SP17 Patch 2 CheckBounds (POUs for Implicit Checks)
CODESYS Forge
talk
(Post)
Hello! I use CheckBounds (POUs for Implicit Checks). But I have a problem. I use an array as an VAR_IN_OUT of Function Block. If I try to monitor the array of variable length ([* ]), its does't work. The CheckBounds POU isn't called. If I use the array of fixed lenght ([lower..upper]), the CheckBounds POU is called. Why?
Last updated: 2023-11-14
Post by simotion on Axis variable indicating modulo of finite setting
CODESYS Forge
talk
(Post)
What variable of the axis indicates it is a modulo of finite axis? I want to check that in the code, to adopt my motion code between the two types.
Last updated: 2023-11-24
IMAGE DISPLAY ACCORDING TO INPUT VARIABLE
CODESYS Forge
talk
(Thread)
IMAGE DISPLAY ACCORDING TO INPUT VARIABLE
Last updated: 2023-09-12
Bitweiser Zugriff auf eine WORD Variable ?
CODESYS Forge
talk
(Thread)
Bitweiser Zugriff auf eine WORD Variable ?
Last updated: 2006-02-13
WORD-Variable in REAL konvertieren
CODESYS Forge
talk
(Thread)
WORD-Variable in REAL konvertieren
Last updated: 2006-05-29
Bit access to DWORD Variable
CODESYS Forge
talk
(Thread)
Bit access to DWORD Variable
Last updated: 2019-12-18
Problem in variable Types
CODESYS Forge
talk
(Thread)
Problem in variable Types
Last updated: 2011-08-18
Feldbus Variable beginnt immer mit 0
CODESYS Forge
talk
(Thread)
Feldbus Variable beginnt immer mit 0
Last updated: 2007-05-21
Backup variable to a file.
CODESYS Forge
talk
(Thread)
Backup variable to a file.
Last updated: 2009-06-29
Variable values into a string
CODESYS Forge
talk
(Thread)
Variable values into a string
Last updated: 2010-02-08
Ausgabe einer Variable (180° drehen)
CODESYS Forge
talk
(Thread)
Ausgabe einer Variable (180° drehen)
Last updated: 2018-02-06
mehrere Eingabewege in eine Variable
CODESYS Forge
talk
(Thread)
mehrere Eingabewege in eine Variable
Last updated: 2008-12-08
Output-Variable mehrfach nutzen in FUP
CODESYS Forge
talk
(Thread)
Output-Variable mehrfach nutzen in FUP
Last updated: 2021-12-09
Netzwerk Variable als Retain deklarieren
CODESYS Forge
talk
(Thread)
Netzwerk Variable als Retain deklarieren
Last updated: 2014-05-28
Quick Network Variable Question
CODESYS Forge
talk
(Thread)
Quick Network Variable Question
Last updated: 2012-05-29
Opus A3 persistence variable problem
CODESYS Forge
talk
(Thread)
Opus A3 persistence variable problem
Last updated: 2021-01-08
Online variable values unavailable
CODESYS Forge
talk
(Thread)
Online variable values unavailable
Last updated: 2010-03-24
OnlineManager error when writing/reading variable
CODESYS Forge
talk
(Thread)
OnlineManager error when writing/reading variable
Last updated: 2014-01-24
text eingabe der variable textausgabe
CODESYS Forge
talk
(Thread)
text eingabe der variable textausgabe
Last updated: 2009-11-01
Date and time to String variable
CODESYS Forge
talk
(Thread)
Date and time to String variable
Last updated: 2022-05-30
globale Variable in FB hochzählen
CODESYS Forge
talk
(Thread)
globale Variable in FB hochzählen
Last updated: 2008-05-30
Werte für Variable DayOfWeek in SysLibTime ?
CODESYS Forge
talk
(Thread)
Werte für Variable DayOfWeek in SysLibTime ?
Last updated: 2007-08-08
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
.