Technical FAQs

Ask a Question

How do I force a value of an analog output channel for a M340 PLC?

Goals and Symptoms

This document explains the procedure for forcing an analog output channel on a M340.

Causes and Fixes

The modification in the animation only writes the value once to the analog output and the logic overwrites the value every PLC scan. In order to force the value you need to follow the steps below.


1) Create an IODDT


2) Insert a WRITE_CDM Function Block and assign to the IODDT variable created in Step 1.


3) Launch the Animation Table and enter the IODDT created in Step 1.



4) Enter the Force value in CMD_FORCING_VALUE and set FORCING_ORDER to 1.


5) Feedback is provided if the analog channel is forced properly.

Was this helpful?
What can we do to improve the information ?