Closed loop using EtherCAT Analogue I/O

Closed loop using EtherCAT Analogue I/O

Can I use the Flex-6 Nano with Analogue input (AIN) as feedback and Analogue output (AOUT) controlling a hydraulic valve?

Yes, ATYPE=31 supports this – use AXIS_ADDRESS bits 0..7 for the AIN channel number and AXIS_ADDRESS bits 8..15 for the AOUT channel number.

e.g. if axis 4 has AIN(2) as feedback and AOUT(7) as the voltage to the valve;
BASE(4)
AXIS_ADDRESS = $0702
AYTPE = 31

This configuration also needs a Feature Enable Code. FEC 25. Contact your Trio Distributor for information.
Once set up, the usual axis P_GAIN, I_GAIN and D_GAIN may be used to tune the closed loop axis.