An instance of this function block type provides a model for bidirectional motion along a single axis with sensors at both ends of its motion. The POS output is expressed in units of 0% to 100% full scale, and the VF and VR inputs are expressed in % of full scale per "tick" of the CLK event input. The HOME and END outputs indicate the 0% and 100% full scale positions. The IND output indicates a change in the POS, HOME and/or END outputs.
Motion stops when the FAULT input is TRUE and resumes when it is FALSE, thus permitting the simulation of simple faults.
The direction and velocity of motion are determined by the internal variable SPEED, derived from the FWD, REV and FAULT inputs as shown in the table below.
FAULT | FWD | REV | SPEED |
---|---|---|---|
FALSE | FALSE | FALSE | 0 |
FALSE | FALSE | TRUE | -VR |
FALSE | TRUE | FALSE | VF |
FALSE | TRUE | TRUE | VF-VR |
TRUE | x | x | 0 |
Last updated: 2006-04-19.
©2006 Holobloc
Inc
Licensed under the Academic Free
License version 3.0.