Beamline Instrument Software Support |
|
SPEC Macro documentation:
[ Macro Index |
BCU Home ]
|
FLEXDC_TCP.MAC | ||||||
[ source code | installed at | configured at ] | ||||||
See other macros in category: Positioning | ||||||
Description:
| ||||||
Documentation:
| ||||||
Macros:
Usage: flexdc_tcp_show motor Print out all information from the controller concerning the specified motor flexdc_home Usage: flexdc_home (<mot_num>) Runs a homing and wait for completion : in case of Ctrl-C it sends an ABORT. _fdc_abort Usage: _fdc_abort (<mot_num>) Sends a stop command to flex controller axis coresponding to motor <mot_num> flexdc_tcp_home Usage: flexdc_tcp_home (<mot_num>) Runs the homing procedure. | ||||||
Internal Macros: | ||||||
Usage: flexdc_tcp_config(num, type, p1, p2, p3) MACRO MOTOR: Called by spec after reading the config file flexdc_tcp_par Usage: flexdc_tcp_par(mot_num, key, todo, p1, p2) Called by spec after reading the config file, after calling _config() and only if parameters are set in the config file for a motor. flexdc_tcp_cmd Usage: flexdc_tcp_cmd(mot_num, key, p1, p2) MACRO MOTOR: Called by spec on motor operation. flexdc_tcp_get_pos Usage: flexdc_tcp_get_pos(mot_num) flexdc_tcp_get_read_pos Usage: flexdc_tcp_get_read_pos(mot_num) flexdc_tcp_get_vel Usage: flexdc_tcp_get_vel(mot_num) flexdc_tcp_get_read_vel Usage: flexdc_tcp_get_read_vel(mot_num) flexdc_tcp_get_sr Usage: flexdc_tcp_get_sr(mot_num) flexdc_tcp_get_po Usage: flexdc_tcp_get_po(mot_num) flexdc_tcp_get_pe Usage: flexdc_tcp_get_pe(mot_num) flexdc_tcp_get_param Usage: flexdc_tcp_get_param(mot_num, param) flexdc_tcp_set_pos Usage: flexdc_tcp_set_pos(mot_num, position) flexdc_tcp_set_vel Usage: flexdc_tcp_set_vel(mot_num, velocity) flexdc_tcp_set_param Usage: flexdc_tcp_set_param(mot_num, param, val) flexdc_tcp_get_status Usage: flexdc_tcp_get_status(mot_num) flexdc_tcp_show_CA Usage: flexdc_tcp_show_CA(mot_num) flexdc_in_target Usage: flexdc_in_target(mot_num) _flexdc_tcp_wr Usage: _flexdc_tcp_wr (dev, cmd) Sends <cmd> command to <dev> device. <cmd> is checked to fix terminators. Returns string ".error." if no echo from controller Returns empty string otherwise _flexdc_tcp_query Usage: _flexdc_tcp_query (dev, cmd) Returns string ".error." if no echo from controller Returns empty string if no answer from controller _flexdc_tcp_connect Usage: _flexdc_tcp_connect (dev) Try to open a connection to the specified device. Returns 0 if success otherwise string ".error.". flexdc_tcp_c_config Usage: flexdc_tcp_c_config(count_num, type, p1, p2, p3) Called by spec after reading the config file flexdc_tcp_c_cmd Usage: flexdc_tcp_c_cmd(count_num, key, p1, p2) Called by spec on counter operation. flexdc_tcp_vel_config Usage: flexdc_tcp_vel_config(count_num, type, p1, p2, p3) Called by spec after reading the config file flexdc_tcp_vel_cmd Usage: flexdc_tcp_vel_cmd(count_num, key, p1, p2) Called by spec on counter operation. flexdc_tcp_sr_config Usage: flexdc_tcp_sr_config(count_num, type, p1, p2, p3) Called by spec after reading the config file flexdc_tcp_sr_cmd Usage: flexdc_tcp_sr_cmd(count_num, key, p1, p2) Called by spec on counter operation. flexdc_tcp_po_config Usage: flexdc_tcp_po_config(count_num, type, p1, p2, p3) Called by spec after reading the config file flexdc_tcp_po_cmd Usage: flexdc_tcp_po_cmd(count_num, key, p1, p2) Called by spec on counter operation. | ||||||
|