Math (output instruction)

MUL instruction

Writes A times B into the destination.

MUL(number, a, b, real)

Arguments

NameWhat it isAcceptsDefault
destinationWhat the instruction acts ona registerrequired
aValue Aa number or a tag0
bValue Ba number or a tag1
realFloating pointtrue or falsefalse

Arguments are positional and this table is generated from the simulator's own instruction registry, so it always matches what the engine accepts.

Related instructions

All ladder logic instructions