Operating instructions Interface Description N 142 Spindle Positioning Display (SPA) Software 01 Version 3.20 and up Contents 1. 1.1. 1.2. 2. 3. 3.1. 3.2. 3.3. 3.4. 3.5. 3.6. 3.7. 4. 4.1. 4.2. 4.3. 4.4. 4.5. 4.6. 4.7. 5. 6. 7. 7.1. 8.
N 142 1. General information 1.1. Safety precautions General remarks The equipment is designed and assembled according to the prevailing regulations of technology. The equipment left the manufacturer in perfect working order and in line with all safety-relevant conditions.
N 142 1.2. SPA description and explanation Mounting the spindle position display (SPA) is by docking the hollow shaft to the end of the spindle shaft. The hollow shaft is fixed by hexagon screw to the spindle shaft and secured by power grip. This way, the SPA is mounted over-hung and secured against torsion at rear of the housing by the attached spreader pin.
N 142 2. Terminal assignment Spindle position display Pin Assignment Core colour DIN47100 IEC757 Pin 1 Sensor supply +24 V yellow red Pin 2 Sensor supply 0 V green black Pin 3 -- -- -- Pin 4 Tx/Rx+, RS485 brown brown Pin 5 Tx/Rx-, RS485 white orange Male connector M16 Female connector M16 3 4 2 2 5 3 4 1 1 5 Terminal assignment of motor connection to N142 SPA SPA N142 is connected to motor using the 12-pin female connector.
N 142 Connecting the motor supply Motor supply is by the 8-pin connector provided at the motor. Pin Assignment Significance Core colour Pin 1 Ue + 24 V motor supply red Pin 2 GND 0 V reference ground for Ue blue Pin 3 OUT ccw start ccw run white Pin 4 IN ccw start ccw run brown Pin 5 OUT clockwise start cw run green Pin 6 IN clockwise start cw run yellow Pin 7 Enable logic +24 V grey Pin 8 n.c. n.c.
N 142 3. Interface 3.1. Interface data Type: RS485 Baudrate: 19200 Parity: no Data bits: 8 Stop bits: 1 Handshake: no Redundancy check: yes (CRC) Timeout reply*: 0,1...60 ms BUS switching time**: <0,1 ms * To avoid bus collisions a minimum timeout reply of 1 ms (default parameter) is to be kept, i.e. the time elapsed between transmitting the last bit of the query until start transmitting the 1st bit of the SPA response.
N 142 3.4. Broadcast commands Some specific commands are designated so-called broadcast commands. As soon as the master broadcasts a command to identifier 99, the command is addressed to all N 142 in the network. Every individual spindle position display will accomplish the respective command but will not respond any confirmation to master. 3.5. Data saving Specific parameters are saved in EEPROM (1.000.000 writing cycles). Data saving is via interface upon every parameter transmission to the SPA.
N 142 4. Command explanations 4.1.
N 142 4.2.1. Check Position, command „C“ (43h) This command provides the alignment status of target versus current value. If the current value is within the target tolerance window, the response will be „o“ (6Fh) for OK together with the current profile number. If the current value is outside the tolerances, „x“ (78H) followed by the current profile number will be replied. In case of any error occurred at the SPA the response will be “e” together with the current profile number.
N 142 Example 1: Readout current status (Status = 0 = not released) Transmission Response SOH Adr Cmd EOT CRC 01h 20h 44h 04h 04h SOH Adr Cmd Stat. EOT CRC 01h 20h 44h 30h 04h 64h Example 2: Start a specific motor Transmission SOH Adr Cmd Stat. EOT CRC 01h 20h 44h 31h 04h 66h Response SOH Adr Cmd Stat. EOT CRC 01h 20h 44h 31h 04h 66h Example 3: Start all motors by broadcast command (identifier = 99) Transmission Response SOH Adr Cmd Stat.
N 142 4.2.3. Readout device status, command „F“ (46h) This command provides the device statii Stat1, Stat2 together with error flags Err1, Err2. In case of error check command “C” will come with an “e” in reply.
N 142 4.2.4. Read current value, command „R“ (52h) This command is for readout the 6-digit current value (bottom display line). The amount of data is always 6 bytes. In case of a negative value, the “-“ sign (2Dh) together with 5 data bytes is replied. Positive values are represented by 6 data bytes without sign. Values of less than 6 (5) digits will come with preceding zeroes. Example: Current value = -32,50 Transmission Response 4.2.5.
N 142 4.2.6. Read / write profile number, command „V“ (56h) This command is for readout the number of the presently active profile respectively for profile alteration.
N 142 4.2.8. Align current value with preset, command „Z“ (5Ah) The Z command is for setting the current value to any optional position. The required position value is transmitted to the SPA. The SPA will calculate a so-called “preset offset” -value relating to the true absolute sensor position. When calculating the preset offset any programmed offset transmitted by command “U” will be considered, so that after having accomplished the “Z” command the current value always equals the preset.
N 142 4.2.10. Readout any optional number sequence in the bottom line of display, command „u“ (75h) The command is for indicating a 6-digit number in the bottom line. The number is displayed without dot respectively comma. Preceding zeroes as well as both direction arrows are suppressed. The upper line still indicates the current target or number sequence. The number sequence is displayed until any optional command except „t“, „u“ or „R“ is received by the interface.
N 142 4.3.1.
N 142 Significance of parameter „a“ Positioning direction This parameter defines in which direction the target is headed for. Compensating tolerances, for example at cogwheels, joints, shafts etc during a precise positioning operation requires a tolerance compensation. The tolerance compensation is proceeded by heading for the target position always from the same direction by socalled loops.
N 142 Offset Command „U“ is for programming the offset that is added to the current value and current target. This parameter defines whether the offset is considered in the calculation. Parameter 2 means optional manual offset alteration directly at the device itself. Press both softkeys at the same time and proceed offset alteration by turning the shaft. Press the softkeys anew to quit. The bottom line shows the unchanged current value again.
N 142 Important: Only bits marked ‘X’ may be altered. The permanent values „1“ and „0“ must not be altered since thereby a control token ( tokens < 20h) might be created what is not permitted in ASCII.
N 142 Groups Parameter for division in groups. Individual SPAs can be bundled to 8 different groups to be started in successive order group by group (command „D“) in order to prevent collisions. 0 = Group 1 1 = Group 2 : : 7 = Group 8 Start command „D“ must comprise the designated group number to start the respective group. Assigned shafts This parameter assigns two or more shafts to a leading shaft and is applied when utilizing the Baumer IVO Master.
N 142 4.3.4. Read / write parameter spindle pitch (scaling), command „c“ (63h) This command is utilized to read or write the scaling factor relating to the spindle pitch within the range from 0,0000001...9,9999999. The decimal point is not transmitted. Resolution per turn is 2304 steps. A scaling factor of 1.000000 will increase respectively decrease the indicated value by 23.04 mm. How to calculate the scaling factor: Resolution per turn: Spindle pitch: 23.
N 142 4.3.6. Read / write parameter motor speed switching points, command „h“ (68h) This command is for read or write the motor speed switching points. Prior to reaching the target the motor speed can be slowed down by two optional speeds (slow and precision) for absolutely precise positioning to the target. The motor’s switchoff point might also be set to a certain value prior to reaching the target.
N 142 4.3.8. Read / write parameter timeout at bus error RS485, command „j“ (6Ah) This command is for read or write the system time: timeout at bus error. Parameter range is within 00,1 s to 99,9 s. Tolerance: ±7% at minimum time; < 1‰ at maximum time, approx. 1% at 1 s. Function: RS485 monitoring during motive shaft positioning operations. If there is no interface activity within the programmed timeout the motor will stop (EMERGENCY OFF) upon occurrence of a bus error or inactive control.
N 142 4.3.10. Read / write parameter JOG step number, command „l“ (6Ch) This command is to read or write the step number relating to the jog function within the value range 0- 999. Parameter 0 will disable the Jog function, both by keypad and by external inputs. Note: The jog function must be enabled in command „m“, lock in one direction possible as an option.
N 142 Sub-Parameter: Hide LCD-Digit „L“ (4Ch) This parameter is used to ever hide the 1st digit (at right) of the upper or lower display. Readout of the displayed values will be 1/10 with measuring unit “mm” respectively 1/100 with “inch”.
N 142 Indicate identifier in the display, command „A“ (41h) This command less parameters as a broadcast command (address/Identifier=99) will make every networked N 142 indicate the device-specific identifier in the bottom line of the display. The upper line is blind. This command is a designated broadcast command. Transmission Response SOH Adr Cmd EOT CRC 01h 83h 41h 04h 80h Not confirmed The SPA remains in this mode until being switched off and on again or until transmission of another command.
N 142 4.5. Specific commands Command Data amount code in bytes K (4Bh) Q (51h) X (58h) 4.5.1. read write Broadcast X X X - X X - 1 2/4/8 Save in Significance EEPROM X X - Specific command: Profile reset (delete) Specific command: N 142 reset Specific command: Read device data SPA profile reset, command „K“ (4Bh) This command is clearing all previously programmed profiles.
N 142 4.5.3. Read version, device type or serial number, command „X“ (58h) This command is for readout the version number, device type or serial number. The following sub-commands are available: Data = V (56h) = read version Data = T (54h) = read device type Data = S (53h) = read serial number Example 1: Read version Transmission Response SOH Adr Cmd Data EOT CRC 01h 20h 58h 56h 04h D8h SOH Adr Cmd Data Version number = 2.
N 142 4.6. CRC error Upon recognizing a CRC error in a command transmitted the SPA will respond as follows: Response SOH Adr Error EOT CRC 01h 20h 65h 04h 46h Error = „e“ (65h) = CRC error 4.7. Format error Upon recognizing a format error (incorrect length of protocol or void command (Cmd); the SPA will respond as follows: Response SOH Adr Error EOT CRC 01h 20h 66h 04h 40h Error = „f“ (66h) = Format error 5.
N 142 6. Error warnings Error warnings are visualized by a flashing upper display line, indicating alternately both error signal and current value (usually target). MAX limit of SPA hurt by manual positioning operation (by softkey) Troubleshooting: Set SPA to the admissible positioning range. MIN limit of SPA hurt by manual positioning operation (by softkey) Troubleshooting: Set SPA to the admissible positioning range. SPA is giving a motor start signal but N 142 hollow shaft does not move.
N 142 7. Technical data Technical data – electrical ratings Supply voltage 24 VDC ±10 % Current consumption ≤30 mA Display LCD, 7-segment display, 2-lines, backlit Measuring rinciple Absolute multiturn sensing Measuring range -999,99...+9999,99 mm -99.999...+999.
N 142 7.1. Dimensions Hollow shaft Ø20 mm Hollow shaft Ø25 mm 7 10 6 Ø37 M5 Ø37 20° 8 M5 25 H7 7) (20 H Ø37 100 40 ±0.2 58.5 Fixing pin for bore Ø10 mm 4 8.5 1 62.5 21.5 M16 female connector 22 M16 male connector / motor 17 56 M16 male connector 8. Part number reference 1 Interface RS485 Connection 1 2 Cable output M16, motor cable 0.5 m Cable output M16, motor cable 1.