
Function Library
123
6.2
C/C++ Programming Library
This section details all the functions. The function prototypes and
some common data types are declared in PCI-8102.H . We sug-
gest you use these data types in your application programs. The
following table shows the data type names and their range.
The functions of the 8102’s software drivers use full-names to rep-
resent the functions real meaning. The naming convention rules
are:
In a ‘C’ programming environment:
_{hardware_model}_{action_name}. e.g. _8102_Initial().
In order to recognize the difference between a C library and a VB
library, a capital “B” is placed at the beginning of each function
name e.g. B_8102_Initial().
Type
Name
Description
Range
U8
8-bit ASCII character
0 to 255
I16
16-bit signed integer
-32768 to 32767
U16
16-bit unsigned integer
0 to 65535
I32
32-bit signed long integer
-2147483648 to 2147483647
U32
32-bit unsigned long integer
0 to 4294967295
F32
32-bit single-precision floating-point -3.402823E38 to 3.402823E38
F64
64-bit double-precision floating-point
-1.797683134862315E308 to
1.797683134862315E309
Boolean
Boolean logic value
TRUE, FALSE
Содержание PCI-8102
Страница 10: ...vi List of Figures ...
Страница 13: ...Introduction 3 Figure 1 2 Flow Chart for Building an Application ...
Страница 18: ...8 Introduction ...
Страница 28: ...18 Installation ...
Страница 46: ...36 Signal Connections and stop signals to STA and STP pins on the K1 connector of the first PCI 8102 card ...
Страница 98: ...88 MotionCreatorPro 5 3 2 Select Menu The select menu appears after running MotionCreatorPro It is used to ...
Страница 99: ...MotionCreatorPro 89 5 3 3 Card Information Menu In this menu it show some Information about this card ...
Страница 100: ...90 MotionCreatorPro 5 3 4 Configuration Menu In this menu users can configure ALM INP ERC EL ORG and EZ ...
Страница 102: ...92 MotionCreatorPro In this menu users can configure LTC SD PCS and Select_Input ...
Страница 104: ...94 MotionCreatorPro In this menu users can configure pulse input output and move ratio and INT factor ...
Страница 116: ...106 MotionCreatorPro Z Save Config Save current configuration to 8102 ini And 8102MC ini Z Close Close the menu ...
Страница 124: ...114 MotionCreatorPro ...
Страница 196: ...186 Function Library pSVdec S curve region during deceleration by calculation pTconst constant speed time maximum speed ...
Страница 205: ...Connection Example 195 5 DIN DI_COM 6 DOUT DO_COM 7 DIR OUT DIR OUT ...
Страница 206: ...196 Connection Example 8 HSIN 9 HSOUT HO_COM ...
Страница 207: ...Connection Example 197 Mechanical Dimensions ...
Страница 208: ...198 Connection Example ...
Страница 209: ...Appendix 199 Appendix 8 1 Color code of Mitsubishi servo J3A cable MRJ3CN1 xM OPEN ...
Страница 210: ...200 Appendix ...