Frequently Asked Question
How to zero a CAN safety sensor.
Last Updated a year 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.
Now the sensor is centered and should provide SRDO’s with axis information.
attached is a transmit list you can use with PCAN software.
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.
- 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.
- Put the sensor in "pre-operational" mode.
- 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)
- Write 01h, 02h, or 03h* to object 0x300Fh-01h, depending on the type of sensor, and on which axis to zero.
- 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.
successful:
failed:
- As zeroing affects safety, it affects the CRC-(checksum)-a calculation that must be re-calculated as follows:
- read the new offset values from object 0x6200h-01h (longitudinal / X) and -02h (lateral / Y)
response:
The new offset on X axis is 0xFFE2
response:
The new offset on Y axis is 0x1B02
- 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)
The new CRC for centering is 0xA086.
- read the new offset values from object 0x6200h-01h (longitudinal / X) and -02h (lateral / Y)
- Write the new CRC code for centering into object 0x63FF-01h. (The information over CRC centering is on page 13.)
- Write “A5h” to object 0x63FEh-00h to enable the Pre-set configuration signature.
- Save the CRC, by writing “save” in ASCII Or “65766173h” to object 0x1010h-01h.
Now the sensor is centered and should provide SRDO’s with axis information.
attached is a transmit list you can use with PCAN software.