Mitsubishi Electronics QCPU Welding System User Manual


  Open as PDF
of 1204
 
A-6
5.2.3 Operation results inversion (INV) ............................................................................... 5 - 15
5.2.4 Operation result conversions (MEP,MEF) .................................................................. 5 - 17
5.2.5 Pulse conversions of edge relay operation results (EGP,EGF).................................. 5 - 18
5.3 Output Instructions 5 - 20
5.3.1 Out instruction (excluding timers, counters, and annunciators) (OUT)....................... 5 - 20
5.3.2 Timers (OUT T,OUTH T) ............................................................................................ 5 - 22
5.3.3 Counter (OUT C) ........................................................................................................ 5 - 26
5.3.4 Annunciator output (OUT F) ....................................................................................... 5 - 28
5.3.5 Setting devices (except for annunciators) (SET) ........................................................ 5 - 30
5.3.6 Resetting devices (except for annunciators) (RST).................................................... 5 - 32
5.3.7 Setting and resetting the annunciators (SET F,RST F) .............................................. 5 - 35
5.3.8 Leading edge and trailing edge outputs (PLS,PLF).................................................... 5 - 37
5.3.9 Bit device output reverse (FF) .................................................................................... 5 - 40
5.3.10 Pulse conversions of direct outputs (DELTA(P)) ........................................................ 5 - 42
5.4 Shift Instructions 5 - 44
5.4.1 Bit device shifts (SFT(P))............................................................................................ 5 - 44
5.5 Master Control Instructions 5 - 47
5.5.1 Setting and resetting the master control (MC,MCR)................................................... 5 - 47
5.6 Termination Instructions 5 - 51
5.6.1 End main routine program (FEND)............................................................................. 5 - 51
5.6.2 End sequence program (END) ................................................................................... 5 - 53
5.7 Other instructions 5 - 55
5.7.1 Sequence program stop (STOP) ................................................................................ 5 - 55
5.7.2 No operations (NOP,NOPLF,PAGE n) ....................................................................... 5 - 57
6. BASIC INSTRUCTIONS 6 - 1 to 6 - 168
6.1 Comparison Operation Instructions 6 - 2
6.1.1 BIN 16-bit data comparisons (=,<>,>,<=,<,>=)............................................................. 6 - 2
6.1.2 BIN 32-bit data comparisons (D=,D<>,D>,D<=,D<,D>=) ............................................. 6 - 4
6.1.3 Floating decimal point data comparisons (Single precision)
(E=,E<>,E>,E<=,E<,E>=)..................................................................................... 6 - 6
6.1.4 Floating decimal point data comparisons (Double precision)
(ED=,ED<>,ED>,ED<=,ED<,ED>=) ..................................................................... 6 - 8
6.1.5 Character string data comparisons ($=,$<>,$>,$<=,$<,$>=) ..................................... 6 - 11
6.1.6 BIN block data comparisons (BKCMP
,BKCMP P) ............................................ 6 - 15
6.1.7 BIN 32-bit block data comparisons (DBKCMP
,DBKCMP
P) ............................ 6 - 18
6.2 Arithmetic Operation Instructions 6 - 22
6.2.1 BIN 16-bit addition and subtraction operations (+(P),-(P)) ......................................... 6 - 22
6.2.2 BIN 32-bit addition and subtraction operations (D+(P),D-(P)) .................................... 6 - 26
6.2.3 BIN 16-bit multiplication and division operations (*(P),/(P))........................................ 6 - 30
6.2.4 BIN 32-bit multiplication and division operations (D*(P),D/(P)) .................................. 6 - 32
6.2.5 BCD 4-digit addition and subtraction operations (B+(P),B-(P)) .................................. 6 - 34
6.2.6 BCD 8-digit addition and subtraction operations (DB+(P),DB-(P)) ............................. 6 - 38
6.2.7 BCD 4-digit multiplication and division operations (B*(P),B/(P)) ................................ 6 - 42
6.2.8 BCD 8-digit multiplication and division operations (DB*(P),DB/(P)) ........................... 6 - 44
6.2.9 Addition and subtraction of floating decimal point data (Single precision)
(E+(P),E-(P)) ...................................................................................................... 6 - 46