Inherits from Object
A class that provides properties for controlling a Mass Flow Conveyor Motor.
|sections||Accesses the motor's connected sections as MFC.Section objects.|
|speed||Gets and sets the speed of the motor.|
Accesses the motor's connected sections as MFC.Section objects.
Accessing the Number of Sections
You can access the number of sections connected to the motor with the following code:
Accessing Sections by Rank
You can access an individual section by rank with the following code:
motor.sections // first section motor.sections[mfc.sections.length] // last section motor.sections[i] // i-th section
Gets and sets the speed of the motor.
Setting the speed of a motor will change the speeds of all connected sections. If a section has two motors connected to it, then the speed of the section will be averaged between the two motor speeds.
motor.speed = 1; double speed = motor.speed;