1 "automatic" status, 2 "mode1" status, 3 "mode2" status – Lenze PLC Designer ApplicationTemplate (PLC Designer R3-x) User Manual

Page 136: Automatic" status, Mode1" status, Mode2" status, Appendix

Advertising
background image

Appendix

The sample program in the ApplicationTemplateCounter

136

Lenze · ApplicationTemplate · 1.3 EN - 04/2013

_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

12.2.1.1

"Automatic" status

[12-2] Example: "Automatic" status of MM_Module1

If the "Automatic" status is active, the

SMDispatcher method calls the

S05_AUTOMATIC

action:

MM_Module1: "Incrementing by 50 units per second". The "tonParam.Q" timer in the

corresponding

MAP_Module1_App1 machine module is activated.

MM_Module2: "Incrementing by 20 units per second". The "ton20Hz" timer in the

corresponding

MAP_Module2_App1 machine module is activated.

12.2.1.2

"Mode1" status

[12-3] Example: Action S06_MODE1 of MM_Module1

If the "Mode1" status is active, the

SMDispatcher method calls the

S06_MODE1 action:

"Decrementing by 10 units per second“. The "ton10Hz" timer in the corresponding

MAP_Module1_App1 machine module is activated.

MM_Module2: The "ton10Hz“ timer in the corresponding

MAP_Module2_App1 machine

module is activated.

12.2.1.3

"Mode2" status

If "Mode2" is active, the

S07_MODE2 action calls "Decrementing by 5 units per second".

MM_Module2: The "ton5Hz“ timer in the corresponding

MAP_Module2_App1 machine

module is activated.

Advertising