Hi rmaas, Do you have any explenation how to send it to Hercules? Thank you!
@trusty-suire, The problem is not encoding. The problem is that codesys ands ' ' to the string. And the printer can't handle these character.
@trusty-suire, The problem is not encoding. The problem is that codesys ands ' ' to the string. And the printer can't handle these character.
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...
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 y 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...
@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...