TwinCAT PLC Library Hydraulics - Version 1.4 — 4.5.14 MC_AxUtiWriteCoeDriveTerm_BkPlcMc (from V3.0)

PLCopen Motion Control ◦2: The register addressed through Select is read. Its contents are compared with RegData . If the contents are not larger, the write operation is aborted with Error and ErrorID :=16#FFFFFFFF. ◦3: The register addressed through Select is read. Its contents are compared with RegData . If the contents are not smaller, the write operation is aborted with Error and ErrorID :=16#FFFFFFFF. ◦4: The register addressed through Select is read. Its contents are compared with RegData . If the contents are not larger or equal, the write operation is aborted with Error and ErrorID :=16#FFFFFFFF. ◦5: The register addressed through Select is read.

Its contents are compared with RegData . If the contents are not smaller or equal, the write operation is aborted with Error and ErrorID :=16#FFFFFFFF. ◦10: The register addressed through Select is written with RegData . ◦Other values are currently ignored. Future versions of the library may support additional functions. An empty element should therefore always be identified with 0. A falling edge at Execute clears all the pending output signals. If Execute is set to FALSE while the writing process is still active, the process that had started continues unaffected. The signals at the end of the operation ( Done, CommandAborted, Error , ErrorID ) are issued for one cycle.

4.5.14 MC_AxUtiWriteCoeDriveTerm_BkPlcMc (from V3.0) The function block writes the contents of a register of the EL terminal, which is used as drive interface for the axis. VAR_INPUT Execute: BOOL; Pdata: POINTER TO BYTE:=0; ByteCount: BYTE:=0; Index: WORD:=0; Subindex: BYTE:=0; END_VAR VAR_OUTPUT Busy: BOOL; Done: BOOL; CommandAborted: BOOL; Error: BOOL; ErrorID: UDINT; END_VAR VAR_INOUT Axis: Axis_Ref_BkPlcMc; END_VAR Execute : The writing process is initiated by a rising edge at this input. Pdata : Here, the address of the variable should be specified, whose content is to be written into the terminal. ByteCount : Here, the size of the variable is specified in bytes. Index , Subindex :

Here, the addressing of parameter in the terminal is specified. Busy : Indicates that a command is being processed. Done : Indicates successful writing of the parameter. PLC Library Hydraulics 212 Version: 1.4