(11-10-2023, 05:11 AM)cathylee6905 Wrote:(10-31-2023, 11:13 AM)Albert Wrote: I'm sorry for the delays, @Phillip will get in touch with you and we can setup a call if required.Hi Phillip, I have noticed that the TM Robot's software (TM Flow) allows observation of the instant status of digital outputs for both the "Control box" and the "End Module." These outputs share the same names: DO 0, 1, 2, and 3. It appears that the setDO() command in the RoboDK API is linked to the digital output of the control box, and it can be set correctly.
For digital inputs and outpus to work with the driver you should use numbers instead of strings. Example:
Code:_robot.setDO("0", "1")
However, my issue is that I would like to control the digital output of the "End Module," specifically the digital output at the robot flange for TM12, instead of the control box. What are the values associated with this port? Does RoboDK API support the I/O control of these ports?
On TM robot's the modbus IO's start at 800 for some reason, you can see a list in the robots documentation, also digital and analog IO have separated address spaces
https://www.tm-robot.com/wp-content/uplo...213_en.pdf