hit counter script

Mc_Reset Instruction - Siemens SIMATIC S7 System Manual

Hide thumbs Also See for SIMATIC S7:
Table of Contents

Advertisement

9.3.2.2

MC_Reset instruction

Table 9- 26
MC_Reset instruction
LAD / FBD
STEP 7 automatically creates the DB when you insert the instruction.
1
In the SCL example, "MC_Reset_DB" is the name of the instance DB.
2
The MC_Reset task cannot be aborted by any other motion control task. The new MC_Reset
task does not abort any other active motion control tasks.
Table 9- 27
Parameters of the MC_Reset instruction
Parameter and type
Axis
IN
Execute
IN
Done
OUT
Busy
OUT
Error
OUT
ErrorID
OUTP
ErrorInfo
OUT
To acknowledge an error with MC_Reset, follow these steps:
1. Check the requirements indicated above.
2. Start the acknowledgement of the error with a rising edge at the Execute input parameter.
3. The error has been acknowledged when Done equals TRUE and the technology object
S7-1200 Programmable controller
System Manual, 11/2011, A5E02486680-05
SCL
"MC_Reset_DB"(
Axis:=_multi_fb_in_,
Execute:=_bool_in_,
Done=>_bool_out_,
Busy=>_bool_out_,
Error=>_bool_out_,
ErrorID=>_word_out_,
ErrorInfo=>_word_out_);
Data type
TO_Axis_1
Bool
Bool
Bool
Bool
Word
Word
tag <Axis name>.StatusBits.Error equals FALSE.
Description
Use the MC_Reset instruction to acknowledge
"Operating error with axis stop" and
"Configuration error". The errors that require
acknowledgement can be found in the "List of
ErrorIDs and ErrorInfos" under "Remedy".
Before using the MC_Reset instruction, you
must have eliminated the cause of a pending
configuration error requiring acknowledgement
(for example, by changing an invalid
acceleration value in "Axis" technology object
to a valid value).
Description
Axis technology object
Start of the task with a positive edge
TRUE = Error has been acknowledged.
TRUE = The task is being executed.
TRUE = An error has occurred during execution of the task. The
cause of the error can be found in parameters "ErrorID" and
"ErrorInfo".
Error ID for parameter "Error""
Error info ID for parameter "ErrorID"
102BTechnology instructions
9.3 Basic motion control
349

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Simatic s7-1200

Table of Contents

Save PDF