captain_is
Member
Hy guys...i have a problem...
i have a PLC (Twido)
and a LED display
in the plc program i have a counter wich will retain a predefined value in decimal from 0-9999. %C0.P = 0 - 9999
and i also have a LED display... and what i need to do...is to send to the display the ascii code representing the decimal value..
for example ..if i have a value of 10 .. 0x000A in hex
i need to send on the display the ascii chars.. "1""0"...0x3130 in hex
i don't have a function wich can do this..so i'm stuck..
thanks
i have a PLC (Twido)
and a LED display
in the plc program i have a counter wich will retain a predefined value in decimal from 0-9999. %C0.P = 0 - 9999
and i also have a LED display... and what i need to do...is to send to the display the ascii code representing the decimal value..
for example ..if i have a value of 10 .. 0x000A in hex
i need to send on the display the ascii chars.. "1""0"...0x3130 in hex
i don't have a function wich can do this..so i'm stuck..
thanks