User Defined Function Example icon User Defined Function Example Add custom EZ-Script functions in C# or JS; intercept unknown calls, parse parameters and return values via AdditionalFunctionEvent. Try it →
 

Isreleased

IsReleased(port, ezbIndex)

Parameters

port The servo port
ezbIndex (optional) The ezb index

Returns

boolean (true of false)

Description

Returns the released state of the servo (torque off or on)

Example

if (IsReleased(d0))
  print("Servo d0 is released");