Specifications
4 CAN I/O Support
4-12
where the elements define a set of data frame sizes. Each element has to be in
the range between 1 and 8. If the data frame sizes for all identifiers defined in
the control above have to be the same, the size can be provided as a scalar only
and scalar expansion applies. If the sizes are different for at least two
identifiers (CAN-messages) one size element has to be provided for each
identifier defined in the control above. Therefore the length of the two vectors
have to be the same.
Show status output ports — The fourth control (check box) lets you enable
status output ports for each identifier (CAN-message). If the check box is
checked the block shows as many output ports as input ports. The data type of
each output port is a double and the value is identical to the return argument
of function CANPC_write_object(…) described in the Softing user manual.
Refer to the manual for more information.
Sample time — The fifth control (edit field) defines the sample time at which
the Send block is executed during a model (target application) run.
You can use as many instances of the Send block in the model as needed. For
example by using two instances of the block with different sample times,
CAN-messages can be sent out at different rates. Or you can use multiple
instances to structure your model more efficiently.