Detailed explanation of parameter settings for Okuma system with Marposs probe

Data source explanation: The product parameters of Marposs in this article are referenced from the official Marposs product manual and MIDA programming manual (D310 series), while the system parameter

Data source explanation: The product parameters of Marposs in this article are referenced from the official Marposs product manual and MIDA programming manual (D310 series), while the system parameters of OKUMA are referenced from OKUMA’s publicly available technical materials..

1、 Okuma+Marposs MIDA: Mainstream Solutions for Automotive Powertrain Lines

In the field of automotive powertrain processing, the combination of Okuma machine tools and Marposs MIDA probes is a very mature combination. There is a complete comparison mapping between Okuma’s OSP system (P100/P200/P300) and Marposs’ MIDA macro program system.

Typical configuration:

Component Recommended Model Accuracy
Workpiece probe Marposs VOP40P (optical/piezoelectric) 0.25μm
or Marposs WRSP60 (wireless) 0.4μm
or Marposs VOP40 (Optical Standard) 1.0μm
tool setter Marposs T25P (piezoelectric) 0.25μm
or Marposs TLS (Contact Standard) ±1.0μm
receiver Marposs wireless/optical receiver system —

Applicable industries and scenarios:

  • Automotive engine cylinder block/head machining line – OKUMA MB series+MarposVOP40P/T25P is industry standard
  • Gearbox casing processing – mass production, fully automatic online detection of measuring heads
  • Hydraulic components of construction machinery – complex internal cavity features, requiring customization with MIDA program
  • Precision molds (partially equipped with Okuma and Marposs configurations)
  • 2、 Comparison between Okuma OSP system and Marposs MIDA macro program

    2.1 Basic Measurement Instructions

    function Fanuc System OKUMA OSP Marposs MIDA Macro
    Jump trigger G31 G31(compatible) MIDA triggers macro
    Knife instruction G37 G37(compatible) MIDA Knife Macro
    Automatic scoring Macro Program Macro Program MIDA P9376-P9388
    Multi point measurement Macro loop Macro loop MIDA O9301-O9392

    2.2 Macro Programs of Marposs MIDA on Okuma

    Marposs MIDA provides a specialized macro library for the Okuma system. The following is a comparison of commonly used macro numbers:

    function Macro Number Explanation
    Single sided measurement P9376 Single Z/X/Y surface measurement, return surface position coordinates
    Inner Diameter Measurement P9377 Automatic measurement of hole inner diameter, supporting three-point/four point/multi-point modes
    outer diameter measurement P9378 Automatic measurement of shaft outer diameter, capable of measuring cylinder/cone outer diameter
    Measurement of inner groove width P9379 Automatic measurement of inner groove width
    Measurement of outer groove width P9380 Automatic measurement of outer groove width
    Measurement of hole center distance P9381 Automatic calculation of double hole center distance
    Angle Measurement P9385 Measurement of the angle between two surfaces
    Workpiece alignment P9388 Automatic centering of rectangular workpieces, including rotation compensation
    Knife measurement O9301 Automatic tool length calibration
    Measurement of tool diameter O9302 Automatic measurement of tool diameter
    Broken Tool Detection O9303 Automatically determine whether the tool is broken

    Note: The above macro numbers are fully defined in the Marposs MIDA D310 series programming manual. The parameter addresses of different versions of OKUMA OSP system may vary, and the specific software version needs to be confirmed before calling.

    2.3 MIDA Macro Program Example Code

    Example 1: P9376 Single sided Z-measurement (Okuma OSP)

    '==================================
    ' MIDA P9376 - Single sided Z-height measurement
    ' Applicable:OKUMA OSP P100/P200/P300
    '==================================
    N1000 'CALL MIDA P9376
    N1010 M202 'Probe signal ON(M202/M203Customize M code for machine tool manufacturers,Confirmation must be made according to the PLC ladder diagram)
    N1020 G00 XYZ D1=R50 'Quickly locate to a safe location
    N1030 G31 Z-20.0 F500 'ZSlow axis approaching and triggering(G31Skip instruction for OSP standard)
    N1040 HALT 'Stop
    N1050 V1 = VSAPZ 'Read skip trigger Z-axis coordinates(OSPSystem variable VSAPZ)
    N1060 G00 Z50 'ZAxis retraction
    N1070 M203 'Probe signal OFF(M202/M203Customize M code for machine tool manufacturers,Confirmation must be made according to the PLC ladder diagram)
    N1080 V2 = V1 - 10.0 'calculate offset(10mmFor reference distance)
    N1090 END

    Example 2:P9377 Inner Diameter Measurement(OKUMA OSP)

    '==================================
    ' MIDA P9377 - Inner Diameter Measurement
    ' Applicable:OKUMA OSP + VOP40P
    '==================================
    N2000 'CALL MIDA P9377 - Inner Diameter Measurement
    N2010 M202 'Probe signal ON(M202/M203Customize M code for machine tool manufacturers,Confirmation must be made according to the PLC ladder diagram)
    N2020 G00 X100.0 Y100.0 Z5.0 'Quickly locate above the center of the hole
    N2030 'Measure the positive direction of the X-axis
    N2040 G31 X120.0 F300
    N2050 HALT
    N2060 VXPD[1]=VSAPX 'Record the triggering position in the positive X direction(OSPSystem variable VSAPX)
    N2070 'Measure the negative direction of the X-axis
    N2080 G00 X100.0 Y100.0
    N2090 G31 X80.0 F300
    N2100 HALT
    N2110 VXPD[2]=VSAPX 'Record the triggering position in the negative X direction
    N2120 VX_DIAM = VXPD[1] - VXPD[2] 'Calculate the aperture in the X direction
    N2130 'Measure the positive direction of the Y-axis
    N2140 G00 X100.0 Y100.0
    N2150 G31 Y120.0 F300
    N2160 HALT
    N2170 VXPD[3]=VSAPY 'Record the trigger position in the positive Y direction(OSPSystem variable VSAPY)
    N2180 'Measure the negative direction of the Y-axis
    N2190 G00 X100.0 Y100.0
    N2200 G31 Y80.0 F300
    N2210 HALT
    N2220 VXPD[4]=VSAPY 'Record the triggering position in the negative Y direction
    N2230 VY_DIAM = VXPD[3] - VXPD[4] 'Calculate the Y-direction aperture
    N2240 V_AVG = (VX_DIAM + VY_DIAM) / 2 'average diameter
    N2250 M203 .Probe signal OFF(M202/M203Customize M code for machine tool manufacturers,Confirmation must be made according to the PLC ladder diagram)
    N2260 V10 = V_AVG 'The final result will be stored in V10
    N2270 END

    Example 3:P9388 Automatic centering of rectangular workpieces(OKUMA OSP)

    '==================================
    ' MIDA P9388 - Automatic centering of rectangular workpieces
    ' Applicable:OKUMA OSP + VOP40P
    '==================================
    N3000 'CALL MIDA P9388 - Workpiece alignment
    N3010 M202 .Probe signal ON(M202/M203Customize M code for machine tool manufacturers,Confirmation must be made according to the PLC ladder diagram)
    'N3020-N3050 Measure both sides in the X direction
    N3020 G31 X-50.0 F300
    N3030 HALT: VXP[1]=VSAPX (OSPSystem variable VSAPX)
    N3040 G00 X50.0 Z50.0
    N3050 G31 X150.0 F300
    N3060 HALT: VXP[2]=VSAPX
    'N3070-N3100 Measure both sides in the Y direction
    N3070 G00 X0 Y50.0
    N3080 G31 Y-50.0 F300
    N3090 HALT: VYP[1]=VSAPY (OSPSystem variable VSAPY)
    N3100 G00 Y0 Z50.0
    N3110 G31 Y150.0 F300
    N3120 HALT: VYP[2]=VSAPY
    N3130 M203
    'Calculate the center X of the workpiece、Ycoordinates
    N3140 VX_CENTER = (VXP[1] + VXP[2]) / 2
    N3150 VY_CENTER = (VYP[1] + VYP[2]) / 2
    N3160 'Write the offset of the workpiece coordinate system(G54)
    N3170 VX_OFF = VX_CENTER - 50.0
    N3180 VY_OFF = VY_CENTER - 50.0
    N3190 G54 X=VX_OFF Y=VY_OFF
    N3200 END


    三、OKUMA OSP USSDetailed parameter description

    3.1 USS(User servo settings)Parameter System

    OKUMA OSPThe USS parameters of the system are the core configuration area that connects the Marposs probe with the machine control system。USSThe parameter group covers skipping signals、feed rate、Key settings such as acceleration。

    USS parameter access steps:

    1. Enter maintenance mode: Simultaneously press and hold the MODE key, Operation key, and BUZZ key for about 3 seconds2. Screen display; SERVICE MODE" Indicates successful entry3. Choose "; USS PARAMETER" (User servo setting parameter group)4. Use the page keys to switch between parameter groups5. After modification, press the WHITE key to save6. After saving the parameters, restart the control system or press the RESET button to make the settings take effect

    3.2 Skip signal parameters (SKIP SIGNAL SETTING)

    Key parameters related to jump signals in the USS parameter group:

    USS parameter number parameter name Explanation Typical Setting Values
    USS-101 SKIP INPUT SELECT Skip signal input port selection According to the hardware wiring configuration (such as PORT-3)
    USS-102 SKIP SIGNAL POLARITY Skip signal polarity 0 (normally open)/1 (normally closed)
    USS-103 SKIP APPROACH FEED Jump step approaching speed 1000-3000 mm/min
    USS-104 SKIP MEASURE FEED Measure feed rate 100-500 mm/min
    USS-105 SKIP RETRACT FEED Return speed 3000-5000 mm/min
    USS-106 SKIP TOLERANCE Skip signal delay compensation 0.01-0.10 mm
    USS-107 SKIP DELAY TIME Delay time after triggering 0-50 ms
    USS-108 PROBE SIGNAL CHECK Enable self-test of probe signal 1 (Enable)

    Setting instructions for SKIP TOLERANCE (USS-106):

    The SKIP TOLERANCE parameter is used to compensate for the electrical delay and mechanical inertia of skipped signals. Setting a value that is too large (>0.10mm) can reduce measurement accuracy, while setting a value that is too small (<0.01mm) may lead to false triggering or instability. Recommend an initial setting of 0.05mm, and then adjust it through standard part verification.

    3.3 Tool Setting System Parameters

    USS parameter number parameter name Explanation Typical Setting Values
    USS-201 TS POSITION X X-coordinate of the center of the tool setter Write after calibration
    USS-202 TS POSITION Y Y-coordinate of the center of the tool setter Write after calibration
    USS-203 TS POSITION Z Z height of the tool instrument panel Write after calibration
    USS-204 TS APPROACH DIR Approach the direction of the knife 0(Z-)/ 1(Z+)
    USS-205 TS MEASURE FEED Measuring the speed of the knife 50-200 mm/min
    USS-206 TS SEARCH FEED Tool search speed 500-2000 mm/min
    USS-207 TS RETRACT DIST Return distance of the knife 1.0-3.0 mm
    USS-208 TS TOOL DIAM LIMIT Upper limit of tool diameter According to the machine tool settings

    3.4 Program Protect Parameters

    USS parameter number parameter name Explanation Typical Setting Values
    USS-301 MACRO PROTECT Macro Program Protection Enable 0 (disable protection)
    USS-302 #PROGRAM ACCESS Enable program level parameter access 0 (read and write allowed)
    USS-303 SERVO PARAM PROTECT Servo parameter protection 1 (Enable protection)

    Note: MACRO Protect must be set to 0 (disabled), otherwise MIDA macro programs cannot be called properly..

    4、 Key points for hardware installation and debugging

    4.1 Hardware Installation

  • Confirm that the Marposs receiving antenna is installed on the signal interface of the OSP system
  • VOP40P uses optical transmission, ensuring that the line of sight from the transmitter to the receiver is unobstructed
  • The T25P tool setter uses a 25mm mounting seat and is fixed to the reference position of the workbench
  • WRSP60 wireless version does not require line of sight, but requires confirmation of antenna position
  • The receiver output signal needs to be connected to the SKIP signal input port of the Okuma I/O interface
  • 4.2 Software Configuration

    Configure probe skip signals in the OPTIONAL PARAMETER (BIT/WORLD) and TOUCH PROBE PARAMETER settings interface of the Okuma system. Specific steps:

    1. Enter OKUMA maintenance mode (MODE key+ACTION key+BUZZ key)2. Select USS parameter group3. Locate SKIP SIGNAL SETTING4. Set the jump address to match the output of the Marposs receiver5. Restart the control system

    4.3 Calibration Process

    1. Install the standard probe (including the standard measuring needle) into the spindle2. Calibration of tool setter: Run the MIDA tool setter menu and calibrate with a standard core rod3. Probe calibration: Run the MIDA probe calibration program to measure the standard ball4. Verification: Measure the ring gauge/standard part with known dimensions and confirm that the deviation is ≤± 2 μ m5. Calibration data storage in the system: Record at least 3 retest results


    5、 Common troubleshooting (supplementary)

    Question Reason Solution
    Skip signal without triggering SKIP parameters are not mapped correctly Check the correspondence between SKIP address and receiver output in OPTIONAL PARAMETER
    Macro program does not run Program protection parameters are not open Check that USS-301 MACRO PROTECT=0
    VOP40P signal is unstable Optical path obstructed Clean the window and check the protective cover
    The data deviation of the tool setter is large Calibrate coordinate offset Re run the calibration cycle
    Intermittent probe has no response Insufficient power supply for the receiver Check the power supply voltage of the receiver (24V ± 10%)
    Systematic bias of measurement results The compensation parameters for measuring needle ball diameter have not been updated Run the probe calibration to confirm the ball diameter compensation value
    OKUMA system alarm; SKIP ERROR" Skip signal timeout Check the battery level of the probe (VOP40P battery has a lifespan of approximately 6 months)
    Slight damage to the cutting tool during cutting The height data of the tool gauge Z is incorrect Stop immediately and recalibrate the Z height of the tool setter
    MIDA macro program stopped midway Macro program version does not match OSP system Confirm that the MIDA D310 programming manual version corresponds to the OSP system version

    Troubleshooting priority:

  • Signal pathway: probe → receiver → control system (most commonly problematic)
  • Power supply: probe battery, receiver power supply (battery depletion is one of the most common reasons)
  • Parameter setting: Is the USS parameter address mapping correct
  • Macro program: compatibility between program version and system
  • Mechanical installation: Loose probe seat, offset position of tool setter
  • VI. Summary

    The combination of Okuma Okuma and Marposs MIDA has been validated for a long time in the automotive parts production line and has a high level of technological maturity. After correct installation and configuration, a stable detection accuracy of 0.25 μ m can be achieved. Initial configuration suggestion:

  • Experienced engineers complete USS parameter settings
  • Refer to the Marposs D310 series programming manual to confirm the macro program calling method item by item
  • Perform at least 3 retests after calibration is completed
  • Record initial USS parameters for reference in subsequent troubleshooting
  • Suggest backing up USS parameter files in the Okuma OSP system
  • For specific configuration plans or on-site debugging support, please contact NINGBO JCE INDUSTRIAL TECHNOLOGY CO., LTD.

    Do you need a more specific plan?

    The configuration, operating conditions, and budget of each machine tool are different, and this article only provides a reference framework. You can:

  • Provide machine tool models and processing requirements(e.g; VCN-530C+BT40+Aluminum Parts Batch; )We will help you match specific models and configurations
  • We provide the fault symptoms of the probe/tool setter, and we will help you preliminarily determine the fault level and repair direction for free
  • Request a quotation or make an appointment for on-site inspectionThe engineer will come to evaluate and come up with a formal plan
  • NINGBO JCE INDUSTRIAL TECHNOLOGY CO., LTD.- For 15 years, we have been dedicated to precision measurement, providing services for the selection, installation, calibration, maintenance, and upkeep of Renishaw, Marposs, and Blum's entire range of probes and alignment instruments..

    Contact Information Information
    Official reservation jcetech.cn/contact
    Consultation Hotline 157-5780-7400 / 132-2194-1413
    Shipping and repair address Ningbo Yinzhou R&D Park A2-12B17
    Scope of Services Nationwide door-to-door urgent repair with 48 hour response time

    Send us the problem and have a professional engineer help you calculate this account.

    *This article has been independently reviewed by NINGBO JCE INDUSTRIAL TECHNOLOGY CO., LTD. If you need professional services, please contact us*