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

Page 8: Example, Example 2: enable motor start in group 1

Advertising
background image

N 153

www.baumer.com

8

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 transmit-
ted. 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 motor start enable, motor stops
1 (31h) start enable SPAs of group 1
2 (32h) start enable SPAs of group 2
3 (33h) start enable SPAs of group 3
: :

:

There are two separate options regarding start enable. First, every SPA can be started individually. The order is
determined by host and might also relate to SPAs of other groups. Start command “D” is transmitted to the re-
spective device identifier including group number. The status LED is flashing rapidly, indicating that the SPA is
transmitting motor control data (see also examples 1 and 2).
Second, all SPAs of one group can be started at the same time by broadcast command (ID = 99). In this case,
the status LEDs of the SPAs belonging to the respective group are flashing at the frequency of 1 Hz, but the
SPAs have not yet been transmitting any motor control data. By key actuation the operator starts control data
transmission and now the status LED is flashing rapidly (see example 3). Upon another key actuation the con-
trol data transmission is deactivated what is visualized by the status LED flashing slowly.

Example 1: Read actual motor start 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: enable motor start in group 1

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) in group 2

SOH Adr Cmd Stat. EOT CRC

Transmission

01h 83h 44h 32h 04h 7Dh

Response

not confirmed

Example 4: abort start enable for all motors by broadcast command (identifier=99) (stop command)

SOH Adr Cmd Stat. EOT CRC

Transmission

01h 83h 44h 30h 04h 79h

Response

not confirmed

Advertising