Skip to main content

Citizen Part Count Configuration

Part counting is configured separately from the connection, and it differs between M700 and M850 controls. Set up the connection first, then come back here.

Enabling Part Count in Single Mode​

For Citizen M700 series controls, follow these steps to enable part count in single mode:

Step 1: Access Maintenance Mode

Press the MAINT hardkey.

Step 2: Open Interface Diagnostics

Press the I/F DIAG softkey.

Step 3: Enter Password

Type 1001//M and press INPUT.

Step 4: Access Parameters

Press the PARAM hardkey.

Step 5: Navigate to Menu Select

Scroll to the right with the arrow keys until you see Menu Sel.

Step 6: Open Menu Select

Press the Menu Sel softkey.

Step 7: Access Bit Select

Press the BIT SELECT softkey.

Step 8: Select Parameter 6401

Select parameter 6401.

Step 9: Modify Bit

Change the third from the right number from 0 to 1.

Example: 01001000 → 01001100

Step 10: Save

Press the INPUT hardkey.

Step 11: Reboot Machine

Reboot the machine for the setting to take effect.

Part Counting Methods​

Part counting on Citizen machines can use:

1. Work Counter (Preferred)

  • Built-in Citizen work counter
  • Most accurate method
  • Configure in adapter settings

2. M-Code Trigger (M56)

  • M56 is the standard Citizen part counter M-code
  • Triggers part count increment when executed in the program
  • Verify M56 is present in the machine's part program — consult the operator's manual for your specific machine to confirm

3. Barfeeder Signal

  • Monitor bar advance signal
  • Count on bar stock feed
  • Useful for bar-fed operations

Method Selection​

Use the following guidance to choose the right part count method:

  • Work Counter — Use this as the default for M700-series machines. It is the most reliable method and requires no program changes.
  • M-Code Trigger (M56) — Use this when the Work Counter is unavailable or when program-level control is preferred. M56 is the standard Citizen part counter M-code.
  • Barfeeder Signal — Use this for bar-fed operations where bar advance is a reliable proxy for part completion.

If you are unsure which method to use, start with Work Counter and switch only if counts are not incrementing correctly.

Machine Setup​

Per Citizen documentation, M56 is the part counter. The customer should verify this in their own machine documentation. Once confirmed, M56 is what drives the machine count.

Data Rules​

Under data rules, the part counter source should be set to one of the part counters listed in the dropdown.

Configuration in MachineMetrics:

  1. Go to Machine Settings → Data Rules
  2. Select which part counter source you wish to use from the dropdown

M6 Fallback​

If the count value is still not coming through after following the steps above, M6 can be used as a fallback. M6 is triggered during a bar load routine.

Add the following adapter script and map the resulting data item as a part count:

version: 2
declare-keys:
- block
variables:
m6-pulse:
- source: block
- expression: block == 'M6'
- rising-edge
mm-count:
- source: m6-pulse
- count
data-items:
- mm-count

After implementing this script, the mm-count data item must be mapped as a part count. When mapping:

  • Give it a name such as MM Count
  • Ensure it is selected as a counter under data rules

Citizen M850 Control​

Recent Citizen machines ship with the Mitsubishi M850 control. The M850 uses two independent counters:

  • Internal HMI counter — the counter the operator sees on the machine screen
  • External part-count signal — the signal MachineMetrics reads via the edge device

These counters are independent. If MachineMetrics shows 0 parts while the HMI counter increments, the external signal is not bound to an M-code present in the part program. This binding is configured via parameter #8001.

warning

If parameter #8001 is not set to the M-code used in the part program, MachineMetrics will show 0 parts even though the on-screen HMI counter increments correctly.

Configuring the Part Counter on M850 Controls​

  1. Press Home
  2. Navigate to Parameter → System 1
  3. Select Control
  4. Select Process Param
  5. Set #8001 to the M-code used to count parts in the part program (e.g., 56 for an M56)
  6. Power cycle the control

For assistance, contact MachineMetrics Support.