Specifications
16 Softing
16-22
The receive block will read continuously the object to which the AIC711 sends
the PDO’s (ie. the converted A/D-values).
Because the output of this block contains the 8 bytes of the received CAN-data
as a double value a conversion block (AIC711conversion) is necessary to split
the 8 bytes (double) into 4 doubles (output signals) which represent the A/
D-value in volts for each of the four analog input channels. The conversion is
made according to the data representation of object 6401. Use the
aselmasaic711.c file as a template to implement conversion blocks for other
CANopen devices. The third channel is then stored with an outport block which
can be visualized by the xPC Target scope functionality.
Because CAN-messages with id 0 (boot) and 1536+node_id (SDO) have to be
sent and CAN-message with id 640+node_id (PDO) have to be received over
CAN-port 1 the dialogue-box of the setup-block has to look as follows: