0% found this document useful (0 votes)
25 views

Basic Functions - Function

This document describes basic functions and system variables for workpiece counting in numerical controls. There are several channel-specific counters that track the number of workpieces from 0 to 999,999,999. The counters can be controlled through machine data and include the number of required parts, total parts completed, actual parts completed, and special parts selected by the user. All counters are reset to 0 when the control runs with default values.
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
25 views

Basic Functions - Function

This document describes basic functions and system variables for workpiece counting in numerical controls. There are several channel-specific counters that track the number of workpieces from 0 to 999,999,999. The counters can be controlled through machine data and include the number of required parts, total parts completed, actual parts completed, and special parts selected by the user. All counters are reset to 0 when the control runs with default values.
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

Basic Functions

Function

Function

Various counters with a range of values from 0 to 999,999,999 are available with the "Workpiece counter"
function in the form of channel-specific system variables. Read and write access to the system variables
is possible.
The following channel-specific machine data can be used to control counter activation, counter reset
timing and the counting algorithm.

System variables for workpiece counting

System variable Meaning

$AC_REQUIRED_PARTS Number of workpieces to be produced (setpoint number of workpieces)


In this counter the number of workpieces at which the actual workpiece count
($AC_ACTUAL_PARTS) will be reset to "0" can be defined.
MD27880 can be used to activate the generation of the display alarm:
"Channel %1 workpiece target = %2 reached"
and of the channel-specific NC/PLC interface signal:
DB21, DBX317.1 (workpiece target reached)
.

$AC_TOTAL_PARTS Total number of completed workpieces (actual workpiece total)


This counter specifies the total number of workpieces produced since the start
time. The value is only automatically reset to "0" when the control runs up with
default values.

$AC_ACTUAL_PARTS Number of completed workpieces (actual workpiece total)


This counter registers the total number of workpieces produced since the start
time. On condition that $AC_REQUIRED_PARTS > 0, the counter is
automatically reset to "0" when the required number of workpieces
($AC_REQUIRED_PARTS) is reached.

$AC_SPECIAL_PARTS Number of workpieces selected by the user


This counter supports user-specific workpiece counts. An alarm can be defined
to be output when the setpoint number of workpieces is reached
($AC_REQUIRED_PARTS). Users must reset the counter themselves.

Note
All workpiece counters are set to "0" when the control runs up with default values and can be read and
written independent of their activation.

This document constitutes a free excerpt compiled by the user himself/herself from the documentation provided by Siemens for this product. Siemens disclaims all liability for the
completeness of this document. It shall only be used for the user's own internal purposes. It shall not be passed on to third parties.
8/22/2022

You might also like