6.19. MUL(Multiply) Multiply
6.19. MUL(Multiply):Multiply
Symbol | |
Relay combination | |
Factor | sA: 1st relay (or Number) for the operation sB: 2nd relay (or Number) for the operation dst: Relay that will save the result |
Description | If Rung is activated, multiply the value of sA with the value of sB, then save it to dst. If overflow occurs on operation result, set SP8=1. |
Usage example | MUL(XB3,RB2,RW3): (RW3)=(XB3)x(RB2) MUL(XB3,RB2,RB2): (RB2)=(XB3)x(RB2) MUL(XB3,50,RW3): (RW3)=(XB3)x50 |