Skip to main content

Example - Ladder Diagram

DFLT​


The DFLT instruction converts a binary DWORD value, S, into a REAL value and saves the conversion in an assigned REAL data register, D.

Ladder Diagram Example​


When the contact, M4.0, is powered ON (1), the value of the DWORD data register, D90, 123,456,789, is converted into float notation.
The value of the conversion, 123,456,789.000000, is saved in the REAL data register, D93.


Memory Monitor​

DFLTP​


The DFLTP one-shot instruction converts a binary DWORD value, S, into a REAL value and saves the conversion in an assigned REAL data register, D.
Every time this instruction executes, it energizes the output only once.

Ladder Diagram Example​


When the contact, M4.1, is powered ON (1), the value of the DWORD data register, D96, -563,125, is converted into float notation.
The value of the conversion, -563,125.000000, is saved in the REAL data register, D99.


Memory Monitor​