canClose (Function) |
Top Previous Next |
This closes a CAN port previously opened by canOpen. Call this function to close the CAN port when done with sending and receiving messages.
Input: port : SINT (1/2) (default 1) The port of the CAN bus.
Returns: INT
Declaration: FUNCTION canClose : INT; VAR_INPUT
Example: INCLUDE rtcu.inc |