27 ls_parreadwrite_1, Ls_parreadwrite_1, Wpar – Lenze 8400 motec User Manual
Page 498: Wparsubindex, Breadwrite, 12 function library

12
Function library
12.27
LS_ParReadWrite_1
498
Lenze · 8400 motec · Reference manual · DMS 4.1 EN · 08/2013 · TD05
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
12.27
LS_ParReadWrite_1
This function extension is only available from version 04.00.00!
This system block serves to read and write local parameters. It supports one-time and cyclic reading/
writing in an adjustable time interval.
Inputs
Outputs
Identifier
Data type
Information/possible settings
bExecute
BOOL
Trip read/write request
FALSETRUE If cycle time (C01091/1) = "0 ms":
One-time reading/writing of the parameter value which has been
addressed via thewParIndex and wParSubindex inputs.
If cycle time (C01091/1) > "0 ms":
Cyclic reading/writing of the parameter value which has been
addressed via the wParIndex and wParSubindex inputs.
TRUEFALSE Deactivate cyclic reading/writing again.
bReadWrite
BOOL
Selection: Read or write request
FALSE Read request
TRUE Write request
wParIndex
WORD
Code to be read or written.
• This can be alternatively selected via C01090/1.
wParSubindex
WORD
Subcode to be read or written.
• This can be alternatively selected via C01090/1.
wInHWord
wInLWord
WORD
Value to be written (DataHigh/DataLow portion)
Identifier
Data type
Value/meaning
bDone
BOOL
"Read/Write request successfully completed" status signal
• The output is automatically reset to FALSE if a new request is activated via
bExecute or the cycle time (C01091/1) expires.
TRUE Read/Write request successfully completed.
FALSE The FALSE status can have the following meanings:
1.There is no active read/write request.
2.The read/write request has not been completed yet.
3.An error has occurred (if bFail = TRUE).
E([HFXWH
E'RQH
E5HDG:ULWH
E)DLO
Z2XW+:RUG
Z3DU,QGH[
Z3DU6XELQGH[
Z,Q+:RUG
Z,Q/:RUG
Z2XW/:RUG
&
:ULWH
5HDG
/6B3DU5HDG:ULWHB
&
&
&
&\FOHWLPH
6WDWH
3DU,QGH[
3DU6XELQGH[
&
&RQILJXUDWLRQSDUDPHWHU
&
/6B3DU5HDG:ULWHBBE'RQH
(QWU\LQVHOHFWOLVW
/6B3DU5HDG:ULWHBBE)DLO
/6B3DU5HDG:ULWHBBZ2XW+:RUG
/6B3DU5HDG:ULWHBBZ2XW/:RUG
&
&
&
&