Download Print this page

Commands - Siemens SIMOTION Function Manual

Motion control, output cams and measuring inputs
Hide thumbs Also See for SIMOTION:

Advertisement

Measuring Input TO - Part III
5.4 Measuring Input technology object programming/references

5.4.2

Commands

The Measuring Input technology object can be addressed in the user program using the
following commands:
Table 5-11
Measuring Input TO system functions
Commands
_enableMeasuringInput
_enableMeasuringInputCyclic
(V3.2 and higher)
_disableMeasuringInput
_enableMeasuringInputSimulation
_disableMeasuringInputSimulation
_resetMeasuringInput
_resetMeasuringInputError
_resetMeasuringInputConfigDataBuffer
_getMeasuringInputErrorNumberState
(V3.1 and higher)
_getStateOfMeasuringInputCommand
(V3.2 and higher)
_bufferMeasuringInputCommandId
(V3.2 and higher)
_removeBufferedMeasuringInputComm
andId
(V3.2 and higher)
For further information on the system functions, please refer to the
Reference Lists .
178
Description
Activate measurement job.
This function activates a cyclical
measurement job. The results of the last
measurement are displayed in the
system variables.
Deactivate measurement job.
Activates measuring input simulation.
Measured result arrived is set and
allocated to the programmed measured
value as a measured result.
Deactivate simulation mode.
Reset measuring input.
Reset error on measuring input.
This function clears the configuration
data collected in the buffer since the last
activation without activating them.
Readout of error number status.
This function returns the execution state
of a command.
This function enables commandId and
the associated command status to be
saved beyond the execution period of
the command.
The commandId parameter is used to
define the command for which the
respective status is to be saved. The
maximum number of saveable
command statuses is specified in the
decodingConfig.numberOfMaxBuffered
CommandId configuration data element.
This function ends the saving of
commandId and the associated
command status beyond the execution
period of the command.
Application
Measurement is activated. Measuring is
terminated after the measuring process
has been executed.
Cyclic measuring of axis/encoder
positions by activating a measurement
job once only
Measurement is terminated.
Simulation of a program run using
default settings of programmed
measured values
-
Create initial state of measuring input.
E.g. acknowledge configuration errors
after entering correct values.
Changing configuration data in the RUN
state discards the accumulated
modifications.
Check for occurrence of an error with
the specified error number
Check whether or not measurement has
already taken place (i.e. the command
ID is still available or has already been
deleted)
Subsequent check of how command
was terminated (e.g. error-free or
number of error that occurred)
Explicit deletion of previously saved
command IDs
SIMOTION TP CAM
Output Cams and Measuring Inputs
Function Manual, 04/2014

Hide quick links:

Advertisement

loading