Skip to main content

YamahaRcxMaster

Purpose

YamahaRcxMaster sends Yamaha RCX commands, reads robot status and I/O, and provides program and motion controls.

Open the plugin

Enter "Development Configuration → Collection Configuration", create a device and select "YamahaRcxMaster" in "Collection Plugin".

Supported channels and data types

Channel typePre-configuration check
TCP ClientConfirm network reachability of the device IP, port, and gateway to the device.

Optional data types: Select by page options

Address rules

  • Yamaha RCX does not support register variable addresses. Please select the dynamic method among other methods of variables to read motor, mode, joint, emergency stop or IO status. Program and motion control should also use the corresponding dynamic method.

Special methods

MethodPurposeParameters
ReadCommandAsyncExecute Yamaha RCX raw commandcommand=single command or CRLF multiple commands
ResetAsyncReset Yamaha RCX programNo parameters
RunAsyncRun Yamaha RCX programNo parameters
StopAsyncStop Yamaha RCX programNo parameters
LoadAsyncLoad Yamaha RCX programprogram=program name,taskId=task number
JogXYAsyncJog Yamaha RCX robotaxis=axis number with direction,robot=robot number
SendJogXYAsyncSend Yamaha RCX jog commandaxis=axis number with direction,robot=robot number
ReadMotorStatusAsyncRead Yamaha RCX motor statusNo parameters
ReadModeStatusAsyncRead Yamaha RCX modeNo parameters
ReadJointsAsyncReads Yamaha RCX jointsNo parameters
ReadEmergencyStatusAsyncRead Yamaha RCX emergency stop statusNo parameters
ReadDIAsyncRead Yamaha RCX inputindex=input group index
ReadDOAsyncRead Yamaha RCX outputindex=output group index

Write, start/stop, reset, load, delete or control methods will change the status of field devices. Before execution, confirm that the equipment is in an operable state and prepare for stop or rollback measures.

Functions

FunctionPurpose
Robot statusRead motor, mode, joint, and emergency-stop status.
I/ORead one DI or DO group by index.
Program and directoryLoad, run, stop, or reset a program. These are robot-control operations.
Jog and raw commandJog an axis or send one or more raw commands. These are high-risk control operations.

Device debug

Enter "Development Configuration → Collection Configuration", select the current device and click "More Functions", then open "Debug".

Dedicated debugging page

Use the robot-status panel for status, the I/O panel for inputs and outputs, the program panel for program management, and the jog/raw-command panel for control commands.

YamahaRcxMaster robot status

YamahaRcxMaster IO

YamahaRcxMaster Program and Directory

YamahaRcxMaster jogging and raw commands

Debugging notes

First read the motor, mode, joint and emergency stop status; reset, run/stop, load program, jog and original command must be confirmed twice.

Verify the configuration

  1. Read motor, mode, joint, and emergency-stop status and compare it with the teach pendant.
  2. Read one DI group and one DO group and compare the states with field wiring and the controller monitor.
  3. Keep the first test read-only. Run program load, run, stop, reset, or jog only in maintenance mode after clearing the robot area and preparing an emergency stop.
  4. For jogging, verify the signed axis number and robot number, then use the smallest permitted motion.
  5. Send raw commands only when they are documented for the current controller. Do not test unknown multi-line commands.

Troubleshooting

  • No status can be read: Check TCP address, port, remote-command service, and controller mode.
  • Joint or I/O values differ from the teach pendant: Check robot number, I/O group index, and sampling time.
  • Program control fails: Check program name, task number, motor and emergency-stop state, and remote-run permission.
  • Jog fails or moves in the wrong direction: Check the signed axis number, robot number, and coordinate mode. Do not continue testing in the production area.
  • Raw command returns an error: Split the request into single commands and verify CRLF formatting.