-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rostopic list not shown for ROS MODBUS DEVICE DRIVER NODE #6
Comments
I am working on ROS modbus to communicate with PLC to read holding register of Delta AS228P PLC. I have installed the ros modbus device driver package https://github.com/bitmeal/ros-modbus-device-driver/tree/master and run the rosrun ros_modbus_device_driver modbus_device_driver.py _mapping:=devicemapping.json with mapping of json file. It was executed without error. But when I run rostopic list, it doesn't show any active topic. Can anyone give me a solution for this issue. I have modified json file. Shall I specifiy the same name for coil, discrete input and holding register which was given in readme portion in github link? Do you want me to create subscriber program to access the holding register? In their paper, they have given different topic name for coil and register. In github, the author specified different one. Which one I would prefer to use. My Delta PLC coil address is 00001 Holding register address is 40001 Below is the configured json file // modbus-slave configuration example { "name": "mymodbusslave", "address": "192.168.1.5", "rate": 20, "byteorder_reverse": false, // byte order: default, big endian "discrete_read_continuous": true, "registers_read_continuous": false, "mapping": { |
Your are executing the command
|
I cannot reproduce this error. Are your sure the file |
Hi, I am working on ROS modbus to communicate with PLC to read holding register of Delta AS228P PLC. I have installed the ros modbus device driver package and run the rosrun ros_modbus_device_driver modbus_device_driver.py _mapping:=devicemapping.json with mapping of json file.
It was executed without error. But when I run rostopic list, it doesn't show any active topic. Can you give me a solution for this issue.
I have modified json file.
Shall I specifiy the same name for coil, discrete input and holding register that you have given in readme portion in github link?
Do you want me to create subscriber program to access the holding register?
In your paper, you have given different topic name for coil and register. In github you specified different one. Which one I would prefer to use.
My Delta PLC coil address is 00001
Holding register address is 40001
The text was updated successfully, but these errors were encountered: