dahlerst Posted May 28, 2009 Share Posted May 28, 2009 My first try at DF and not having much luck. I need to - 1. Aquire an OPC value - no problem here 2. when the OPC value changes I need to convert the value to a signed 16 bit integer and update the value of a modbus slave register with that value. I think I have the modbus slave channel created but i can't seem to force a value into it. The OPC point after conversion applied will always be less than 32768 I think the opc point event code should look something like: While(1) MODBUS1001 = from.word(opcvalue) endwhile but this doesn't do anything.... Link to comment Share on other sites More sharing options...
This topic is now archived and is closed to further replies.