Operating Instructions Interface Description N 141 spindle positioning display (SPA) Software 01 Versions 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 141 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 141 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 141 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 141 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 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 141 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 141 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 141 4.2.3. Read current value and key status, command „T“ (54h) This command is for readout the 6-digit current value (bottom line of the display) as well as the key status. Amount of data is always 7 byte. Negative values will come with a “-“ sign (2Dh) together with 5 data bytes. Positive values are transmitted by 6 data bytes less any sign. Values inferior to 6 (5) digits come with preceding zeroes. The 7th data byte is comprising the key status.
N 141 4.2.5. Read / write parameter offset, command „U“ (55h) This command is to read or write the offset that is added to the true current value. First however the function must be enabled in command bit parameter ‚a’ (61h).
N 141 4.2.7. 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 the already 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 141 4.2.9. Show any optional number sequence in the bottom line of display , command „u“ (75h) The command is for writing a 6-digit number sequence in the bottom line of the display. The number is indicated without dot respectively comma. Preceding zeroes as well as both direction arrows are suppressed. The upper line still indicates the current target or tool number. The number sequence is displayed until any optional command except „t“, „u“, „R“ or “T” is received by interface.
N 141 Note: Only the bits marked ‘X’ may be altered. The permanent parameters „1“ and „0“ must not be altered since this might create a control token ( tokens < 20h) what is not permitted in ASCII protocol.
N 141 Turn display This parameter turns the display by 180°. 0 = Off 1 = On Display readout with standard mounting, i.e. display above keypad Display readout with inverted mounting, i.e. display below keypad 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.
N 141 4.3.3. Read / write parameter spindle pitch (scaling factor), command „c“ (63h) This command is utilized to read or write the scaling factor of the spindle pitch within the range from 0,0000001...9,9999999. The decimal point is not transmitted.
N 141 4.3.5. Read / write specific parameter „x“ (78h) The specific parameter „x“ comprises several sub-parameters enabling alteration of originally permanent parameters to adapt them to new circumstances. At present, the following sub-parameter is available: D (44h) = minimized delay time of serial interface Sub parameter: Delay time „D“ (44h) This parameter defines the minimum delay time (timeout) between the last bit received and the first bit of the response transmitted.
N 141 Indicate identifier in the display, command „A“ (41h) This command less parameters as a broadcast command (address/identifier=99) will make every networked SPA indicate the device-specific identifier in the bottom line of the display. The upper line is blind. This command is a desginated 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 141 www.baumer.
N 141 4.5.2. N 141 restore default, command „Q“ (51h) This command restores default either of individual or collective parameters. Data Data Data Data Data = = = = = p q t x ∆ (70h) (71h) (74h) (78h) (7Fh) = = = = = clear offset. Tool radius is again 0,00 restore default Device identifier = 98 Multiturn counter is set to 4096 corresponding to 0. All above functions are enabled. Note: No profile reset. Profile reset by command „R“.
N 141 Example 3: Read serial number Transmission SOH 01h Adr 20h Cmd 58h Response SOH 01h Adr 20h Cmd 58h Data 53h Data 53h EOT 04h 31h CRC D2h 35h Serial number code = 15830EA4 38h 33h 30h 3Eh 3Ah 34h EOT 04h CRC 63h Code configuration of the transmitted serial number: The Low-Nibble (lower 4 bits of a byte) of the 8 data bits received equal together a 4 byte value comprising the serial number. The serial number is composed by date and time of production.
N 141 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 141 7. Technical data Technical data – electrical ratings Supply voltage range 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 141 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 connector M16 supply voltage 3 24 VDC Hollow shaft A B ø25 mm ø20 mm N 141.1 0 3 A 01 www.baumer.