Toshiba T2E manual Basic Instructions, Logical Operations, Data transfer Instructions

Page 15

Instruction Set

Basic Instructions

 

Arithmetic Operations

 

 

 

FUN No. ; Symbol

 

 

Name

FUN No . Symbol

Addition

Name

 

 

 

-1 I-

 

NO contact

 

27

 

 

 

 

 

 

-1 / I-

 

NC contact

_

28

 

 

Subtraction

 

 

 

 

-III-

 

Transitional contact (rising edge)

29

 

 

Multiplication

 

 

 

-III-

 

Transitional contact (falling edge;

30

 

 

Division

 

 

 

 

-( )-I

 

Cole

 

31

 

D+

Double-word addition

 

 

 

»~ -I

 

Forced coil (debugging purpose only)

32

 

D-

Double-word subtraction

 

 

-III-

 

Inverter

 

33

 

D

Double-word multiplication

 

 

-( I ) .1

 

Invert coil

 

34

_

of

Double-word

division

 

 

 

-1 P1 -

_ Positive pulse contact

35

 

tC

Addition with carry

 

 

 

-IN I-

 

Negative pulse contact

35

 

-C

Subtraction with carry

 

 

 

-( P)-t

 

Positive pulse coil

37

 

D+G

Double-word addition w !,h carry

 

 

-(N)-l

 

Negative pulse coil

38

 

D-C

Double-word subtraction with carry

 

 

JCS

 

Jump control set

39

 

U*

Unsigned multiplication

 

 

JCR

 

Jump control reset

40

 

U/

Unsigned division

 

 

 

TON

 

ON delay timer

 

41

 

DIV

Unsigned double/single division

 

 

7OF

 

OFF delay timer

 

 

 

Increment

 

 

 

 

SS

 

Single-shot timer

44

 

 

Double-word increment

 

 

CNT

 

Counter

 

45

 

 

Decrene-t

 

 

 

 

WCS

 

Master control set --

46

 

 

Double v --rd d¢ :re`na_rt

 

 

fi1CR

 

Master control reset

Logical Operations

 

 

 

134

MCSn

 

Master control set (nesting)

 

 

 

135

tvlCRr

 

Master control reset (nesting)

FUN

No. l Symbol

 

Name

 

 

148

TRG

 

Timer trigger

 

 

 

 

 

 

48

 

AND

AND

 

 

 

 

END

 

End

 

 

 

 

 

 

 

 

49

 

DAND

Double-word AND

 

 

 

 

 

 

 

 

 

 

Data transfer Instructions

50

 

OR

OR

 

 

 

51

 

DOR

Double-word OR

 

 

 

 

 

 

 

 

 

 

FUN No .

Symbol

_

Name

52

 

FOR

Exclusive OR

 

 

18

MOV

 

Data trar .sier

 

53

 

DEOR

iDouble-word exclusive OR

 

19

DMOV

 

Double-word data transfer

54

 

ENR

NOT exclusive OR

 

 

20

NOT

 

Invert transfer

 

55

 

DENR

Double-word NOT exclusive OR

 

 

 

 

Double-word invert transfer

57

 

TAND

Table AND

 

 

 

 

SCCH G i

Exchange

 

-58

 

TOR

Table OR

 

 

 

 

DXCH

i

Double-word exchange

59

 

TEOR

Table exclusive OR

 

 

 

TINZ

 

Table Initialize

 

- .60

 

TENR

Table NOT exclusive OR

 

 

TMOV

 

Table block transfer

64

 

TEST

Bit test

 

 

 

 

TNOT

 

Table invert transfer

65

 

DTST

Double-word bit test

_

 

 

MPX

 

Multiplexer

 

66

 

TEST

Bit file bit test

 

 

 

DPX

 

Demultipiexer

 

Shift Instructions

 

 

 

92

T8M

 

Table -a loft tran sfer

 

 

 

93

9TM

 

Bit -- table transfer

FUN No . Symbol,

 

Name

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

68

 

SHRi

1 bit shift right

 

 

 

 

 

 

 

69

 

SHL1

1 bit shift lef;

 

 

 

 

 

 

 

70

 

SHRn

n bits shift right

 

 

 

 

 

 

 

71

 

SHLn

n bits shift i5ft

 

 

 

 

 

 

 

72

 

TSHR

bit file n bits shift right

 

 

 

 

 

 

 

73

 

TSHL

Bit file n bits shift left

 

 

 

 

 

 

 

74

 

SR

Shift register

 

 

 

 

 

 

 

75

j

DSR

Bi-directional sniff register

 

 

 

 

 

 

76

I

SFT

Device shift

-

-

15

Image 15
Contents 0100 Programming SoftwarePage Flexible serial port Password protectionBuilt-in clock/calendar High speed industrial LANType 2E CPU Unit Configuration CPU module Operation mode switchBU22ON T2N CPU Unit ConfigurationExpansion Configuration Power Supply CheckMap Half-duplex T2lrfT2NFOD00 Ommunication Port on the CPU ModuleTOSLINE-S20 Network ConfigurationOWN com for a TOSLINE-S20LPTOSLINE-S20 8N2 1 Co-axial cable type station for T2E/T NTosli NE-S241S2OLP TOSLINE-S OLP100 m PLJ2UN I PU245N BASE-T CS MA/CDCsmnnba CRC Tosl I NE-F1 OProgrammingfmonitoring is not possible Programming ToolsIIA Shift Instructions Basic InstructionsLogical Operations Data transfer InstructionsProgram Control Instructions Rotate InstructionsComparison Instructions Special Data OperationsFloating-Point Lnstructions Functions BCD OperationsData Conversion Instructions 190TOSLKJE-F10 T2NTOSLINE-F1 D TOSLINE-S20LP TOSUNE-S20VV1 General SpecificationsExternal Dimensions FT F VV3Digital Output Module Specifications Digital InputCommunication Interface Analog InputAnalog Output Pulse InputUEB1 Add-onTMW33E15S TO-CARSExpansion cable Peripheral too Part numberToshiba Corporation +ol Te . Fn -321-13.2S