Assigning the LogicalDevice

Stepper motor control provides a logical device for addressing. The use of the physical addresses in the code is not required. The peripheral module is located under SEWLogicalDevicePool in the device tree.

Insert the following code in the "Control" program:

Line

Comment

[3]

If the value is TRUE, the parameter data of the selected mode is transferred to the OSS21C stepper motor module when setting the signal xStart before the movement is started.

If the value is FALSE, the value must be written manually after executing xActivate.

[4]

Assigning the LogicalDevice