M206X with P326 AOUT

M206X with P326 AOUT

There is no AOUT command in the MC206X so it is necessary to run a program that makes the CANbus telegram from the values you want to send. See the attached program.

The program sets up an unused CAN buffer to CAN ID required CAN(-1, 5, 16, $60, 8, 1)

It writes data to 4 analogue outputs with this syntax: CAN(channel#,7,message#,byte0,byte1..)  e.g. CAN(-1,7,16,0,0,0,0,0,0,0,0)

The program takes values from VRs and sends them to the P326:
aout_0 = VR(200)
aout_1 = VR(201)
aout_2 = VR(202)
aout_3 = VR(203)
    • Related Articles

    • CANbus port check

      MC403, MC405, Euro404 and Euro408 Motion Coordinators that appear to have a failed CANbus port. Check that the CANIO_ADDRESS is set to 32 when using Trio CANIO mode or to 40 .. 42 when using CanOpen. The CANIO_ADDRESS is stored in Flash in the above ...
    • MC_CONFIG vs Flash parameters

      All Motion Coordinators store the IP_ADDRESS, IP_NETMASK and IP_GATEWAY in Flash memory.  So there is usually no need to add them to the MC_CONFIG. There are some differences with other system parameters. MC4N-ECAT, MC4N-RTX, MC6N-ECAT, Flex-6 Nano ...
    • 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 ...
    • Could not restart CANIO with CANIO_STATUS

      CAN IO modules went into error and could not be reset by CANIO_STATUS.4 = 1. After some tests, the customer found the issue was as follows: It was solved by providing isolation for Trio and Can IO module from the panel. Also used separate 24V supply ...
    • AN-428 Analog I/O resolution change for Flexslices

      This application note explains how to change the range for Voltage signal on the Flexslice module: The P378 & P379 has Signal Voltage option of 1) -5V to +5V 2) -10V to +10V 3) 0V to 5V 4) 0V to 10V