Start motor „d“ (44h), N 143, Example 2: start specific motor in group 1 – Baumer N 143 User Manual

Page 9

Advertising
background image

N 143

www.baumer.com

9

4.2.2. Start motor „D“ (44h)

This command retrieves the current SPA enable status and sets or withdraws the motor start signal.
The following modes are available:

Status Significance

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

:

There are two options for motor start enable. In the first place, each SPA can be enabled individually, the order
is given by the host and may stretch over several groups. The enable command „D“ is transmitted to the re-
spective device address together with the group number. The status LED is flashing fast which indicates active
motor control data transmission (see example 1 and 2).
Second, all SPAs clustered in a group can be enabled collectively using the broadcast command (address =
99). All SPAs of one group will indicate the enable status by their LEDs flashing at a frequency of 1 Hz. How-
ever, so far no motor control data have been transmitted. The operator will start control data transmission upon
pressing one of the buttons or by slightly turning the shaft of the respective SPA. Now the red LED is flashing
fast (example 3). The operation is aborted or disabled by pressing the button anew, which is indicated by the
LED flashing slowly. If the shaft does not experience any turn within 3 seconds after the enable signal, trans-
mission of the control data will be automatically interrupted (LED flashing slowly.

Example 1: Readout current enable status (status = 0 = not enabled)

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 specific motor 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 all motors of group 2 by broadcast command (address = 99)

SOH Adr Cmd Stat. EOT CRC

Transmission

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

Response

Not confirmed


Example 4: Abort all motor starts by broadcast command (address=99, stop commandl)

SOH Adr Cmd Stat. EOT CRC

Transmission

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

Response

Not confirmed


Advertising