WinCon-8000
009
back
Q.
Can
Win
Q: Does WinCon-8000 support Modbus? How can I realize Modbus on WinCon?
Ans:
Yes, WinCon-8000 support Modbus TCP(Ehernet) and Modbus RTU(Serial COM port, RS-485/232). Also, WinCon can serve as a Modbus Master(Client) , Modbus Slave(server) or both in the same time..
To get more clear concept about how Modbus can be implemented on WinCon, here we list two examples:
1) WinCon as a Modbus server:
You can execute the Modbus server in Compact Flash/MBServer/MBserver.exe , then MBserver will be activated in WinCon. Once Modbus server is activated, it will scan all I/O's status in the all WinCon-8000 I/O modules slots (I8K & I87K I/O modules) periodically and map all the physical I/O ports to the memory address. User can view the assigned memory mapping table at Analog or Digital page. If user wants to add his own I/O tags to memory table, for EVC programmer, he needs to utilize ScanKernel.dll API. For VB.NET and C#.NET programmer, he needs to utilize ScanKernel.dll/ScanKernelNET.dll. To get more information about ScanKernel API, please refer to ScanKernelAPI.pdf in WinCon-8000 CD or
WinCon user manual download site .
2) WinCon as a Modbus master:
User can treat WinCon as a Modbus master (client), then WinCon can access Modbus server via Modbus TCP or Modbus RTU.
To program your Modbus master AP, for EVC programmers, they can refer to modbus_arm.dll. For VB.NET or C#.net programmers, they can use modbus_arm.dll and
modbus.dll API. To get more information about modbus_arm.dll and modbus.dll API, please refer to Modbus API.pdf in your WInCon-8000 CD or WinCon user manual download site .
Date:2004/11/05 |