![background image](http://html1.mh-extra.com/html/omega/sp-013/sp-013_user-manual_3963782023.webp)
23 |
M 5 7 5 1
Example
: For the percent of angular travel, if the pulse width range is set to a range of 1.0-2.0 msec, then
selecting 50% of angular travel represents 1.5 msec or 90 degrees of travel.
5.4.2 Sensor Output Mapping
The SP-013 allows mapping a scaled copy of any of the input values to any of the outputs. To set a mapped
output, it must not be associated with any alarm or ON/OFF control module. Two user-defined values,
Scaling Minimum
and
Scaling Maximum
, define the sensor range that is mapped to the output. A
Factory
Reset
sets the Input Minimum to 0 and the Input Maximum to 100.
The scaling equations for direct and reverse output percentages are given below.
𝑂𝑂𝑂𝑂𝑂𝑂𝑂𝑂𝑂𝑂𝑂𝑂
𝑃𝑃𝑃𝑃𝑃𝑃𝑃𝑃𝑃𝑃𝑃𝑃𝑂𝑂
𝐷𝐷𝐷𝐷𝐷𝐷𝐷𝐷𝐷𝐷𝐷𝐷
=
�
𝑆𝑆𝑃𝑃𝑆𝑆𝑆𝑆𝑆𝑆𝑃𝑃𝑆𝑆
𝑀𝑀𝑆𝑆𝑀𝑀𝑆𝑆𝑀𝑀𝑂𝑂𝑀𝑀 − 𝐼𝐼𝑃𝑃𝑂𝑂𝑂𝑂𝑂𝑂
𝑅𝑅𝑃𝑃𝑆𝑆𝑅𝑅𝑆𝑆𝑃𝑃𝑆𝑆
𝑆𝑆𝑃𝑃𝑆𝑆𝑆𝑆𝑆𝑆𝑃𝑃𝑆𝑆
𝑀𝑀𝑆𝑆𝑀𝑀𝑆𝑆𝑀𝑀𝑂𝑂𝑀𝑀 − 𝑆𝑆𝑃𝑃𝑆𝑆𝑆𝑆𝑆𝑆𝑃𝑃𝑆𝑆
𝑀𝑀𝑆𝑆𝑃𝑃𝑆𝑆𝑀𝑀𝑂𝑂𝑀𝑀�
× 100%
𝑂𝑂𝑂𝑂𝑂𝑂𝑂𝑂𝑂𝑂𝑂𝑂
𝑃𝑃𝑃𝑃𝑃𝑃𝑃𝑃𝑃𝑃𝑃𝑃𝑂𝑂
𝑅𝑅𝐷𝐷𝑅𝑅𝐷𝐷𝐷𝐷𝑅𝑅𝐷𝐷
=
�
𝑆𝑆𝑃𝑃𝑆𝑆𝑆𝑆𝑆𝑆𝑃𝑃𝑆𝑆
𝑀𝑀𝑆𝑆𝑃𝑃𝑆𝑆𝑀𝑀𝑂𝑂𝑀𝑀 − 𝐼𝐼𝑃𝑃𝑂𝑂𝑂𝑂𝑂𝑂
𝑅𝑅𝑃𝑃𝑆𝑆𝑅𝑅𝑆𝑆𝑃𝑃𝑆𝑆
𝑆𝑆𝑃𝑃𝑆𝑆𝑆𝑆𝑆𝑆𝑃𝑃𝑆𝑆
𝑀𝑀𝑆𝑆𝑃𝑃𝑆𝑆𝑀𝑀𝑂𝑂𝑀𝑀 − 𝑆𝑆𝑃𝑃𝑆𝑆𝑆𝑆𝑆𝑆𝑃𝑃𝑆𝑆
𝑀𝑀𝑆𝑆𝑀𝑀𝑆𝑆𝑀𝑀𝑂𝑂𝑀𝑀�
× 100%
Example:
The figures below and above display a PWM output direct-mapped to a Rate input. The minimum
expected input rate is 25 Hz and the maximum expected rate is 150 Hz. A value of 50 Hz read at the input is
then mapped to a PWM output with an 80% duty cycle.
𝑂𝑂𝑂𝑂𝑂𝑂𝑂𝑂𝑂𝑂𝑂𝑂
𝑃𝑃𝑃𝑃𝑃𝑃𝑃𝑃𝑃𝑃𝑃𝑃𝑂𝑂
𝐷𝐷𝐷𝐷𝐷𝐷𝐷𝐷𝐷𝐷𝐷𝐷
,
𝐸𝐸𝐸𝐸𝐸𝐸𝐸𝐸𝐸𝐸𝐸𝐸𝐷𝐷
=
�
150
𝐻𝐻𝐻𝐻 −
50
𝐻𝐻𝐻𝐻
150
𝐻𝐻𝐻𝐻 −
25
𝐻𝐻𝐻𝐻�
× 100% = 80%
Figure 29: Sensor output mapping configuration example
100% Angular Travel = 2.0 msec
50 Hz
Figure 28: SERVO output example
1.0 msec = 0°
1.5 msec = 90°
2.0 msec = 180°