xPC Target | ![]() ![]() |
Scaling Input to Output
Hardware Output |
Block Output Data Type |
Scaling |
Synchro or Resolver |
double |
angle in radians |
Driver Block Parameters
Carrier ID -- Enter the Carrier ID of the IP carrier board into which the IP-Synchro module is plugged.
In order to use an IP module, it must be physically plugged into an IP carrier board and the model must contain a block representing this carrier board. Each carrier block has a `Carrier ID' parameter, which must be set to a number not shared by any other carrier board block in the model.
Carrier slot -- Select the slot on the carrier board into which the IP-Synchro module is plugged. Note that different carrier boards can have different slot capacities.
Channel vector -- Enter a vector with one or two elements to select the Synchro/Resolver input channels you use with this block. 1 represents channel A and 2 represents channel B. This driver allows the selection of inputs in either order.
For example to use channels A and B in that order, enter
Position compare vector -- This must be a scalar or a vector the same length as the channel vector. For each input channel it specifies a position in radians with which the current position is compared. When they match to within 12 bits of precision, a status bit for the channel is set.
Precision vector -- This must be a scalar or a vector the same length as the channel vector. For each input channel it specifies a precision of either 10, 12, 14, or 16 bits. If the automatic precision option is in effect, then the selected precision for each channel will be used for the entire run. Otherwise it merely specifies the initial precision.
Automatic precision -- Select this check box to have the IP-Synchro automatically change its precision (resolution) in order to track the input velocity.
Output status 1 -- Select this option to make the IP-Synchro STATUS 1 register available in an 8-bit output port.
Output status 2 -- Select this option to make the IP-Synchro STATUS 2 register available in an 8-bit output port.
Sample time -- Enter a base sample time or a multiple of the base sample time.
![]() | IP-Synchro | IP-Unidig-E-48 | ![]() |