30.14.1.5 Instructions that use Drag and Drop

You can drag the following parts from the instructions or operands in the Logic and drop on the drawing screen to allocate or reallocate the symbol variables.

Drag & Drop Instructions and Operands

Parts that can be allocated or parts to which a new symbol variable can be placed

Instruction

Number of Operands

Symbol Variable Type

Basic Instructions

NO, NC, PT, NT

1

S1

Bit Address

Bit Switch

Bit Variable

OUT, OUTN, SET, RST, PTO, NTO

1

D1

Bit Address

Lamp

Bit Variable

JMP, JSR

1

RET, EXIT

FOR

1

S1

Word Address

Data Display

Integer Variable

NEXT

PBC

2

S1

D1

Bit Variable

Lamp

PBR

1

S1

Operation Instructions

ADD, SUB, MUL, DIV

3

S1

Word Address

Word Switch

Data Display

(You cannot select the Word switch for float variables and real variables.)

Integer Variable

Float Variable

Real Variable

S2

Word Address

Integer Variable

Float Variable

Real Variable

D1

Word Address

Integer Variable

Float Variable

Real Variable

MOD

3

S1

Word Address

Word Switch

Data Display

Integer Variable

S2

Word Address

Integer Variable

D1

Word Address

Integer Variable

JADD, JSUB

3

S1

Time Variable (.HR .MIN .SEC)

[Variable: Integer Variable]

Word Switch

Data Display

S2

Time Variable (.HR .MIN .SEC)

D1

Time Variable (.HR .MIN .SEC)

AND, OR, XOR

3

S1

Word Address

Word Switch

Data Display

Integer Variable

S2

Word Address

Integer Variable

D1

Word Address

Integer Variable

NOT

2

S1

Word Address

Integer Variable

D1

Word Address

Integer Variable

MOV

2

S1

Word Address

Word Switch

Data Display

Integer Variable

D1

Word Address

Integer Variable

BLMV

3

S1

Bit Address (Array)

Word Switch

Data Display

(You cannot select S1 or D1.)

Integer Variable (Array)

Float Variable (Array)

Real Variable (Array)

S2

Integer Variable

D1

Bit Address (Array)

Integer Variable (Array)

Float Variable (Array)

Real Variable (Array)

FLMV

3

S1

Word Address

Word Switch

Data Display

(You cannot select D1.)

Integer Variable

Float Variable

Real Variable

S2

Integer Variable

D1

Integer Variable (Array)

Float Variable (Array)

Real Variable (Array)

XCH

2

D1

Word Address

Word Switch

Data Display

Integer Variable

D2

Word Address

Integer Variable

ROL, ROR, RCL, RCR, SHL, SHR, SAL, SAR

3

S1

Word Address

Word Switch

Data Display

Integer Variable

S2

Word Address

Integer Variable

D1

Word Address

Integer Variable

Compare Instructions

EQ, GT, GE, LT, LE, NE

2

S1

Word Address

Word Switch

Data Display

(You cannot select the Word switch for float variables and real variables.)

Integer Variable

Float Variable

Real Variable

S2

Word Address

Integer Variable

Float Variable

Real Variable

JEQ, JGT, JGE, JLT, JLE, JNE

2

S1

Time Variable (.HR .MIN .SEC)

[Variable: Integer Variable]

Word Switch

Data Display

S2

Time Variable (.HR .MIN .SEC)

NEQ, NGT, NGE, NLT, NLE, NNE

2

S1

Date Variable (.YR .MO .DAY)

[Variable: Integer Variable]

Word Switch

Data Display

S2

Date Variable (.YR .MO .DAY)

Timer Instructions

TON, TOF, TP, TONA, TOFA

1

Variable

Timer Variable (.ET .PT)

[Variable: Integer Variable]

Word Switch

Data Display

Timer Variable (.Q .TI .R)

[Variable: Bit Variable]

Bit Switch

Lamp

Counter Instructions

CTU, CTD, CTUD

1

Variable

Counter Variable (.PV .CV)

[Variable: Integer Variable]

Word Switch

Data Display

Counter Variable (.Q .QD .QU .UP .R)

[Variable: Bit Variable]

Bit Switch

Lamp

Convert Instructions

BCD, BINENCO, DECO

2

S1

Word Address

Word Switch

Data Display

Integer Variable

D1

Word Address

Integer Variable

RAD, DEG, SCL

2

S1

Word Address

Word Switch

Data Display

(You cannot select the Word switch for float variables and real variables.)

Integer Variable

Float Variable

Real Variable

D1

Word Address

Integer Variable

Float Variable

Real Variable

I2F, I2R, F2I, F2R, R2I, R2F, H2S, S2H

2

S1

Type

 

D1

Type

Function Instructions

SUM, AVE

3

S1

Integer Variable (Array)

Word Switch

Data Display

(You cannot select S1.)

Float Variable (Array)

Real Variable (Array)

S2

Integer Variable

D1

Integer Variable

Float Variable

Real Variable

SQRT

2

S1

Float Variable

Data Display

Real Variable

D1

Float Variable

Real Variable

BCNT

2

S1

Integer Variable (Array)

 

Float Variable (Array)

Real Variable (Array)

D1

Integer Variable (Array)

Float Variable (Array)

Real Variable (Array)

PID

5

Variable

PID Variable (.KP .TR .TD .PA .BA .ST)

[Variable: Integer Variable]

Word Switch

Data Display

PID Variable (.Q .UO .TO .PF .IF)

[Variable: Bit Variable]

Bit Switch

Lamp

S1

Word Address

Word Switch

Data Display

Integer Variable

S2

Word Address

Integer Variable

S3

Word Address

Integer Variable

D1

Word Address

Integer Variable

SIN, COS, TAN, ASIN, ACOS, ATAN, COT, EXP, LN, LG10

2

S1

Float Variable

Data Display

Real Variable

D1

Float Variable

Real Variable

R/W Instructions

JRD, JSET

1

D1

Time Variable (.HR .MIN .SEC)

[Variable: Integer Variable]

Word Switch

Data Display

NRD, NSET

1

D1

Date Variable (.YR .MO .DAY)

[Variable: Integer Variable]

Word Switch

Data Display