Search talk: string to word

 
<< < 1 .. 8 9 10 11 12 .. 198 > >> (Page 10 of 198)

problem with unicode string input into text field CODESYS Forge talk (Thread)
problem with unicode string input into text field
Last updated: 2018-11-26

List of string pointed by value in visualization CODESYS Forge talk (Thread)
List of string pointed by value in visualization
Last updated: 2018-01-31

read string from a web site (https) CODESYS Forge talk (Thread)
read string from a web site (https)
Last updated: 2019-08-08

Einen String Wert in einer csv. Datei speichern CODESYS Forge talk (Thread)
Einen String Wert in einer csv. Datei speichern
Last updated: 2011-05-25

reading string from file issue (more than 255 bytes) CODESYS Forge talk (Thread)
reading string from file issue (more than 255 bytes)
Last updated: 2023-08-02

NBS.IPv4Address.SetInitialValue input should not be STRING(15) CODESYS Forge talk (Thread)
NBS.IPv4Address.SetInitialValue input should not be STRING(15)
Last updated: 2022-12-12

Is there a string compare function in ST ? CODESYS Forge talk (Thread)
Is there a string compare function in ST ?
Last updated: 2017-11-08

XML-String an SOAP-Server mit HttpClient CODESYS Forge talk (Thread)
XML-String an SOAP-Server mit HttpClient
Last updated: 2018-11-23

Extract a memory adress from a string value CODESYS Forge talk (Thread)
Extract a memory adress from a string value
Last updated: 2016-12-06

Return value from a tag given a string literal CODESYS Forge talk (Thread)
Return value from a tag given a string literal
Last updated: 2024-08-13

Post by dkugler on STRING size and reading STRING with Modbus CODESYS Forge talk (Post)
Last updated: 2025-01-31

EtherNet/IP Device - Status "Diag string: 'Configure encapsulation Layer'" CODESYS Forge talk (Thread)
EtherNet/IP Device - Status "Diag string: 'Configure encapsulation Layer'"
Last updated: 2025-02-11

Length of string and Array of bytes CODESYS Forge talk (Thread)
Length of string and Array of bytes
Last updated: 2025-04-02

WebVisu Numpad dialog - Dialogtitle not accepting string variable CODESYS Forge talk (Thread)
WebVisu Numpad dialog - Dialogtitle not accepting string variable
Last updated: 2025-05-29

Zugriff auf BYTE in einem WORD / INT in einem DINT etc... CODESYS Forge talk (Thread)
Zugriff auf BYTE in einem WORD / INT in einem DINT etc...
Last updated: 2023-01-19

schaltplan als PDF-Datein oder als ein Bild in MS-WORD CODESYS Forge talk (Thread)
schaltplan als PDF-Datein oder als ein Bild in MS-WORD
Last updated: 2007-10-05

Post by alez on CANOpen SDO to write VISIBLE STRING CODESYS Forge talk (Post)
Hello, I am experiencing difficulties in configuring a CANopen device by sending SDOs. In particular I am attempting to write an Object Dictionary that has VISIBLE STRING as the Data Type. When I try to configure the sending of an SDO from Codesys to configure this parameter I am not allowed to enter a string value. In my particular case I am trying to change the Manufacturer Device Name ( Index 0x1008 ). Could it be that Codesys doesn't manage these types of variables?
Last updated: 2024-04-29

Post by gatto on Read codesys version in the codesys application CODESYS Forge talk (Post)
hi, i used another way declaration: pApp : POINTER TO APPLICATION; pAppInfo : POINTER TO APPLICATION_INFO; ProjectName : STRING (24) ; CodesysVersion : STRING (15) ; code: //library : // CmpApp // IoDrvEthernet // // Get Pointer to current application pApp := CmpApp.AppGetCurrent( pResult:= 0 ); // Get Pointer to Application information pAppInfo := CmpApp.AppGetApplicationInfo(pApp:= pApp, pResult:= 0 ); ProjectName := pAppInfo^.pstProjectName^ ; //convert codesys version to string CodesysVersion := IoDrvEthernet.UDINT_TO_IPSTRING ( udiIPAddress := pApp^.udiPSVersion ) ; so i think you need to convert your dwVersion in a UDINT and after convert UDINT_TO_IPSTRING
Last updated: 2025-01-17

Post by stdenits on Set several bits in WORD CODESYS Forge talk (Post)
DEL
Last updated: 2024-04-23

Post by bertcom on STRING conversions to DWORD CODESYS Forge talk (Post)
Good afternoon. I want to communicate with a Domino Industrial Printer using its Codenet protocol. The printer wants a series of Hexadecimal characters with no spaces or '00' characters. Because of that i chose the option to make the prefix and subfix for my code in a string. I have variable data in another string. With a complete program of a lot of CONCAT functions i eventually get the format of code that the printer accepts ( tested it with the hercules tool). Hercules String : 1B4F513030311B7532626C61636B04 The problem is : Codesys adds automatically 'code' to the code to show it is a string. Codesys string : '1B4F513030311B7532626C61636B04' The printer does not understand this. My idea is to convert the string datatype to an LWORD. I have no idea how to do this. I random types in STRING_TO_DWORD, as return i get 0. That didn't worked. Also on internet the explenations around string converting in codesys are very limited. If there in anyone who can explain me how to do it, i would appreciate it a lot ! Thank you!
Last updated: 2025-01-29

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 timvh on Converting each character to a string into ASCII CODESYS Forge talk (Post)
Nice puzzle for a Saturday afternoon :-). Here my suggestion: VAR sInput : STRING := 'R123'; byChar : BYTE; sOutput : STRING; i: INT; END_VAR sOutput := ''; IF LEN(sInput) = 0 THEN RETURN; END_IF FOR i := 0 TO LEN(sInput) - 1 DO byChar := sInput[i]; sOutput := Concat(sOutput, TO_STRING(byChar)); END_FOR
Last updated: 2024-11-09

Post by drml on Array to String CODESYS Forge talk (Post)
If a size is not specified, CODESYS allocates 80 characters by default for a string. After 7 seconds, does your Json_string contain all of your 20000 key/values? Or is the result truncated to 80 characters?
Last updated: 2024-07-19

Post by mmpl on Array to String CODESYS Forge talk (Post)
Hi Thank you for you reply. Yes I can concatenat longer string. I am using string_Util_Intern libraray for concat. The issue is abot plc performance. It takes 7 second. I am looking to improve time.
Last updated: 2024-07-23

Post by installwhat on How to access to variable value through symbolic string name CODESYS Forge talk (Post)
https://help.codesys.com/api-content/2/codesys/3.5.12.0/en/_cds_operator_string_to/ Something like this?
Last updated: 2024-06-13

<< < 1 .. 8 9 10 11 12 .. 198 > >> (Page 10 of 198)

Showing results of 4944

Sort by relevance or date