10
5.12 GET STATE
Queries the status (see also 70 080)
Command code:
70 035
Parameter:
none
Return:
1 byte (0 - 255)
Status in decimal format
Comment:
The status is transferred in a number from 0 to 255. If the transferred number is converted
into a binary number the bits have the following significance:
BIT 7:(MSB)
UPPER Limit
BIT 6:
LOWER Limit
BIT 5:
Status reserve
BIT 4:
Status reserve
BIT 3:
Status reserve
BIT 2:
Motor off (collision)
BIT 1:
Motor blocked
BIT 0 (LSB):
STATUS / ERROR event
Example:
host sends:
70050 <CR>
host receives:
70050 131<CR>
131 decimal = 1 0 0 0 0 0 1 1 binary
MSB LSB
Significance:
EVENT set; Motor blocked in upper limit