Gocator Line Profile Sensors: User Manual
Protocols • 525
Message Format
Command
Trigger
Reply OK or ERROR, <Error Message>
Formats
Examples:
Command:Trigger
Reply:OK
LoadJob
The Load Job command switches the active sensor configuration.
Message Format
Command LoadJob,job file name
If the job file name is not specified, the command returns the current job name. An
error message is generated if no job is loaded. ".job" is appended if the filename does
not have an extension.
Reply OK or ERROR, <Error Message>
Formats
Examples:
Command:LoadJob,test.job
Reply:OK,test.job loaded successfully
Command:LoadJob
Reply:OK,test.job
Command:LoadJob,wrongname.job
Reply:ERROR, failed to load wrongname.job
Stamp
The Stamp command retrieves the current time, encoder, and/or the last frame count.
Message Format
Command Stamp,time,encoder,frame
If no parameters are given, time, encoder, and frame will be returned.There could be
more than one selection.
Reply If no arguments are specified:
OK, time, <time value>, encoder, <encoder position>, frame, <frame count> ERROR,
<Error Message>
If arguments are specified, only the selected stamps will be returned.
Formats
Examples:
Command:Stamp
Reply:OK,Time,9226989840,Encoder,0,Frame,6