
3.3 L_8200DataControl − Send/receive process data
Function library Lenze8200Drive.lib
Functions/function blocks
3−10
L
Lenze8200Drive.lib EN 1.0
3.3 L_8200DataControl − Send/receive process data
Function block
This FB is used to exchange process data with the frequency inverter.
· The FB internally uses a free CAN send and receive object. It is therefore possible to transmit
and receive 8 bytes of user data.
Note!
For the provision of free CAN send and receive objects, function library LenzeCanDrv.lib must be
integrated in the project.
· For data exchange via the free CAN objects the driver for the free CAN objects must be
initialised in a program (e. g. "PLC_ColdStart").
The FB L_8200DataControl must be called in a task−controlled program.
L_8200DataControl
wControlData
nNSetN1_a
tCycleTime
bResetFail
tTimeOut
bEnable
bResetNode
byNodeAddr
CTRL
nStateDataTo82
nStateDataFrom82
L
8200
Node address = byNodeAddr
System bus (CAN)
wBoostVoltage
wInputData
1+2
data bytes:
3+4
5+6
7+8
1+2
3+4
5+6
7+8
bFail_DataTo82
bFailDataFrom82
wStatusData
nMCtrl_Nout_Slip
wOutputData3
wOutputData4
CAN2_OUT CAN2_IN
FB call in: o Cyclic task
(PLC_PRG)
þ Time−controlled task
(INTERVAL)
o Event−controlled task
(EVENT)
o Interrupt task
Inputs Data type Information/possible settings
bEnable Bool Start process data transfer
FALSE ä TRUE Start process data transfer.
bResetNode Bool Carry out a Reset−Node in the frequency inverter.
· After a Reset−Node, the frequency inverter accepts the parameter settings which are relevant for
communication and changes to "Operational".
· The Reset−Node is only carried out in the frequency inverter with device address byNodeAddr.
FALSE ä TRUE Carry out Reset−Node.
byNodeAddr Byte Device address (1 ... 63) of the frequency inverter with which process data are to be exchanged.
tCycleTime Time Cycle time for sending the process data to the frequency inverter.
tTimeOut Time Monitoring time (time−out) for receiving the process data from the frequency inverter.
bResetFail Bool Reset message signals for error messages
FALSE ä TRUE The message signals bFail_DataTo82 and bFail_DataFrom82 are reset.
Komentáře k této Příručce