hit counter script

Axisx_Rdpos 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.13

AXISx_RDPOS subroutine

Table 12- 28 AXISx_RDPOS
LAD / FBD
STL
CALL AXISx_RDPOS,
Error, I_Pos
Table 12- 29 Parameters for the AXISx_RDPOS subroutine
Inputs/Outputs
Error
I_Pos
Turn on the EN bit to enable the subroutine.
The Error parameter (Page 545) contains the result of this subroutine.
The I_Pos parameter contains the current motion axis position.
Note
Execution of this command returns the actual current position of the axis. Position status
values provided in other motion subroutines, such as AXISx_CTRL, AXISx_GOTO, and so
forth, are updated periodically. Therefore, the position values reported by those commands
and the position value reported by this command may differ somewhat as a result and is
normal.
520
Description
The AXISx_RDPOS subroutine returns the current motion axis position.
Data type
Operands
BYTE
IB, QB, VB, MB, SMB, SB, LB, AC, *VD, *AC, *LD
DINT, REAL
ID, QD, VD, MD, SMD, SD, LD, 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

Save PDF