EasyManua.ls Logo

Siemens SIMATIC S7-1200

Siemens SIMATIC S7-1200
1614 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Technology instructions
10.3 Motion control
S7-1200 Programmable controller
758 System Manual, V4.2, 09/2016, A5E02486680-AK
Table 10- 79 Condition codes for ERRORID and ERRORINFO
ERRORID
(W#16#...)
ERRORINFO
(W#16#...)
Description
0
0
Successful change of an Axis TO-DB parameter
8410
[1]
0028
[1]
Set an invalid parameter (Axis TO-DB parameter with incorrect length)
8410
[1]
0029
[1]
Set an invalid parameter (no Axis TO-DB parameter)
8410
[1]
002B
[1]
Set an Invalid parameter (read-only Axis TO-DB parameter)
8410
[1]
002C
[1]
Set a valid parameter, but axis is not disabled
Config
Error
[2]
Config
Error
[2]
Set a valid parameter (public read-only Axis TO-DB parameter) out-of-range
Config
Error
[3]
Config
Error
[3]
Set a valid parameter (public Axis TO-DB parameter) out-of-range
[1] Error at MC_WriteParam
[2] Error at MC_Power
[3] Error at MC_Power and MC_MoveXXX or MC_CommandTable
Note
For a drive connection using a PROFIdrive/analog output, you cannot write parameters with
M
C_WriteParam that require a restart of the technology object. The TIA Portal online help
statement concerning this instruction is incorrect.
10.3.7.13
MC_ReadParam instruction (read parameters of a technology object)
You use the MC_ReadParam instruction to read a select number of parameters that indicate
the current position, velocity, and so forth of the axis defined in the Axis input.
Table 10- 80 MC_ReadParam instruction
LAD / FBD
SCL
Description
"MC_ReadParam_DB"(
Enable:=_bool_in_,
Parameter:=_variant_in_,
Value:=_variant_in_out_,
Valid:=_bool_out_,
Busy:=_bool_out_,
Error:=_real_out_,
ErrorID:=_word_out_,
ErrorInfo:=_word_out_);
You use the MC_ReadParam
instruction to read single status
values, independent of the cycle
control point.
1
STEP 7 automatically creates the DB when you insert the instruction.
2
In the SCL example, "MC_ReadParam_DB " is the name of the instance DB.

Table of Contents

Other manuals for Siemens SIMATIC S7-1200

Related product manuals