Is there some method to use a .dll into MC4N-ECAT?
You cannot import a DLL into the MC4N-ECAT. It has a BASIC compiler and IEC-61131-3 Compiler. The Operating System is a special Trio designed OS with large motion library. If you connect a PC to the MC4N-ECAT using Ethernet, then you can install a DLL in the PC that will communicate with the MC4N.
Download the TrioPC Motion DLL from the Trio Website here:
TrioPC Motion
Related Articles
Reading blocks of data from TrioPC Motion ActiveX or DLL
The ActiveX and DLL have a way to read blocks of data. The method is called PRMBLK. If you look at he help, it shows you the list. You need to define the type of block you want to read, for example DefineSystem would be used to read system values ...
MC_CONFIG vs Flash parameters
All Motion Coordinators store the IP_ADDRESS, IP_NETMASK and IP_GATEWAY in Flash memory. So there is usually no need to add them to the MC_CONFIG. There are some differences with other system parameters. MC4N-ECAT, MC4N-RTX, MC6N-ECAT, Flex-6 Nano ...
AN-293 C_SPLINE Cardinal Spline command
Cardinal splines are a type of spline curve that are flexible and easy to apply in motion control applications. The function C_SPLINE allows spline curves to be easily generated in between 2 and 8 dimensions. These curves can used to generate motion ...
Reading and Writing TABLE in C
double varValue[100]; bool setTable = false; bool getTable = false; long lStartPos = 100; long lBuffSize = 24; for (int i = 0; i < 24; i++) { varValue[i] = i; } setTable = TrioPC_SetTable(triopc_context, 0, lBuffSize, varValue); getTable = ...
ActiveX: Get controller details
This sample of code is from a Visual Basic Program. It reads system variables from the Motion Coordinator after the TrioPC Motion ActiveX/DLL connection is opened. Dim d_value As Double Dim l_value As Long ...