Function block l_smc_fastoutput, L-force | plc designer – Lenze PLC Designer PLC Designer (R3-1) User Manual

Page 44

Advertising
background image

L-force | PLC Designer

Lenze Specific Functions

42

DMS 4.1 EN 03/2011 TD29

Error messages
The following error messages have been stored:

Error number [hex]

Description

0x0001

Error in assignment of task to the block:
Input data do not match activated TP task assignment on this channel. If no
task is active on the TP channel, an error message is not generated.

Function block L_SMC_FastOutput
Function library: L_SM3_DriveUtil.lib
This function block calculates the time (latch of the internal µs−ticker) for setting the
outputs of the EPM-S310 I/O compound module from a position defined by the
fSwitchPosition input. Since the position is transferred in SoftMotion units, the
reference transferred is an AxisRef.
Please observe:
• The function block L_SMC_FastOutput does not compensate the propagation times

of the axis positions on the respective fieldbus. The compensation can, however, be
specified manually via the input wExternalDelayKompensationD0/D1.

• Encoders connected to a counter I/O compound module (EMP-S600 to EPM-S604)

are compensated automatically. The counter modules are also provided with the
time stamp functionality. The time stamps are transferred to the control together
with the position values.

• To ensure that the output is set very precisely depending on the position, we

recommend to implement the position measurement via an encoder connected to
a counter I/O compound module.

• How to connect a counter I/O compound module as a SoftMotion axis is explained

in the description for the function block L_SMC_FreeEncoder.

Please observe: If several switching operations are to be carried out in succession, the
respective commands must have the same order as the switching operations.
Example: FreeEncoder axis rotates in positive direction, i.e. the position values
increase.

1.

Switching operation at 60 degrees

2.

Switching operation at 90 degrees

3.

Switching operation at 120 degrees

The order of the commands to be executed must be: "1

st

switching operation", "2

nd

switching operation", and "3

rd

switching operation".

Advertising