Scaling of the Unit of Length

INC_PER_R

With this parameter the number of the drive position counts each revolution of the motor (DINT) have to be entered.

U_PER_REV_DENOMINATOR & U_PER_REV_NOMINATOR

With these two parameters the number of units which correspond to one revolution of the motor have to be entered.

The units of length can be scaled to values like: mm, inch, degree, …

All dymanic paramters of the PLCopen function blocks like velocity, acceleration and jerk are based on seconds. Velocity [units/s], acceleration [units/s²], jerk [units/s³]

Example 1

INC_PER_REV\ \ \ = 10000
U_PER_REV_NOMINATOR \ = 360 \
U_PER_REV_DENOMINATOR \ = 1

This will scale one unit to one degrees of the motor shaft. Correspondingly a velocity [units/s] of 360 will turn the motor shaft one revolution per second.

Example 2

In this example one unit will be scaled to one millimeter of the conveyor.

../_images/e2da88447bc7db8d0a33139000b3f9cf

Scaling units

How many units will pass after one revolution of the motor?(80*5mm) / 5 = 80

INC_PER_REV\ \ \ = 1024
U_PER_REV_NOMINATOR \ = 80 \
U_PER_REV_DENOMINATOR \ = 1

Example 3

In this example one unit will be scaled to one millimeter of the conveyor.

../_images/966badca7bcb08820a331390018172c9

Scaling units

How many units will pass after one revolution of the motor?(80*5mm) / 32 = 12,5 = 125 / 10

INC_PER_REV\ \ \ = 1024
U_PER_REV_NOMINATOR \ = 125 \
U_PER_REV_DENOMINATOR \ = 10