Convert serial ASCII to HEX in ladder

I am new to programming and trying to use OPTA with the PLC IDE software in Ladder to take an 8bit ASCII on I1 and convert to HEX so I can show the number on a screen and I am struggling to find help online for it. This is what I am trying to work with (link incase pasting the image doesn't work https://www.pizzato.com/media/images/catalog/item/File/pdf/Document/ZE_FOG139-EU.pdf) :

image

If it can't be done in the PLC IDE, I am fine with doing it via the standard IDE, but again not sure how to program that...

In the standard IDE, display the byte like this example:

byte value=0b11101001;  //value in binary representation (from gizmo)
Serial.print("value in HEX ");  //print it in HEX representation
Serial.println(value, HEX);

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.