CAL DRV_UPLD_Instance (S:=UPLOAD_SA1, R:=Reset, SA_ID:=SA1, MAX_REGS:=75, MFB:=MFB, REG_CNT=>TOTAL_REGS, DATA_BLK=>DataUp)
DRV_UPLD_Instance (S:=UPLOAD_SA1, R:=Reset, SA_ID:=SA1, MAX_REGS:=75, MFB:=MFB, REG_CNT=>TOTAL_REGS, DATA_BLK=>DataUp) ;
Parameter
|
Data Type
|
Meaning
|
---|---|---|
S
|
Rising input starts the upload from the drive.
|
|
R
|
BOOL
|
Resets block and prevents upload (It halts the upload at the end of the current step).
|
SA_ID
|
Axis ID for the SercosAxis to be uploaded.
|
|
MAX_REGS
|
Maximum number of registers that may be uploaded (Each IDN consumes 3 registers plus one for overhead. If absent or zero, a default maximum of 601 registers is used.).
|
Parameter
|
Data Type
|
Meaning
|
---|---|---|
MFB
|
Must be connected to the MMFStart block of 200 registers.
|
Parameter
|
Data Type
|
Meaning
|
---|---|---|
Q
|
BOOL
|
True when upload has completed (reset by R).
|
ERROR
|
INT
|
First error code that is generated during configuration.
|
REG_CNT
|
UDINT
|
Number of Registers actually used to hold uploaded data.
|
DATA_BLK
|
ARRAY [4 .. n] of UDINT
|
Array for storage of uploaded data (n must be ≥ number of IDNs uploaded * 3 + 1).
|