Operating instructions Interface Description N 140 Spindle Positioning Display (SPA) Software 01 Version 3.10 and up Contents 1. 1.1. 1.2. 2. 3. 3.1. 3.2. 3.3. 3.4. 3.5. 4. 4.1. 4.2. 4.3. 4.4. 4.5. 5. 5.1. 5.2. 6. 7. 7.1. 8.
N 140 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 140 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 140 2. Terminal assignment 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 4 3 2 2 5 3 4 1 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 140 3. Interface 3.1. Interface data Typ: 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 140 3.4. Broadcast commands Some specific commands are defined as so-called broadcast commands. As soon as the master broadcasts a command to identifier 99, the command is addressed to every SPA in the network. Each 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 SPA.
N 140 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.
N 140 4.2.3. Read / write parameter target (profile), command „S“ (53h) This command is for readout the presently active target or for programming respectively reading a specific target. The data are composed of profile number (2 bytes) and target (6 bytes). Important: Negative targets come with 5 digits only (see example no. 3).
N 140 Response after reset upon deletion of all profiles: Response SOH 01h Adr 20h Cmd Profile no. = FF EOT 56h 04h 3Fh 3Fh Example 2: Transmit new profile CRC 16h (new profile number = 17) Transmission SOH 01h Adr 20h Cmd Profile no. = 17 EOT 56h 04h 31h 37h CRC 3E Response SOH 01h Adr 20h Cmd Profile no. = 17 EOT 56h 04h 31h 37h CRC 3E Example 3: Transmit new profile by broadcast command to all N 140 (Identifier = 99 (83h); new profile no.
N 140 Example 2: Align actual value with preset (preset = 17,25) Transmission SOH Adr Cmd 01h 20h 5Ah 30h 30h Preset = 17,25 31h 37h 32h 35h EOT CRC 04h 09h Response SOH Adr Cmd 01h 20h 5Ah 30h 30h Preset = 17,25 31h 37h 32h 35h EOT CRC 04h 09h Example 3: Align actual value with preset at all SPAs by broadcast command Transmission SOH Adr Cmd 01h 83h 5Ah 30h Response Not confirmed 30h Preset = 17,25 31h 37h 32h 35h EOT CRC 04h AAh 4.2.7.
N 140 4.3. Parameter commands Command code a b c i x Data amount in bytes read write Broadcast 5 8 8 1 5 X X X X X X X X X X X - (61h) (62h) (63h) (69h) (78h) 4.3.1.
N 140 4.3.2. Read /write parameter spindle tolerance and tolerance window, command „b“ (62h) This command is to read or write the parameters tolerance compensation and tolerance window.
N 140 4.3.4. Read / write parameter measuring unit, command „i“ (69h) The command is to read or write the measuring unit in mm or inches.
N 140 4.4. Identifier commands Command code Data amount in bytes read write Broadcast A (41h) B (42h) 2 2 X - X - X - 4.4.1. Save in Significance EEPROM X - Assign or indicate device identifier SPA confirmation in addressing mode Assigning device identifiers in the network, command „A“ (41h) This command is creating an automated process where the device identifier is assigned in successive order to every single SPA upon commissioning of the system.
N 140 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 140 reset Specific command: Read device data SPA profile reset, command „K“ (4Bh) This command is clearing all previously programmed profiles.
N 140 4.5.3. Read version, device type or serial number, command „X“ (58h) This command is for reading 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 SOH 01h Adr 20h Cmd 58h Data 56h EOT 04h CRC D8h Response SOH 01h Adr 20h Cmd 58h Data 56h Version number = 3.
N 140 5. Error warnings 5.1. CRC error Upon recognizing a CRC error in a transmitted command the SPA will respond as follows: Response SOH 01h Adr 20h Error 65h EOT 04h CRC 46h Error = „e“ (65h) = CRC error 5.2. Format error Upon recognizing a format error (incorrect length of protocol or void command (Cmd) in a transmitted command the SPA will respond as follows: Response SOH 01h Adr 20h Error 66h EOT 04h CRC 40h Error = „f“ (66h) = Format error 6.
N 140 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 principle Absolute multiturn sensing Measuring range -999,99...+9999,99 mm -99.999...+999.
N 140 7.1. Dimensions Hollow shaft Ø20 mm Hollow shaft Ø25 mm 7 10 Ø37 6 1 62.5 21.5 Ø37 8 M5 25 H7 7) (20 H M5 20° Ø37 100 40 ±0.2 58.5 Fixing pin for bore Ø10 mm 4 8.5 M16-female connector 16 56 M16 connector 8. Part number reference 1 interface RS485 connection 0 cable output with M16 connector supply voltage 3 24 VDC hollow shaft A B ø25 mm ø20 mm N 140.1 0 3 A 01 www.baumer.