EasyManuals Logo
Home>Siemens>Computer Hardware>SIMATIC CP 340

Siemens SIMATIC CP 340 User Manual

Siemens SIMATIC CP 340
200 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #150 background imageLoading...
Page #150 background image
Programming Example for Standard Function Blocks
9.3 Blocks Used
PtP coupling and configuration of CP 340
150 Manual, 04/2011, A5E00369892-03
9.3 Blocks Used
Blocks Used
The table below shows the blocks used for the sample program.
Block Symbol Description
OB 1 CYCLE Cyclic program processing
OB 100 RESTART Restart processing
DB 2 DB_P_RCV Instance DB for P_RCV FB
DB 3 DB_P_SEND Instance DB for P_SEND FB
DB 4 DB_P_PRINT Instance DB for P_PRINT FB
DB 10 SEND_DB Send data block
DB 20 RCV_DB Receive data block
DB 30 DB_PRT_AUFTR Pointer DB for format string and variables
DB 31 DB_VAR1 DB data for variable 1
DB 32 DB_VAR2 DB data for variable 2
DB 33 DB_VAR3 DB data for variable 3
DB 34 DB_VAR4 DB data for variable 4
DB 35 DB_STRING DB data for format string
FB 2 P_RCV Standard FB for receiving data
FB 3 P_SEND Standard FB for sending data
FB 4 P_PRINT Standard FB for outputting message
FC 5 V24_STAT Standard FC for reading CP outputs
FC 6 V24_SET Standard FC for writing CP outputs
FC 8 DT_TOD Standard FC for converting the DT format to TOD
FC 9 CPU_TIME Standard FC for reading CPU time and converting to TOD
FC 10 ORG_CYC Organization of cycle
FC 11 SEND_CYC Sending Data
FC 12 RCV_CYC receiving data
FC 13 PRN_ZYK Output message
FC 14 V24_CYC Controlling RS 232C secondary signals

Table of Contents

Other manuals for Siemens SIMATIC CP 340

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Siemens SIMATIC CP 340 and is the answer not in the manual?

Siemens SIMATIC CP 340 Specifications

General IconGeneral
BrandSiemens
ModelSIMATIC CP 340
CategoryComputer Hardware
LanguageEnglish

Related product manuals