esrf

Beamline Instrument Software Support
SPEC Macro documentation: [ Macro Index | BCU Home ]

WAGO.MAC
See other macros in category: All
Description:
    Macro functions to access WAGO I/O modules.
Documentation:
    DESCRIPTION
    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:
    wagosetup
    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:
    _wagosetup
    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)


Filename: wago.mac
Author: P. Fajardo, (Original 5/01). $Revision: 1.1 $ / $Date: 2003/03/31 11:17:54 $
Last mod.: 31/03/2003 13:17 by perez