Frequently Asked Question

How to zero a CAN safety sensor.
Last Updated 8 months ago

We use a QG65N-KDXYh-090-CANS-C(F)M-2d as an example.
The SDOs in the example is supposing the Node ID is 01h. If your sensor has other Node ID, please change the CMD to 0x600 + Node ID. For example, 605 if your device has a Node ID of 05h.

Some preparation work first. You'll need
1. the CANS inclination manual:
2. the CRC generator.
3. the CRC manual.

Now we can start.
  1. Mount the sensor at your wished zero position. Pay attention, for 2 axes horizontal mounting sensor, there is a 7.5° offset limit, which means the X or Y axis should not tilt more than ±7.5° than the default zero position. If you mount the sensor at a wrong position, the zero adjustments will fail.


    image



  2. Put the sensor in "pre-operational" mode.
    image


  3. Go to the CANS inclination manual, we can find the CAN Object Dictionary Entries for ±90h devices on page 15. (If you have one axis sensor, go to page 13)

  4. Write 01h, 02h, or 03h* to object 0x300Fh-01h, depending on the type of sensor, and on which axis to zero.

    image

    image 

  5. Check if the zero adjustments is successful by reading the same object 0x300Fh-01h. If you read 00h, it means you have zeroed the sensor successfully. If you placed the sensor at a position where the zero offset is over the 7.5° limit, you will get the error code:
    FFh = X-axis over the limit, zero failed.
    FEh = Y-axis over the limit, zero failed.
    FDh= both X and Y over the limit, zero failed.
    image

    successful:
    image
    failed:
    image

  6. As zeroing affects safety, it affects the CRC-(checksum)-a calculation that must be re-calculated as follows:
    1. read the new offset values from object 0x6200h-01h (longitudinal / X) and -02h (lateral / Y)
      image
      response:image
      The new offset on X axis is 0xFFE2

      image
      response:
      image
      The new offset on Y axis is 0x1B02

    2. write the new offset value in de CRC generator program, together with node-ID, sensor type, and firmware version. (the CRC manual explains how it works)
      image
      The new CRC for centering is 0xA086.
  7. Write the new CRC code for centering into object 0x63FF-01h. (The information over CRC centering is on page 13.)
    image


  8. Write “A5h” to object 0x63FEh-00h to enable the Pre-set configuration signature.
    image
    image


  9. Save the CRC, by writing “save” in ASCII Or “65766173h” to object 0x1010h-01h.
    image



10. Set the sensor to operational state
image

Now the sensor is centered and should provide SRDO’s with axis information.

attached is a transmit list you can use with PCAN software.

Please Wait!

Please wait... it will take a second!