Laser2 (Revision A) Programming Table This is the programming table for the Laser2 (Rev. A) module.
Command Name |
Action | Bit | Description | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | |||
Control0_Get | Send | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | Get sensor 0 control value as {ls} where {l}=1 is laser on and {s}=1 is servo on. |
Receive | 0 | 0 | 0 | 0 | 0 | 0 | 0 | l | s | ||
Servo_High0_Get | Send | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | Get sensor 0 servo high value as {hhhhhhhh}. |
Receive | 0 | h | h | h | h | h | h | h | h | ||
Servo_Low0_Get | Send | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | Get sensor 0 servo low value as {llllllll}. |
Receive | 0 | l | l | l | l | l | l | l | l | ||
Potentiometer_High0_Get | Send | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | Get sensor 0 potentiometer high value as {hhhhhhhh}. |
Receive | 0 | h | h | h | h | h | h | h | h | ||
Potentiometer_Low0_Get | Send | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | Get sensor 0 potentiometer low value as {llllllll}. |
Receive | 0 | l | l | l | l | l | l | l | l | ||
First_High0_Get | Send | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | Get sensor 0 first sense high value as {hhhhhhhh}. |
Receive | 0 | h | h | h | h | h | h | h | h | ||
First_Low0_Get | Send | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | Get sensor 0 first sense low value as {llllllll}. |
Receive | 0 | l | l | l | l | l | l | l | l | ||
Last_High0_Get | Send | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | Get sensor 0 last sense high value as {hhhhhhhh}. |
Receive | 0 | h | h | h | h | h | h | h | h | ||
Last_Low0_Get | Send | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | Get sensor 0 last sense low value as {llllllll}. |
Receive | 0 | l | l | l | l | l | l | l | l | ||
Control1_Get | Send | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | Get sensor 1 control value as {ls} where {l}=1 is laser on and {s}=1 is servo on. |
Receive | 0 | 0 | 0 | 0 | 0 | 0 | 0 | l | s | ||
Servo_High1_Get | Send | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | Get sensor 1 servo high value as {hhhhhhhh}. |
Receive | 0 | h | h | h | h | h | h | h | h | ||
Servo_Low1_Get | Send | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | Get sensor 1 servo low value as {llllllll}. |
Receive | 0 | l | l | l | l | l | l | l | l | ||
Potentiometer_High1_Get | Send | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | Get sensor 1 potentiometer high value as {hhhhhhhh}. |
Receive | 0 | h | h | h | h | h | h | h | h | ||
Potentiometer_Low1_Get | Send | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 1 | Get sensor 1 potentiometer low value as {llllllll}. |
Receive | 0 | l | l | l | l | l | l | l | l | ||
First_High1_Get | Send | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | Get sensor 1 first sense high value as {hhhhhhhh}. |
Receive | 0 | h | h | h | h | h | h | h | h | ||
First_Low1_Get | Send | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | Get sensor 1 first sense low value as {llllllll}. |
Receive | 0 | l | l | l | l | l | l | l | l | ||
Last_High1_Get | Send | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | Get sensor 1 last sense high value as {hhhhhhhh}. |
Receive | 0 | h | h | h | h | h | h | h | h | ||
Last_Low1_Get | Send | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 1 | Get sensor 1 last sense low value as {llllllll}. |
Receive | 0 | l | l | l | l | l | l | l | l | ||
Control0_Set | Send | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | Set sensor 0 control value to {ls} where {l} enables the laser and {s} enables the servo. |
Send | 0 | 0 | 0 | 0 | 0 | 0 | 0 | l | s | ||
Servo_High0_Set | Send | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | Set sensor 0 servo high value to {hhhhhhhh}. |
Send | 0 | h | h | h | h | h | h | h | h | ||
Servo_Low0_Set | Send | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | Set sensor 0 servo low value to {llllllll}. |
Send | 0 | l | l | l | l | l | l | l | l | ||
Control1_Set | Send | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | Set sensor 1 control value to {ls} where {l} enables the laser and {s} enables the servo. |
Send | 0 | 0 | 0 | 0 | 0 | 0 | 0 | l | s | ||
Servo_High1_Set | Send | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | Set sensor 1 servo high value to {hhhhhhhh}. |
Send | 0 | h | h | h | h | h | h | h | h | ||
Servo_Low1_Set | Send | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | Set sensor 1 servo low value to {llllllll}. |
Send | 0 | l | l | l | l | l | l | l | l | ||
Quick_Set | Send | 0 | 0 | 1 | s | p | p | p | p | p | Set servo {s} to position {ppppp}, where {ppppp}=0b corresponds to .75mS and {ppppp}=31b corresonds to 2.25mS. {ss} must be either 0b or 1b. It is up to the user to shift {ppppp} to the left by two bits and OR in {ss}. |