![Advantech PCL-841 Series Скачать руководство пользователя страница 15](http://html.mh-extra.com/html/advantech/pcl-841-series/pcl-841-series_user-manual_2856744015.webp)
1 4
PCL-841 Series User's Manual
Library functions
Quick reference table
The following table lists the available functions and their correspond-
ing syntax and descriptions.
Liorary functions
Function
Syntax (in C)
Description
1
caninitHW()
Sets IROs
2
canExitHW()
Releases settings
3
canReset()
Resets CAN port
4
canConfig()
Controls CAN port settings
5
canNormalR~n()
Sets mode
6
canSendMsg()
Sends message
7
canReceiveMsg()
Reads data
Complete function description
Function 1
Sets an IRQ number for Port I and Port 2.
Command
canluitHW (Ul segment, BYTE IRQ I, BYTE IRQ2)
Argument
UI segment, BYTE IRQI, BYTE IRQ2
segment=c000-df00 step 0x100
IRQI=Port I IRQ number 0 (polling),
3, 4, 5, 6, 7, 8, 9, 10, 1 1, 12, 14, 15
IRQ2=Port 2 IRQ number 0 (polling),
3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 14, 15
0: polling
Response
l=successful
0=fail
Содержание PCL-841 Series
Страница 2: ...1 Introduction C H A P T E R ...
Страница 5: ...4 PCL 841 Series User s Manual ...
Страница 6: ...2 Hardware Installation C H A P T E R ...
Страница 8: ...Chapter 2 Hardware Installation 7 Jumper and switch locations ...
Страница 13: ...12 PCL 841 Series User s Manual ...
Страница 14: ...3 Software Programming C H A P T E R ...
Страница 22: ...4 DataMonitor Utility C H A P T E R ...
Страница 28: ...5 Wiring C H A P T E R ...
Страница 31: ...30 PCL 841 Series User s Manual ...
Страница 32: ...A Register structure A P P E N D I X ...
Страница 37: ...36 PCL 841 Series User s Manual ...