@TimvH, Thank you, i think this way i can seperate the complete string to characters. Next part of the topic is converting the characters to an ASCII code. Is there an standerd function in Codesys for this? I alredy searched a few hours for it on the internet. no succes.
Good afternoon, I have a project where i need to split a string and send it in ascii code to an Domino Printer. Concept: i get an String from an Zebra scanner looking like this : " R002043;5410761402862;Oil Plus 2C Comp.A - Gris Belge;1286193824;" To start is the ";" the seperator. i found some functions to delete the ";" in a string. this is okay but now i want to convert each digit in the string into ascii like this: R=82 0=48 0=48 2=50 0=48 ... This because the printer wants to receive a string...
Good afternoon, I have a project where i need to split a string and send it in ascii code to an Domino Printer. Concept: i get an String from an Zebra scanner looking like this : " R002043;5410761402862;Oil Plus 2C Comp.A - Gris Belge;1286193824;" To start is the ";" the seperator. i found some functions to delete the ";" in a string. this is okay but now i want to convert each digit in the string into ascii like this: R=82 0=48 0=48 2=50 0=48 ... This because the printer wants to receive a string...
oh god this is so stupid of me. Thank you!
oh god this is so stupid of me. Thank you!
oh god this is so stupid of me. Thank you!
Hi, For my first project with codesys and with modbus RTU. This is a real hell. i managed to send and receive using coils. But i want to go further, i want ro readout the analog inputs from this drive over Modbus RTU. This i can find in the holding register. The system from Danfos : " Register = (parameter x10)-1" So i want to readout parameter 1620 so i nead to readout register 16119. Okay, So i configured everything. but still got this error:" the value to be written is not valid" Anyone who can...