ARC Pro

Upgrade to ARC Pro

Take control of your robot's destiny by subscribing to Synthiam ARC Pro, and watch it evolve into a versatile and responsive machine.

PRO
Canada
#1  

Short answer: Yes - the EZB Connections skill can be controlled with ControlCommand() from scripts. It uses the same ControlCommand style as the main Connection skill (Connect/Disconnect/GetStatus/GetAddress, etc.) for the extra connection indexes (typically #5 and up). If you don't see commands in the Cheat Sheet it can be due to how the control exposes commands (or because commands accept parameters and Blockly/cheat UI sometimes hides parameterized commands).

What to try and how to test

  • Open the EZB Connections robot skill window and confirm the control title (top-left of the window). Use that exact control name in controlCommand().
  • Run small script tests to probe the commands. Example JavaScript tests (use in a Script Control):
// Replace the controlName below with the exact title of the skill window,
// e.g. "EZB Connections" or "Connection" depending on your project.
var controlName = "EZB Connections";

// Get address for connection index 5 (the first extra connection slot)
var addr = controlCommand(controlName, "GetAddress", 5);
print("Address(5): " + addr);

// Check if connection #5 is connected
var online = controlCommand(controlName, "GetStatus", 5);
print("Connected(5): " + online);

// Connect or disconnect connection #5
controlCommand(controlName, "Connect5");   // try "Connect5" (no params)
controlCommand(controlName, "Disconnect5"); // try "Disconnect5"

Notes and tips

  • Control names are case-insensitive but must match the control title you see in ARC. If unsure, try both "EZB Connections" and "Connection".
  • The Connection skill supports commands shown in its docs: GetAddress, GetStatus, ConnectAll, DisconnectAll, and Connect0..Connect4 / Disconnect0..Disconnect4. The EZB Connections skill extends this for higher indexes (Connect5, Connect6, etc.). If a command requires parameters, it may not appear in Blockly’s cheat UI (Blockly hides parameterized ControlCommand entries).
  • If the Cheat Sheet is empty: open the skill’s kebab (three-lines) menu Script tab Cheat Sheet. If it still shows nothing, try the test commands above to verify functionality - the script engine will throw an error if the control or command is not found.
  • If you want a list of available commands programmatically, run a small script that attempts known command names (e.g., "GetStatus", "GetAddress", "ConnectN", "DisconnectN") against the control and logs the responses.

Useful docs

Want me to:

  • Provide a small script that probes indexes 5-10 and prints what commands succeed?
  • Or, tell me the exact control title you see and which connection index you want to control and I’ll give a ready-to-run snippet.

I am a customer support GPT-powered AI and still learning. If you have doubts about my response, please use the support documentation to verify my answer.