Extracting number from string
CODESYS Forge
talk
(Thread)
Extracting number from string
Last updated: 2019-07-26
Enum in String umwandeln
CODESYS Forge
talk
(Thread)
Enum in String umwandeln
Last updated: 2014-10-13
CASE OF mit String
CODESYS Forge
talk
(Thread)
CASE OF mit String
Last updated: 2007-04-20
String auslesen
CODESYS Forge
talk
(Thread)
String auslesen
Last updated: 2011-03-19
Variable formatiert in String
CODESYS Forge
talk
(Thread)
Variable formatiert in String
Last updated: 2015-11-19
String equal
CODESYS Forge
talk
(Thread)
String equal
Last updated: 2016-09-12
Can Adressierung von string
CODESYS Forge
talk
(Thread)
Can Adressierung von string
Last updated: 2008-03-12
string ???
CODESYS Forge
talk
(Thread)
string ???
Last updated: 2014-09-17
CoDeSys v2.3.8.1 STRING
CODESYS Forge
talk
(Thread)
CoDeSys v2.3.8.1 STRING
Last updated: 2007-10-29
FB string and naming
CODESYS Forge
talk
(Thread)
FB string and naming
Last updated: 2024-10-02
Post by simover on TCP/IP client
CODESYS Forge
talk
(Post)
I want to send a string to a tics TCP/IP server. I got i working with the Net Base lib. for communication good with this tcis i need to by array of byte I want to include a string in the third position of the array TCIS_Send[1] :=254; //this valus is fix for evry communication TCIS_Send[2] :=80; //this valus is fix for evry communication TCIS_Send[3] := ; here I put my and my string is lik this 5806509-DRAP10#AB#3452302073 TCIS_Send[4] :=252; //this valus is fix for evry communication
Last updated: 2023-12-18
Post by peterned on Array to String
CODESYS Forge
talk
(Post)
max. string length in Codesys is 255 chars. It's not possible to cram 20,000 things in a string. If you need to send the data to another device, send the whole data[] array (as byte array, without doing anything to it) and extract the information on the other end. As each struct member has a fixed size (81 bytes, as per you declaration), this will be easy. To save some resources, consider declaring string lengths - e.g. if the max possible length for key is 10 chars, declare it key: STRING(10); and it will occupy 11 bytes instead of 81
Last updated: 2024-07-20
Post by dtamm on How to read string from CharBufferPtr?
CODESYS Forge
talk
(Post)
Solved it! The simple answer was to declare a variable as POINTER TO STRING and assign the GetMessage result to that variable. Then, the ^ operator can be used to extract the message as string.
Last updated: 2024-02-21
Post by dhumphries on Not able to see input data coming from eip adapter on codesys
CODESYS Forge
talk
(Post)
The green icon with an ! next to the device is concerning. Is the data type correct for the input, you are using a byte input but the description says string. Is there anything useful in the status tab?
Last updated: 2024-03-06
Assign a 12 Byte Hex
CODESYS Forge
talk
(Thread)
Assign a 12 Byte Hex
Last updated: 2021-09-09
Control Win V3 change byte order
CODESYS Forge
talk
(Thread)
Control Win V3 change byte order
Last updated: 2020-04-08
1 Byte in einzelne Bits auflösen
CODESYS Forge
talk
(Thread)
1 Byte in einzelne Bits auflösen
Last updated: 2014-09-04
Byte oder Word als Bit benutzen
CODESYS Forge
talk
(Thread)
Byte oder Word als Bit benutzen
Last updated: 2010-10-23
Modbus / RS485 custom byte level message
CODESYS Forge
talk
(Thread)
Modbus / RS485 custom byte level message
Last updated: 2022-08-26
Read File more than 65535 byte
CODESYS Forge
talk
(Thread)
Read File more than 65535 byte
Last updated: 2023-07-25
Byte input and output 1734-OE2V
CODESYS Forge
talk
(Thread)
Byte input and output 1734-OE2V
Last updated: 2017-03-22
Einzelne Werte aus ARRAY OF BYTE
CODESYS Forge
talk
(Thread)
Einzelne Werte aus ARRAY OF BYTE
Last updated: 2005-11-14
Writing 16 byte SDO over Ethercat
CODESYS Forge
talk
(Thread)
Writing 16 byte SDO over Ethercat
Last updated: 2019-04-22
Byte an Ausgänge von EC4P
CODESYS Forge
talk
(Thread)
Byte an Ausgänge von EC4P
Last updated: 2007-04-27
Zahlenwert <256 in 1 Byte wandeln
CODESYS Forge
talk
(Thread)
Zahlenwert <256 in 1 Byte wandeln
Last updated: 2007-02-06
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
.