Lenze PLC Designer PLC Designer (R3-1) Uživatelský manuál Strana 26

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 117
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 25
L-force | PLC Designer
Lenze Specific Functions
24 DMS 4.1 EN 03/2011 TD29
2.1.2 Library: PLCDataManagerAccess.lib
Function block L_SMC_ParameterAccess_FB
Function library: PLCDataManagerAccess.lib
With the function block L_SMC_ParameterAccess_FB, the device parameters of the L-
force controller can be read and written by the PLC.
Note: The PLC block L_SMC_ParameterAccess_FB does not support any codes that
contain float/double parameters (e.g. supply voltage C00205 or rechargeable-
battery voltage C00207).
If this block is nevertheless used on such codes, the error number 532 ("error if the
format from the code number is not BYTE, WORD, DWORD or BSTR") is indicated.
Inputs
Designator / Data type Info / Setting options
xExecute / BOOL Rising edge starts access
eDirection / L_DMTDIR Access direction
L_DM_READ - Read
L_DM_WRITE - Write
sNodeAddr / STRING(255) Topology address
'/' - Access to parameters of the L-force controller
wCode / WORD Code of the parameter (Lenze)
In this case, wIndex must have been set to 0
wIndex / WORD Index of the parameter (CANopen)
In this case, wCode must have been set to 0
bySubIndex / BYTE Subindex/subcode of the parameter
eDataType / L_DMTVT Indication of the type of parameter to be written
{L_DM_VT_EMPTY, LDM_VT_I4, ...}
Zobrazit stránku 25
1 2 ... 21 22 23 24 25 26 27 28 29 30 31 ... 116 117

Komentáře k této Příručce

Žádné komentáře