
Starting up fieldbus communication and programming the ABB PLC (one-drive system)
84
Program homing (MCA_Home)
This function block commands the axis to perform the Search home sequence. The
details of this sequence depend on the drive manufacturer and can be set by the
axis parameters. The Position input is used to set the absolute position when a
reference signal is detected. The execution of this function block comes to an end
at the STANDSTILL state.
By clicking the Box tool button, insert a new box. Replace the default text AND with
MCA_Home. Name the block, for example, home1, Class: VAR, Type: MC_
MoveRelative.
Name the Excecute input move_home1, Class: VAR_GLOBAL, Type: BOOL.
Input Axis defines the controlled axis. Name it axis1.
Note 1: This function block is not working with FPBA-01 version 200D or older.
Program toggling between two positions
This section presents an example of a function block program for toggling between
two positions. At the page 81, action position_toggle was created. Write the
program below into the action position_toggle.
Name the Excecute input move_toggle1, Class: VAR_GLOBAL, Type: BOOL.
Name variable pos_step, Class: VAR, Type: WORD.
See the next page for the descriptions of the program rows.
Tool/Step
Programming actions
Komentarze do niniejszej Instrukcji