Check position, command „c“ (43h), Read parameter start motor, command „d“ (44h), Extended command check position „cx – Baumer N 142 User Manual
Page 9
N 142
www.baumer.com
9
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. In case
of any error occurred at the SPA the response will be “e” together with the current profile number.
Example: (active profile number = 05)
SOH Adr Cmd EOT CRC
Transmission
01h 20h 43h 04h 0Ah
Response if current value within tolerance window: (Status = 6Fh = „o“)
SOH Adr Cmd Stat. Profile no.=05 EOT CRC
Response
01h 20h 43h 6Fh 30h
35h 04h A5h
Response in case of current value outside the tolerance window: (Status = 78h = „x“)
SOH Adr Cmd Stat. Profile no.=05 EOT CRC
Response
01h 20h 43h 78h 30h
35h 04h 1D
Following status parameters are possible:
Status
Significance
o (6Fh)
Current value = target
x (78h)
Current value ≠ target
e (65h)
SPA error
Extended command Check Position „CX“
The extended command „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 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 Stat. Status-Reg Error-Reg
Curent value = -12,50
EOT CRC
Response
01h 20h 43h 6Fh 80h 80h 80h 80h 2Dh 30h 31h 32h 35h 30h 04h B7h
4.2.2. Read parameter start motor, command „D“ (44h)
This command is utilized to read the current SPA status parameter respectively to program or delete the motor
start parameter.
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
: :
:
Start is also released by broadcast command (identifier = 99) to all SPAs at the same time. Refer to example 3.