Hi,
i want to convert a hexadecimal string like 'FFFFFD0E' to integer. i know it equals -754. but i can not convert it in twincat. i can do it in .net easily(convert.int32) but i can not find how to do with twincat. there is a function dword_to_hexstr but i can not find any hexstr_to_dword function or something does the same thing. Is there anyone knows how can it be done. Thanks.
i want to convert a hexadecimal string like 'FFFFFD0E' to integer. i know it equals -754. but i can not convert it in twincat. i can do it in .net easily(convert.int32) but i can not find how to do with twincat. there is a function dword_to_hexstr but i can not find any hexstr_to_dword function or something does the same thing. Is there anyone knows how can it be done. Thanks.