Skip to content

zen_api/lm/hardware/v2/optovar_service.proto#

Version: 2026.5.1

Package: zen_api.lm.hardware.v2

Download proto source

Service OptovarService#

The IOptovarService interface.

GetOptovars#

Gets the optovars.

rpc GetOptovars (zen_api.lm.hardware.v2.OptovarServiceGetOptovarsRequest) returns (zen_api.lm.hardware.v2.OptovarServiceGetOptovarsResponse);

Request: zen_api.lm.hardware.v2.OptovarServiceGetOptovarsRequest

Response: zen_api.lm.hardware.v2.OptovarServiceGetOptovarsResponse

GetPosition#

Gets the optovar position.

rpc GetPosition (zen_api.lm.hardware.v2.OptovarServiceGetPositionRequest) returns (zen_api.lm.hardware.v2.OptovarServiceGetPositionResponse);

Request: zen_api.lm.hardware.v2.OptovarServiceGetPositionRequest

Response: zen_api.lm.hardware.v2.OptovarServiceGetPositionResponse

MoveTo#

Moves the optovar to the given position index.

rpc MoveTo (zen_api.lm.hardware.v2.OptovarServiceMoveToRequest) returns (zen_api.lm.hardware.v2.OptovarServiceMoveToResponse);

Request: zen_api.lm.hardware.v2.OptovarServiceMoveToRequest

Response: zen_api.lm.hardware.v2.OptovarServiceMoveToResponse

Message OptovarServiceGetOptovarsRequest#

The OptovarServiceGetOptovarsRequest class.

Message OptovarServiceGetOptovarsResponse#

A list of available optovars.

Field Number Type Presence Description
optovars 1 zen_api.lm.hardware.v2.OptovarData repeated The optovars.

Message OptovarServiceGetPositionRequest#

The OptovarServiceGetPositionRequest class.

Message OptovarServiceGetPositionResponse#

Position index of the optovar.

Field Number Type Presence Description
value 1 int32 singular The position index.

Message OptovarServiceMoveToRequest#

The OptovarServiceMoveToRequest class.

Field Number Type Presence Description
position_index 1 int32 singular New position index.

Message OptovarServiceMoveToResponse#

Describes the result of a Optovar.MoveTo request.