zengfr/easymodbus4j

transactionIdentifierOffset 参数是什么意义,貌似随便改也不影响

huanghe-1 opened this issue · 2 comments

start8-Client4RtuMaster.bat
@echo off
rem type,host,port,unit_IDENTIFIER,transactionIdentifierOffset,showDebugLog,idleTimeout,autoSend,sleep,heartbeat,ignoreLengthThreshold,udpPort
java -jar easymodbus4j-example-0.0.5.jar 8,127.0.0.1,502,1,0,T,0,T,12000,heartbeat,0,54321
pause
@echo on

transactionIdentifierOffset 随便改个数,结果没有影响,是必要的吗

默认设置0 特殊情况下设置1。

1和0分别代表什么意思啊