Example - Ladder Diagram
DBINDA
The DBINDA instruction converts a DWORD value, S, from decimal notation into ASCII code. The conversion result is saved in 3 assigned DWORD data registers starting at the data register, D.
Ladder Diagram Example
When the contact, M0.5, is powered ON (1), the DBINDA instruction converts two binary data registers, D10, into ASCII code.
The result of the conversion is saved in six ASCII data registers, D13, D14, D15, D16, D17, and D18.
Memory Monitor
![]()
DBINDAP
The DBINDAP one-shot instruction converts a DWORD value, S, from decimal notation into ASCII code. The conversion result is saved in 3 assigned DWORD data registers starting at the data register, D.
Every time this instruction executes, it energizes the output only once.
Ladder Diagram Example
When the contact, M0.6, is powered ON (1), the DBINDAP instruction converts two binary data registers, D20, into ASCII code.
The result of the conversion is saved in six ASCII data registers, D23, D24, D25, D26, D27, and D28.
Memory Monitor
![]()