© 2002 RobotstoreUK all rights reserved

HOME
Return to P!MOT

P!MOT Programming Commands Conversion Chart

 

txtmtem-2910-squegg

Function Description
P!MOT Keyboard
PC Programming Software
Command Window
PC Programming Software
Program Window
FOR (value) - The number of For/Next Loops
FOR
FOR(Repeat until NEXT from next sentence)
FOR (value)
NEXT - The end limit of the For/Next Loop
NEXT
NEXT(Repeat until before sentence from FOR)
NEXT
IF - Testing the condition of a sensor (see bellow)
IF
IF (see IF table below)
IF (see IF table bellow)
IRL - Infra-Red sensor,Left
7/IRL
If The Left Infrared raysensor is ON (value) (ELSE/endif)
If The Left Infrared raysensor is OFF (value) (ELSE/endif)
IF EYEL ON THEN (value) ---
IF EYEL OFF THEN (value) ---
IRR - Infra-Red sensor,Right
9/IRR
If The Right Infrared raysensor is ON (value) (ELSE/endif)
If The Right Infrared raysensor is OFF (value) (ELSE/endif)
IF EYER ON THEN (value) ---
IF EYER OFF THEN (value) ---
UFL -Underneath Front Left Infra-Red sensor
4/ULF
If The left front bottom sensor is ON (value) (ELSE/endif)
If The left front bottom sensor is OFF (value) (ELSE/endif)
IF UFL ON THEN (value) ---
IF UFL OFF THEN (value) ---
UFR -Underneath Front Right Infra-Red sensor
6/UFR
If The right front bottom sensor is ON (value) (ELSE/endif)
If The right front bottom sensor is OFF (value) (ELSE/endif)
IF UFR ON THEN (value) ---
IF UFROFF THEN (value) ---
UBL -Underneath Back Left Infra-Red sensor
1/UBL
If The left back bottom sensor is ON (value) (ELSE/endif)
If The left backt bottom sensor is OFF (value) (ELSE/endif)
IF UBL ON THEN (value) ---
IF UBL OFF THEN (value) ---
UBR - Underneath Back Right Infra-Red sensor
3/UBR
If The right back bottom sensor is ON (value) (ELSE/endif)
If The right backt bottom sensor is OFF (value) (ELSE/endif)
IF UFR ON THEN (value) ---
IF UFR OFF THEN (value) ---
ON - used with IF to test whether a sensor is activated (true when on)
6/ON
(see sensor commands above)
(see sensor commands above)
OFF - used with IF to test whether a sensor is not activated (true when off)
5/OFF
(see sensor commands above)
(see sensor commands above)
THEN - to state where the result of an IF should jump when true
THEN
(see sensor commands above)
(see sensor commands above)
ELSE - to state where the result of an IF should jump when false
ELSE
ELSE ( only seen after an IF as seen above)
(Endif)
IF XXX ON THEN (X) ELSE (X)
IF XXX OFF THEN (X)
LABEL (value) - to mark a point to which the program will jump in an ELSE or THEN value
LABEL
LABEL
LABEL (value)
END - to finish a program
END
END
END
ENTER - adds the commands selected to the program
ENTER
NEXT on P!MOT Key pad
-
MODE(RUN) - to select the operation mode or / run the loaded program
MODE(RUN)
-
-
(value) - move Forward - medium speed
Move Forward Low Speed (value)
Move Forward Middle Speed (value)
Move Forward High Speed (value)
FD L (value)
FD M (value)
FD H (value)
(value) - move Backward - medium speed
Move Backward Low Speed (value)
Move Backard Middle Speed (value)
Move Backward High Speed (value)
BK L (value)
BK M (value)
BK H (value)
Turn Left Low Speed (value)
Turn Left Middle Speed (value)
Turn left High Speed (value)
LT L (value)
LT M (value)
LT H (value)
Turn Right Low Speed (value)
Turn Right Middle Speed (value)
Right High Speed (value)
RT L (value)
RT M (value)
RT H (value)
- Rotate left
ROTATE LEFT
LR (value)
- Rotate Right
ROTATE RIGHT
RR (value)
LOW - motor speed setting
LOW
LOW SPEED
L
HIGH - motor speed setting
HIGH
HIGH SPEED
H
STOP - motor stop
STOP
STOP
STOP (value)
BUZZER - Sounder
BUZZER
BUZZER
BUZZER(value)
RESET - clears program
RESET
-
-
LED-L - the green LED
LED-L
-
-
LED-R - the red LED
LED-R
-
-
txtmtem-2910-squegg
© 2002 RobotstoreUK all rights reserved
HOME