Jpik
Member
Thank you so much for your help!
I am trying to use an INT or DINT as a setpoint for my remote device using Modbus TCP/IP.
My code is:
Temperature:= WORD_TO_DINT(Process_VAR);
Where Process_VAR is a word array containing 2 words.
I get the error that "Cannot convert "ARRAY [1..2] OF WORD to WORD".
How can I use a number to relay setpoint information to my remote device please?
I am trying to use an INT or DINT as a setpoint for my remote device using Modbus TCP/IP.
My code is:
Temperature:= WORD_TO_DINT(Process_VAR);
Where Process_VAR is a word array containing 2 words.
I get the error that "Cannot convert "ARRAY [1..2] OF WORD to WORD".
How can I use a number to relay setpoint information to my remote device please?