EasyManuals Logo

Siemens CPU 313C Hardware And Installation Guide

Siemens CPU 313C
238 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 #142 background imageLoading...
Page #142 background image
&RPPLVVLRQLQJ
S7-300 Automation System, Hardware and Installation: CPU 31xC and CPU 31x
9-30 A5E00105492-03
6DPSOHSURJUDP
Below you will see a small sample program for data exchange between DP master
and DP slave. The addresses used in the example are found in the table above.
,QWKH'3VODYH&38 ,QWKH'3PDVWHU&38
L 2
T MB 6
L IB 0
//Data pre-
processing in
the
DP slave
T MB 7
L MW 6
T PQW 310
// Forward data
to the
DP master
L PIB 222
T MB 50
L PIB 223
// processing data
received
in the DP master
.
L B#16#3
+ I
T MB 51
L 10 //Data preparation in
DP master
+ 3
T MB 60
CALL SFC 15 //Send data to
DP slave
LADDR:= W#16#0
RECORD:= P#M60.0 Byte 20
RET_VAL:=MW 22
CALL SFC 14
LADDR:=W#16#D
//receive data
from DP master
RET_VAL:=MW 20
RECORD:=P#M30.0 byte 20
L MB 30
L MB 7
+ I
//Reprocess
received data
T MW 100

Table of Contents

Other manuals for Siemens CPU 313C

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Siemens CPU 313C and is the answer not in the manual?

Siemens CPU 313C Specifications

General IconGeneral
MPI InterfaceYes
Number of digital inputs24
Number of digital outputs16
Number of analog inputs4
Number of analog outputs2
Supply voltage24 V DC
High-speed countersYes
Bit Operations Execution Time0.1 µs
Word Operations Execution Time0.2 µs
Power Consumption5 W
Dimensions (W x H x D)40 x 125 x 130 mm
Operating Temperature0 to 60 °C
Communication InterfacesMPI
Programming LanguagesLAD, FBD, STL
Product type designationCPU 313C
Weight490 g

Related product manuals