Skip to Content
On this page

Yamaha RCX

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

Compatible devices and models

Device series / model examplesConnection requirements
Yamaha RCX robot controllers exposing RCX command servicesEnable the multiline text command interface used by this plugin and match remote mode, axes, coordinates and job permissions.

RCX command service and status reads

  1. Enable the matching Ethernet command service in the RCX communication settings. Record its IP and TCP port and configure remote-command access. A file-transfer port is not the command service.
  2. Create a TCP client channel and select Yamaha RCX. The default 30000 ms timeout allows a complete multiline response.
  3. Read mode, motor and emergency status before joints. For periodic method variables, select no-argument methods such as ReadModeStatusAsync or ReadMotorStatusAsync; there are no ordinary register addresses.
  4. For IO, use the DI/DO group index and compare the same group on the controller. A group index is not a single bit number or Modbus address.

Raw commands and task numbers

Commands use ASCII. Separate multiple commands with actual CRLF line breaks, not literal backslash sequences or empty lines. Requests are limited to 8192 bytes and responses to 65536 bytes. Completion depends on terminator lines such as OK or END; one data line is not completion. NG indicates failure.

Program taskId and jog robot must be positive; jog axis must be nonzero, with its sign selecting direction. JogXYAsync waits for the terminating response, whereas SendJogXYAsync only sends. Check task, robot and coordinates before program or motion operations.

Open the plugin

Enter “Development Configuration → Collection Configuration”, create a device and select “Yamaha RCX” in “Device 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.

Device debug

Enter “Development Configuration → Collection Configuration”, select the current device then open “Protocol Debug” at the top of the workspace.

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.

Yamaha RCX: IO

Yamaha RCX: Programs and directory

Yamaha RCX: Jog 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.

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.

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.