How to put four bytes into a DWORD
CODESYS Forge
talk
(Thread)
How to put four bytes into a DWORD
Last updated: 2013-01-12
Fehler 4010: "Kann REAL nicht in DWORD konvertieren" ??????
CODESYS Forge
talk
(Thread)
Fehler 4010: "Kann REAL nicht in DWORD konvertieren" ??????
Last updated: 2012-03-01
Convert STRING to DWORD for TCP/IP client
CODESYS Forge
talk
(Thread)
Convert STRING to DWORD for TCP/IP client
Last updated: 2022-06-11
Is DWORD considered signed or unsigned?
CODESYS Forge
talk
(Thread)
Is DWORD considered signed or unsigned?
Last updated: 2017-07-26
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 rmaas on STRING conversions to DWORD
CODESYS Forge
talk
(Post)
Hi, The '' characters in Codesys are there only to indicate it is a STRING type. They are not actually added to the string, maybe you are adding them unintentionally in the concat function? You can send your data from Codesys to Hercules to verify... Another option is to send the data as an array of bytes instead of a string, with every byte representing 1 ASCII character. https://www.ascii-code.com/ This way you are 100% sure Codesys is not adding any unwanted characters.
Last updated: 2025-01-31
Question on LZS_DEFINE_ACCU_FLOW service type
CODESYS Forge
talk
(Thread)
Question on LZS_DEFINE_ACCU_FLOW service type
Last updated: 2007-03-01
Characters inside a string type.
CODESYS Forge
talk
(Thread)
Characters inside a string type.
Last updated: 2012-03-26
about TYPE AND END_TYPE
CODESYS Forge
talk
(Thread)
about TYPE AND END_TYPE
Last updated: 2014-10-22
how to FUNCTION type VOID
CODESYS Forge
talk
(Thread)
how to FUNCTION type VOID
Last updated: 2013-10-18
BIT type in persistent memory
CODESYS Forge
talk
(Thread)
BIT type in persistent memory
Last updated: 2022-03-17
Cannot convert 'STRING' to type 'STRING'
CODESYS Forge
talk
(Thread)
Cannot convert 'STRING' to type 'STRING'
Last updated: 2014-03-31
Mail Service IIoT : Choose TLS type?
CODESYS Forge
talk
(Thread)
Mail Service IIoT : Choose TLS type?
Last updated: 2020-07-29
How to reset timer type PULSE
CODESYS Forge
talk
(Thread)
How to reset timer type PULSE
Last updated: 2016-11-07
Struct FB Input, type coercion
CODESYS Forge
talk
(Thread)
Struct FB Input, type coercion
Last updated: 2021-10-23
Integer type to byte array
CODESYS Forge
talk
(Thread)
Integer type to byte array
Last updated: 2015-11-25
Type–length–value in Codesys
CODESYS Forge
talk
(Thread)
Type–length–value in Codesys
Last updated: 2022-01-02
missing siemens type functions
CODESYS Forge
talk
(Thread)
missing siemens type functions
Last updated: 2012-04-02
ERROR 3729 invalid type ?
CODESYS Forge
talk
(Thread)
ERROR 3729 invalid type ?
Last updated: 2010-03-18
Flexible variable type for functions: ANY_TO_xxx
CODESYS Forge
talk
(Thread)
Flexible variable type for functions: ANY_TO_xxx
Last updated: 2019-11-06
Get Type Of a Variable
CODESYS Forge
talk
(Thread)
Get Type Of a Variable
Last updated: 2018-02-21
question on type conversions
CODESYS Forge
talk
(Thread)
question on type conversions
Last updated: 2012-10-02
Write variable of type TIME
CODESYS Forge
talk
(Thread)
Write variable of type TIME
Last updated: 2018-04-27
Error: Type mismatch at output...
CODESYS Forge
talk
(Thread)
Error: Type mismatch at output...
Last updated: 2015-11-17
ModbusTCP-type BIT or BOOL
CODESYS Forge
talk
(Thread)
ModbusTCP-type BIT or BOOL
Last updated: 2020-11-16
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
.