This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
sdk:dio2modbustcp [2015/05/12 09:58] – fachet | sdk:dio2modbustcp [2018/01/24 15:53] (current) – juraschek | ||
---|---|---|---|
Line 3: | Line 3: | ||
/* DESC: This script can be used to access to the digital I/Os via Modbus TCP | /* DESC: This script can be used to access to the digital I/Os via Modbus TCP | ||
* Copyright (C) 2015 NetModule AG, Switzerland | * Copyright (C) 2015 NetModule AG, Switzerland | ||
- | | + | * |
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
| | ||
| | ||
| | ||
| | ||
+ | * | ||
*/ | */ | ||
Line 33: | Line 41: | ||
break; | break; | ||
} | } | ||
- | | + | |
} | } | ||
Line 98: | Line 106: | ||
case 5: // write to a single coil | case 5: // write to a single coil | ||
case 4: // read input register | case 4: // read input register | ||
- | case 15: // write to multiple | + | case 15: // write to multiple |
syst = nb_status(" | syst = nb_status(" | ||
wwan = nb_status(" | wwan = nb_status(" | ||
Line 104: | Line 112: | ||
" | " | ||
" | " | ||
- | " | + | " |
" | " | ||
); | ); |