addEncoder.cmd

description

Script for adding an extra encoder to an axis.

details

Adds an encoder to the last configured axis.

author

Niko Kivel


paramters

CONFIG configuration file, i.e. ./cfg/axis_1_enc_2.enc
DEV (optional) device name, i.e. MOTOR1
CLEAR_VARS_CMD (optional) Set to “empty” for not clear env vars (if vars needed for later use).
CFG_MACROS (optional) Substitution macros for config file


Example call:

${SCRIPTEXEC} ${ecmccfg_DIR}addEncoder.cmd,            "CONFIG=./cfg/linear_1_enc_3.enc"