Hi,
I am using Roboguide, and I used HMI Device option (SNPX R553) on my controller. I have setup some registers that I can read / write using modbus TCP.
I have mapped UI[1-8] as flags. I want to write to UI[2] and UI[6] using write_coil function from pymodbus.
I can update ( switch between ON / OFF UI[2])
but UI[6] is always False,
#pulse UI[6:Start]
sleep(0.25)
client.write_coil(20005,False, unit = 1)
sleep(0.25)
client.write_coil(20005,True, unit = 1)
I have tried writing to just that flag, as a test. But, it does not change. I have a few questions if somebody could answer:
- Is there any other settings that may be stopping it to change
- could it be that I am testing in Roboguide and it only works in real robotic arm.
- UI[6] must be True in order that paused robotic arm moves again?
I want to use signals UI[2:Hold] and UI[6:Start] to pause and resume robotic arm movements.
I can pause by sending a signal to UI[2:Hold]. However, when I clear that signal ( turn it ON ~ reverse logic) and pulse ( change from false to true ) the UI[6:Start], the arm does not resume motion. Infact,
UI[6:Start]
never gets a True value.
thanks,