59
4. Create a
unique
Data Block for the control of your drive by writing DBXXX in the field over the
block (DB101 has been chosen in this example, the available number of Data blocks vary with
actual CPU model).
Drive status and more are stored in this Data Block. Since it is a new Data Block, you have to
generate it by clicking
Yes
in the following pop-up window.
Figure 31 DB101 data blocks
Note:
If you add more drives to the program, make sure to create new unique Data blocks for
them.
5. Connect the block inputs and outputs to variables according to your application.
Select a block input or output and see more information in the Info tab (1, 2). See also comments
to the block inputs/outputs in the table below.
Figure 32 Connecting block input/output