
I-7188XBD-CAN/μPAC-7186EXD-CAN user manual (ver.1.0.3, May/09/2014)
Tables of Content
1Introduction.............................................................................................4
1.1 Overview.........................................................................................4
1.2 Hardware Features.........................................................................6
1.3 Hardware Specifications ...............................................................7
2Hardware Configuration.........................................................................9
2.1 I-7188XBD-CAN Hardware Structure............................................9
2.2 μPAC-7186EXD-CAN Hardware Structure..................................10
2.3 CAN Network Wire Connection ..................................................11
2.4 Terminal Resistor Jumper Selection..........................................13
2.5 Wiring Diagram For Different Application..................................15
2.5.1 Program download.........................................................15
2.5.2 General application........................................................15
2.5.3 I-7188XBD-CAN DI & DO channel wiring diagram .......17
3XC100 Library........................................................................................18
3.1 Library Function Definition and Description.............................20
3.1.1 CAN_Reset......................................................................21
3.1.2 XC100Init / XC100Init_Listen .........................................22
3.1.3 SetCANBaud...................................................................25
3.1.4 SetCANMask...................................................................26
3.1.5 CAN_InstallIrq.................................................................27
3.1.6 CAN_RemoveIrq.............................................................28
3.1.7 CAN_Resotre ..................................................................29
3.1.8 CAN_CreateBuffer..........................................................30
3.1.9 SendCANMsg / SendCANMsg_NonBlock ....................31
3.1.10 GetNonBlockTxBufferLockedCount.............................33
3.1.11 GetNonBlockTxIncompleteCount .................................34
3.1.12 GetCANMsg ....................................................................35
3.1.13 GetStatus.........................................................................37
3.1.14 ClearStatus......................................................................38
3.1.15 L1Off................................................................................39
3.1.16 L2Off................................................................................40
3.1.17 L3Off................................................................................41
3.1.18 L1On................................................................................42
3.1.19 L2On................................................................................43
3.1.20 L3On................................................................................44
3.1.21 UserCANInt .....................................................................45