Instruction List - Type

Contact

Instruction

Type of Input

Note

LD

LD (S)

Takes ON/OFF Data For a Contact Of One Circuit AS Operation Result.

LDI

LDI (S)

Takes ON/OFF Data For b Contact Of One Circuit As Operation Result.

LDP

LDP (S)

If Input Condition Is ON From OFF, Sets For One Scan.

LDF

LDF (S)

If Input Condition Is OFF From ON, Sets For One Scan.

AND

AND (S)

AND-Operates Contact a Of The Assigned Contact And Connected Contants In Series, And Takes The Result As Operation Result.

ANDI

ANDI (S)

AND-Operates Contact b Of The assigned Contact And The Connected Contact In Series, Takes The Result As Operation Result.

ANDF

ANDF (S)

If Input Condition To Contact To Detect Connection In Series Is Off From On, Device S Is Set For One Scan.

ANDP

ANDP (S)

If Input Condition To Contact To Detect Connection In Series Is On From Off, Device S Is Set For One Scan.

OR

OR (S)

OR-Operates a Contact Of The Assigned Contact And The Connected Contact In Parallel And Takes The Result As Operation Result.

ORI

ORI (S)

OR-Operates b Contact Of the Assigned Contact And The Connected Contact In Parallel, And Takes The Result As Operation Result.

ORP

ORP (S)

If Input Condition Of Connection In Parallel Contact Is OFF From ON, Sets For One Scan.

ORF

ORF (S)

If Input Condition Of Connection In Parallel Contact Is OFF From ON, Sets For One Scan.

INV

INV

Inverts The Left Circuit, A Contact Circuit To B Contact Circuit And B Contact Circuit To A Contact Circuit.

 

 

Connection

Instruction

Type of Input

Note

ANB

ANB

AND-Operates Blocks And Takes The Result As Operation Result.

ORB

ORB

OR-Operates Blocks And Takes The result As Operation Result.

MPS

MPS

It IS Used To Branch At First. Stores Operation Result In Memory.

MRD

MRD

It Is Used To Relay Branching. Reads The Stored State From Memory And Operates The Result.

MPP

MPP

It Is Used to End Branching. Reads The Stored State From Memory And Operates The Result.

 

 

Output

Instruction

Type of Input

Note

OUT

OUT (D)

Outputs Operation Result To The Assigned Contact.

SET

SET (D)

If Input Condition Is ON, Keeps Output Contact In ON State. Though The Input Is OFF, Keeps Setting Output.

PLS

PLS (D)

If INput Condition IS ON From OFF, Sets The Assigned Contact For One Scan. Otherwise, Resets.

PLF

PLF (D)

If Input Condition Is OFF From ON, Sets The Assigned Contact For One Scan. Otherwise, Resets.

 

 

Master Control

Instruction

Type of Input

Note

MC

MC (n)

If Input Of MC Is ON, Operates Up To Same MCR. If Input Conditon Is OFF, Does Not Operates.

MCR

MCR (n)

If Input Of MC Is ON, Operates Up To Same MCR. If Input Conditon Is OFF, Does Not Operates.

 

 

Jump

Instruction

Type of Input

Note

JME

JME (n)

If Input Of JMP n Instruction Is On, Jumps Next To JME n And Does Not Process All The Instructions Up To JME n.

JMP

JMP (n)

If Input Of JMP n Instruction Is On, Jumps Next To JME n And Does Not Process All The Instructions Up To JME n.

JMPP

JMPP (n)

If JMPP n Instruction Input Is On, Jumps Next To JME n And Does Not Process All The Instructions Up To JME n.

 

 

Call

Instruction

Type of Input

Note

CALL

CALL (n)

If Input Condition Is ON While Processing Program, Processes The Program Between The SBRT n To The RET According To The CALL n.

CALLP

CALLP (n)

If Input Condition Is ON While Processing Program, Processes The Program Between The SBRT n To The RET According To The CALL n.

ECALL

ECALL (Progam ID) (n)

Calls Sub-Routine From Other Program File. (Pn-Point Number Of Sub-Routine)

ECALLP

ECALLP (Program ID) (n)

Calls Sub-Routine From Other Program File. (Pn-Point Number Of Sub-Routine)

SBRT

SBRT (n)

If Input Condition Is ON While Running Program, Runs The Program Between SBRT n And RET Accoding To CALL n.

RET

RET

If Input Condition Is ON While Running Program, Runs The Program Between SBRT n And RET Accoding To CALL n.

 

 

Interrupt

Instruction

Type of Input

Note

EI

EI (n)

Operates Time Driven Interrrupt Assigned To n.

DI

DI (n)

Stops Operating Time Driven Interrupt Assigned To n.

GEI

GEI

Operates Time Driven Interrrupt In Entire Program.

GDI

GDI

Stops Operating Time Driven Interrrupt In Entire Program.

IRET

IRET

Shows THe End OF Interrupt Program.

 

 

Loop

Instruction

Type of Input

Note

FOR

FOR (n)

Runs The Step Next To NEXT Instruction After Has Processed Between FOR And NEXT At n Times.

NEXT

NEXT

Runs The Step Next To NEXT Instruction After Has Processed Between FOR And NEXT At n Times.

BREAK

BREAK

Comes Out From The FOR ~ NEXT Instruction.

BREAKP

BREAKP

Comes Out From The FOR ~ NEXT Instruction.

 

 

END

Instruction

Type of Input

Note

END

END

It Is The Instruction To Inform Ending Main Routine Program. In Case Jump Instruction Prior To It Is Operated, It Is Not Operated.

CEND

CEND

If input condition is turned on, ends main routine program.

CENDP

CENDP

If input condition is turned on, ends main routine program.

PEND

PEND

It Means End Of Program And Is Put On The Last Part.

STOP

STOP

To Stop Operation At The Time When Users Want, Converts To Program Mode After Finishing The Scan In Progress.

INITEND

INITEND

Ends Initialization Program ANd Runs Scan Program.

 

 

Compare

Instruction

Type of Input

Note

LD<

LD< (S1) (S2)

If Data In S1 Is Less Than Data In S2, Sets Result Of The Current Operation.

LD<=

LD<= (S1) (S2)

If Data In S1 Is Less Than Or Equal To Data In S2, Sets Result Of The Current Operation.

LD<>

LD<> (S1) (S2)

If Data In S1 Is Not Equal To Data In S2, Sets Result Of The Current Operation.

LD=

LD= (S1) (S2)

If Data In S1 Is Equal To Data In S2, Sets Result Of The Current Operation.

LD>

LD> (S1) (S2)

If Data In S1 Is Greater Than Data In S2, Sets Result Of The Current Operation.

LD>=

LD>= (S1) (S2)

If Data In S1 Is Greater Than Or Equal To Data In S2, Sets Result Of The Current Operation.

AND<

AND< (S1) (S2)

If Data S1 Is Less Than Data S2, ON. If Greater Than Or Equal To, OFF. AND-Operates The Result And Result Of The Current Operation.

AND<=

AND<= (S1) (S2)

If Data S1 Is Less Than Or Equal To Data S2, ON. If Greater Than, OFF. AND-Operates The Result And Result Of The Current Operation.

AND<>

AND<> (S1) (S2)

If Data S1 And Data S2 Are Not Equal, ON. If Equal, OFF. AND-Operates The Result And Result Of The Current Operation.

AND=

AND= (S1) (S2)

If Data S1 And Data S2 Are Equal, ON. If TNot Equal, OFF. AND-Operates The Result And Result Of The Current Operation.

AND>

AND> (S1) (S2)

If Data S1 Is Greater Than Data S2, ON. If Less Than Or Equal To, OFF. AND-Operates The Result And Result Of The Current Operation.

AND>=

AND>= (S1) (S2)

If Data S1 Is Greater Than Or Equal To Data S2, ON. If Less Than, OFF. AND-Operates The Result And Result Of The Current Operation.

OR<

OR< (S1) (S2)

If Data In S1 Is Less Than Data In S2, Sets.If Greater Than Or Equal To, Resets. OR-Operates The Result And Result Of The Current Operation.

OR<=

OR<= (S1) (S2)

If Data In S1 Is Less Than Or Equal To Data In S2, Sets. If Greater Than, Resets. OR-Operates The Result And Result Of The Current Operation.

OR<>

OR<> (S1) (S2)

If Data In S1 Is Not Equal To Data In S2, Sets. If Equal To, Off. OR-Operates The Result And Result Of The Current Operation.

OR=

OR= (S1) (S2)

If Data In S1 Is Equal To Data In S2, Sets. If Not Equal To, Resets. OR-Operates The Result And Result Of The Current Operation.

OR>

OR> (S1) (S2)

If Data In S1 Is Greater than Data In S2, Sets. If Less than Or Equal To, Resets. OR-Operates The Result And Result Of The Current Operation.

OR>=

OR>= (S1) (S2)

If Data InS1 Is Greater Than Or Equal To Data In S2, Sets. If Less Than, Resets. OR-Operates The Result And Result Of The Current Operation.

UCMP

UCMP (S1) (S2)

 

 

 

Compare (DWORD)

Instruction

Type of Input

Note

LDD<

LDD< (S1) (S2)

If Data In S1 Is Less Than Data In S2, Sets Result Of The Current Operation.

LDD<=

LDD<= (S1) (S2)

If Data In S1 Is Less Than Or Equal To Data In S2, Sets Result Of The Current Operation.

LDD<>

LDD<> (S1) (S2)

If Data In S1 Is Not Equal To Data In S2, Sets Result Of The Current Operation.

LDD=

LDD= (S1) (S2)

If Data In S1 Is Equal To Data In S2, Sets Result Of The Current Operation.

LDD>

LDD> (S1) (S2)

If Data In S1 Is Greater Than Data In S2, Sets Result Of The Current Operation.

LDD>=

LDD>= (S1) (S2)

If Data In S1 Is Greater Than Or Equal To Data In S2, Sets Result Of The Current Operation.

ANDD<

ANDD< (S1) (S2)

If Double-Word Data S1 Is Less Than Double-Word Data S2, ON. If Greater Than Or Equal To, OFF. AND-Operates The Result And Result Of The Current Operation.

ANDD<=

ANDD<= (S1) (S2)

ANDD<= (S1) (S2)" , "If Double-Word Data S1 Is Less Than Or Equal To Double-Word Data S2, On. If Greater Than, OFF. AND-Operates The Result And Result Of The Current Operation.

ANDD<>

ANDD<> (S1) (S2)

ANDD<> (S1) (S2)" , "If Double-Word Data S1 Is Not Equal To Double-Word Data S2, ON. If Equal To, OFF. AND-Operates The Result And Result Of The Current Operation.

ANDD=

ANDD= (S1) (S2)

ANDD= (S1) (S2)" , "If Double-Word Data S1 Is Equal To Double- Word Data S2, ON. If Not Equal to, OFF.AND-Operates The Result And Result Of The Current Operation.

ANDD>

ANDD> (S1) (S2)

ANDD> (S1) (S2)" , "If Double-Word Data S1 Is Greater Than Double-Word Data S2, ON. If Less Than, OFF. AND-Operates The Result And Result Of The Current Operation.

ANDD>=

ANDD>= (S1) (S2)

ANDD>= (S1) (S2)" , "If Double-Word Data S1 Is Greater Than Or Equal To Double-Word Data S2, ON. If Less Than, OFF. AND-Operates The Result And Result Of The Current Operation.

ORD<

ORD< (S1) (S2)

If Data In S1 Is Less Than Data In S2, Sets. If Greater Than Or Equal To, Off. OR-Operates The Result And Result Of The Current Operation.

ORD<=

ORD<= (S1) (S2)

If Data In S1 Is Less Than Or Equal To Data In S2, Sets. If Greater Than, Resets. OR-Operates The Result And Result Of The Current Operation.

ORD<>

ORD<> (S1) (S2)

If Data In S1 Is Not Equal To Data In S2, Sets. If Equal To, resets. OR-Operates The Result And Result Of The Current Operation.

ORD=

ORD= (S1) (S2)

If Data In S1 Is Equal To Data In S2, Sets. If Not Equal To, Resets. OR-Operates The Result And Result Of The Current Operation.

ORD>

ORD> (S1) (S2)

If Data In S1 Is Greater Than Data In S2, Sets. If Less Than Or Equal To, Resets. OR-Operates The Result And Result Of The Current Operation.

ORD>=

ORD>= (S1) (S2)

If Data In S1 Is Greater Than Or Equal To Data In S2, Sets. If Less Than, Resets. OR-Operates The Result And Result Of The Current Operation.

 

 

Compare (Block)

Instruction

Type of Input

Note

BK=

BK= (S1) (S2) (D) (B) (n)

Compare [n] of 16 bit data from the device designated by [S1] with [n] of 16 bit data from the device designated by [S2] and stores the results from bit [n] of the device designated by [D].

Compare 16 bit data with [n] of 16 bit data from the device designated by [S2] and stores the results from bit [n] of the device designated by [D].

BK=P

BK=P (S1) (S2) (D) (B) (n)

Compare [n] of 16 bit data from the device designated by [S1] with [n] of 16 bit data from the device designated by [S2] and stores the results from bit [n] of the device designated by [D].

Compare 16 bit data with [n] of 16 bit data from the device designated by [S2] and stores the results from bit [n] of the device designated by [D].

BK<>

BK<> (S1) (S2) (D) (B) (n)

Compare [n] of 16 bit data from the device designated by [S1] with [n] of 16 bit data from the device designated by [S2] and stores the results from bit [n] of the device designated by [D].

Compare 16 bit data with [n] of 16 bit data from the device designated by [S2] and stores the results from bit [n] of the device designated by [D].

BK<>P

BK<>P (S1) (S2) (D) (B) (n)

Compare [n] of 16 bit data from the device designated by [S1] with [n] of 16 bit data from the device designated by [S2] and stores the results from bit [n] of the device designated by [D].

Compare 16 bit data with [n] of 16 bit data from the device designated by [S2] and stores the results from bit [n] of the device designated by [D].

BK<

BK< (S1) (S2) (D) (B) (n)

Compare [n] of 16 bit data from the device designated by [S1] with [n] of 16 bit data from the device designated by [S2] and stores the results from bit [n] of the device designated by [D].

Compare 16 bit data with [n] of 16 bit data from the device designated by [S2] and stores the results from bit [n] of the device designated by [D].

BK<P

BK<P (S1) (S2) (D) (B) (n)

Compare [n] of 16 bit data from the device designated by [S1] with [n] of 16 bit data from the device designated by [S2] and stores the results from bit [n] of the device designated by [D].

Compare 16 bit data with [n] of 16 bit data from the device designated by [S2] and stores the results from bit [n] of the device designated by [D].

BK<=

BK<= (S1) (S2) (D) (B) (n)

Compare [n] of 16 bit data from the device designated by [S1] with [n] of 16 bit data from the device designated by [S2] and stores the results from bit [n] of the device designated by [D].

Compare 16 bit data with [n] of 16 bit data from the device designated by [S2] and stores the results from bit [n] of the device designated by [D].

BK<=P

BK<=P (S1) (S2) (D) (B) (n)

Compare [n] of 16 bit data from the device designated by [S1] with [n] of 16 bit data from the device designated by [S2] and stores the results from bit [n] of the device designated by [D].

Compare 16 bit data with [n] of 16 bit data from the device designated by [S2] and stores the results from bit [n] of the device designated by [D].

BK>

BK> (S1) (S2) (D) (B) (n)

Compare [n] of 16 bit data from the device designated by [S1] with [n] of 16 bit data from the device designated by [S2] and stores the results from bit [n] of the device designated by [D].

Compare 16 bit data with [n] of 16 bit data from the device designated by [S2] and stores the results from bit [n] of the device designated by [D].

BK>P

BK>P (S1) (S2) (D) (B) (n)

Compare [n] of 16 bit data from the device designated by [S1] with [n] of 16 bit data from the device designated by [S2] and stores the results from bit [n] of the device designated by [D].

Compare 16 bit data with [n] of 16 bit data from the device designated by [S2] and stores the results from bit [n] of the device designated by [D].

BK>=

BK>= (S1) (S2) (D) (B) (n)

Compare [n] of 16 bit data from the device designated by [S1] with [n] of 16 bit data from the device designated by [S2] and stores the results from bit [n] of the device designated by [D].

Compare 16 bit data with [n] of 16 bit data from the device designated by [S2] and stores the results from bit [n] of the device designated by [D].

BK>=P

BK>=P (S1) (S2) (D) (B) (n)

Compare [n] of 16 bit data from the device designated by [S1] with [n] of 16 bit data from the device designated by [S2] and stores the results from bit [n] of the device designated by [D].

Compare 16 bit data with [n] of 16 bit data from the device designated by [S2] and stores the results from bit [n] of the device designated by [D].

 

 

Compare (Floating decimal point)

 

Instruction

Type of Input

Note

LDE<

LDD< (S1) (S2)

If Float Data In S1 Is Less Than Float Data In S2, Sets Result Of The Current Operation.

LDE<=

LDD<= (S1) (S2)

If Float Data In S1 Is Less Than Or Equal To Float Data In S2, Sets Result Of The Current Operation.

LDE<>

LDD<> (S1) (S2)

If Float Data In S1 Is Not Equal To Float Data In S2, Sets Result Of The Current Operation.

LDE=

LDD= (S1) (S2)

If Float Data In S1 Is Equal To Float Data In S2, Sets Result Of The Current Operation.

LDE>

LDD> (S1) (S2)

If Float Data In S1 Is Greater Than Float Data In S2, Sets Result Of The Current Operation.

LDE>=

LDD>= (S1) (S2)

If Float Data In S1 Is Greater Than Or Equal To Float Data In S2, Sets Result Of The Current Operation.

ANDE<

ANDD< (S1) (S2)

If Float Data In S1 Is Less Than Float Data In S2, Sets Result Of The Current Operation.

ANDE<=

ANDD<= (S1) (S2)

If Float Data In S1 Is Less Than Or Equal To Float Data In S2, Sets Result Of The Current Operation.

ANDE<>

ANDD<> (S1) (S2)

If Float Data In S1 Is Not Equal To Float Data In S2, Sets Result Of The Current Operation.

ANDE=

ANDD= (S1) (S2)

If Float Data In S1 Is Equal To Float Data In S2, Sets Result Of The Current Operation.

ANDE>

ANDD> (S1) (S2)

If Float Data In S1 Is Greater Than Float Data In S2, Sets Result Of The Current Operation.

ANDE>=

ANDD>= (S1) (S2)

If Float Data In S1 Is Greater Than Or Equal To Float Data In S2, Sets Result Of The Current Operation.

ORE<

ORD< (S1) (S2)

If Float Data In S1 Is Less Than Float Data In S2, Sets Result Of The Current Operation.

ORE<=

ORD<= (S1) (S2)

f Float Data In S1 Is Less Than Or Equal To Float Data In S2, Sets Result Of The Current Operation.

ORE<>

ORD<> (S1) (S2)

If Float Data In S1 Is Not Equal To Float Data In S2, Sets Result Of The Current Operation.

ORE=

ORD= (S1) (S2)

If Float Data In S1 Is Equal To Float Data In S2, Sets Result Of The Current Operation.

ORE>

ORD> (S1) (S2)

If Float Data In S1 Is Greater Than Float Data In S2, Sets Result Of The Current Operation.

ORE>=

ORD>= (S1) (S2)

If Float Data In S1 Is Greater Than Or Equal To Float Data In S2, Sets Result Of The Current Operation.

 

 

Arithmetic

Instruction

Type of Input

Note

ADD

ADD (S1) (S2) (D)

Adds Data S1 To Data S2, And Stores The Result In Device D.

ADDP

ADDP (S1) (S2) (D)

Adds Data S1 To Data S2, And Stores The Result In Device D.

SUB

SUB (S1) (S2) (D)

Subtracts Data In S2 From Data In S1 And Stores The Result In Device D.

SUBP

SUBP (S1) (S2) (D)

Subtracts Data In S2 From Data In S1 And Stores The Result In Device D.

MUL

MUL (S1) (S2) (D)

Multiplies Data In S1 By Data In S2 And Stores The Result In D.

MULP

MULP (S1) (S2) (D)

Multiplies Data In S1 By Data In S2 And Stores The Result In D.

DIV

DIV (S1) (S2) (D)

Divides Data In S1 By Data In S2 And Stores The Resutl In Device D.

DIVP

DIVP (S1) (S2) (D)

Divides Data In S1 By Data In S2 And Stores The Resutl In Device D.

WMUL

WMUL (S1) (S2) (D)

Multiplies BIN 32-bit data designated by S1, S1+1 and BIN 32-bit data designated by S2, S2+1 and stores the result in the device designated by D, D+1.

WMULP

WMULP (S1) (S2) (D)

Multiplies BIN 32-bit data designated by S1, S1+1 and BIN 32-bit data designated by S2, S2+1 and stores the result in the device designated by D, D+1.

WDIV

WDIV (S1) (S2) (D)

This is used to divide the double data in the device assigned to S1, S1+1 by the DOUBLE data in the device assigned to S2, S2+1 storing the quotient of the result in the device assigned to D

WDIVP

WDIVP (S1) (S2) (D)

This is used to divide the double data in the device assigned to S1, S1+1 by the DOUBLE data in the device assigned to S2, S2+1 storing the quotient of the result in the device assigned to D

WSUM

WSUM (S) (D) (n)

Summed up all 16bit binary data for n words from the device designated at S, and stored it in the device designated at D

WSUMP

WSUMP (S) (D) (n)

Summed up all 16bit binary data for n words from the device designated at S, and stored it in the device designated at D

 

 

Arithmetic (DWORD)

Instruction

Type of Input

Note

DADD

DADD (S1) (S2) (D)

Adds Double- Word Data In S2 To Double-Word Data In S1 And Stores The Result In Device D.

DADDP

DADDP (S1) (S2) (D)

Adds Double- Word Data In S2 To Double-Word Data In S1 And Stores The Result In Device D.

DSUB

DSUB (S1) (S2) (D)

Subtract Double- Word Data In S2 From Double-Word Data In S1 And Stores The result In D.

DSUBP

DSUBP (S1) (S2) (D)

Subtract Double- Word Data In S2 From Double-Word Data In S1 And Stores The result In D.

DMUL

DMUL (S1) (S2) (D)

Multiplies Double-Word Data In S1 By Double-Word Data In S2 And Stores The Result In D.

DMULP

DMULP (S1) (S2) (D)

Multiplies Double-Word Data In S1 By Double-Word Data In S2 And Stores The Result In D.

DDIV

DDIV (S1) (S2) (D)

Divides Double-Word Data In S1 By Double-Word Data In S2 And Stores The Result In Device D.

DDIVP

DDIVP (S1) (S2) (D)

Divides Double-Word Data In S1 By Double-Word Data In S2 And Stores The Result In Device D.

DWMUL

WMUL (S1) (S2) (D)

Multiplies BIN 32-bit data designated by S1, S1+1 and BIN 32-bit data designated by S2, S2+1 and stores the result in the device designated by D, D+1.

DWMULP

WMULP (S1) (S2) (D)

Multiplies BIN 32-bit data designated by S1, S1+1 and BIN 32-bit data designated by S2, S2+1 and stores the result in the device designated by D, D+1.

DWDIV

WDIV (S1) (S2) (D)

This is used to divide the double data in the device assigned to S1, S1+1 by the DOUBLE data in the device assigned to S2, S2+1 storing the quotient of the result in the device assigned to D

DWDIVP

WDIVP (S1) (S2) (D)

This is used to divide the double data in the device assigned to S1, S1+1 by the DOUBLE data in the device assigned to S2, S2+1 storing the quotient of the result in the device assigned to D

 

 

Arithmetic (BCD)

Instruction

Type of Input

Note

BADD

BADD (S1) (S2) (D)

Adds 4 Digits BCD Data In S1 To 4 Digits BCD Data In S2, And Stores The Result In Device D.

BADDP

BADDP (S1) (S2) (D)

Adds 4 Digits BCD Data In S1 To 4 Digits BCD Data In S2, And Stores The Result In Device D.

BSUB

BSUB (S1) (S2) (D)

Subtracts 4 Digits BCD Data In S2 From 4 Digits BCD Data In S1 And Stores The Result In Device D.

BSUBP

BSUBP (S1) (S2) (D)

Subtracts 4 Digits BCD Data In S2 From 4 Digits BCD Data In S1 And Stores The Result In Device D.

BMUL

BMUL (S1) (S2) (D)

Mutiplies 4 Digits BCD Data In S1 By 4 Digits BCD Data In S2.

BMULP

BMULP (S1) (S2) (D)

Mutiplies 4 Digits BCD Data In S1 By 4 Digits BCD Data In S2.

BDIV

BDIV (S1) (S2) (D)

Divides 4 Digits BCD Data In S1 By 4 Digits BCD Data In S2 And Stores The Result In Device D.

BDIVP

BDIVP (S1) (S2) (D)

Divides 4 Digits BCD Data In S1 By 4 Digits BCD Data In S2 And Stores The Result In Device D.

 

 

Arithmetic (BCD, DWORD)

Instruction

Type of Input

Note

DBADD

DBADD (S1) (S2) (D)

Adds 4 Digits BCD Double-Word Data In S2 To 4 Digits BCD Double-Word Data In S1 And Stores The Result In Device D.

DBADDP

DBADDP (S1) (S2) (D)

Adds 4 Digits BCD Double-Word Data In S2 To 4 Digits BCD Double-Word Data In S1 And Stores The Result In Device D.

DBSUB

DBSUB (S1) (S2) (D)

Subtracts 8 Digits BCD Data In S2 From 8 Digits BCD Data In S1.

DBSUBP

DBSUBP (S1) (S2) (D)

Subtracts 8 Digits BCD Data In S2 From 8 Digits BCD Data In S1.

DBMUL

DBMUL (S1) (S2) (D)

Multiplies 8 Digits BCD Data In S1 By 8 Digits BCD Data In S2.

DBMULP

DBMULP (S1) (S2) (D)

Multiplies 8 Digits BCD Data In S1 By 8 Digits BCD Data In S2.

DBDIV

DBDIV (S1) (S2) (D)

Divides 8 Digits BCD Data In S1 By 8 Digits BCD Data And Stores The Result In Device D.

DBDIVP

DBDIVP (S1) (S2) (D)

Divides 8 Digits BCD Data In S1 By 8 Digits BCD Data And Stores The Result In Device D.

 

 

Arithmetic (Floating decimal point, XP)

Instruction

Type of Input

Note

EADD

EADD (S1) (S2) (D)

This is used to add the floating-point data in the device assigned to S1 to the floating-point data in the device assigned to S2, storing the result in the device assigned D.

EADDP

EADDP (S1) (S2) (D)

This is used to add the floating-point data in the device assigned to S1 to the floating-point data in the device assigned to S2, storing the result in the device assigned D.

ESUB

ESUB (S1) (S2) (D)

This is used to subtract the Floating-point data in the device assigned to S2 from the Floating-point data in the device assigned to S1, storing the result in the device assigned to D.

ESUBP

ESUBP (S1) (S2) (D)

This is used to subtract the Floating-point data in the device assigned to S2 from the Floating-point data in the device assigned to S1, storing the result in the device assigned to D.

EMUL

EMUL (S1) (S2) (D)

This is used to multiply the Floating-point data assigned to S1 by the Floating-point data in the device assigned to S2, storing the result in the device assigned to D.

EMULP

EMULP (S1) (S2) (D)

This is used to multiply the Floating-point data assigned to S1 by the Floating-point data in the device assigned to S2, storing the result in the device assigned to D.

EDIV

EDIV (S1) (S2) (D)

This is used to divide the floating-point data in the device assigned to S1 to the floating-point data in the device assigned to S2, storing the result in the device assigned D.

EDIVP

EDIVP (S1) (S2) (D)

This is used to divide the floating-point data in the device assigned to S1 to the floating-point data in the device assigned to S2, storing the result in the device assigned D.

 

 

INC / DEC

Instruction

Type of Input

Note

INC

INC (D)

Adds 1 To Data Value In D And Stores The Result In D Again.

INCP

INCP (D)

Adds 1 To Data Value In D And Stores The Result In D Again.

DINC

DINC (D)

Adds 1 To Double-Word Data Value In D And Stores The Result In D Again.

DINCP

DINCP (D)

Adds 1 To Double-Word Data Value In D And Stores The Result In D Again.

DEC

DEC (D)

Subtracts 1 From Data Value In D And Stores The Result In Device D Again.

DECP

DECP (D)

Subtracts 1 From Data Value In D And Stores The Result In Device D Again.

DDEC

DDEC (D)

Subtracts 1 From Double-Word Data Value In D And Stores The Result In Device D Again.

DDECP

DDECP (D)

Subtracts 1 From Double-Word Data Value In D And Stores The Result In Device D Again.

 

 

Complement

Instruction

Type of Input

Note

NEG

NEG (D)

Sign-Inverts Contents Of Data In D And Stores The Result In D Again.

NEGP

NEGP (D)

Sign-Inverts Contents Of Data In D And Stores The Result In D Again.

DNEG

DNEG (D)

Sign-Inverts Contents Of Double-Word Data In D And Stores The Result In D Again.

DNEGP

DNEGP (D)

Sign-Inverts Contents Of Double-Word Data In D And Stores The Result In D Again.

 

 

MIN / MAX

Instruction

Type of Input

Note

MAX

MAX (S) (D) (n)

Stores The Biggest Value Among n Pieces Of Data From Data In S, Its Location And Number Of The Values In D.

MAXP

MAXP (S) (D) (n)

Stores The Biggest Value Among n Pieces Of Data From Data In S, Its Location And Number Of The Values In D.

MIN

MIN (S) (D) (n)

Stores The Smallest Value Among n Pieces Of Data From Data In S, Its Location And Number Of The Values In D.

MINP

MINP (S) (D) (n)

Stores The Smallest Value Among n Pieces Of Data From Data In S, Its Location And Number Of The Values In D.

DMAX

DMAX (S) (D) (n)

Stores The Biggest Value Among n Pieces Of Data From Double-Word Data Of S, Its Location And Number Of The Values In D.

DMAXP

DMAXP (S) (D) (n)

Stores The Biggest Value Among n Pieces Of Data From Double-Word Data Of S, Its Location And Number Of The Values In D.

DMIN

DMIN (S) (D) (n)

Stores The Smallest Value Among n Pieces Of Data From Double-Word Data Of S, Its Location And Number Of The Values In D.

DMINP

DMINP (S) (D) (n)

Stores The Smallest Value Among n Pieces Of Data From Double-Word Data Of S, Its Location And Number Of The Values In D.

 

 

Transmit Data

Instruction

Type of Input

Note

MOV

MOV (S) (D)

Transmits Word Data In Device S To Device D.

MOVP

MOVP (S) (D)

Transmits Word Data In Device S To Device D.

DMOV

DMOV (S) (D)

Transmits Double-Word Data In Device S To Device D.

DMOVP

DMOVP (S) (D)

Transmits Double-Word Data In Device S To Device D.

CML

CML (S) (D)

Inverts Each Bit Of Data In Device S And Stores The Result In Device D.

CMLP

CMLP (S) (D)

Inverts Each Bit Of Data In Device S And Stores The Result In Device D.

DCML

DCML (S) (D)

Inverts Each Bit Of Double-Word Data In S And Stores The Result In Device D.

DCMLP

DCMLP (S) (D)

Inverts Each Bit Of Double-Word Data In S And Stores The Result In Device D.

BMOV

BMOV (S) (D) (n)

Transmits n Pieces Of Data In S To Device D.

BMOVP

BMOVP (S) (D) (n)

Transmits n Pieces Of Data In S To Device D.

FMOV

FMOV (S) (D) (n)

Transmits Data In S To n Pieces Of Device From Device D In Due Order.

FMOVP

FMOVP (S) (D) (n)

Transmits Data In S To n Pieces Of Device From Device D In Due Order.

WBMOV

WBMOV (S) (D) (fm)

transfer bit data from S to D, obey fm

WBMOVP

WBMOVP (S) (D) (fm)

transfer bit data from S to D, obey fm

 

 

Exchange Data

Instruction

Type of Input

Note

XCH

XCH (D1) (D2)

Exchanges Word Data In S With Word Data In D.

XCHP

XCHP (D1) (D2)

Exchanges Word Data In S With Word Data In D.

DXCH

DXCH (S) (D)

Exchanges Double-Word Data In S With Double-Word Data In D Each Other.

DXCHP

DXCHP (S) (D)

Exchanges Double-Word Data In S With Double-Word Data In D Each Other.

BXCH

BXCH (D1) (D2) (n)

Exchanges n Pieces Of Data In Device S And n Pieces Of Data In Device D Each Other.

BXCHP

BXCHP (D1) (D2) (n)

Exchanges n Pieces Of Data In Device S And n Pieces Of Data In Device D Each Other.

SWAP

SWAP (D)

Exchanges The Upper Byte Of Data In D With The Lower Byte Of It And Stores The Result In Device D.

SWAPP

SWAPP (D)

Exchanges The Upper Byte Of Data In D With The Lower Byte Of It And Stores The Result In Device D.

 

 

Logical

Instruction

Type of Input

Note

WAND

WAND (S1) (S2) (D)

AND-Operates Data In S1 And Data In S2, And Stores In Device D.

WANDP

WANDP (S1) (S2) (D)

AND-Operates Data In S1 And Data In S2, And Stores In Device D.

WOR

WOR (S1) (S2) (D)

OR-Operates Data In S1 And Data In S2, And Stores The Result In Device D.

WORP

WORP (S1) (S2) (D)

OR-Operates Data In S1 And Data In S2, And Stores The Result In Device D.

WXOR

WXOR (S1) (S2) (D)

Exclusive - OR-Operates Data In S1 And Data In S2, And Stores The Result In D.

WXORP

WXORP (S1) (S2) (D)

Exclusive - OR-Operates Data In S1 And Data In S2, And Stores The Result In D.

WXNR

WXNR (S1) (S2) (D)

Exclusive - NOR-Operates Data In S1 And Data In S2, And Stores The Result In D.

WXNRP

WXNRP (S1) (S2) (D)

Exclusive - NOR-Operates Data In S1 And Data In S2, And Stores The Result In D.

 

 

Logical (DWORD)

Instruction

Type of Input

Note

DAND

DAND (S1) (S2) (D)

AND-Operates Data In Device S1 And Data In Device S2, And Stores The Result In Device D.

DANDP

DANDP (S1) (S2) (D)

AND-Operates Data In Device S1 And Data In Device S2, And Stores The Result In Device D.

DOR

DOR (S1) (S2) (D)

OR-Operates Data In S1 And 32 Bit Data In S2, And Stores The Result In D.

DORP

DORP (S1) (S2) (D)

OR-Operates Data In S1 And 32 Bit Data In S2, And Stores The Result In D.

DXOR

DXOR (S1) (S2) (D)

Exclusive - OR-Operates Double-Word Data In S1 And Double-Word Data In S2, And Stores The Result In D.

DXORP

DXORP (S1) (S2) (D)

Exclusive - OR-Operates Double-Word Data In S1 And Double-Word Data In S2, And Stores The Result In D.

DXNR

DXNR (S1) (S2) (D)

Exclusive - NOR-Operates Double-Word Data In S1 And Double-Word Data In S2, And Stores The Result In D.

DXNRP

DXNRP (S1) (S2) (D)

Exclusive - NOR-Operates Double-Word Data In S1 And Double-Word Data In S2, And Stores The Result In D.

 

 

Logical (Block)

Instruction

Type of Input

Note

BKAND

BKAND (S1) (S2) (D) (n)

AND-Operates n Pieces Of Data In Device S1 And n Pieces OF Data In Device S2, And Stores The Result In Device D.

BKANDP

BKANDP (S1) (S2) (D) (n)

AND-Operates n Pieces Of Data In Device S1 And n Pieces OF Data In Device S2, And Stores The Result In Device D.

BKOR

BKOR (S1) (S2) (D) (n)

OR-Operates n Pieces Of Data In S1 And n Pieces Of Data In S2, And Stores The Result In Device D.

BKORP

BKORP (S1) (S2) (D) (n)

OR-Operates n Pieces Of Data In S1 And n Pieces Of Data In S2, And Stores The Result In Device D.

BKXOR

BKXOR (S1) (S2) (D) (n)

Exclusive - OR-Operates n Pieces Of Data In S1 And n Pieces Of Data In S2, And Stores The Result In Device D.

BKXORP

BKXORP (S1) (S2) (D) (n)

Exclusive - OR-Operates n Pieces Of Data In S1 And n Pieces Of Data In S2, And Stores The Result In Device D.

BKXNR

BKXNR (S1) (S2) (D) (n)

Exclusive - NOR-Operates n Pieces Of Data In S1 And n Pieces Of Data In S2, And Stores The Result In Device D.

BKXNRP

BKXNRP (S1) (S2) (D) (n)

Exclusive - NOR-Operates n Pieces Of Data In S1 And n Pieces Of Data In S2, And Stores The Result In Device D.

 

 

Rotation

Instruction

Type of Input

Note

ROL

ROL (D) (n)

Shifts Left 16 Pieces Of Bit In D As Much As n Bits. Shifts The Uppermost Bit To The Lowest Bit And Carry Flag.

ROLP

ROLP (D) (n)

Shifts Left 16 Pieces Of Bit In D As Much As n Bits. Shifts The Uppermost Bit To The Lowest Bit And Carry Flag.

ROR

ROR (D) (n)

Shifts Right 16 Pieces Of Bit In D As Much As n Bits. Shifts The Lowest Bit To Carry Flag And Carry Flag To The Uppermost Bit.

RORP

RORP (D) (n)

Shifts Right 16 Pieces Of Bit In D As Much As n Bits. Shifts The Lowest Bit To Carry Flag And Carry Flag To The Uppermost Bit.

 

 

Rotation (Carry)

Instruction

Type of Input

Note

RCL

RCL (D) (n)

Shifts Left 16 Pieces Of Bit In D As Much As n Bits. Shifts The Uppermost Bit To Carry Flag And Carry Flag To The Lowest Bit.

RCLP

RCLP (D) (n)

Shifts Left 16 Pieces Of Bit In D As Much As n Bits. Shifts The Uppermost Bit To Carry Flag And Carry Flag To The Lowest Bit.

RCR

RCR (D) (n)

Shifts Right 16 Pieces Of Bit In D As Much As n Bits. Shifts The Lowest Bit To Carry Flag And Carry Flag.

RCRP

RCRP (D) (n)

Shifts Right 16 Pieces Of Bit In D As Much As n Bits. Shifts The Lowest Bit To Carry Flag And Carry Flag.

 

 

Rotation (DWORD)

Instruction

Type of Input

Note

DROL

DROL (D) (n)

Shifts Left 32 Bits In D As Much As n Bits. Shifts The Uppermost Bit To The Lowest Bit And Carry Flag.

DROLP

DROLP (D) (n)

Shifts Left 32 Bits In D As Much As n Bits. Shifts The Uppermost Bit To The Lowest Bit And Carry Flag.

DROR

DROR (D) (n)

Shifts Right 32 Bits In D As Much As n Bits. Shifts The Lowest Bit To Carry Flag And Carry Flag To The Uppermost Bit.

DRORP

DRORP (D) (n)

Shifts Right 32 Bits In D As Much As n Bits. Shifts The Lowest Bit To Carry Flag And Carry Flag To The Uppermost Bit.

 

 

Rotation (DWORD, Carry)

Instruction

Type of Input

Note

DRCL

DRCL (D) (n)

Shifts Left 32 Bits In D As Much As n Bits. Shifts The Uppermost Bit To Carry Flag And Carry Flag To The Lowest Bit.

DRCLP

DRCLP (D) (n)

Shifts Left 32 Bits In D As Much As n Bits. Shifts The Uppermost Bit To Carry Flag And Carry Flag To The Lowest Bit.

DRCR

DRCR (D) (n)

Shifts Right 32 Bits In D As Much As n Bits. Shifts The Lowest Bit To The Uppermost Bit And Carry Flag.

DRCRP

DRCRP (D) (n)

Shifts Right 32 Bits In D As Much As n Bits. Shifts The Lowest Bit To The Uppermost Bit And Carry Flag.

 

 

Shift

Instruction

Type of Input

Note

SFL

SFL (D) (n)

Shifts Left Data Bit In D As Much As n Bits. Fills Lower n Bits With 0 And Stores the Result In D.

SFLP

SFLP (D) (n)

Shifts Left Data Bit In D As Much As n Bits. Fills Lower n Bits With 0 And Stores the Result In D.

SFR

SFR (D) (n)

Shifts Right Data Bit In D As Much As n Bits. Fills Upperr n Bits With 0 And Stores the Result In D.

SFRP

SFRP (D) (n)

Shifts Right Data Bit In D As Much As n Bits. Fills Upperr n Bits With 0 And Stores the Result In D.

 

 

Shift (BIT)

Instruction

Type of Input

Note

BSFL

BSFL (D) (n)

n Pieces Of Data Are Shifted Left From Data In Device D And The Shifted Lowest Data Is Filled With 0.

BSFLP

BSFLP (D) (n)

n Pieces Of Data Are Shifted Left From Data In Device D And The Shifted Lowest Data Is Filled With 0.

BSFR

BSFR (D) (n)

n Pieces Of Data Are Shifted Right From Data In Device D And The Shifted Uppermost Data Is Filled With 0.

BSFRP

BSFRP (D) (n)

n Pieces Of Data Are Shifted Right From Data In Device D And The Shifted Uppermost Data Is Filled With 0.

 

 

Shift (WORD)

Instruction

Type of Input

Note

DSFL

DSFL (D) (n)

Shifts Left Double-Word Data Bits In D As Much As n Bits. Fills Lower n Bits With 0 And Stores Them In D.

DSFLP

DSFLP (D) (n)

Shifts Left Double-Word Data Bits In D As Much As n Bits. Fills Lower n Bits With 0 And Stores Them In D.

DSFR

DSFR (D) (n)

Shifts Right Double-Word Data Bits In D As Much As n Bits. Fills Upper n Bits With 0 And Stores Them In D.

DSFRP

DSFRP (D) (n)

Shifts Right Double-Word Data Bits In D As Much As n Bits. Fills Upper n Bits With 0 And Stores Them In D.

 

 

Conversion (BIN -> BCD)

Instruction

Type of Input

Note

BCD

BCD (S) (D)

Converts BIN Data Value In S To BCD Data And Stores The Result In Device D.

BCDP

BCDP (S) (D)

Converts BIN Data Value In S To BCD Data And Stores The Result In Device D.

DBCD

DBCD (S) (D)

Converts BIN DOuble-Word Data Value In S To BCD Double-Word Data And Stores The Result In Device D.

DBCDP

DBCDP (S) (D)

Converts Double-Word BIN Data Value In S To BCD Data And Stores The result In Device D.

 

 

Conversion (BCD -> BIN)

Instruction

Type of Input

Note

BIN

BIN (S) (D)

Converts 4 Digits BCD Data Value In S To BIN Data And Stores The Result In Device D.

BINP

BINP (S) (D)

Converts 4 Digits BCD Data Value In S To BIN Data And Stores The Result In Device D.

DBIN

DBIN (S) (D)

Converts 8 Digits BCD Data Value In S To BIN Data And Stores The Result In Device D.

DBINP

DBINP (S) (D)

Converts 8 Digits BCD Data Value In S To BIN Data And Stores The Result In Device D.

 

 

Conversion (BIN -> ASCII)

Instruction

Type of Input

Note

BINDA

BINDA (S) (D)

Converts BIN Data In S To Decimal ASCII Code And Stores The Result In Device D.

BINDAP

BINDAP (S) (D)

Converts BIN Data In S To Decimal ASCII Code And Stores The Result In Device D.

DBINDA

DBINDA (S) (D)

Converts BIN Data In S To Decimal ASCII Code And Stores The Result In Device D.

DBINDAP

DBINDAP (S) (D)

Converts BIN Data In S To Decimal ASCII Code And Stores The Result In Device D.

 

 

Conversion (ASCII -> BIN)

Instruction

Type of Input

Note

DABIN

DABIN (S) (D)

Converts Decimal ASCII Code In Device S To 16bit BIN Data And Stores The Result In Device D.

DABINP

DABINP (S) (D)

Converts Decimal ASCII Code In Device S To 16bit BIN Data And Stores The Result In Device D.

DDABIN

DDABIN (S) (D)

Converts Decimal ASCII Code In S To 32 Bit BIN Data And Stores The Result In Device D.

DDABINP

DDABINP (S) (D)

Converts Decimal ASCII Code In S To 32 Bit BIN Data And Stores The Result In Device D.

 

 

Conversion ( BIN -> HEX ASCII)

Instruction

Type of Input

Note

BINHA

BINHA (S) (D)

Converts BIN Data In S To Hexadecimal ASCII Code And Stores The Result In Device D.

BINHAP

BINHAP (S) (D)

Converts BIN Data In S To Hexadecimal ASCII Code And Stores The Result In Device D.

DBINHA

DBINHA (S) (D)

Converts BIN Data In S To Hexadecimal ASCII Code And Stores The Result In D.

DBINHAP

DBINHAP (S) (D)

Converts BIN Data In S To Hexadecimal ASCII Code And Stores The Result In D.

 

 

Conversion (HEX ASCII -> BIN)

Instruction

Type of Input

Note

HABIN

HABIN (S) (D)

Converts Hexadecimal ASCII COde In S To 16 Bit BIN Data And Stores The Result In D.

HABINP

HABINP (S) (D)

Converts Hexadecimal ASCII COde In S To 16 Bit BIN Data And Stores The Result In D.

DHABIN

DHABIN (S) (D)

Converts Hexadecimal ASCII Code In S To 32 BIt BIN Data And Stores The Result In Device D.

DHABINP

DHABINP (S) (D)

Converts Hexadecimal ASCII Code In S To 32 BIt BIN Data And Stores The Result In Device D.

 

 

Conversion (BCD -> ASCII)

Instruction

Type of Input

Note

BCDDA

BCDDA (S) (D)

Converts 4 Digits BCD Data In S To Decimal ASCII Code And Stores The Result In Device D.

BCDDAP

BCDDAP (S) (D)

Converts 4 Digits BCD Data In S To Decimal ASCII Code And Stores The Result In Device D.

DBCDDA

DBCDDA (S) (D)

Converts 8 Digits BCD Data In S To Decimal ASCII Code And Stores The Result In Device D.

DBCDDAP

DBCDDAP (S) (D)

Converts 8 Digits BCD Data In S To Decimal ASCII Code And Stores The Result In Device D.

 

 

Conversion (Floating decimal point, XP)

Instruction

Type of Input

Note

FLT

FLT (S) (D)

Converts 16-bit BIN data designated by S to floating decimal point real number, and stores at device number designated by D .

FLTP

FLTP (S) (D)

Converts 16-bit BIN data designated by S to floating decimal point real number, and stores at device number designated by D .

DFLT

DFLT (S) (D)

Converts 32-bit BIN data designated by S to floating decimal point real number, and stores at device number designated by D

DFLTP

DFLTP (S) (D)

Converts 32-bit BIN data designated by S to floating decimal point real number, and stores at device number designated by D

INT

INT (S) (D)

Converts the floating decimal point real number designated at S into BIN 16-bit data and stores it at the device number designated at D

INTP

INTP (S) (D)

Converts the floating decimal point real number designated at S into BIN 16-bit data and stores it at the device number designated at D

RAD

RAD (S) (D)

Converts units of angle size from angle units designated by S to radian units, and stores result at device number designated by D.

RADP

RADP (S) (D)

Converts units of angle size from angle units designated by S to radian units, and stores result at device number designated by D.

DEG

DEG (S) (D)

Converts Unit of angle size from radian units designated by S to angles, and stores result at device number designated by D.

DEGP

DEGP (S) (D)

Converts Unit of angle size from radian units designated by S to angles, and stores result at device number designated by D.

EMOV

EMOV (S) (D)

This is used to transfer the Floating-point data in the device assigned to S to the device assigned to D.

EMOVP

EMOVP (S) (D)

This is used to transfer the Floating-point data in the device assigned to S to the device assigned to D.

 

 

Decode / Encode

Instruction

Type of Input

Note

DECO

DECO (S) (D) (n)

Decodes Lower n Bits In S And Sets The Contact Corresponding To Result Of Device D.

DECOP

DECOP (S) (D) (n)

Decodes Lower n Bits In S And Sets The Contact Corresponding To Result Of Device D.

ENCO

ENCO (S) (D) (n)

Encodes The Uppermost Bit Location Which Is Set As 1 In 2^n Of S And Stores The Result In D In Numerical Value Data.

ENCOP

ENCOP (S) (D) (n)

Encodes The Uppermost Bit Location Which Is Set As 1 In 2^n Of S And Stores The Result In D In Numerical Value Data.

 

 

7 Segment

Instruction

Type of Input

Note

SEG

SEG (S) (D)

Decodes n Pieces Of Number From Start Bit In S As 7 Segment By The Set Format And Stores The Result In D.

SEGP

SEGP (S) (D)

Decodes n Pieces Of Number From Start Bit In S As 7 Segment By The Set Format And Stores The Result In D.

 

 

Union / Disunion

Instruction

Type of Input

Note

DIS

DIS (S) (D) (n)

Stores n(n=1 Means 4 Bits) Pieces Of Numerical Value Data From S In Lower Bit As Much As n From D Each.

DISP

DISP (S) (D) (n)

Stores n(n=1 Means 4 Bits) Pieces Of Numerical Value Data From S In Lower Bit As Much As n From D Each.

UNI

UNI (S) (D) (n)

Combines Each Lower 4 Bits Of n(n=1 Means 4 Bits) Pieces Of Data In S, And Stores the Result In Device D.

UNIP

UNIP (S) (D) (n)

Combines Each Lower 4 Bits Of n(n=1 Means 4 Bits) Pieces Of Data In S, And Stores the Result In Device D.

 

 

BIT

Instruction

Type of Input

Note

TEST

TEST (S1) (S2) (D)

Stores Bit Of The Assigned Order Among Data Bits In S1. If The Result Is 1, Sets. If 0, Resets.

TESTP

TESTP (S1) (S2) (D)

Stores Bit Of The Assigned Order Among Data Bits In S1. If The Result Is 1, Sets. If 0, Resets.

DTEST

DTEST (S1) (S2) (D)

Stores The Bit Of Order Assigned to S2 In Double-Word Data Bit Of S1 In D. If It Is 1, Sets. If 0, Resets.

DTESTP

DTESTP (S1) (S2) (D)

Stores The Bit Of Order Assigned to S2 In Double-Word Data Bit Of S1 In D. If It Is 1, Sets. If 0, Resets.

BSET

BSET (D) (n)

Sets nth Bit In Data Bits In Device D.

BSETP

BSETP (D) (n)

Sets nth Bit In Data Bits In Device D.

BRST

BRST (D) (n)

Resets nth Bit in Word Data Bits In Device D.

BRSTP

BRSTP (D) (n)

Resets nth Bit in Word Data Bits In Device D.

BITMOV

BITMOV (S) (D) (n)

Sends the data in the device assigned to S as much as n bits from the start device number in the device assigned to D.

BITMOVP

BITMOVP (S) (D) (n)

Sends the data in the device assigned to S as much as n bits from the start device number in the device assigned to D.

ANDBT

ANDBT (S1) (S2)

AND-Operates the bit of the order assigned to S2 in the word device data assigned to S1 and Contact A.

ANDBTI

ANDBTI (S1) (S2)

 

LDBT

LDBT (S1) (S2)

LD-Operates the bit of the order assigned to S2 in the word device data assigned to S1 and Contact A.

LDBTI

LDBTI (S1) (S2)

 

ORBT

ORBT (S1) (S2)

OR-Operates the bit of the order assigned to S2 in the word device data assigned to S1 and Contact A.

ORBTI

ORBTI (S1) (S2)

 

SUM

SUM (S) (D)

Counts Number Of Bit Data Which Are Set As 1 In Data Of S And Stores The Number.

SUMP

SUMP (S) (D)

Counts Number Of Bit Data Which Are Set As 1 In Data Of S And Stores The Number.

DSUM

DSUM (S) (D)

Counts Number Of Bit Data Which Are Set As 1 In Double-Word Data Of S And Stores The Number.

DSUMP

DSUMP (S) (D)

Counts Number Of Bit Data Which Are Set As 1 In Double-Word Data Of S And Stores The Number.

 

 

TIME

Instruction

Type of Input

Note

DATE+

DATE+ (S1) (S2) (D)

Adds Hour, Minute And Second Data In S2 To Hour, Minute And Second Data In S1 Each Other, And Stores The Result In D In Due Order.

DATE+P

DATE+P (S1) (S2) (D)

Adds Hour, Minute And Second Data In S2 To Hour, Minute And Second Data In S1 Each Other, And Stores The Result In D In Due Order.

DATE-

DATE- (S1) (S2) (D)

Subtrats Hour, Minute And Second Data In S2 From Hour, Minute And Second Data In S1 Each Other, And Stores The Result In D In Due Order.

DATE-P

DATE-P (S1) (S2) (D)

Subtrats Hour, Minute And Second Data In S2 From Hour, Minute And Second Data In S1 Each Other, And Stores The Result In D In Due Order.

SECOND

SECOND (S) (D)

Converts Hour, Minute And Second Data In S To Second Data Each And Stores The Result In D.

SECONDP

SECONDP (S) (D)

Converts Hour, Minute And Second Data In S To Second Data Each And Stores The Result In D.

HOUR

HOUR (S) (D)

Converts Second Data In S To Hour, Minute And Second Data And Stores The Result In D In Due Order.

HOURP

HOURP (S) (D)

Converts Second Data In S To Hour, Minute And Second Data And Stores The Result In D In Due Order.

DATERD

DATERD (D)

Reads Year, Month, Day, Hour, Minute, Second And Day Of Week Data From CPU Clock Device And Stores Them In Device D In Due Order.

DATERDP

DATERDP (D)

Reads Year, Month, Day, Hour, Minute, Second And Day Of Week Data From CPU Clock Device And Stores Them In Device D In Due Order.

DATEWR

DATEWR (S)

Year, Month, Day, Hour, Minute, Second And Day Of Week Data In S Are Written In CPU Clock Device.

DATEWRP

DATEWRP (S)

Year, Month, Day, Hour, Minute, Second And Day Of Week Data In S Are Written In CPU Clock Device.

 

 

Timer

Instruction

Type of Input

Note

TON

TON (S) (t)

If Curren Value Is Increased And Reaches Set Value, Timer Contact Is Set.

TOFF

TOFF (S) (t)

When Input Condition Is Off, The Set Value Is Subtracted. If Current Value Reaches 0, Output Is Reset.

TMR

TMR (S) (t)

Though Current Value Is Increased And Input Is On-Off Reapeatly, If The Current Value Is Accumulated Whenever It Is On And Reaches Set Time, Timer Contact Is Set.

TMON

TMON (S) (t)

Though Output Is Set And Input Is Set-Reset Repeatly, If Current Value Is Subtracted Whenever It Is Set And Reaches 0, Timer Output Is Reset.

TRTG

TRTG (S) (t)

If Output Is Set And Current Value Is Subtracted To Reach 0, Output Is Reset. If Output Is Reset Before Current Value Is 0, Current Value Is Set Up As Set Value.

 

 

Counter

Instruction

Type of Input

Note

CTU

CTU (S) (t)

Adds One By One To Current Value Whenever Pulse Is Input. If Current Value Is Over Set Value, Sets Output And Counts Up To Maximum Of Counter.

CTD

CTD (S) (t)

Subtracts One By One From Set Value Whenever Rising Edge Is Input. If The Value Is 0, Sets Output.

CTUD

CTUD (S) (t)

Adds One By One Whenever Pulse Is Input To Up Terminal. Substracts One By One Whenever Pulse Is Input To Down Terminal. If Current Value Is Over Set Value, Sets Output.

CTR

CTR (S) (t)

Adds One By One Whenever Pulse Is Input. If The Value Reaches Set Value, Sets Output. If Input Signal Is On From Off, Current Value Is Increased From 0.

 

 

Read / Write

Instruction

Type of Input

Note

FROM

FROM (n1) (n2) (D) (n3)

Reads n3 Pieces Of Word Data In User Program Memory n2 Of Optional Card n1(SLot Number) And Stores The Result In D.

FROMP

FROMP (n1) (n2) (D) (n3)

Reads n3 Pieces Of Word Data In User Program Memory n2 Of Optional Card n1(SLot Number) And Stores The Result In D.

DFRO

DFRO (n1) (n2) (D) (n3)

Reads n3 Pieces Of Double-Word Data In User Program Memory n2 Of Optional Card n1(Slot Number) And Stores Them In Device D.

DFROP

DFROP (n1) (n2) (D) (n3)

Reads n3 Pieces Of Double-Word Data In User Program Memory n2 Of Optional Card n1(Slot Number) And Stores Them In Device D.

TO

TO (n1) (n2) (S) (n3)

Writes n3 Pieces Data In S To User Program Memory n2 Of Opetional Card n1(Slot Numer).

TOP

TOP (n1) (n2) (S) (n3)

Writes n3 Pieces Data In S To User Program Memory n2 Of Opetional Card n1(Slot Numer).

DTO

DTO (n1) (n2) (S) (n3)

Writes n3 Pieces Of Double-Word Data In S To User Program Memory n2 Of Optional Card n1(Slot Number).

DTOP

DTOP (n1) (n2) (S) (n3)

Writes n3 Pieces Of Double-Word Data In S To User Program Memory n2 Of Optional Card n1(Slot Number).

FREAD

FREAD (n1) (n2) (D) (n3) (n4)

Read n3 words of data from the address designated by n2 ofthe system memory of the special function module designated by n1.

Then, stores the data in the area starting from the device designated by D.

The result of instruction is stored to the device designated by n3.

FREADP

FREADP (n1) (n2) (D) (n3) (n4)

Read n3 words of data from the address designated by n2 ofthe system memory of the special function module designated by n1.

Then, stores the data in the area starting from the device designated by D.

The result of instruction is stored to the device designated by n3.

FWRITE

FWRITE (n1) (n2) (D) (n3) (n4)

Write n3 words of data from the device designated by D to the area starting from the address designated by n2 of the system memory of the special function module designated by n1.

FWRITEP

FWRITEP (n1) (n2) (D) (n3) (n4)

Write n3 words of data from the device designated by D to the area starting from the address designated by n2 of the system memory of the special function module designated by n1.

 

 

Communication

 

Instruction

Type of Input

Note

SND

SND (Slot)(S)(Size)(Result)

Transmits Data In Device Of Master Atation To Device Of Slave Station.

SNDP

SNDP (Slot)(S)(Size)(Result)

Transmits Data In Device Of Master Atation To Device Of Slave Station.

RCV

RCV (Slot)(D)(Size)(Result)

Reads And Brings Data In Slave Station To Device Of Master Station.

RCVP

RCVP (Slot)(D)(Size)(Result)

Reads Data In Slave Station To Device Of Master Station.

 

 

Communication (SPC Program)

Instruction

Type of Input

Note

RECV

RECV (PID) (F_Name) (Result)

Compares the data received from master station with the data(F_Name) set up by Special Function Program(PID), storing them in the assigned device.

RECVP

RECVP (PID) (F_Name) (Result)

Compares the data received from master station with the data(F_Name) set up by Special Function Program(PID), storing them in the assigned device.

SEND

SEND (PID) (F_Name) (Result)

Sends the data(F_Name) set up by Special Function Program(PID) from master station to the device of slave station.

SENDP

SENDP (PID) (F_Name) (Result)

Sends the data(F_Name) set up by Special Function Program(PID) from master station to the device of slave station.

 

 

Watch Dog Time

Instruction

Type of Input

Note

WDT

WDT

Resets Watch Dog Timer While Operating Program.

WDTP

WDTP

Resets Watch Dog Timer While Operating Program.

 

 

Carry

Instruction

Type of Input

Note

STC

STC

If Input Condition Is On, Sets Carry Flag.

CLC

CLC

If Input Condition Is ON, Resets Carry Flag.

 

 

Refresh

Instruction

Type of Input

Note

RFS

RFS (S) (n)

Refreshes n Pieces Of Device Which Are Assigned To S For One Scan.

RFSP

RFSP (S) (n)

Refreshes n Pieces Of Device Which Are Assigned To S For One Scan.

 

 

PID

Instruction

Type of Input

Note

PIDCAL

PIDCAL (S)

Assigns Device Where Result Value Of PID Operation IS Stored As S.

PIDINIT

PIDINIT (S)

Assigns Device Where The Set Value For PID Operation Is Stored As S.

 

 

Trigonometric (XP Series)

Instruction

Type of Input

Note

SIN

SIN (S) (D)

Calculates SIN (sine) value of angle designated at S and stores the operation result in the device number designated at D.

COS

COS (S) (D)

Performs COS (cosine) on angle designated by S and stores operation result at device number designated by D .

TAN

TAN (S) (D)

Performs tangent (TAN) operation on angle data designated by S , and stores operation result in device designated by D.

ASIN

ASIN (S) (D)

Calculates angle from sin value designated by S, and stores operation result at word device designated by D

ACOS

ACOS (S) (D)

Calculates angle from COS value designated by S, and stores operation result at word device designated by D

ATAN

ATAN (S) (D)

Calculates angle from tan value designated by S, and stores operation result at word device desig

BSIN

BSIN (S) (D)

Calculates the sin value of the designated value, and stores the sign of the operation result in the device at D, and the operation result in the device designated at D+1 and D+2.

BCOS

BCOS (S) (D)

Calculates the cos value of the designated value, and stores the sign of the operation result in the device at D, and the operation result in the device designated at D+1 and D+2.

BTAN

BTAN (S) (D)

Calculates TAN (tangent) value for value (angle) designated by S , and stores the sign for the operation result in the word device designated by D , and the operation result in the word device designated by D +1 and D +2.

BASIN

BASIN (S) (D)

Calculates angle from sin value designated by S, and stores operation result at word device designated by D

BACOS

BACOS (S) (D)

Calculates angle from COS value designated by S, and stores operation result at word device designated by D

BATAN

BATAN (S) (D)

Calculates angle from sin value designated by S, and stores operation result at word device designated by D

 

Exponent, Logarithm (XP Series)

Instruction

Type of Input

Note

SQR

SQR (S) (D)

Calculates square root of value designated at S , and stores the operation result in the device number designated at D .

EXP

EXP (S) (D)

Calculates exponent for value designated by S, and stores the result of the operation at the device designate by D

LOG

LOG (S) (D)

Calculates natural logarithm of value designated by S taking e as base, and stores operation results at device designated by D.

BSQR

BSQR (S) (D)

Store appointed data to area that is specified by D after square root arithmetic by S.

BDSQR

BDSQR (S) (D)

Store appointed data to area that is specified by D after square root arithmetic by S.

 

User Clock

Instruction

Type of Input

Note

DUTY

DUTY (n1) (n2) (D)

Turns scan designated by n1 ON for user timing block designated by D, and scan designated by n2 OFF.

 

Table

Instruction

Type of Input

Note

FPOP

FPOP (DEV) (TBL)

Find Last Data In Table

FINS

FINS (DEV) (TBL) (n)

Insert a Data In Table

FDEL

FDEL (DEV) (TBL) (n)

Delete a Data From Table

FIFR

FIFR (DEV) (TBL)

Read the oldest data from [TBL+1] and stores it at the device designated by [DEV].

After the execution of FIFR, the data in the table moves to the previous device and the last data will be zero.

The number of data of the data table will be decreased.

FIFRP

FIFRP (DEV) (TBL)

Read the oldest data from [TBL+1] and stores it at the device designated by [DEV].

After the execution of FIFR, the data in the table moves to the previous device and the last data will be zero.

The number of data of the data table will be decreased.

FIFW

FIFW (DEV) (TBL)

Stores the 16 bit data designated by [DEV] at the end of the data table designated by [TBL].

The number of data blocks stored at [TBL] will be increased.

FIFWP

FIFWP (DEV) (TBL)

Stores the 16 bit data designated by [DEV] at the end of the data table designated by [TBL].

The number of data blocks stored at [TBL] will be increased.

 

Redundant System

Instruction

Type of Input

Note

ATVP

ATVP

Swap Active Status in Redundant System

 

Scan program Enable / Disable

Instruction

Type of Input

Note

EPGM

EPGM (n)

Permit driving of scan program that correspond to ID that is established by n.

Change relevant scan program to Enable status in Disable status by DPGM command.

if Disable Program command is not inputed at Mode conversion, it is all Enable PBT states

DPGM

DPGM (n)

Permit driving of scan program that correspond to ID that is established by n.

Change relevant scan program to Enable status in Disable status by DPGM command.

if Disable Program command is not inputed at Mode conversion, it is all Enable PBT states

 

Occur random number

Instruction

Type of Input

Note

RND

RND (D)

Generates random number of from 0 to 32767, and stores at device designated by D

SRND

SRND (D)

Updates random number series according to the 16-bit BIN data being stored in device designated by S.

 

Scale

Instruction

Type of Input

Note

SCL

SCL (S) (D) (P) (n)

Converts signed binary data into signed binary data according to Scale parameter table .

SCLP

SCLP (S) (D) (P) (n)

Converts signed binary data into signed binary data according to Scale parameter table .

 

Position (CP, XP)

Instruction

Type of Input

Note

ABRST1

ABRST1 (Base/Slot) (S) (D)

 

ABRST2

ABRST2 (Base/Slot) (S) (D)

 

ABRST3

ABRST3 (Base/Slot) (S) (D)

 

ABRST4

ABRST4 (Base/Slot) (S) (D)

 

PSTRT1

PSTRT1 (Base/Slot) (S) (D)

 

PSTRT2

PSTRT2 (Base/Slot) (S) (D)

 

PSTRT3

PSTRT3 (Base/Slot) (S) (D)

 

PSTRT4

PSTRT4 (Base/Slot) (S) (D)

 

TEACH1

TEACH1 (Base/Slot) (S) (D)

 

TEACH2

TEACH2 (Base/Slot) (S) (D)

 

TEACH3

TEACH3 (Base/Slot) (S) (D)

 

TEACH4

TEACH4 (Base/Slot) (S) (D)

 

PFWRT

PFWRT (Base/Slot) (S) (D)

 

PINT

PINT (Base/Slot) (S) (D)

 

 

etc

Instruction

Type of Input

Note

;

; (notes)

Shows Description.

DESCI

DESCI (notes)

Shows Description.

NOP

NOP

As No Operation Instruction, Does Not Influence Operation Result Of The Corresponding Circuit.