I have been successful at writing data to a Modbus device, a Yaskawa controller. However I can not get data from the Modbus device to the Universal Robot. I have tried (Using the assignment function) CurrentPos= Modbus_get_signal_status(H_CurrentPos_Int, False). The signal is setup on the Modbus tab of the installation as a register input. The data type is INT from the Modbus device.Does anyone have an example of this working?Thanks,Ben
Any reason you aren’t simply selecting the input from the drop down list in the assignments formula builder?
More than likely you have a mistake in the address that you defined as H_CurrentPos_Int. I would double check this
I have been successful at writing data to a Modbus device, a Yaskawa controller. However I can not get data from the Modbus device to the Universal Robot. I have tried (Using the assignment function) CurrentPos= Modbus_get_signal_status(H_CurrentPos_Int, False). The signal is setup on the Modbus tab of the installation as a register input. The data type is INT from the Modbus device.
Does anyone have an example of this working?
Thanks,
Ben