Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revisionBoth sides next revision | ||
en:software:devices:modbus [2016/12/27 15:00] – [7. Migrazione dal device MODBUS01 al device MODBUS] qem103 | en:software:devices:modbus [2016/12/27 15:01] – [Esempio:] qem103 | ||
---|---|---|---|
Line 587: | Line 587: | ||
If an application was written for the MODBUS01 device you must add the OPENCOM command (executed only once) as shown in the following example. | If an application was written for the MODBUS01 device you must add the OPENCOM command (executed only once) as shown in the following example. | ||
- | ==== Esempio: ==== | + | ==== Example: ==== |
<code QCL> | <code QCL> | ||
- | ; impostazione dei parametri di comunicazione | + | ; setting communication parameters |
modbus.mode = 0 | modbus.mode = 0 | ||
modbus.brate = 38400 | modbus.brate = 38400 | ||
Line 605: | Line 605: | ||
WAIT modbus.st_sended | WAIT modbus.st_sended | ||
IF (modbus.err) | IF (modbus.err) | ||
- | CALL ErroreModbus | + | CALL ErrorModbus |
ENDIF | ENDIF | ||
</ | </ | ||