Beamline Instrument Software Support |
|
SPEC Macro documentation:
[ Macro Index |
BCU Home ]
|
WAGO.MAC | ||||||
[ source code | installed at | configured at ] | ||||||
See other macros in category: All | ||||||
Description:
| ||||||
Documentation:
This macro set implements communication with modules of the WAGO-I/O-SYSTEM 750 through field bus couplers for MODBUS over serial lines or MODBUS/TCP over Ethernet TCP/IP. EXAMPLE wagosetup print wago_read("temp", 2, "IW") This prints the value of the 3rd input register associated to the function name "temp". wago_write("myout", 0, 1, "OB") This macro sets the first output bit of "myout" to 1. DEPENDENCIES This macro set needs modbus.mac to access MODBUS devices. INTERNALS ???. | ||||||
Macros:
Usage: wagosetup . wagoshow Usage: wagoshow . wago_read Usage: wago_read (<fname>, <faddr> [, <dtype>]) . wago_mread Usage: wago_mread (<fname>, <faddr>, <nval>, <data> [, <dtype>]) . wago_write Usage: wago_write (<fname>, <faddr>, <value> [, <dtype>]) . wago_mwrite Usage: wago_mwrite (<fname>, <faddr>, <nval>, <data> [, <dtype>]) . | ||||||
Internal Macros: | ||||||
Usage: _wagosetup(show) . wagounsetup Usage: wagounsetup . wago__conf Usage: wago__conf (<config_file>]) . wago__nodes Usage: wago__nodes (<setup_file>]) . wago__addnode Usage: wago__addnode (<name>, <device>, <addr>, <nametab>, <dtable>, <nmod>) . wago__check Usage: wago__check (<modname>, <addr>, <dtype>, <nval>) . multim_init_wago Usage: multim_init_wago multim_read_wago Usage: multim_read_wago wago_multim_read_all Usage: wago_multim_read_all(group) | ||||||
|