LCTE-MINI-C2A4 module
Encoder 0 and encoder 1 have independent position comparators, and each channel corresponds to an independent analog interface, for example, encoder 0 corresponds to analog 0. Eachgroup of analog quantities has its own queue, and each group has 2000 points. The triggeredanalog data will be automatically stored in the analog queue. When the program calls to get it, the obtained data will be removed from the queue.
Classification:
Mini Analog Module
Key words:
Basic specifications:
|
ITEM
|
PARAMETER
|
|
Product Series
|
MINI Series
|
|
Product Name
|
LCTE-MINI-C2A4 |
|
Size
|
58*125*68mm |
|
Network Interface
|
100Mbps EtherCAT |
|
Network Protocol
|
EtherCAT |
|
Power Supply
|
24V DC |
|
Encoder Interface
|
2 ways, differential input, AB phase signal
|
|
Output Port
|
2 ways, differential output, RS422 level
|
|
Analog Input Port
|
4 ways ,16b it resolution,±10V
|
|
Work Temp
|
0~60° |
|
Relative Humidity
|
95%,No condensation |
|
Encoder Frequency
|
可达20Mhz |
|
TrigOutput Pulse Freq
|
可达 20Mhz |
Hardware Instruction :
Encoder 0 and encoder 1 have independent position comparators, and each channel corresponds to an independent analog interface, for example, encoder 0 corresponds to analog0. Each
group of analog quantities has its own queue, and each group has 2000 points. The triggeredanalog data will be automatically stored in the analog queue. When the program calls to get it, the obtained data will be removed from the queue.
The comparator function of each group of encoders is basically similar to the trigger of E4O4, but this product eliminates the preset comparator and linear comparator. The dynamic FIFO with more points and more convenient use and the multi-segment linear comparator are reserved. It can meet the requirements of single-axis discrete point trigger and linear trigger.
Application scenario:

Application Scenario 1: Synchronous Acquisition of Analog and Encoder

Application scenario 2: In motion, analog data is triggered by encoder position and put into the queue. That is, in-flight acquisition.
Function Instruction:
| Int Mb_C2A2_GetEncoderData(int SlaveNo,int EncoderNo,int* EncoderData) | |
|
Reading encoder data of C2A2
|
|
| SlaveNo |
count from 1
|
| EncoderNo |
Encoder Interface No. count from 0
|
| EncoderData |
Data of Encoder
|
|
Return Value
|
-1--Fail -2--Slave invalid -3--Parameter Err
|
| int Mb_C2A2_SetEncoderData(int SlaveNo, int EncoderNo, int EncoderData) | |
| Set the encoder data of the current channel. | |
| SlaveNo | Count from 1 |
| EncoderNo | Encoder Interface No.,count from 0 |
| EncoderData | Data of Encoder |
| Return Value | -1--Fail-2--Slave invalid-3--Parameter Err |
| int Mb_C2A2_SetColMode(int SlaveNo,int AnalogChn ,int Mode) | |
| Set Acquisition mode of current channel 0-Polling Mb_C2A2_GetActAnalogValue 1-Trigger use trigger acquisit related function |
|
| SlaveNo | Count from 1 |
| AnalogChn | Analog Channel No. count from 0 |
| Mode | 0-Polling use Mb_C2A2_GetActAnalogValue 1-Trigger use trigger acquisit related function |
| Return Value | -1--Fail -2--Slave Invalid -3--Parameter Err |
| int Mb_C2A2_InitAnalogCal(int SlaveNo, int Rate) | |
| Initialize analog acquisition and set the sampling rate at the same time: 0-200K 1-50K 213K 3 3.3K |
|
| SlaveNo |
Count from 1
|
| Rate | sampling rate: 0-200K 1-50K 213K 3 3.3K |
| Return Value | -1--Fail -2--Slave Invalid -3--Parameter Err |
| int Mb_C2A2_GetActAnalogValue(int SlaveNo, int AnalogChn, double * AnalogValue) | |
| Obtain the analog data of the specified analog channel (Polling mode ), V | |
| SlaveNo | Count from 1 |
| AnalogChn | analog channel No., count from 0 |
| AnalogValue | analog data value unit V |
| Return Value | -1--Fail -2--Slave Invalid -3--Parameter err -41--acquisition mode err |
| int Mb_C2A2_GetAnalogFifoData(int SlaveNo, int AnalogChn, int GetCnt, double * Data) | |
| Get data group in the FIFO of the specified analog channel.(Trigger mode ),unit V | |
| SlaveNo | Count from 1 |
| AnalogChn | Analog channel No. count from 0 |
| GetCnt | The number of data to be obtained. |
| *Data | Gets the first address of the data array |
| Return Value | -1--Fail-2--Slave Invalid-3--Parameter err-41--acquisition mode err |
| int Mb_C2A2_GetAnalogFifoCount(int SlaveNo, int AnalogChn, int * Count) | |
| Get number of data in the FIFO of the specified analog channel.(Trigger mode ) | |
| SlaveNo | Count from 1 |
| AnalogChn | Analog channel No. count from 0 |
| *Count | the number of data obtained |
| Return Value | -1--Fail-2--Slave Invalid-3--Parameter err-41--acquisition mode err |
| int Mb_C2A2_GetAnalogFifoCount(int SlaveNo, int AnalogChn, int * Count) | |
| Get number of data in the FIFO of the specified analog channel(Trigger Mode ) | |
| SlaveNo | Count from 1 |
| AnalogChn | Analog channel No., count from 0 |
| *Count | the number of data obtained |
| Return Value | -1--Fail-2--Slave Invalid-3--Parameter err-41--acquisition mode err |
Related Products
Previous Page
Next Page
Previous Page
LCTE-MINI-AIO8 module
Next Page
Download information
Demo
Common dimensions for all MINI modules
所有MINI模块公用尺寸
