i want to write multiple register or single register from C# to delta PLC but it can not get right convert float value or integer? For example if i write 1 from c# to PLC that result is approximately 65562 value.
@@mef3000 i checked there thnx if you have a time can you control this sentence BCS i can't see any mistake ? ( MODBUSCLİENT.writemultipleregister( 6095, Easymodbus.Modbusclient.Convert.FloatToRegisters((float)Convert.ToDouble( textbox3.text)));
i didnt try to write double.but i think using writemultipleregister method and convertdoubletoregister method you may able to do it. easymodbustcp.net/en/ you can check website for example codes.
Thank you!!!
How to read %TM0 timer data on schneider machine expert basic? How to write the %TM0 address in C# so that it can read changes in timer values?
through serila port give soluation read and wirite program
easymodbustcp.net/codesampleseasymodbustcp-net you can find examples here
i want to write multiple register or single register from C# to delta PLC but it can not get right convert float value or integer? For example if i write 1 from c# to PLC that result is approximately 65562 value.
You can check examples from
easymodbustcp.net/en/ it can help you
@@mef3000 i checked there thnx if you have a time can you control this sentence BCS i can't see any mistake ? ( MODBUSCLİENT.writemultipleregister( 6095, Easymodbus.Modbusclient.Convert.FloatToRegisters((float)Convert.ToDouble( textbox3.text)));
@@mikail8038 try to parse textbox text because it s a string i think you should convert it to integer
@@mef3000 ok i will try it if you don't problem for you can you send me your email address for sharing my code ?
is it possible to convert modbus rtu to modbus TCP via a c# program?
İ didnt do such thing but i think it s possible
@@mef3000 see planet mg-110 gateway
can i write double to plc?
i didnt try to write double.but i think using writemultipleregister method and convertdoubletoregister method you may able to do it. easymodbustcp.net/en/ you can check website for example codes.