beautypg.com

Command extension check position „cx, Motor start enable „d“ (44h) – Baumer N 152 User Manual

Page 9

background image

N 152

www.baumer.com

9

Command extension Check Position „CX“

Command extension „Check Position CX “provides besides the alignment status target versus current value also
the contents of the status and error register as well as the current value. The profile number is not transmitted.
For the relevant status parameters (status) 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“.

Example:

SOH Adr Cmd

SCmd

EOT CRC

Transmission

01h 20h 43h

58h 04h A8h

SOH Adr Cmd

Status

Status-Reg Error-Reg

Actual value = -12.50

EOT CRC

Response

01h 20h 43h

78h 80h 80h 80h

80h 2Dh 30h 31h 32h 35h

30h 04h 0Fh

4.2.2. Motor start enable „D“ (44h)

This command is utilized to read the actual SPA enable status or to set respectively clear motor start enable.
The following modes are available:

Status Significance

0 (30h) abort enable motor start, motor stop
1 (31h) start enable SPAs of group 1
2 (32h) start enable SPAs of group 2
3 (33h) start enable SPAs of group 3
: :

:

Start is also enabled by broadcast command (identifier = 99) to all SPAs at the same time. Refer to example 3.

Example 1: read current enable status (status = 0 = disable)

SOH Adr Cmd EOT CRC

Transmission

01h 20h 44h

04h 04h

SOH Adr Cmd Stat. EOT CRC

Response

01h 20h 44h

30h 04h 64h


Example 2: start enable of a specific motor

SOH Adr Cmd Stat. EOT CRC

Transmission

01h 20h 44h

31h 04h 66h

SOH Adr Cmd Stat. EOT CRC

Response

01h 20h 44h

31h 04h 66h


Example 3: start enable for all motors by broadcast command (identifier=99)

SOH Adr Cmd Stat. EOT CRC

Transmisison

01h 83h 44h

31h 04h 7Bh

Response

Not confirmed