FoundryNet / Fields / part_count
Canonical field reference

part_count

Cumulative count of completed parts. A monotonic counter, which is exactly why it needs care: it resets on power cycle, on program change, and on operator command, so a naive difference produces a large negative spike several times a shift. Forge marks it cumulative so the read-time validators treat a decrease as a reset rather than as data.

Get an API key All canonical fields

Vendor tag table

How 49 vendor packs spell part_count

Real tag spellings from Forge's vendor packs, as the device or controller emits them. The reason cross-vendor telemetry is hard is visible in a single column.

Vendor / packRaw tag as the device emits it
FanucM30COUNT
M30_Count
M30COUNT(pcs)
m30_count_pcs
M30 Count(pcs)
M30COUNT_parts
HaasParts
PART CNT
PART_CNT
PARTS(pcs)
PARTS_parts
PART_CNT_pcs
Siemensstueckzahl_pcs
STUECKZAHL (pcs)
STUECKZAHL [pcs]
STUECKZAHL (cycles)
stueckzahl [cycles]

These spellings come from the vendor packs in Forge's free sandbox image (ghcr.io/foundrynet/forge-sandbox), which is a different build from prod. To see how prod maps a tag, send it to /v1/normalize: the response names the canonical field, the match_type and the confidence.


Unit contract

What Forge guarantees about the value

The canonical field is not just a name. It is a contract about units, sign convention and plausible range, enforced on the way in and re-checked at read time.

SI / canonical unitunitless (identifier or enumeration)
Measurement typecumulative : resets are expected; a decrease is a counter reset, not a negative reading

Normalization

Raw tag in, canonical field out

# Fanuc emits its own spelling; Forge returns the canonical field
curl -s -X POST https://forge.foundrynet.io/v1/normalize \
-H "Authorization: Bearer $FORGE_KEY" \
-H "Content-Type: application/json" \
-d '{"data": {"M30COUNT": 0}, "oem": "fanuc"}'
# the response names the canonical field, its match_type and confidence

No mapping table to maintain, and no per-vendor branch in your code. The same request shape works for every OEM in the table above.

# Same thing with no key and no account: the sandbox ships the packs
docker run -p 8000:8000 ghcr.io/foundrynet/forge-sandbox

Where this field appears

Protocols

Transports this field is carried on in the corpus.

MTConnect OPC UA

OEMs that map this field

Fanuc Haas Siemens Sinumerik DMG Mori Mazak Okuma Heidenhain Makino Mitsubishi Brother Hurco Doosan Trumpf Bridgeport Hitachi Seiki Kitamura Komatsu NTC Matsuura Mikron Tongtai Tormach
Every one of these tag names is someone’s integration project. The Machine Agent, weekly. Read it →
Get the thesis behind this infrastructure: The Machine Agent, weekly.