.


:




:

































 

 

 

 


Klockner Moeller PS4




 

Suconet-K

 

:

Sucosoft S 30-S4 2.0

PS4-141/151-MM1

PS4-201-MM1 04

䒺 Slave - . Test and commissioning . , . F1 . , , , , .

. Test and commissioning .

Master () 0. Slaves (), 1. Slaves (), 2-31 .

璺 Suconet :

1. RS 232 - 璺

RS 232 - . . ϳ , , 䒺 slaves () master (). , Test and commissioning .

2. ǒ

璺 . , , master slave 璺, master 䒺 slave. master. 璺 Suconet K.

Suconet K slave 1 slave .

1. , . slave 䒺 .

䒺 slave, 1. 1. slave , 䒺.

, .

, 䒺 䒺 Suconet . 1.

1, 䒺. 1 .

Not ready.


 

. 2 ǒ PS4 Suconet K

 

(PS4-201-MM1)

 

00000 BLOCK 0

001 #include dr1a221.k42

00001 BLOCK 1

001 L I0.1

002 =Q0.1

003 L IB0

004 =SDB 1.2.0.0

005 L RD 1.2.0.1.1

006 =Q0.3

00002 BLOCK 2

001 EP

 

dr1a221.k42. (L I0.1), () (=Q0.1). , (PS4-201-MM1) (Master), (PS4-141-MM1) (EM4-101-AA2B84) (Slave). (L IB0) (=SDB 1.2.0.0). ³ , - . . (L RD 1.2.0.1.1). ϳ (=Q0.3).

 

. 3 dr1a221.k42

 

(PS4-141-MM1).

 

00000 BLOCK 0

001 #include lab5.k42

00001 BLOCK 1

001 L I0.3

002 =Q0.5

003 L RDB0

004 =MB 20

005 L I0.1

006 =SD1.1

00002 BLOCK 2

001 EP

 

 

lab5.k42. (L I0.3), () (=Q0.5). . . , (L RDB0) MB20 (=B 20). . ϳ () (L 0.1). , .

lab5.42

 

. 4 lab5.42

 


4. , Profibus

PROFIBUS (. Process Field Bus) .

Profibus ' ' . ' . Profibus , .

ISO 7498-OSI :

1 ;

2 ;

3 .

PROFIBUS Protocol ( OSI)

OSI-г PROFIBUS
  DPV0 DPV1 DPV2
  --
 
 
 
  FDL
  Գ EIA-485 MBP

³ EN 50 170, DIN 19245 ( , , , , , , . .). Profibus - . ͳ (BMBF) 1989 . Գ Profibus , , . 9.6 / 12 /. RS-485.

PROFIBUS

ѳ Profibus , :

PROFIBUS DP (. Decentralized Peripherals ) . .

PROFIBUS PA (. Process Automation ) . / . Գ ( ) IEC 61158-2, , . . 31.25 /. , PA DP, DP . DP . , DP PA , , ' .

PROFIBUS FMS (. Field bus Message Specification ) - ' . ³ , . ' FMS 볺-. , FMS Siemens, - SIMATIC S7 FMS-CP , , SIMATIC S5 CP 5431FMS.

PROFIBUS FMS PROFIBUS DP, DP, - FMS. Profibus FMS , ' Ethernet Profinet.

, PROFIBUS DP :

DP-V0 ;

DP-V1 ;

DP-V2 (slave) .

Profibus . ISO ( FDL - Field bus Data Link). (token). Profibus (master) (slave) . , , ( ), (, ). ϳ . , . , ( master-slave). , .

Գ

:

EIA-485 150 㳿 . 9,6 / 12 /. 100 1200 , . PROFIBUS DP.

㳿 , . ³ 15 . ʳ .

. 5 OLM-

MBP (Manchester Bus Powered) . , . 1900 ( 60 ). 31,25 /. PROFIBUS PA. PROFIBUS-PA 2- , / . , . .

 

. 6

 

PROFIBUS

 


PROFIBUS ' .
, .
. , () (Master') Master-Slave PROFIBUS. , 䳺 , , .
. PROFIBUS- . 0 126. , , 127. :

"" Master-Master ( ),

"" Master-Slave (Master-Slave),

.

 

 

, PROFIBUS, (Token-Ring) (.1.16). ϳ (Token Ring) 쳺 , (Token) ., , - . HSA (Highest Station Address). ³ , . . Ttr (Time Target Rotation) .
(MAC - Medium Access Control) , .

 

. 7

 

LAS (List of Active Station - ). PS (Previous Station), , NS (Next Station), . , LAS , , , ' .

 

Master-Slave

, "" Master-Slave (.8).
Master-Slave ( ), , Slaves ( ). Slave, , . PROFIBUS-DP . (DP-Master) (DP-Slaves).

 



. 8 Master-Slave


5. Siemens S7-300

 

Siemens.

 

. 9 X_SEND X_RCV


66 X_RCV

 

EN_DT (BOOL) I,Q,M,D,L,Constant enable data transfer ( ). 0, ; 1, , RD.
RET_VAL ֳ (Int) I,Q,M,D,L , ,
REQ_ID (DWORD) I,Q,M,D,L X_SEND, . , REQ_ID = 0
NDA (BOOL) I,Q,M,D,L New data arrived ( ) NDA = 0: NDA = 1: EN_DT = 0; EN_DT=1
RD - (ANY) I,Q,M,D (receive area). : bool, byte, char, word, int, dword, dint, real, date, tod, time, s5time, date and time .

 

 


65 X_SEND

REQ (BOOL) I,Q,M,D,L,Constant request to activate ( )
CONT (BOOL) I,Q,M,D,L,Constant continue ()
DEST_ID (WORD) I,Q,M,D,L,Constant destination ID ( ). ̳ MPI .( Step 7)
REQ_ID (DWORD) I,Q,M,D,L,Constant .
SD - (ANY) I,Q,M,D (send area). : bool, byte, char, word, int, dword, dint, real, date, tod, time, s5time, date and time .
RET_VAL ֳ (Int) I,Q,M,D,L , ,
BUSY (BOOL) I,Q,M,D,L Busy =1: ³ ; Busy = 0: ³

 

˳

1. PS4-141-MM1. 2 ̳ " '- 㳿" /. .. , .. . : - . - , 2001. - 20 .

2. Siemens S7-300. 4 ̳ " '- 㳿" /. .. , .. . : - . - , 2001. - 18 .

 





:


: 2017-02-25; !; : 469 |


:

:

, .
==> ...

1735 - | 1552 -


© 2015-2024 lektsii.org - -

: 0.054 .