Beamline Instrument Software Support |
|
SPEC Macro documentation:
[ Macro Index |
BCU Home ]
|
Huber_attenuators.mac $Revision: 1.1 $ | ||||||
[ source code | installed at | configured at ] | ||||||
See other macros in category: Attenuator | ||||||
Description:
| ||||||
Documentation:
Macros for Huber Attenuator INTERNALS based on WAGO SPS, Huber Diffraction SETUP This macro assumes that an Interface I "FIELD" with "Modbus over TCP IP" with device ID 0 is defined ie device x.x.x.x:502 Modbus over TCP_IP byte 32000 contains the 8 Bits of the IO ports of the SPS controller Attention: TCP timeout has to be set to 0 = no timeout on WAGO controller connection problems: connection refused: reason: generic modbus controller must be present and working INTERNALS for any reason commands always have to be sent twice ** solved by TCP timeout = 0 | ||||||
Macros:
Usage: attenuator_help help attenuator Usage: attenuator [off|set|get] | ||||||
Internal Macros: | ||||||
Usage: att_get_text (att_mod_adress) extract letters from 16 Bit answer | ||||||
|