Modbus WriteTimeout=1000 딜레이 문제로 단축
This commit is contained in:
@@ -66,8 +66,8 @@ namespace vmsnet
|
|||||||
port.Parity = Configure.Parity;
|
port.Parity = Configure.Parity;
|
||||||
port.DataBits = Configure.DataBits;
|
port.DataBits = Configure.DataBits;
|
||||||
port.StopBits = Configure.StopBits;
|
port.StopBits = Configure.StopBits;
|
||||||
port.ReadTimeout = 3000;
|
port.ReadTimeout = 1000;
|
||||||
port.WriteTimeout = 3000;
|
port.WriteTimeout = 1000;
|
||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user