
Starting up fieldbus communication and programming the ABB PLC (one-drive system)
72
Add function block MC_ReadStatus
This function block returns in detail the status of the axis with respect to the motion
currently in progress.
Name the block mc_reads. Press Enter. Class: VAR; Type: MC_ReadStatus. The
block must be enabled all the time -> name input Enable TRUE. Name input Axis
axis1 which is already configured.
Add function block MC_ReadActualPosition
This function block returns the actual position.
Name the block mc_readpos. Press Enter. Class: VAR; Type:
MC_ReadActualPosition. The block must be enabled all the time -> name input
Enable TRUE. Add global variable actual_pos_axis1 for later use in visualization,
Class: VAR_GLOBAL, Type: LREAL.
Add function block MC_ReadAxisError
This function block describes general axis errors not related to the function blocks.
Class: VAR, Type: MC_ReadAxisError.
Tool/Step
Programming the PLC main program
Kommentare zu diesen Handbüchern