Differenze
Queste sono le differenze tra la revisione selezionata e la versione attuale della pagina.
Entrambe le parti precedenti la revisione Revisione precedente | Prossima revisioneEntrambe le parti successive la revisione | ||
software:devices:modbus [2015/09/16 10:07] – [5.5. Esempi] qem207 | software:devices:modbus [2015/09/16 10:08] – [5.5. Esempi] qem207 | ||
---|---|---|---|
Linea 270: | Linea 270: | ||
modbus.par = 0 ; parity | modbus.par = 0 ; parity | ||
modbus.tout = 100 ; timeout | modbus.tout = 100 ; timeout | ||
- | tm_opencom = 200 ; timeout for OPENCOM command | + | |
modbus.OPENCOM | modbus.OPENCOM | ||
+ | tm_opencom = 200 ; timeout for OPENCOM command | ||
WAIT modbus.st_opencom OR tm_opencom | WAIT modbus.st_opencom OR tm_opencom | ||
IF NOT modbus.st_opencom | IF NOT modbus.st_opencom | ||
Linea 284: | Linea 285: | ||
tcpip_port= 502 ; number of tcpip port (default 502) | tcpip_port= 502 ; number of tcpip port (default 502) | ||
- | modbus.brate = & | ||
modbus.stopb = tcpip_port / & | modbus.stopb = tcpip_port / & | ||
modbus.par | modbus.par | ||
- | |||
modbus.tout = 100 ; timeout | modbus.tout = 100 ; timeout | ||
- | tm_opencom = 500 ; waiting time to have a correct response | + | |
modbus.OPENCOM | modbus.OPENCOM | ||
+ | tm_opencom = 500 ; waiting time to have a correct response | ||
WAIT tm_opencom | WAIT tm_opencom | ||
IF NOT modbus.st_opencom | IF NOT modbus.st_opencom |