MC-Basic:axis.CAPTURE
Position capture is executed once the SERCOS relevant procedure (IDN 170) has been started. The axis property CAPTURE encapsulates this process, and is used to start and stop the CAPTURE procedure. It takes the values 1 or 0, to either start or stop the procedure, respectively. A query of the property causes the MC to check the status of the CAPTURE procedure (using the IDNSTATE query, internally). The query returns the value returned by the IDNSTATE query to indicate the state of the CAPTURE procedure.
Syntax
<axis>.Capture = <value>
Availability
All versions
Type
Long
Range
<value>: 1 (ON), 0 (OFF)
Default
There is no default in the MC. When the property is queried, the MC gets the value from the drive.
Scope
Configuration, Task or Terminal
Limitations
Can be set only in SERCOS communications phase 4. Capture cannot be started while drive-controlled Homing is in progress.
Examples
a1.Capture = ON 'Start the capture procedure