# AC Command

Prerequisite: You must run the ACB command before you run this command.

Use this command to execute the automatic calibration on the selected camera.

<command>,<camera>,<target ID>,<X>,<Y>,<Z>,<A>,<B>,<C>

Argument: | Value:
--- | ---
<command> | One of the following: AC for TCP/IP 2031for SLMP Scanner
<camera> | One of the following: 1 for only camera 1 2 for only camera 2
<targetID> | 0 Zero is the default because the target has to be approximately in the center of the field of view.
<X>,<Y>,<Z>,<A>,<B>,<C> | These arguments represent the 3D pose coordinates of the current position of the motion system. For a description of these, see Alignment Sensor Command Overview

Result String:

AC,<status>,<X>,<Y>,<Z>,<A>,<B>,<C> for TCP

2031,<status>,<X>,<Y>,<Z>,<A>,<B>,<C> for SLMP Scanner

Note: The returned pose, X,Y,Z,A,B,C, is the next calibration position to move to.

Result Status:

Status | Description
--- | ---
0 | Error. Target not found.
1 | Success. Done.
2 | Success. Continue with returned pose.