Siemens SIMOTION Function Manual page 61

Motion control basic functions for modular machines
Hide thumbs Also See for SIMOTION:
Table of Contents

Advertisement

● With an asynchronous call (parameter nextCommand := IMMEDIATELY), the user program
● With a synchronous call (parameter nextCommand : =WHEN_COMMAND_DONE), the
To execute the function (e.g. activation or deactivation of a DP slave or I/O device), start this
with parameter reqActDeactGetStateMode := REQUEST_TRUE.
Start the status query of the function with parameter reqActDeactGetStateMode :=
REQUEST_FALSE. Use the same command ID as for the first call.
Note
To correctly complete the function with an asynchronous call, you must call the function with
the parameter reqActDeactGetStateMode := REQUEST_FALSE as often as necessary until
you obtain 16#0000_000x as the return value or an error message.
You can execute the function only once at the same time for each bus node.
Basic Functions for Modular Machines
Function Manual, 04/2014
5.1 Activating and deactivating nodes on the PROFIBUS or PROFINET IO
is continued immediately after the start of the system function.
You must regularly query the state of the function to be able to determine when a command
has been executed in full.
The asynchronous call is required in cyclic tasks to ensure that their time monitoring function
does not start.
user program waits until the system function has been completed. The return value directly
indicates whether the function call was successful.
The synchronous call is recommended for MotionTasks.
Activating and deactivating components and technology objects
61

Advertisement

Table of Contents
loading

Table of Contents