Modbus communication with a specific Workcell item provided by Doosan Robotics can be performed using Preset Modbus. In such case, register a Preset Modbus and set the signal in Workcell Manager.
-
Select the Modbus menu from Settings > Network and select the Add TCP Slave or Add RTU Slave button.
-
A Modbus Slave is added to the Modbus Slave List and performs Modbus registration, and a message is displayed if the process fails.
-
To check the status of the signal registered to the Modbus Slave, select the View If the registration process fails, check the connection with the device and select the Settings button.
-
If the Modbus has been successfully registered, the input and output of the registered signal can be checked from the Details screen.
-
An output motion can be performed by entering a value and selecting the → button.
-
Note
-
The Modbus RTU function is provided through DRL.
-
DRL used for ModbusRTU Master only added add_modbus_rtu_signal().
-
Other DRLs are used in the same way, except for add_modbus_signal(), which is used to add signals.
-
DRL (serial_get_count(), serial_get_info()) are added to check serial port information.
-
For more detailed description about DRL, refer to the Programming Manual.