Specific codes can be written only when PLC is stopped

Question:
Why can parameters not be written although the controller is inhibited?

Answer:
This behaviour may occur with PLC devices. Some codes of these devices (e. g. 9300 SPLC and ECS) are defined in such a way that the PLC has to be stopped before writing can be executed.

Example for ECS: Code C0002 cannot be written.
Procedure:

1. Set C2108 = 2 (PLC stop)
2. Write C0002
3. Set C2108 = 1 (PLC start)
In case of ECS, SPLC and DPLC code C0002 is affected only. In case of the ECS code C0006 is affected, too.

As of operating system version 6.x all three device variants offer the possibility to configure the user codes in such a way that they can only be written if 'PLC stop# is set. However, by default this function is deactivated.

Function block L_ParWrite returns the value '7' as error code.

URL for linking this AKB article: https://www.lenze.com/en-de/go/akb/200411419/1/
Contact form