L_io1000parrestore, Function library "lenzeio1000drv – Lenze Function library LenzeIO1000Drv User Manual
Page 38

Function library "LenzeIo1000Drv"
Function blocks
L_io1000ParRestore - Load default setting in I/O system
38
L
DMS 1.0 EN - 07/2011 - TD05
4.9
L_io1000ParRestore - Load default setting in I/O system
This FB serves to load the default setting into the I/O system.
A FALSE/TRUE edge at the bExecute input causes the command to be sent to the I/O
system.
The dnState output shows the transmission status.
Inputs
Outputs
Call possible in:
;
Cyclic task
Interrupt task
;
Time-controlled task (INTERVAL)
Event-controlled task (EVENT)
Note!
If the PLC has the task to completely parameterise the I/O system, this FB must
be called first (before any other parameter blocks).
L_io1000ParRestore
⎯ bExecute
bDone ⎯
⎯ dwHandle
dnState ⎯
⎯ byNodeAdr
Identifier/data type
Information/possible settings
bExecute
BOOL
FALSEÊTRUE Load default setting in I/O system
dwHandle
DWORD
• 9400 ServoPLC: Handle created by FB L_CanInit
• Drive PLC, 9300 Servo PLC, ECS: 10
byNodeAdr
BYTE
1 ... 127 CAN node address of the I/O system
Identifier/data type
Value/meaning
bDone
BOOL
TRUE Default setting has been loaded into the I/O system
dnState
DINT
Status
-1000 Error while executing the internal block for writing CAN indices
-1002 Wrong value at the dwHandle input
-1003 byNodeAdr input is not in valid range
-1006 Writing of a wrong CAN index
-1007 Timeout while writing a CAN index of the I/O system
-1100 Error while writing a parameter of the I/O system
-1101 Output buffer is full