Readout device status, command „f“ (46h) – Baumer N 142 User Manual
Page 11
N 142
www.baumer.com
11
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.
Example:
SOH Adr Cmd EOT CRC
Transmission
01h 20h 46h 04h 00h
SOH Adr Cmd Stat1 Stat2 Err1 Err2 EOT CRC
Response
01h 20h 46h 80h 80h 80h 80h
04h
4Bh
Stat1: 1 0 0 0 0 0 0 0
┬ ──────┬──────
│ └──────── reserved
└──────────────── ever 1
Stat2: 1 0 0 0 0 0 X X
┬ ────┬──── ┬ ┬
│ │ │ └── 1 = Motor is running (Moving Bit). The bit is set with running motor
and during loop interval.
With active clipped connections the bit will remain set as
│ long as the connections are open.
│ │ └──── 1 = Manual SPA abort. Bit is set upon actuating one of SPA keys during
an automated positioning operation.
│ └────────── reserved
└──────────────── ever 1
Err1: 1 0 0 0 0 0 0 0
┬ ──┬── ┬ ┬ ┬
│ │ │ │ │ └── 1 = Err 8 - target > limit MAX (no motor start)
│ │ │ │ └──── 1 = Err 9 - target < limit MIN (no motor start)
│ │ │ └────── reserved
│ │ └──────── reserved
│ └──────────── reserved
└──────────────── ever 1
Err2: 1 0 0 0 0 X X X
┬ ┬ ┬ ┬ ┬ ┬ ┬ ┬
│ │ │ │ │ │ │ └── 1 = Err 1 – hurt limit MAX
│ │ │ │ │ │ └──── 1 = Err 2 – hurt limit MIN
│ │ │ │ │ └────── 1 = Err 3 – no shaft rotation
│ │ │ │ └──────── 1 = Err 4 – motor failure (overload current)
│ │ │ └────────── 1 = Err 5 – target window not achieved
│ │ └──────────── 1 = Err 6 – trailing error
│ └────────────── reserved
└──────────────── ever 1