plc - imenista learning.pdfmodbus thingetplc plcmodbus plc slave slave master slave master slave...

46
PLC PLC Thinget X PLC , X , PLC Thinget Y PLC PLC Thinget ID - -RE PLC ID ID ID ID ID ID ID ID ID ID

Upload: dangdien

Post on 11-Mar-2018

285 views

Category:

Documents


2 download

TRANSCRIPT

Page 1: PLC - Imenista learning.pdfModbus THINGETPLC PLCModbus PLC Slave Slave Master Slave Master Slave ModbusThingetPLC Master BA PLC Master . Slave Master Modbud NO.Serial Port XCPPRO PLC

PLC

PLC ThingetX

PLC

,

X ,

PLC ThingetY

PLC

PLC ThingetID

- -RE PLCID

IDID IDIDIDIDID

ID ID

Page 2: PLC - Imenista learning.pdfModbus THINGETPLC PLCModbus PLC Slave Slave Master Slave Master Slave ModbusThingetPLC Master BA PLC Master . Slave Master Modbud NO.Serial Port XCPPRO PLC

PLC

ID ID ID ID ID ID ID ID

PLC ThingetQD

- -RE PLC

QD

PLC

Flag

MM

T

C

S

Page 3: PLC - Imenista learning.pdfModbus THINGETPLC PLCModbus PLC Slave Slave Master Slave Master Slave ModbusThingetPLC Master BA PLC Master . Slave Master Modbud NO.Serial Port XCPPRO PLC

DD

Page 4: PLC - Imenista learning.pdfModbus THINGETPLC PLCModbus PLC Slave Slave Master Slave Master Slave ModbusThingetPLC Master BA PLC Master . Slave Master Modbud NO.Serial Port XCPPRO PLC

PLCThingetLadder

LadderLadder

Page 5: PLC - Imenista learning.pdfModbus THINGETPLC PLCModbus PLC Slave Slave Master Slave Master Slave ModbusThingetPLC Master BA PLC Master . Slave Master Modbud NO.Serial Port XCPPRO PLC

:

:

Page 6: PLC - Imenista learning.pdfModbus THINGETPLC PLCModbus PLC Slave Slave Master Slave Master Slave ModbusThingetPLC Master BA PLC Master . Slave Master Modbud NO.Serial Port XCPPRO PLC

:

:

LD

Page 7: PLC - Imenista learning.pdfModbus THINGETPLC PLCModbus PLC Slave Slave Master Slave Master Slave ModbusThingetPLC Master BA PLC Master . Slave Master Modbud NO.Serial Port XCPPRO PLC

SET

Set

RST

Reset

OUT

Page 8: PLC - Imenista learning.pdfModbus THINGETPLC PLCModbus PLC Slave Slave Master Slave Master Slave ModbusThingetPLC Master BA PLC Master . Slave Master Modbud NO.Serial Port XCPPRO PLC

OUTSET

RST

Page 9: PLC - Imenista learning.pdfModbus THINGETPLC PLCModbus PLC Slave Slave Master Slave Master Slave ModbusThingetPLC Master BA PLC Master . Slave Master Modbud NO.Serial Port XCPPRO PLC

ADD

ADD

SUB

SUB

MUL

MUL

ADD

SUB

MUL

Page 10: PLC - Imenista learning.pdfModbus THINGETPLC PLCModbus PLC Slave Slave Master Slave Master Slave ModbusThingetPLC Master BA PLC Master . Slave Master Modbud NO.Serial Port XCPPRO PLC

DIV

DIV

DIV

Page 11: PLC - Imenista learning.pdfModbus THINGETPLC PLCModbus PLC Slave Slave Master Slave Master Slave ModbusThingetPLC Master BA PLC Master . Slave Master Modbud NO.Serial Port XCPPRO PLC

MOV

MOV

BMOV

BMOVMOV

BMOV

BMOV

MOV

Page 12: PLC - Imenista learning.pdfModbus THINGETPLC PLCModbus PLC Slave Slave Master Slave Master Slave ModbusThingetPLC Master BA PLC Master . Slave Master Modbud NO.Serial Port XCPPRO PLC

FMOV

FMOV

MOVFMOV

FMOV

Page 13: PLC - Imenista learning.pdfModbus THINGETPLC PLCModbus PLC Slave Slave Master Slave Master Slave ModbusThingetPLC Master BA PLC Master . Slave Master Modbud NO.Serial Port XCPPRO PLC

PLC

100mST0~T99

100mST100~T199

10mST200~T299

10mST300~T399

1mST400~T499

1mST500~T599

1mST600~T618

OUTOUT

Page 14: PLC - Imenista learning.pdfModbus THINGETPLC PLCModbus PLC Slave Slave Master Slave Master Slave ModbusThingetPLC Master BA PLC Master . Slave Master Modbud NO.Serial Port XCPPRO PLC
Page 15: PLC - Imenista learning.pdfModbus THINGETPLC PLCModbus PLC Slave Slave Master Slave Master Slave ModbusThingetPLC Master BA PLC Master . Slave Master Modbud NO.Serial Port XCPPRO PLC
Page 16: PLC - Imenista learning.pdfModbus THINGETPLC PLCModbus PLC Slave Slave Master Slave Master Slave ModbusThingetPLC Master BA PLC Master . Slave Master Modbud NO.Serial Port XCPPRO PLC

C

OUTOUT

Page 17: PLC - Imenista learning.pdfModbus THINGETPLC PLCModbus PLC Slave Slave Master Slave Master Slave ModbusThingetPLC Master BA PLC Master . Slave Master Modbud NO.Serial Port XCPPRO PLC

XC-K

XC- -PKPID

XC- -AP)PID

Select Model

Write to PLC

OK

Page 18: PLC - Imenista learning.pdfModbus THINGETPLC PLCModbus PLC Slave Slave Master Slave Master Slave ModbusThingetPLC Master BA PLC Master . Slave Master Modbud NO.Serial Port XCPPRO PLC

ID

-

-

-

MOV

**

BMOV

Page 19: PLC - Imenista learning.pdfModbus THINGETPLC PLCModbus PLC Slave Slave Master Slave Master Slave ModbusThingetPLC Master BA PLC Master . Slave Master Modbud NO.Serial Port XCPPRO PLC

XC-

XC- -P

PID

Select Model

Write to PLC

OK

Page 20: PLC - Imenista learning.pdfModbus THINGETPLC PLCModbus PLC Slave Slave Master Slave Master Slave ModbusThingetPLC Master BA PLC Master . Slave Master Modbud NO.Serial Port XCPPRO PLC

ID

MOV

**

BMOV

Page 21: PLC - Imenista learning.pdfModbus THINGETPLC PLCModbus PLC Slave Slave Master Slave Master Slave ModbusThingetPLC Master BA PLC Master . Slave Master Modbud NO.Serial Port XCPPRO PLC

XC-

XC-

XC-

XC-

Select Model

Write to PLC

OK

Page 22: PLC - Imenista learning.pdfModbus THINGETPLC PLCModbus PLC Slave Slave Master Slave Master Slave ModbusThingetPLC Master BA PLC Master . Slave Master Modbud NO.Serial Port XCPPRO PLC

VI,CI

AI,CI

ID

AI ,Ci

MOV

**

BMOV

Page 23: PLC - Imenista learning.pdfModbus THINGETPLC PLCModbus PLC Slave Slave Master Slave Master Slave ModbusThingetPLC Master BA PLC Master . Slave Master Modbud NO.Serial Port XCPPRO PLC

:XC-

:XC-

:XC-

XC-

Select Model

Write to PLC

OK

Page 24: PLC - Imenista learning.pdfModbus THINGETPLC PLCModbus PLC Slave Slave Master Slave Master Slave ModbusThingetPLC Master BA PLC Master . Slave Master Modbud NO.Serial Port XCPPRO PLC

VO,CO

AO,CO

QD

AO O O

QDAO O OQD

AO O,CO QD

Page 25: PLC - Imenista learning.pdfModbus THINGETPLC PLCModbus PLC Slave Slave Master Slave Master Slave ModbusThingetPLC Master BA PLC Master . Slave Master Modbud NO.Serial Port XCPPRO PLC

A,B

- -

- -

Increment mode

Pulse+direction mode

AB phase mode

Highest frequency

-times frequency

interruption

U U A

Dir

B

U

U

A

Dir

B

U

U

Page 26: PLC - Imenista learning.pdfModbus THINGETPLC PLCModbus PLC Slave Slave Master Slave Master Slave ModbusThingetPLC Master BA PLC Master . Slave Master Modbud NO.Serial Port XCPPRO PLC

-

A,B

A,BA,B

OUT

- - - -

Increment mode

Pulse+direction mode

AB phase mode

Highest

frequency

-times frequency

interruption

U

U

A

U

Dir

B

U U A

Dir

B

U

U

A

Dir

B

U

U

Page 27: PLC - Imenista learning.pdfModbus THINGETPLC PLCModbus PLC Slave Slave Master Slave Master Slave ModbusThingetPLC Master BA PLC Master . Slave Master Modbud NO.Serial Port XCPPRO PLC

A,B

Page 28: PLC - Imenista learning.pdfModbus THINGETPLC PLCModbus PLC Slave Slave Master Slave Master Slave ModbusThingetPLC Master BA PLC Master . Slave Master Modbud NO.Serial Port XCPPRO PLC

PLSR

acc/dec

Acc/dec

PLSRacc/dec

acc/dec

: PLSR

:

:acc/dec

:

:

PLSR

Page 29: PLC - Imenista learning.pdfModbus THINGETPLC PLCModbus PLC Slave Slave Master Slave Master Slave ModbusThingetPLC Master BA PLC Master . Slave Master Modbud NO.Serial Port XCPPRO PLC
Page 30: PLC - Imenista learning.pdfModbus THINGETPLC PLCModbus PLC Slave Slave Master Slave Master Slave ModbusThingetPLC Master BA PLC Master . Slave Master Modbud NO.Serial Port XCPPRO PLC
Page 31: PLC - Imenista learning.pdfModbus THINGETPLC PLCModbus PLC Slave Slave Master Slave Master Slave ModbusThingetPLC Master BA PLC Master . Slave Master Modbud NO.Serial Port XCPPRO PLC

ALT

ALT

ALT

ALT

ALT

:MSET

(M)

MSET

Page 32: PLC - Imenista learning.pdfModbus THINGETPLC PLCModbus PLC Slave Slave Master Slave Master Slave ModbusThingetPLC Master BA PLC Master . Slave Master Modbud NO.Serial Port XCPPRO PLC

MSET

:ZRST

(M)

ZRST

ZRST

:INC

INC

INC

:DEC

Page 33: PLC - Imenista learning.pdfModbus THINGETPLC PLCModbus PLC Slave Slave Master Slave Master Slave ModbusThingetPLC Master BA PLC Master . Slave Master Modbud NO.Serial Port XCPPRO PLC

DEC

DEC

:MEAN

MEAN

:SWAP

SWAP

:XCH

XCH

Page 34: PLC - Imenista learning.pdfModbus THINGETPLC PLCModbus PLC Slave Slave Master Slave Master Slave ModbusThingetPLC Master BA PLC Master . Slave Master Modbud NO.Serial Port XCPPRO PLC

XCH

:NEG

NEG

NEG

:SHL

:SHR

:LSL

:LSR

Page 35: PLC - Imenista learning.pdfModbus THINGETPLC PLCModbus PLC Slave Slave Master Slave Master Slave ModbusThingetPLC Master BA PLC Master . Slave Master Modbud NO.Serial Port XCPPRO PLC

:CJ

P

CJ

CJ

Y0

X0

X1

X3

X4

X0

RST

T246 K1000

MOV

CJ

X2

X5

X6

P6

T246

K3 D0

P7

T246RST

Y0

P6

P7

Page 36: PLC - Imenista learning.pdfModbus THINGETPLC PLCModbus PLC Slave Slave Master Slave Master Slave ModbusThingetPLC Master BA PLC Master . Slave Master Modbud NO.Serial Port XCPPRO PLC

:CALL

CALL

END

FENDEND

FEND

SRETEND

CALLX0

FEND

SRET

END

P10

P10

Page 37: PLC - Imenista learning.pdfModbus THINGETPLC PLCModbus PLC Slave Slave Master Slave Master Slave ModbusThingetPLC Master BA PLC Master . Slave Master Modbud NO.Serial Port XCPPRO PLC

STL

S

STLEEND

SET S0

STL S0

SET S1

ST S2

STL S1

STLE

STLE

STL S2

STLE

Page 38: PLC - Imenista learning.pdfModbus THINGETPLC PLCModbus PLC Slave Slave Master Slave Master Slave ModbusThingetPLC Master BA PLC Master . Slave Master Modbud NO.Serial Port XCPPRO PLC

FOR-NEXTFor

NEXT

FOR K6

INC D0

NEXT

FOR K7

INC D1

NEXT

NEXT

FOR K5M0

M3

M1

[A]

[B]

[C]

FOR-NEXT

AB

Page 39: PLC - Imenista learning.pdfModbus THINGETPLC PLCModbus PLC Slave Slave Master Slave Master Slave ModbusThingetPLC Master BA PLC Master . Slave Master Modbud NO.Serial Port XCPPRO PLC

PLCTHINGETModbus

PLCModbusPLC

MasterSlave Master SlaveSlave Master PLCThingetModbusSlave

Master PLCABMaster Slave.

PLCXCPPROSerial PortModbud NO.Master Modbus No.Slave

PLC Master

Page 40: PLC - Imenista learning.pdfModbus THINGETPLC PLCModbus PLC Slave Slave Master Slave Master Slave ModbusThingetPLC Master BA PLC Master . Slave Master Modbud NO.Serial Port XCPPRO PLC

State

Coil Read [COLR]

COLRX0

Master Slave

State

Coil Read [COLR]

COLR K1

S1·

Slave

K500 K

S2· S

K3 M1

3· D1·

SlaveMaster

K2

D2·

Master

Slave Slave

PLC

Slave Slave

Master

State

Modbus numSlave

Master

Modbus num

Page 41: PLC - Imenista learning.pdfModbus THINGETPLC PLCModbus PLC Slave Slave Master Slave Master Slave ModbusThingetPLC Master BA PLC Master . Slave Master Modbud NO.Serial Port XCPPRO PLC

Multi-coil write [MCLW]

MCLW K1 K500 K3 M1

X0K2

D1· S1· S2·D2· D3·

Slave

Modbus numSlave

SlaveWrite

Write Master Slave

PLC

Register Read [REGR]

REGR K1 K500 K3 D1X0

K2

S1· S2· S3· D1· D2·

SlaveModbus numSlave

Slave

Master PLC

Multi-register Write [MRGW]

MRGW K1 K500 K3 D1X0

K2

D1· D2· D3· S1· S2·

Slave

Modbus numSlave

SlaveWriteWrite

Master SlavePLC

Coil s start ID

Dec.

Corresponded Modbus ID

Hex.

Page 42: PLC - Imenista learning.pdfModbus THINGETPLC PLCModbus PLC Slave Slave Master Slave Master Slave ModbusThingetPLC Master BA PLC Master . Slave Master Modbud NO.Serial Port XCPPRO PLC

Register s start ID

Dec.

Corresponded Modbus ID

Hex.

-AP

PID

ID

-AP

To

Address

Description

Self-study PID trigger signal

Setting temperature

Setting temperature

:

:

:

Setting temperature

PID

parameter P

PID

parameter I

PID parameter D

PID parameter Diff

Page 43: PLC - Imenista learning.pdfModbus THINGETPLC PLCModbus PLC Slave Slave Master Slave Master Slave ModbusThingetPLC Master BA PLC Master . Slave Master Modbud NO.Serial Port XCPPRO PLC

PID

parameter P

PID

parameter I

PID parameter D

PID parameter Diff

:

:

:

PID

parameter P

PID

parameter I

PID parameter D

PID parameter Diff

Temperature control period

Temperature control period

:

:

:

Temperature control period

Adjusting environment temperature

Adjusting environment temperature

:

:

:

Adjusting environment temperature

Self-study output range

Self-study output range

:

:

:

Self-study output range

TO

TO

TO

Page 44: PLC - Imenista learning.pdfModbus THINGETPLC PLCModbus PLC Slave Slave Master Slave Master Slave ModbusThingetPLC Master BA PLC Master . Slave Master Modbud NO.Serial Port XCPPRO PLC

P

PI,DP

ID

FROM

Address

Description

Self-study PID control state signal

PID

output

PID output

:

:

:

PID output

PID

parameter P

PID

parameter I

PID parameter D

PID parameter Diff

PID parameter P

PID

parameter I

PID

parameter D

PID

parameter Diff

:

:

:

PID parameter P

PID parameter I

PID

parameter D

PID

parameter Diff

Temperature difference value

Temperature difference value

:

:

:

Temperature difference value

Page 45: PLC - Imenista learning.pdfModbus THINGETPLC PLCModbus PLC Slave Slave Master Slave Master Slave ModbusThingetPLC Master BA PLC Master . Slave Master Modbud NO.Serial Port XCPPRO PLC

FROM

PID

PID

PID

PID

Enable signal

PID

Self-study

Self-studyPID

PID

PID

Self-studyM

TO

MSelf-studySelf-study

Self-study

Self-study

FROM

FROM

Page 46: PLC - Imenista learning.pdfModbus THINGETPLC PLCModbus PLC Slave Slave Master Slave Master Slave ModbusThingetPLC Master BA PLC Master . Slave Master Modbud NO.Serial Port XCPPRO PLC

Self-study

Self-study

-AP

Connection state of

cut connection)

Mod

X

TO