1:使用cpu 315f 和et 200s 时应如何避免出现“通讯故...

54
1:使用 CPU 315F ET 200S 时应如何避免出现“通讯故障”消息? 使用 CPU S7 315FET 200S 以及故障安全 DI/DO 模块,那么您将调用 OB35 的故障安全程序。而且,您已经接受所 有监控时间的默认设置值,并且愿意接收“通讯故障”消息。 OB 35 默认设置为 100 毫秒。您已经将 F I/O 模块的 F 控时间设定为 100 毫秒,因此至少每 100 毫秒要寻址一次 I/O 模块。但是由于每 100 毫秒才调用一次 OB35,因此会发 生通讯故障。要确保 OB35 的扫描间隔和 F 监控时间有所差别,请确保 F 监控时间大于 OB35 的扫描间隔时间。 S7 分布 式安全系统,一直到 V5.2 SP1 6ES7138-4FA00-0AB06ES7138-4FB00-0AB06ES7138-4CF00-0AB0 都会 出现这个问题。在新的模块中,F 监控时间设定为 150 毫秒. 2:DP 从站不可用时,PROFIBUS S7-300 CPU 的监控时间是多少? 使用 CPU PROFIBUS 接口上的 DP 从站操作 PROFIBUS 网络时,希望在启动期间检查期望的组态与实际的组态是否 匹配。在 CPU 属性对话框中的 Startup 选项卡上给出了两个不同的时间。 3:如何判断电源或缓冲区出错,如:电池故障? 如果电源(S7400)或缓冲区中的一个错误触发一个事件,则 CPU 操作系统访问 OB81。错误纠正后,重新访问 OB81。电池故障情况下,如果电池检测中的 BATT.INDIC 开关是激活的,则 S7-400 仅访问 OB81。如果没有组态 OB81,则 CPU 不会进入操作状态 STOP。如果 OB81 不可用,则当电源出错时,C PU 仍保持运行。 4:为 S7 CPU 上的 I/O 模块(集中式或者分布式的)分配地址时应当注意哪些问题? 请注意,创建的数据区域(如一个双字)不能组态在过程映象的边界上,因为在该数据块中,只有边界下面的区域能够被 读入过程映像,因此不可能从过程映像访问数据。 因此,这些组态规则不支持这种情况:例如,在一个 256 字节输入的 过程映像的 254 号地址上组态一个输入双字。 如果一定需要如此选址,则必须相应地调整过程映像的大小(CPU Properties )5:在 S7 CPU 中如何进行全局数据的基本通讯?在通讯时需要注意什么? 全局数据通讯用于交换小容量数据,全局数据(GD)可以是: 输入和输出 标记 数据块中的数据

Upload: hathuy

Post on 14-Mar-2018

277 views

Category:

Documents


17 download

TRANSCRIPT

1:CPU 315F ET 200S

1:CPU 315F ET 200S CPU S7 315F ET 200S DI/DO OB35 OB 35 100 F I/O F 100 100 I/O 100 OB35OB35 F F OB35 S7 V5.2 SP1 6ES7138-4FA00-0AB06ES7138-4FB00-0AB06ES7138-4CF00-0AB0 F 150 .2:DP PROFIBUS S7-300 CPU CPU PROFIBUS DP PROFIBUS CPU Startup 3:(S7400)CPU OB81OB81BATT.INDIC S7-400OB81OB81CPU STOPOB81 C PU 4S7 CPU I/O ()() 256 254 (CPU Properties )5S7 CPU (GD)GDCPUGD GD CPU CPU GD CPU CPU GD CPU (SFBFB FC)6S7-400 CPU 318-2DP 6ES7951-1K... (Flash EPROM)6ES7951-1A... (RAM)> 7LED CPU 31xC 124 125 CPU 24V 1LED 1 24V 313C (6ES7 313-5BE0.-0AB0),313C-2DP (6ES7 313-6CE0.-0AB0),313C-2PTP (6ES7 313-6BE0.-0AB0), 314C-2DP(6ES7 314-6CF0.-0AB0),314C-2PTP (6ES7 314-6BF0.-0AB0)8CPU 31x-2 PN/DP PN PROFINET (PROFINET)( 100 Mbit/s 9CPU > Properties > Diagnostics/Clock> CPU10PROFIBUS DP plc SFC14 DPRD_DATSFC15DPWR_DATFC1 DP_SEND FC2 DP_RECV11S7 CPU SFC 51RDSYSSTCPU SFC 51 SSL ID 01111 = 6 = 7 = 12CPU 317-2PN/DP S7-300 FB14("GET")FB15("PUT")

S7 CPU 317-2PN/DP S7-300 S7 NetPro < S7 FB14("GET") CPUFB15("PUT")CPU STEP 7 V5.3 CPU 317-2PN/DP FB14("GET")FB15("PUT") FB14 FB15 OB1 REQ FB14 FB15 DONENDR ERRORPUT GET SIMATIC_NET_CP CPU317-2PN/DP13CPU 313C-2 PtP CPU 314-2 PtP SEND FETCH SEND (SFB 63)(DONE ERROR)FETCH (SFB 64)(REQ=0 )FETCH (SFB 64)(DONE ERROR)SEND (SFB 63)(REQ=0 )(SEND SFB 63 FETCH SFB 64)(SERVE SFB 65)14MICROMASTER 420 440 ()CPU 317T SIMODRIVE 611UMASTERDRIVES MC SINAMICS S CPU 317T MICROMASTER 15DP CPU ()CPU DP DP DX 16SFC65SFC66SFC67 SFC68 SFC67 (X_GET)SFC68(X_PUT)()SFC65 (X_SEND)SFC66(X_RCV) 76 S7-300 CPU 8 S7-400 CPU S7-200S7-20017 I/O (SM/FM/CP) STEP 7 S7-300 18STOP STOP CPUHW Config 19123(SFC52 WR_USMSG)STOP STOP ()()20MMC STEP 7 MMC1STEP 7 Windows ()2CPU"PLC > ModuleInformation > Memory"" Load memory RAM + EPROM"3MMC 21CPU CPU Flash-EPROM (MC)(MMC)(CPU 312 IFM )MPI MPI/DP CPU PROFIBUS PG/PC CPU MPI MPI/DP 22MPI CPUCPU MPI "Set PG/PC interface"CPU MPI ""CPU CPUCPUMPI S7-CPU23OB (1)OBOBCPU STOP(OB70727 3 81)S7-CPU 1 2 ()24DP CPU315-2DP OBsCPU315-2DP STEP7 OB I/O OB 82 OB OB 86 OB OB 122 I/O1OB82 CPU OB82 OB82 4 OB82, CPU OB SFC 39 - 42 2OB86 DP I/O CPU OB 86 OB 86 CPU OB86 SFC39 - 42 3I/O OB122CPUOB 122CPU OB 122OB 122OB 122,CPU 25?STEP 7 CPU /26S7 300 CPU S7 300 CPU RAM ""( OB86 DP ) CPU , RAM ""27 CPU315-2DP CPU315-2DP CPU315-2DP S7 H/W CONFIG OB OB82_MDL_ADDR OB82 1 CPU315-2DP 422 2 CPU315-2DP 3 102228S7-300 CPU DP CPU I-SlaveCPU S7 DP HW Config DP "Commissioning/Test operation""Programming, status/modify..."S7 4 -PG/OP S7 DP ( CP 343-1 )MPICPU 31829S7-300 CPU CPU 312IFM 316-2DP SFC2, SFC3 SFC4 "B#16#0" "RETVAL" "8080h" CPU "B#16#0" (OB1, OB35)SFC2 "SET_RTM"OB(OB100)30L 0 L 31CPU S7-300 ( )CPU CPU CPU CPU CPU CPU 318 S7-400 CPU CPU 32S7 CPU S7 DP DP , STEP 7 S7 CPU PROFIBUS-DP > CPU 31x-2 DP DP DP S7 CPU DP S7-300 CPU GSD PROFIBUS GSD / SIMATICSIMATIC Manager > GSD... GSD ( HW Config ) > DP PROFIBUS-DP > > SPS S7-300 CPU DP , DP PROFIBUS I/O 33CPU (MPI) (MPI ) 8 34 2 CPU 2 4 CPU 300C 2 I = 4 CPU ( 4 )( 2 )2 50mA()( 2 PTC )35SM322-1HH01 24 V 24 V SM322-1HH0136SM322-1HF01 SM322-1HF01 17 V 8 mA (10V 5 mA)3724V (6ES7 321-xBxxx- ...)24V (L+ / M) 38: ET200M SM321 (DI16 x 24V) SM321 (MLFB 6ES7 321-7BH00-0AB0) ET200M CPU 31x-2DP DP CPCP342-5 DP ET200M S7-400 CP443-5 S7-400 CPU39:SM323 ?SM323 16 (6ES7 323-1BL00-0AA0) 8 (6ES7 323-1BH00-0AA0) 16 XX+1 SM323 4 ( X="4" 5), 4 5 , 4 5 XX 8 SM323 4, I 4.0 I 4.7 Q 4.0 Q 4.740:SM321-1CH20 SM321-1CH80 SM321-1CH20 SM321-1CH80 SM321-1CH80 31CPU S7-300 ( )CPU CPU CPU CPU CPU CPU 318 S7-400 CPU CPU 32S7 CPU S7 DP DP , STEP 7 S7 CPU PROFIBUS-DP > CPU 31x-2 DP DP DP S7 CPU DP S7-300 CPU GSD PROFIBUS GSD / SIMATICSIMATIC Manager > GSD... GSD ( HW Config ) > DP PROFIBUS-DP > > SPS S7-300 CPU DP , DP PROFIBUS I/O 33CPU (MPI) (MPI ) 8 34 2 CPU 2 4 CPU 300C 2 I = 4 CPU ( 4 )( 2 )2 50mA()( 2 PTC )35SM322-1HH01 24 V 24 V SM322-1HH0136SM322-1HF01 SM322-1HF01 17 V 8 mA (10V 5 mA)3724V (6ES7 321-xBxxx- ...)24V (L+ / M) 38: ET200M SM321 (DI16 x 24V) SM321 (MLFB 6ES7 321-7BH00-0AB0) ET200M CPU 31x-2DP DP CPCP342-5 DP ET200M S7-400 CP443-5 S7-400 CPU39:SM323 ?SM323 16 (6ES7 323-1BL00-0AA0) 8 (6ES7 323-1BH00-0AA0) 16 XX+1 SM323 4 ( X="4" 5), 4 5 , 4 5 XX 8 SM323 4, I 4.0 I 4.7 Q 4.0 Q 4.740:SM321-1CH20 SM321-1CH80 SM321-1CH20 SM321-1CH80 SM321-1CH80 31CPU S7-300 ( )CPU CPU CPU CPU CPU CPU 318 S7-400 CPU CPU 32S7 CPU S7 DP DP , STEP 7 S7 CPU PROFIBUS-DP > CPU 31x-2 DP DP DP S7 CPU DP S7-300 CPU GSD PROFIBUS GSD / SIMATICSIMATIC Manager > GSD... GSD ( HW Config ) > DP PROFIBUS-DP > > SPS S7-300 CPU DP , DP PROFIBUS I/O 33CPU (MPI) (MPI ) 8 34 2 CPU 2 4 CPU 300C 2 I = 4 CPU ( 4 )( 2 )2 50mA()( 2 PTC )35SM322-1HH01 24 V 24 V SM322-1HH0136SM322-1HF01 SM322-1HF01 17 V 8 mA (10V 5 mA)3724V (6ES7 321-xBxxx- ...)24V (L+ / M) 38: ET200M SM321 (DI16 x 24V) SM321 (MLFB 6ES7 321-7BH00-0AB0) ET200M CPU 31x-2DP DP CPCP342-5 DP ET200M S7-400 CP443-5 S7-400 CPU39:SM323 ?SM323 16 (6ES7 323-1BL00-0AA0) 8 (6ES7 323-1BH00-0AA0) 16 XX+1 SM323 4 ( X="4" 5), 4 5 , 4 5 XX 8 SM323 4, I 4.0 I 4.7 Q 4.0 Q 4.740:SM321-1CH20 SM321-1CH80 SM321-1CH20 SM321-1CH80 SM321-1CH80 41:I/O S7-300 I/O () hardware 42SM321 DC 24V MLFB 6ES7 321-1BH02-0AA0 SM 321 DC 24V 43 STEP 7 SM374SM374 16 16 8 8 /SM374 SM 374 16 16 - SM 321: 6ES7321-1BH01-0AA0 SM 374 16 16 - SM 322: 6ES7322-1BH01-0AA0 SM 374 //( 8 8 ) - SM 323:6ES7323-1BH01-0AA0446ES7331-1KF0.-0AB0 I+6ES7331-1KF0.-0AB0 I+> 50 PTC 12V(1 )30V45CPU 2 D 1 20 2 CPU46S7-300 1.8:S7-300 AI 8 x RTD+/-1.0 +/-1.8 47S5/S7 AD "50Hz" 8 SM331-7KF02-0AB0 180ms 20ms 48S7-300 S+S-SM 332 SM 332 S+S-S+ S- 4 3 6 4 53-45-6 (S+ S-) 140 mV ( 10V)g 0.5 %496ES7 331-1KF0-0AB0? M+ M- S- M-: 6KVM M50PT100 SM331PT100 Ic+ Ic-SM331 M+M-PT100 4 ***13 SM331 MLFB6ES7 331-7Kxxx-0AB0b " 2 S7-300 4SM331(MLFB 6ES7331-7PF00-0AB0)3PT100 51 HART SIMATIC S7-300 HART HART S7-300 6ES7331-7KF0x-0AB0 4 ( 6ES7331-7RD00-0AB0) 16.66ms20ms 100ms 250-Ohm (SIMATIC PDM)HART HART (6ES7331-7TB00-0AB0 6ES7 332-5TB00-0AB0)52SM335 MLFB /6ES7335-7HG00-0AB0 6ES7335-7HG01-0AB0() Mana (6)M0(10)M1(12)M2(14)M 3(16)(CGP) M Mana 53S7-300F S7-300F E/A ET200M (MLFB: 6ES7195-7KF00-0XA0)(IMSMFMCP)E/A 54 0 1 / S7-300 Ex(i) 0 / 1 /Ex(i) [EEx ib] IIC [EEx ia] 0 /()55SIMATIC PCS 7 FM 355 FM 355-2 ET 200M FM 355FM 355-2 :FM 355 () 6ES7153-2BA00-0XB0 IM 153-2 HF ( )IM 153-2 SM/FM/CP ( 6ES7 195-7Hxxx-0XA0)56FM 352-5 FM 352-5 FM352-5 6ES7 352-5AH10-0AE0P 6ES7 352-5AH00-0AE0 M : 2,2 kOhm/ 0,5 W. 100 kHz57PG FM353/FM354 FM353 (MLFB No. 6ES7 353-1AH01-0AE0)FM354(MLFB No. 6ES7 354-1AH01-0AE0)PG FM353 V2.1 FM354 V2.1 STEP7 V3.1 FM (SDB >=1000) PG SDB FM (DB/,) SDB CPU CPU 57 FM 350-2 I/O FM 350-2 I/O I/OWordDwordDwordWord L PIW Word L PID Dword 58Siemens 6FX2001-5 (Up=24V; SSI)59FM3572 ?FM3572 V3.2/V3.3 FM3572 V3.4 1) FM3572 ,2) FM3572 3) ,FM3572 60 FM350-1 FM450-1 ()FCCNT_CTRL DQ0 DBX 27.0 DBX27.1 ( CTRL_DQ0) 1 SET FM 350-1 / FM 450-1 I2 Q0 ( FM 350-1 / FM 450-1)DBD14(LOAD_VAL)( L#0) DBD18 (CMP_V1) FC FCCNT_CTRL FM 61 FM350-1 24V ,,SF ,FM3501 ?,(24V),,FM350-1 ,5V ,,,SF ,,,62 FM3501 ?FM3501 ,FM3501 ,(DI ),,,OB40 FM3501 4 63 FM350-1 ,?FM350-1 CPU,,:1 ,FM350-1 ,DB(UDT )18(1)22(2),DINT,28.0(DQ0)28.1(DQ1),64FM350-2 ,?S7300CPU FM ,,,FM ,,FM3502 DB1 ,12 DB1.DBB0 ,200 DB1.DBD52 ,FC3 ,200,10 ,DB1.DBB0 ,DB1.DBD52 ,100 4 ,101 4 ,DB1.DBB2 ,654-20 mA 4 mA ?4ma -1 3.9995mA,1.185 mA -4864 (10 )1.185mA,800016 7FFF16 661.FC164 x y 2. FC165 x y 3. FC166 x y 4. FC167 x y 67S7 PLC MPI S7 PLC GD GD S7300,S7300S7400MPI MPI S7-300 S7-300 400 S7-300/400S7200 PLC OB35(100ms),OB1()68:CPU DP S7-300/400 CPU CPU 50ms 100ms CPU OB86 OB122 CPU 69: 3964(R)RK 512 RK 512, 3964(R) 3964(R)()70:DP 0DP OB86(S7-300/400)1. 2. OB86 OB 3. OB86 71MANA : M- MANA MANA 0 - 20/+ -20mA. COMP+/COMP-. IC+ / IC- MANA : M-M-.UCM > 2.5V M-cpu. 0 - 20/ +-20mA. COMP+/COMP-. IC+ / IC-SM 331-7NF10-0AB0 4 Ex SM 331-7RD72plc 73CP5511/5611 0x0300 Cannot find module:Please check whether the CP5511 is installed and slottedproperly.Check the interrupt and address assignments. Information onfurther procedures is available also in the STEP 7 Online Help under"Setting the PG/PC Interface", in the paragraph on "Checking theinterrupt and address assignments". More information is alsoavailable in the STEP 7 Readme file ("Start > SIMATIC > Productnotes"), in section 4.4.1 under "Built-in MPI onboard and the MPI PCmodule -> Setting interrupts and addresses".0x0312 Incorrect configuration parameters:Deinstall the CP5511 and reinstall it again. For this you click the"Select" button in the PG/PC interface (Fig. 1). Mark the CP5511with the cursor in the right window (Fig. 3). Then click the"Deinstall" button. Now, (after restarting STEP 7) you can mark theCP5511 in the left window and click the "Install" button. For thisactivity you need to have administrator rights to your PC (see STEP7 Readme file, section 3.1).0x0313 Baud rate does not correspond with network orincorrect interrupt:Check the transfer speed (Baud rate) in the PG/PC interfaceand in the hardware configuration. The Baud rate must not begreater than the Baud rate that is supported by the slowest user.The PROFIBUS addresses configured in the hardware configurationmust match the addresses of the system configuration.Check the interrupt and address assignments. Information onfurther procedures is available in the STEP 7 Online Help under"Setting the PG/PC interface", in the paragraph on "Checking theinterrupt and address assignments" (Index: Check interruptassignment). More information is also available in the STEP 7Readme file ("Start > SIMATIC > Product notes"), in section 4.4.1under "Built-in MPI onboard and the MPI PC module -> Settinginterrupts and addresses".0x0316 Hardware ressource already busy:If this error message occurs after the installation of the CP5511in "Setting PG-PC interface0x031a Cannot find any active PB/MPI network:Activate the function "PG/PC is the only master on the bus" inthe Properties of the PG/PC interface (see Fig. 4). This disables anadditional safety function against bus faults. You get to this maskvia the "Properties" button - see Fig. 1. The requirement is that theinterface parameters used are set to "CP5511(MPI)".0x0318 Interrupt occupied:This message appears in most cases in Windows NT. In theBIOS of your computer change the "PnP" setting to "No". You get tothe BIOS of your computer by restarting your PC and hitting the F2key.0x031b Synchronization error:Please check the bus parameters on the bus. These mustmatch the bus parameters configured in the hardware configuration.Check the installation of the bus cable.0x031c AMPRO2 system error:Activate the function "PG/PC is the only master on the bus" inthe Properties of the PG/PC interface (see Fig. 4).Please check whether all the terminators for the PROFIBUSnetwork are connected properly.It is also possible that the STEP 7 drivers are not installed orhave been deleted or that an incorrect driver has been installed. Inthis case we recommend sending the CITAMIS.str file to CustomerSupport for checking.Another possible cause might be that the hardware is defective.0x0320 Cannot find DLL/VXD as file:On your PC please find the file specified in the WindowsExplorer via "Tools > Find > Files/Folders". Either the file is not onyour computer or it is found twice. Please rename the file in theWindows system directory and then restart Windows.In the Registry, the references to the files are missing. Accessto the required parameters from the Registry is not possible.Perhaps you don't have the required access rights or the systemdatabase is damaged.The drivers are not compatible with the operating systems.73CP5511CP5512CP5611RS232PC-Adapter Set PG/PC Interface CP5511CP5512CP5611RS232 PC-AdapterSet PG/PC Interface ->Select->Install-->Step7Step7 MicroWinSimatic NetWinCCProtoolFlexiblePCS774:TeleService PRODAVE MPI 45014501 TeleService (standort)station(standort)PRODAVE MPIY TeleService 75AS ?AS ONLINE(DB).OFFLINEDB.File > Generate SourceDB STL . BEGIN END_DATA_BLOCK () STRUCTwordVar : WORD := W#16#ABCD...END_STRUCT STL 76OB SFBOB(S7-300 OB100 S7-400 OB100OB101)OB(OB1)(PLC STOP RUN)SFB OB100 OBCPU OB M1.0 M0.177ARRAY T6-1 ()().ARRAY ARRAYARRAY IN-OUT TEMPIN OUT (OFFSET)ARRAY BOOL ()b = *( - 1)ARRAY ARRAY [1..2,1..3] OF [1,1][1,2] [1,3] [2,1]78STEP 7 POINTER STEP 7 6 POINTER 4-1 POINTER POINTER DB (DB 0) CPU ()(Byte.Bit )POINTER STEP 7 79Alarm8P(SFB35)OB 1?()Alarm(SFB33)A larm_8(SFB34)Alarm_8P(SFB35) 2 3 OB OB 100/101/10280STEP 7 STEP 7 STEP 7 CD SimaticSTEP7.msiSTEP 781300PLC MMC S7-300CPU Protection siemens PG6ES7798-0BA00-0XA0USB USB deleteS7 MemoryCardprommer 6ES7792-0AA00-0XA0SIMATIC Manager File MMC MMC MMC jie MMC 82 314C 1Gate functionCancel count01 2Job183CP342-5 PROFIBUS FMS CP342-5 PROFIBUS DP PROFIBUS FMSCP343-5 PROFIBUS FMS PROFIBUS DP CP342-5 CP343-5 PROFIBUSFDL 84CP342-5 FO CP342-5 FO 3MB6MB 5.1 CP342-5STEP7 V5.1 CP342-5 ,V5.0 CP342-5 CP342-5 S7-300S7-300 I/O 4 118 85CP342-5 3 No DP CP342-5 S7 PROFIBUS FDL DP Master CP342-5 PROFIBUS S7 FDL DP delay timeFDL DP IO PROFIBUS DP Slave CP342-5 The module is an active node on the PROFIBUS subnet CP 342-5 S7 FDL CP342-5 86CP342-5 S7-300 4 CP342-5 CP342-5 16 S7 Connection16 S5-CompatibleConnectionCP342-5 No DP 32 DP Slave DP Master 28 CP342-5 PROFIBUS DP 124 244 Input244 Output2160 2160 CP342-5 240 240 CP342-5 16OP16 S7 Connnection87STEP7 S7-300 OB82OB86OB122 S7-400 OB82OB87OB12288CP342-5 CP342-5 OPS7 No DP FC1DP_SENDFC2(DP_RECV)PROFIBUS DP 89CP342-5 RunSTOP STEP7 CP342-5 24V M CPUM CP firmware CP342-5 90CP342-5 PROFIBUS 1.STEP7 S7-300 2.S7300 CPU3. "SIMATIC 300 > CP 300 >PROFIBUS > CP342-5" CP342-5S7300 Version5.1Version5.0Version5.1 Version5.0.4.CP342-5 PROFIBUS NewPROFIBUS PROFIBUS(1) CP342-5 35.CP342-5CP342-5 "OperatingMode" "DP Slave" CP342-5 CPU PROFIBUS FC1(DP_SEND)FC2DP_RECVCPU CP342-5CP342-5 PROFIBUS FC3 FC4 6.OK .91CP342-5 PROFIBUS 1.STEP7 SIMATIC Manager S7300 2.2-4 CP342-5 newPROFIBUS(1)OK"Operating Mode""DP Master"92CP342-5 DP CPU DP CPU DP CP443-5 DP Load/Transfer 2Mov SFC14/15 I/O 342-5 DP Load/Transfer Mov PROFIBUS I/O CP342 PROFIBUS1.CPU CP 2.CP342-5 PROFIBUS Output CPU Input CP342-5 Input/Output FC1SENDFC2RECVCP342-5 CPU 93DP_SENDDP_RECV""DP_SEND""DONE""ERROR" "STATUS""DP_RECV""NDR", "ERROR", "STATUS" "DPSTATUS"ErrorFalseSTATUS0DONE=TrueNDRTrue CPU CP342-5 94 DP CP CPU CP342-5 "DP_SEND" "DP_RECV" PROFIBUS I/OCP342-5 Input Output PROFIBUS I/O CP342-5 Input Output 2160 Output Input CP342-5 PROFIBUS PLC "DP_SEND""DP_RECV"CP342-5 95CP342-5PROFIBUS "DP_DIAG" (FC 3) cp job DP ,dp dp cp cpu 96CP342-5 PROFIBUS DP ET200IM151-1 IM153-2CP342-5 SF S7-300 CP342-5 DP IM153-2 IM153-2 DP S7 GSD ET200 IM153 DP GSD Tools > "Install new GSD file""PROFIBUS-DP > Additional Field Devices".DP 9711.2. STEP7 STEP7 *.dll257:598PLC S5TIME 1INT REAL PLCPLC ITDInteger to Double IntegerRNDReal to Double Integer withRounding OffTIMEFC40TIME S5TIME 2WORD PLCPLC Word Logic WOR_W MOVE S5TIME 3WinCC 32 32 PLC TIMEFC40TIME S5TIME 99STEP 7 SFC 0 "SET_CLK" CPU SFC 1 "READ_CLK" CPU FC 3 "D_TOD_DT" DATE_AND_TIME DATEFC 6 "DT_DATE" DATE_AND_TIME the day of theweekFC 7 "DT_DAY" DATE_AND_TIME FC 8 "DT_TOD"FC33 S5TIME TIME FC40 TIME S5TIME 100:S7-300 U MLFB 6ES7 153-1AA02-0XB0 DP DPV1 MLFB IM153-1AA00-0XB0 IM153 2-3 IM153 STEP7 5.1 S7-400 CPU S7-400 CP DP IM153 "Operating Parameters"1STEP7 PROFIBUS DP IM153 module exchange in opration2IM153 PROFIBUS 3I/O ET200M 4ET200M Replace modulesduring operation()5ET200M 6IM153I/O S7-400 OB82OB83OB84OB85OB86OB87OB121OB122 ET200MOB83 OB85OB122 S7-300 CPU CP 342-5 DP GSD IM153 DP IM153STEP7 PROFIBUS DP ET200M IM153 PROFIBUS 101STEP7 KNOW_HOW_PROTECTIN, OUT IN/OUT /1LAD/FBD/STL2 File>Generate source 3LAD/FBD/STL SIMATICManager source source 4TITLE KNOW_HOW_PROTECT5source FileSaveFileCompile6102jie 1. Source 2. KNOW_HOW_PROTECT3. source : STL source 103OB CPUOB83 CPU OB81 CPU OB81 OB CPU OB83104WinCC Modbus WinCC Modbus Tag 32 32 1336597Input Bits/Output Bits Function Code0102PLC 8 Input Words/Output Words Function Code 0304PLC 16 S7300 Modbus 0.5%105CP341 modibus modibus Function Code 010515 MQTC modbus Function Code 02 MI modbus Function Code 030616 DB modbusDB Function Code 04 DB modbus DB 106 CP34x D GND RS232 107 CP340,CP341 (PC ,VB,VC )CP340,CP341 PC ,,,PLC P_Send,TXD ,PLC ;,PC VB,VC ,,,PC ,,,PLC CP340 ASCII,DB (chat '1','2','A')P_Send PC PLC ,,,,,Windows "Hyper Terminal",PLC 12A"Send Text File",PLC,108CP341 Modbus ?1CP341 : 6ES7 341-1xH01-0AE0 (x:= A: RS232; x:= B:TTY; x:= C: RS422/485)2**(MODBUS master): 6ES7 870-1AA01-0YA0**(MODBUS slave): 6ES7 870-1AB01-0YA0109CP341 SATEL modem DTR RTS 0 OB1 FC6 (V24_SET). RTS DTR "TRUE".110"CP 340 RS232C"FB4"P_PRINT" "P_PRINT"CP340,CP340 "P_PRINT","PointerDB","Variables DB""Format String"111CP 341 / CP 441-2 LicenseMODBUS 6ES7 870-1AA01-0YA0 CD(PDF )CP341 CP441 CP MODBUS (copy license)MODBUS Dongle6ES7870-1AA01-0YA1 CP 441-2112CP34x CP34x 10 11 Parameters 10 11 178 odd even any 0none 12 1113:S7-300 / 400 S7-200 MPIX_PUT / X_GET S7-300 / 400 S7-200 CPUg S7-300 / 400 S7-200CPU22x S7-200 CPU19,2 kBd 187,5kBd CPU21x S7-200 CPU 19,2 kBd114:(CP340, CP341, CP441-2, CP441-1) 3964(R) RK512 2 4 4 3964(R) RK512.115:ASCII ?254 STRING(character string)256 ,254 ,,,ASCII ,116PROFIBUS-DP SFC 58/59 SFB 52/53 (SFC 58/59 SFB 52/53)CPU CPU 31x-2DP: DP 4 4 CPU 317, CPU 318-2: DP 8 8 CPU 41x-2DP: DP 8 8 SFC/SFB 32CPU SFC/SFB 40 (8 + 32 )PROFIBUS Net SFC/SFB CPU .117MPI/DP 118SM 331-7NF00 400Hz 10ms100Hz ()140ms.119OB86 OB86(IM IM ) PROFIBUS-DP DP S7-300 S7-400 S7-300 OB 86S7-400 OB 86120:300 S7-300 PLC CPU I/O 8 13 8 I/O4 11 3 24 I/O RackPSIM368S7-300 S7-300 S7-300 S7-300 0 40C0 60C CPU 121(S7400)CPU OB81OB81BATT.INDIC S7-400 OB81OB81CPU STOPOB81 CPU 122CPU OB 82OB 82 SFC 51 SFC 59 OB 82 OB 82 123SM322-8BF1 10mA(1mA) WirebreakageSM322-8BF (0.5 10mA)10mA(24V ca.2.4 kOhm)