- Computers & electronics
- Computer components
- Interface components
- Digital & analog I/O modules
- ADLINK Technology
- PCI-8136M
- User's Guide
advertisement
5.6 Remote I/O
@ Name
_8136_R_Status - Check Remote I/O Status
_8136_R_Write - Write a word to remote
_8136_R_Read - Read a word from remote
@ Description
_8136_R_Status:
This function is for checking remote I/O stopped status. If the remote I/O is not running, user can use this function to check to status of remote I/O. It contains the following information: Remote
I/O enable/disable, master/slave receive data status, and module fail.
_8136_R_Write
This function is for writing a word to one set. Each slave module has 4 sets. User must assign the slave number and set number and a value to use this function.
_8136_R_Read
This function is for reading a word from one set. Each slave module has 4 sets. User must assign the slave number and set number and a value to use this function.
@ Syntax
C/C++ (DOS, Windows 95/98/NT/2000)
I16 _8136_R_Status(I16 CardNo);
U16 _8136_R_Write(I16 CardNo,I16 SlaveNo,I16 SetNo,U16
SetValue);
U16 _8136_R_Read(I16 CardNo,I16 SlaveNo,I16 SetNo,U16
*SetValue);
Visual Basic 5.0 or higher
B_8136_R_Status (ByVal CardNo As Integer) As Integer
B_8136_R_Write (ByVal CardNo As Integer, ByVal SlaveNo As
Integer, ByVal SetNo As Integer, ByVal SetValue As Long) As
Integer
B_8136_R_Read (ByVal CardNo As Integer, ByVal SlaveNo As
Integer, ByVal SetNo As Integer, SetValue As Long) As Integer
@ Argument
CardNo: card number designated to set (Range 0 ~ 3)
SlaveNo: assign slave number (Range 0~1)
72
• Motion Library
SetNo: I/O range in slave module
0: bit 0~15
1: bit 16~31
2: bit 32~47
3: bit 48~63
SetValue: 16-bit value to write
*SetValue: 16-bit value to read
@ Return Code
ERR_RangeError
ERR_NoError
Motion Libra
• 73
advertisement
Related manuals
advertisement
Table of contents
- 11 Functionality of PCI-8136M
- 12 Features
- 13 Specifications
- 13 Applicable Motors
- 13 Motion
- 13 Motion Interface I/O Signals
- 14 General I/Os
- 15 General Specifications
- 16 Software Supporting
- 16 Programming Library
- 18 What You Have
- 19 Outline Drawing
- 20 Hardware Installation
- 20 Hardware configuration
- 20 PCI slot selection
- 20 Installation Procedures
- 20 Trouble shooting
- 21 Software Installation
- 22 CN1 PIN ASSIGNMENTS: MAIN CONNECTOR
- 23 CN2 PIN ASSIGNMENTS: EXTERNAL POWER INPUT
- 24 CN3 PIN ASSIGNMENTS: DB25 CONNECTOR
- 24 CN4 PIN ASSIGNMENTS: DB9 CONNECTOR
- 26 Pulse output signals OUT and DIR
- 28 Voltage output signals DAC
- 30 Encoder feedback signals EA, EB and EZ
- 33 Analog Input
- 35 Origin signal ORG
- 36 End-Limit signals PEL and MEL
- 37 Emergency stop signal ESTOP
- 38 Servo on signal SVON
- 39 General purpose output P-RDY
- 39 VCC Pin
- 40 Open Loop and Closed Loop Connection
- 43 AD Conversion and Preloaded Trigger
- 43 Voltage Compare
- 44 DA Conversion
- 44 DA Output by Trigger Source
- 45 Local DIO
- 45 Digital Input
- 45 Digital Output
- 46 Pulse Input and Position Compare
- 46 Pulse Input
- 47 Position Counter Value Capture (Latch)
- 48 Position Compare
- 49 Pulse Output
- 51 Remote Serial IO
- 52 Introduction to DDA
- 53 Open-loop and close-loop control
- 53 Open-loop control
- 53 Close-loop control
- 54 Constant Velocity Motion
- 55 Trapezoidal Motion
- 57 S-Curve Profile Motion
- 59 2D Interpolation
- 62 3D Interpolation
- 63 Home Return Mode
- 64 Motion Parameters Setting
- 65 The Motion IO Interface
- 65 SERVO ON
- 65 Limit Switch Signal
- 65 Emergency stop signal (ESTOP)
- 67 Interrupt Control
- 71 List of Functions
- 73 Initialization
- 75 System Parameters
- 77 Card Information
- 78 Digital I/O
- 80 Remote I/O
- 82 Analog I/O
- 85 Pulse I/O
- 89 Interrupt Control
- 92 Close Loop Initialization
- 93 Motion Parameters
- 96 Motion Status
- 98 PTP Movement
- 100 2D Interpolation
- 102 3D Interpolation
- 104 Continuous Motion
- 105 Homing
- 106 Motion Function