Operating instructions Interface description N 143 spindle position display (SPA) Firmware 01 version 3.03 and up Contents 1. 1.1. 1.2. 1.3. 2. 3. 3.1. 3.2. 3.3. 3.4. 3.5. 3.6. 3.7. 3.8. 4. 4.1. 4.2. 4.3. 4.4. 4.5. 4.6. 4.7. 5. 6. 7. 7.1. 7.2. 8.
N 143 1. General Information 1.1. Safety precautions General The equipment is designed and assembled according to the prevailing regulations of technology. The equipment left the manufacturing works in perfect order and in line with all safety-relevant regulations.
N 143 1.2. Product description 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 cantilever-mounted and secured against torsion at rear of the housing by the attached spreader pin.
N 143 2. Terminal assignment Spindle Position Display (SPA) Pin Assignment Wire color 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 M16 female M16 4 3 2 2 5 1 3 4 1 5 Connect power supply that is free from interference emission. The supply must not be used as parallel supply of drives, shields, magnetic valves, etc.
N 143 3. Interface 3.1. Interface data Type: RS485 Baud rate: 19200 Parity: No Data bits: 8 Stop bits: 1 Handshake: Nein 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 transmission of the last bit in the request until start of transmission of the first bit in the SPA’s response.
N 143 3.4. Particularities in data communication For reasons of compatibility, the entire multicon system operates on the same data length (see also table in chapter „Command overview“). The data length does not relate to the number of digits in the display, i.e. command „R“ (read current value) implies transmission of 6 bytes whereas displayed are only 5. Digit 6 respectively 5 in negative values will ever come with a 0 (30h). 3.5.
N 143 4. Command explanations 4.1.
N 143 Extended command Check Position „CX“ The extended command „Check Position CX “retrieves besides the alignment status of target versus current value equally the contents of status and error register as well as the current value. The profile number is not transmitted. For the relevant status parameters refer to the table above, the significance of the individual bits in the status and error register is explained under command readout device status „F“.
N 143 4.2.2. Start motor „D“ (44h) This command retrieves the current SPA enable status and sets or withdraws the motor start signal. The following modes are available: Status 0 1 2 3 : (30h) (31h) (32h) (33h) : Significance abort start, motor stop start SPAs of group 1 start SPAs of group 2 start SPAs of group 3 : There are two options for motor start enable. In the first place, each SPA can be enabled individually, the order is given by the host and may stretch over several groups.
N 143 4.2.3. Readout device status „F“ (46h) This command retrieves the device statuses Stat1, Stat2 together with error flags Err1, Err2. In case of error, the check command “C” will come with an “e” in reply.
N 143 4.2.4. Read current value „R“ (52h) This command reads the 6-digit current value (lower line of display). Data length is always 6 bytes. In case of a negative value, the negative sign (2Dh) will be returned together with 5 data bytes. Positive values come in 6 data bytes without sign. Values inferior to 6 (5) digits will come with leading zeroes. Example: current value = -32.50 Transmission Response 4.2.5.
N 143 Direct positioning „SD“ This command is utilized for direct positioning operations. Only the current value without profile number will be transmitted to the SPA.. Instead of transmitting the profile number, command “S” is followed by sub-command “D” (dimension). Motor start requires the additional enable signal in command “D” .
N 143 4.2.6. Read / set profile number „V“ (56h) This command reads the number of the presently active profile respectively will change the profile.
N 143 4.2.8. Set current value as preset „Z“ (5Ah) Command “Z” sets the current value at any optional position. The required position value is transmitted to the SPA which will calculate a so-called “preset offset” related to the true absolute encoder position. Any offset which is set and transmitted by command “U” will be considered in the calculation, so that after execution of command “Z” the current value is ever the preset.
N 143 4.2.10. Indicate optional number sequence in the lower line of the display „u“ (75h) The command writes a 6-digit number sequence in the lower display line. The sequence is indicated without dot respectively comma. Leading zeros as well as both direction arrows are hidden. The upper line is still indicating the current target or number sequence. The number sequence will be displayed until any command except „t“, „u“ or „R“ is received via interface.
N 143 4.3. Parameter commands Command Data length code in bytes read write Broadcast Saved in Significance EEPROM a (61h) b (62h) 5 8 X X X X - X X c g h i j k m x 8 12 12 1 3 9 5 5 X X X X X X X X X X X X X X X X X X - X X X X X X X X (63h) (67h) (68h) (69h) (69h) (6Bh) (6Dh) (78h) 4.3.1.
N 143 Significance of parameter „a“ Positioning direction This parameter defines the direction the target is headed for. For precise positioning, any tolerances at cogwheels, joints, shafts etc require backlash compensation which is performed by moving towards the target in socalled loops. A loop operation means first crossing the target position by a defined traveling distance for a second travel towards the target in the opposite direction.
N 143 4.3.2. Read / write motor bit parameter „m“ (6Dh) To make best use of the memory capacity, several parameters are compiled for packed transmission.
N 143 Note: Only the bits marked ‘X’ permit alteration. The permanent values ‚1’ and ‚0’ must remain unchanged since otherwise control characters (characters < 20h) might be created which are not allowed in ASCII protocols.
N 143 4.3.3. Read / write backlash compensation and tolerance window „b“ (62h) This command reads or writes the backlash compensation and tolerance window. Example 1: Read parameter (backlash compensation = 0.15; tolerance window = 0.25) Transmission SOH 01h Adr 20h Cmd 62h EOT 04h CRC 48h Response SOH 01h Adr 20h Cmd 62h backlash compensation=0.5 30h 30h 35h 30h tolerance window=0.25 30h 30h 32h 35h EOT 04h CRC 0Bh Example 2: Write parameter (backlash compensation = 1.
N 143 4.3.5. Read / write MIN and MAX limits „g“ (67h) This command reads or writes the MIN and MAX limits within the range from -999.99 to 9999.99. Transmission is without decimal point. Example 1: Read limit positions (MIN = 15.00; MAX = 850.25) Transmission Response SOH Adr Cmd EOT CRC 01h 20h 67h 04h 42h SOH Adr Cmd MIN limit position = 0015.00 01h 20h 67h 30h 30h 31h 35h 30h 30h MAX limit position = 0850.25 EOT CRC 30h 38h 35h 30h 32h 35h 04h 1Fh Example 2: Write limit positions (MIN = -33.
N 143 4.3.7. Read / write measuring unit „i“ (69h) The command reads or writes the measuring unit in mm or inches.
N 143 4.3.9. Read / write motor system times „k“ (6Bh) This command reads or writes the individual motor system times within the range of 00.1 s to 99.9 s. Tolerance: ±7% at minimum time; < 1‰ at maximum time, approx. 1% at 1 s. The following 3 parameters are available: Loop: Waiting time at turning point during loop operation.
N 143 4.4. Address commands Command Data length code in bytes A (41h) B (42h) 4.4.1. read write Broadcast X - X - X - 2 2 Save in Significance EEPROM X - Allocate or indicate device address SPA feedback in addressing mode Device address allocation in the network „A“ (41h) This command is generating an automated process to allocate the device address in successive order to each networked SPA upon commissioning of the system.
N 143 4.5. Specific commands command data length code in bytes K (4Bh) Q (51h) X (58h) 4.5.1. read write Broadcast X X X - X X - 1 2/4/8 saved in functionality EEPROM X X - Specific command: Clear profile (delete) Specific command: N 143 reset Specific command: read device data Clear profiles „K“ (4Bh) This command will perform a collective deletion of all previously saved profiles.
N 143 4.5.3. Read version or serial number „X“ (58h) This command reads out version number, device type or serial number. The following sub-commands are available: Data = V (56h) = read out version number Data = T (54h) = read out device type Data = S (53h) = read out serial number Example 1: Read out version number Transmission Response SOH Adr Cmd Data EOT CRC 01h 20h 58h 56h 04h D8h SOH Adr Cmd Data Versionsnummer = 2.
N 143 4.6. CRC error Upon identification of a CRC error in a command transmitted, the positioning display will reply by the following response: Response SOH Adr Error EOT CRC 01h 20h 65h 04h 46h Error = „e“ (65h) = CRC error 4.7. Format error Upon identification of a format error in a command transmitted (incorrect length of protocol or unvalid command (Cmd), the positioning display will reply by the following response: Response 5.
N 143 6. Error messages Error messages are visualized by a flashing upper display, alternating between error code and the presently active value (normally the target). MAX limit of the SPA hurt by manual positioning operation. Troubleshooting: Get SPA back to permitted positioning range. MIN limit of the SPA hurt by manual positioning operation. Troubleshooting: Get SPA back to permitted positioning range. SPA does not attain the target window. Troubleshooting: Extend tolerance window.
N 143 7. Technical data 7.1. Technical product specifications Electrical data Supply voltage Current consumption Display Measuring principle Measuring range Emitted interference Interference immunity Certificates 24 VDC ±10 % <40 mA 7-segment LCD, 2 lines, backlit Absolute multiturn measuring system -999,99...+9999,99 mm -99.999...+999.
N 143 7.2. Dimensions Hohlwelle Ø20 mm Hohlwelle Ø25 mm 7 Status-LED 20° 10 Ø37 6 1 Ø37 8 M5 Ø37 25 H7 7) (20 H 40 ±0.2 100 58.5 Fixierstift für Bohrung Ø10 mm M5 IR-Diode 4 8.5 62.5 21.5 M16-Buchse 16 56 M16-Stecker 8. Part number N 143.103AA01 N 143.103AB01 30 Spindle position display with hollow shaft ø20 mm Spindle position display with hollow shaft ø25 mm www.baumer.