Axisx_Cfg Subroutine - Siemens Simatic S7 Series System Manual

Hide thumbs Also See for Simatic S7 Series:
Table of Contents

Advertisement

Open loop motion control
12.6 Subroutines created by the Motion wizard for the Axis of Motion
12.6.11

AXISx_CFG subroutine

Table 12- 24 AXISx_CFG
LAD / FBD
STL
CALL AXISx_CFG,
START, Done, Error
Table 12- 25 Parameters for the AXISx_CFG subroutine
Inputs/Outputs
START
Done
Error
Turn on the EN bit to enable the subroutine. Ensure that the EN bit stays on until the Done
bit signals that the execution of the subroutine has completed.
Turn on the START parameter to send a CFG command to the Axis of Motion. For each
scan when the START parameter is on and the Axis of Motion is not currently busy, the
subroutine sends a CFG command to the Axis of Motion. To ensure that only one command
is sent, use an edge detection element to pulse the START parameter on.
The Done parameter turns on when the Axis of Motion completes this subroutine.
The Error parameter (Page 545) contains the result of this subroutine.
518
Description
The AXISx_CFG subroutine (Reload Configuration) commands the Axis
of Motion to read the configuration block from the location specified by
the configuration/profile table pointer. The Axis of Motion then com-
pares the new configuration with the existing configuration and per-
forms any required setup changes or recalculations.
Data type
Operands
BOOL
I, Q, V, M, SM, S, T, C, L, Power Flow
BOOL
I, Q, V, M, SM, S, T, C, L
BYTE
IB, QB, VB, MB, SMB, SB, LB, AC, *VD, *AC, *LD
System Manual, 09/2015, A5E03822230-AC
S7-200 SMART

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Simatic s7-200 smart series

Table of Contents