- Step 1: Create or select a sequence
- Step 2: Add commands
- Step 3: Define step parameters
- Step 4: Use the step control icons
- Step 5: Name each step
- Step 6: Save
- What’s next?
In the sequences panel, click thebutton to create a new sequence. Or, select an existing sequence if you would like to edit it. If you have many sequences, use the search box to find one more quickly.
Once a sequence has been created or selected, it will be loaded into the edit sequence panel. Enter a unique Sequence name and optionally assign it a color . The color will not affect FarmBot’s execution of the sequence, it is only for helping you organize and recognize your own sequences.
Add commands to your sequence by clicking thebutton. This will bring up the add command panel, where you can then click the command you would like to add at that location in the sequence. If you change your mind, click the button to go back to the editor.
On large screens, you may press thebutton, allowing for a full-screen sequence editing experience. From the full editor you may add commands by dragging and dropping them from the commands panel into the edit sequence panel. When dragging and dropping, you can add the new command anywhere in the sequence (at the top, bottom, or somewhere in the middle). Alternatively, you can click a command and it will be added to the bottom of the sequence.
The drag and drop functionality of the full editor does not work on large touchscreens, such as on an iPad. However, sequence editing can be performed on-the-go with just tapping and the default interface.
For each step (command) in the sequence, enter in your desired parameter values. Some parameters such as SPEED will have default values and do not need to be entered in every time. Other parameters require a value to be added or chosen every time.
We check your work
If you try to save a sequence without values for all of the required parameters for each step, an error will be shown. You can then go back and provide values and try to save again.
Each step in a sequence has a cluster of control icons in the top right:
|Clicking or hovering will bring up a tooltip with information about how to use the command.|
|Clicking will delete the step from the sequence.|
|Clicking will duplicate the step and all of its parameter values. The copy will be inserted directly below the original.|
|Clicking and dragging will allow you to drag and drop the step to another location in the sequence. Just clicking will show a popup with and icons. Clicking one of these will move the step up or down one position in the sequence. These controls are especially useful when using a touchscreen that doesn’t work with drag-and-drop functionality.|
|Clicking will open the linked sequence used in an Execute command.|
|Clicking toggles between a simplified and full view of a pinned sequence added as a step.|
|Clicking toggles between the fancy and basic text editors in a Lua command.|
|Clicking toggles between the default view of the command and the raw code version of the command. Only available if the VIEW CELERSCRIPT sequence editor option is set to YES.|
|Clicking will show any warnings or problems with the currently configured step.|
You can rename each sequence step by clicking on its name and typing in something new. While this is optional, naming each step with some descriptive text can allow you to easily remember what each step is for when you look at the sequence again tomorrow, or in a few months. It might also be useful if multiple people use the same FarmBot account, such as in a school setting, so everyone can understand what each sequence does.
Whenever a sequence has unsaved changes, an asterisk (*) will be shown next to the sequence name in the sequence list, and in thebutton. When you are finished editing, click to save the sequence. Once saving is complete, the button will show as .