Skip to content
Scan CycleWiki
Open free sandbox
  1. Wiki
  2. Instructions
  3. Math

Math

10 instructions.

  • AddADDDest = A + B.
  • SubtractSUBDest = A − B.
  • MultiplyMULDest = A × B.
  • DivideDIVDest = A ÷ B.
  • ModuloMODDest = the remainder of A ÷ B.
  • NegateNEGDest = Source with its sign flipped.
  • Absolute valueABSDest = Source without its sign.
  • Square rootSQRTDest = the square root of Source.
  • ClearCLRSets Dest to 0.
  • ComputeCPTDest = the result of an expression, like (A − B) / 2.
Wiki home
  • Getting started4
  • PLC basics5
  • Instructions12
    • Bit / Logic7
    • Word Logic4
    • Timer / Counter6
    • Compare8
    • Math10
      • AddADD
      • SubtractSUB
      • MultiplyMUL
      • DivideDIV
      • ModuloMOD
      • NegateNEG
      • Absolute valueABS
      • Square rootSQRT
      • ClearCLR
      • ComputeCPT
    • Conversion / Scaling3
    • Data / Move31
    • Data Transfer4
    • Program Control10
    • Process1
    • Data Exchange3
    • Algorithms3
  • Programming Techniques15
  • Best practices7
  • Links8
  • Arena1
  • Sequential Function Chart5
  • Function Block Diagram7
  • Structured Text7
  • Glossary20
Scan Cycle
Theme

Product

  • Learn
  • FORGE
  • Pricing
  • Open FORGE
  • Wiki
  • Help and support

For

  • Educational Institutions
  • Employers
  • Arena

Legal

  • Terms
  • Privacy
  • Student privacy
© 2026 Scan Cycle LLC. Patent pending.Free editor, simulator and local saving. No account required.