Download
1 / 153

4 - PowerPoint PPT Presentation


  • 135 Views
  • Updated On :
  • Presentation posted in: General

??????. l??????????,???????????,?????????????????????????l????????,?????????????????l???????????,????????????????????l????? ?????,?????????????l??? ????,????????????????????. ??????. 4.1 ?????? . 4.1.1 ?????? 4.1.2 ?????? 4.1.3 ?????? 4.1.4 ????? 4.1.5 ????? 4.1.6 ?? . ??????. 4.1.1 ?????? .

loader
I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.
capcha

Download Presentation

4

An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -

Presentation Transcript


4

  • 4.1

  • 4.2

  • 4.3

  • 4.4

  • 4.5


  • l

  • l

  • l

  • l

  • l


4.1

  • 4.1.1

  • 4.1.2

  • 4.1.3

  • 4.1.4

  • 4.1.5

  • 4.1.6


4.1.1

  • 1.

  • 4.1


4.2


  • 1

  • +I16IN1IN216OUT

  • LADFBDIN1+IN2=OUT

  • STLIN1+OUT=OUT

  • IN1IN2VWIWQWMWSWSMWLWAIWTCAC*VD*AC*LD

  • OUTVWIWQWMWSWSMWLWTCAC*VD*AC*LD


SM1.0SM1.1SM1.2

ENOSM1.1SM4.30006

+IIN1, OUT


  • +IVW0, VW4

  • 4.1

4.1


  • 3.

  • 1Network

  • 2/

  • 3

  • 4

  • 5

  • 6

  • 7

  • 8


4.1.2


  • S7-2004.3


1.

  • 1LDLoaD

  • 2LDNLoaD Not

  • 3AAnd

  • 4ANAnd Not

  • 5OOr

  • 6ONOr Not

  • 7NOT

  • 8=


  • LDLDNAANOONNOT4.44.5


  • 4.5AI0.2


  • 3

  • 4.2

4.2LADSTL


2.

  • 4.3

  • 4.4

4.3FBD


4. 4


  • ED

  • 4.54.64.5


4.5


4.6


3.

  • 1S

  • 2R

  • 10255104.6


  • 1S

  • bitN

  • Sbit,N

  • SQ0.0,1


  • 2R

  • bitNTC

  • Rbit,N

  • RQ0.2,3

  • 4.7


4.7


  • 4.8

4.8


4.

  • 1

  • 2=I

  • 3SI

  • 4RI


  • 1

  • I

  • LDILDNIAIANIOIONILDI

  • LDIbit

  • LDII0.2

  • bitI


  • 2=I

  • =Ibit

  • =IQ0.2

  • bitQ


  • 3SI

  • bitN128

  • SIbit,N

  • SIQ0.0,2

  • bitQSIRI4.7


  • 4RI

  • bitN128

  • RIbit,N

  • RIQ0.0,1

  • 4.94.10


4.9


4.10


4.1.3

  • 1.

  • 2.

  • 3.

  • 4.

  • 5.

  • 6.


1.

  • ALD

  • ALD4.8


2.

  • OLD

  • OLD4.9


3.

  • LPS

  • LPSLPPLPSLPP

  • LPS4.10


4.

  • LPPLPS

  • LPPLPSLPS

  • LPP4.11


5.

  • LRD

  • LRD 4.12


6.

  • LDS

  • LDSn n0~8

  • LDS4

  • LDS4

  • 4.13


  • 4.11

4.11


4.1.4

  • 3TONTONRTOF

  • S7-200//3 1ms10ms100ms4.14


  • 1

  • 2PT

  • 3LADFBD


1.

  • TONOFF0OFF0ON32767OFF0

  • TONTxxxPT

  • TONT1208


2.

  • TONROFFOFF0ON32767

  • TONR

  • TONRTxxxPT

  • TONRT2063


3.

  • TOFOFF0ON0OFF

  • TOFONOFF

  • TOFTxxxPT

  • TOFT356


4.

  • 14.123T35T2T36


4.12


  • 4.13

4.13


  • 2TON

  • PLCTONTON

  • 4.14TONTOFTOF

  • 4.15

  • 4.16

  • I0.0Q0.0I0.03Q0.0I0.06Q0.0


4.14


4.14


4.15


4.16


4.1.5

  • 1.

  • 2.

  • 3.

  • 4.

  • 5.


1.

  • 3CTUCTUDCTD

  • 4


4.18


2.

  • CTUOFF011ON32767OFF0

  • CTUCxxxPV

  • CTUC203

  • 4.19


4.19


3.

  • CTUDCUCD

  • CTUDCxxxPV

  • CTUDC305

  • 4.20


4.20


4.

  • CTDCDOFFPVCD10ON

  • OFF0

  • CTDCxxxPV

  • CTDC404

  • 4.21


4.21


5.

  • 1

  • 24.22


4.22


4.1.6

  • 1.

  • 2.

  • 3.

  • 4.

  • 5.


1.

  • IN1IN2LDBABOB

  • LDB=AB<>OB>=

  • IN1IN2VBIBQBMBSBSMBLB*VD*AC*LD

  • LDB=VB10,VB12

  • AB<>MB0,MB1

  • OB<=AC1,116


2.

  • IN1IN216#800016#7FFFLDWAWOW

  • LDW=AW<>OW>=

  • IN1IN2VWIWQWMWSWSMWLWAIWTCAC*VD*AC*LD

  • LDW=VW10,VW12

  • AW<>MW0,MW4

  • OW<=AC2,1160


3.

  • IN1IN216#8000000016#7FFFFFFF

  • LDD=VD10,VD14

  • AD<>MD0,MD8

  • OD<=AC0,1160000

  • LDD>=HC0,*AC0


4.

  • IN1IN2-1.175495E-38-3.402823E+38+1.175495E-38+3.402823E+38LDRAROR

  • LDR=VD10,VD18

  • AR<>MD0,MD12

  • OR<=AC1,1160.478

  • AR>*AC1,VD100


5.

  • 60001000L15000L2

  • L1L2Q0.0Q0.110005000VW20VW30

  • 4.234.24


4.23


4.24


4.2

  • 4.2.1

  • 4.2.2

  • 4.2.3

  • 4.2.4

  • 4.2.5

  • 4.2.6

  • 4.2.7


4.2.1

  • 1.

  • +I16IN1IN216OUT


4.25


  • 2.

  • +D32IN1IN232OUT

  • LADFBDIN1+IN2=OUT

  • STLIN1+OUT=OUT

  • OUTVDIDQDMDSDSMDLDAC*VD*AC*LD

  • +DIN1 OUT

  • +DVD0VD4


  • +R32IN1IN232OUT

  • LADFBDIN1+IN2=OUT

  • OUTVDIDQDMDSDSMDLDAC*VD*AC*LD

  • SM1.0SM1.1SM1.2


4.2.2


  • LADFBDIN1-IN2=OUT

  • STLOUT- IN2=OUT

  • -IIN2,OUT

  • -DIN2,OUT

  • -RIN2,OUT

  • -IAC0,VW4


4.2.3

1.

  • *I16IN1IN216OUT

*IIN1OUT

*IVW0AC0


2.

  • MUL16IN1IN232OUT

  • LADFBDIN1*IN2=OUT

  • OUTVDIDQDMDSDSMDLDAC*VD*AC*LD

  • SM1.0SM1.1SM1.2SM1.30

  • MULIN1OUT

  • MULAC0VD10


3.

  • *D32IN1IN232OUT

  • STLIN1*OUT=OUT

  • IN1IN2VDIDQDMDSDSMDLDHCAC*VD*AC*LD

  • OUTVDIDQDMDSDSMDLDAC*VD*AC*LD

  • SM1.0SM1.1SM1.2SM1.30

  • *DIN1OUT

  • *DVD0AC0


4.

  • *R32IN1IN232OUT

  • LADFBDIN1*IN2=OUT

  • STLIN1*OUT=OUT

  • IN1IN2VDIDQDMDSDSMDLDAC*VD*AC*LD

  • OUTVDIDQDMDSDSMDLDAC*VD*AC*LD

  • SM1.0SM1.1SM1.2SM1.30

  • *RIN1OUT

  • *RVD0AC0


4.2.4

  • LADFBDIN1/IN2=OUT

  • STLOUT/ IN2=OUT

  • /IIN2,OUT

  • DIVIN2,OUT

  • /DIN2,OUT

  • /RIN2,OUT


  • DIVVW10, VD100

  • /IVW20, VW200

  • 4.26

4.26



4.2.5

  • 1.

  • 2.

  • 3.

  • 4.


1.

  • SQRT32IN32

  • LADFBDSQRT(IN)=OUT

  • STLSQRT(IN)=OUT

  • SM1.0SM1.1SM1.2

  • ENOSM1.1SM4.30006

  • SQRTINOUT

  • SQRTVD0AC0


2.

  • LN32IN32

  • 1050VD0AC0

  • 4.27

4.27


3.

  • EXP32INe32OUT

  • LADFBDEXP(IN)=OUT

  • STLEXP(IN)=OUT

  • EXPIN, OUT

  • EXPVD0, AC0


4.

  • SINCOSTAN32IN32

  • *RMUL_R/180


  • TANVD0, AC0

  • COS160o4.28

4.28


4.2.6

  • 1.

  • 2.

  • 3.

  • 4.


1.

  • INCBIN1

  • OUT

  • DECBIN1OUT


2.


3.

  • INCD32IN1OUT

  • DECDIN1OUT


4.

  • 24

  • 4.29

4.29


4.2.7

  • 1.

  • 2.

  • 3.


1.


2.


3.


4.3

  • 4.3.1

  • 4.3.2

  • 4.3.3

  • 4.3.4


4.3.1

  • 1.

  • 1MOVB

  • 2BIR

  • 3BIW

  • 4MOVW

  • 5MOVD

  • 6MOVR

  • 2.

  • 1BMB

  • 2BMW

  • 3BMD


1.

  • 1MOVB

  • INOUT

  • INVBIBQBMBSBSMBLBAC*VD*AC*LD

  • OUTVBIBQBMBSBSMBLBAC*VD*AC*LD

  • MOVBIN1, OUT

  • MOVBVB0, QB0


  • 2BIR

  • INOUT

  • INIB

  • OUTVBIBQBMBSBSMBLBAC*VD*AC*LD

  • BIRIN1, OUT

  • BIRIB0, VB10


2.

255

NVBIBQBMBSBSMBLBAC*VD*AC*LD

ENOSM4.300060091


4.3.2

  • 1.

  • 2.

  • 3.


1.

  • 1

  • SLBSRBINNOUT8


  • 4.16

4.16SLB


  • SLWSRWSHR_WSHR_WINNOUT16

  • SLWOUT, N

  • SRWOUT, N

  • SLWMW0, 2

  • SRWLW0, 3

  • 4.17


  • 3

  • SLDSRDSHL_DWSHR_DWINNOUT32

  • SLDOUT, N

  • SRDOUT, N

  • SLDMD0, 2

  • SRDLD0, 3


2.

SM1.1SM1.1SM1.1SM1.1


  • 1

  • 2

  • 3

4.18RRW


3.

  • SHRB

  • 3DATAS_BITN1

  • 64


4.19SHRB


4.3.3

  • SWAPIN

  • ENOSM4.30006

  • SWAPIN

  • SWAPVW10

  • 4.20


4.3.4

  • FILLINOUTN

  • N1~255

  • ENOSM4.300060091

  • FILLIN, OUT, N

  • FILL10, VW100, 12

  • 10VW100VW12212


4.4

  • 4.4.1

  • 4.4.2

  • 4.4.3


  • 4.21


4.4.1

  • ATT

  • 2DATATBL

  • EC1


4.22ATT


4.4.2

  • 1. FIFO

  • 2. LIFO


1. FIFO

  • TBLDATA

  • FIFO

  • EC1

  • FIFOTBL, DATA

  • FIFOVW100, AC0

  • 4.214.23


4.23FIFO


2. LIFO

  • TBLDATA

  • LIFO

  • EC1

  • LIFOTBL, DATA

  • LIFOVW100, AC0

  • 4.214.24


4.24LIFO


4.4.3

  • FND?0~99

  • 4TBLPTNCMD1~4=<><>INDX


4.25


4.5

  • 4.5.1

  • 4.5.2

  • 4.5.3

  • 4.5.4


4.5.1

  • 1.

  • 1

  • 2

  • 2.

  • 1

  • 2

3.

1

2

4. BCD

1BCD

2BCD

5.


1.

  • 1

  • BTIINOUT

  • ENOSM4.30006

  • BTIIN, OUT

  • BTIVB0, AC0


  • 2

  • ITBINOUT0~255

  • SM1.1

  • ENOSM1.1SM4.30006

  • ITBIN, OUT

  • ITBAC0, VB10


2.

  • 1

  • DTIINOUT

  • SM1.1

  • ENOSM1.1SM4.30006

  • DTIIN, OUT

  • DTIAC0, VW20


  • 2

  • ITDINOUT

  • ENOSM4.30006

  • ITDIN, OUT

  • ITDVW0, AC0


3.

  • 1


  • 2

  • DTRINOUT

  • ENOSM4.30006

  • DTRIN, OUT

  • DTRAC0, VD100


4. BCD

  • 1BCD

  • BCDIBCDBCDINOUTIN0~9999

  • BCDIOUT

  • BCDIAC0


  • 2BCD

  • IBCDBCDINBCDOUTIN0~9999

  • IBCDOUT

  • IBCDAC0


5.

  • PLC

  • 4.30


4.5.2

  • 1.

  • ENCOIN1OUT4161

  • ENOSM4.30006

  • ENCOIN, OUT

  • ENCOAC0, VB0


  • 4.26

4.26


  • 2.

  • DECOIN4OUT10161

  • ENOSM4.30006

  • DECOIN, OUT

  • DECOVB0, AC0

  • 4.27



4.5.3

  • SEGIN4OUT


4.5.4

  • 1.

  • 1ASCII16

  • 216ASCII

  • 3ASCII

  • 4ASCII

  • 5ASCII


  • 2.

  • ASCII16

  • ATHASCII163INLEN255OUTINLENASCII16OUT


  • 3.

  • 4.284.31

4.28ATH


4.31


THANK YOU VERY MUCH


ad
  • Login