2 test settings, 1 mk_test_ohnemechanik, 2 mk_sps_dummy – Lenze ETC Motion Control User Manual

Page 192: Test settings, Mk_test_ohnemechanik, Mk_sps_dummy, Machine constants

Advertising
background image

Machine constants

Test settings
MK_TEST_OHNEMECHANIK

4

4.2
4.2.1

l

192

EDSTCXN EN 2.0

4.2

Test settings

The test settings are used for operating or testing the ETC without the
machine or to switch off specific parts of the functional range (PLC).

4.2.1

MK_TEST_OHNEMECHANIK

This machine constant is used for testing the control functions without
having to connect the machine. In the process, the control switches the
actual value encoder inputs to simulation operation. Correcting variables
are still output. If there are drives that are already connected, switch off the
servo amplifier. Otherwise, this may result in unwanted traversing
movements!

Value

Meaning

0

The drives and position measurement systems must be connected properly
(default).

1

To test MMI, PLC and DIN programs while the drives are disconnected.

4.2.2

MK_SPS_DUMMY

This machine constant switches the integrated PLC off or on.

Value

Meaning

0

The loaded PLC is executed automatically (default). If this MC is at 0 when the
control is started up and no PLC is loaded in Flash−PROM, an error message is
output.

1

All PLC enables required for the operation of the control are set. M functions do not
take effect and all inputs and outputs remain unused. The loaded PLC is not
executed. However, no error message is output if no PLC is loaded.

−1

The PLC is not executed and all enables are reset. Therefore, it is not possible to
start a program or to traverse axes. No error message is output if no PLC is loaded.

)

Note!

When transferring the MCs from an ETC−MMI via the
Dual−Port−RAM interface, the value −1 is always entered for this
MC in Flash−PROM. This is to prevent the PLC from starting to
soon when the control is restarted again. Nonetheless, the value
in RAM, which has been transferred from MMI, is kept.
After a PLC has been transferred via the programming interface
CodeSys, this MC is automatically set to 0 in RAM and the PLC is
started. The value in Flash−PROM remains unchanged.

Advertising