Background
我需要在笔记本电脑上创建一个Java程序来接收/发送CANopen消息。
选择RJ45作为网络的物理介质。我是CANopen和Java通信编程的新手。
如果我表现得不熟练,请原谅。事实是,我已经阅读了很多,但我仍然不知道如何入门。
Questions
- Other than connecting a PC to the CANbus network, what else does the CAN-PC adapter do?
- Is it possible to connect the laptop to the CANbus network without the CAN-PC adapter?
- If a CAN-PC adapter is required, what sort of adapter should I use? PCMCIA, parallel, serial, usb, etc.?
- How do I get started in writing the java program to listen/write CANopen messages?
- What libraries should I use?
- Do I need to create my own drivers?
- Should my program handle heart-beat monitoring, error detection, etc.? Or are these taken care of by the CAN-PC adapter?
- How do I retrieve specific information from a CANbus node?
- How is the EDS file and object dictionary created? Does every node require them?
- How do I simulate a CAN network to test my Java program without buying CAN hardware?