EasyManuals Logo

Siemens SIMATIC NET S7-300 User Manual

Siemens SIMATIC NET S7-300
317 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 #253 background imageLoading...
Page #253 background image
7 Programming FCs (Functions) and FBs for S7 Ethernet CPs
A-253
S7-CPs for Industrial Ethernet Configuring and Commissioning
Release 01/2007
C79000-G8976-C182-07
Paramet
er
RemarksPossible
Values
Data
type
Declarat
ion
LEN IN_OUT INT The maximum length is
480 bytes.
Read data record:
OUTPUT parameter only; after a
successful read, the length of the
read data record is indicated;
otherwise 0.
Write data record:
INPUT parameter only; length of
the data record to be written is
entered here by the user. The
length must match the definition of
the data record.
RECORD IN_OUT ANY (as
VARTYPE
, BYTE,
WORD
and
DWORD
are
permitted)
The address of the data
area points to one of the
alternatives:
Memory bit area
Data block area
The length of the any
pointer must be greater
than or equal to the
definition of the data
record.
Read data record:
OUTPUT parameter only; after a
successful read, the data of the
data record is stored here. If the
length of the ANY pointer is too
low, as much data as possible is
transferred.
Write data record:
INPUT parameter only; the data to
be written from the data record is
stored here by the user. The length
of the ANY pointer must be at least
as long as the LEN parameter.
Condition Codes
The following table shows the condition codes formed by the DONE, ERROR and
STATUS parameters that must be evaluated by the user program.
Note
For entries with the coding 8Fxx
H
note the information under STATUS in the
Reference Manual “STEP 7 - System and Standard Functions for S7-300 and
S7-400”. The chapter describing error evaluation with the RET_VAL output
parameter contains detailed information.
Table 7-13 PNIO_RW_REC codes
DONE
ERROR STATUS Meaning
0 0 8180H Data transfer active
1 0 0000H Data record transferred successfully

Table of Contents

Other manuals for Siemens SIMATIC NET S7-300

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Siemens SIMATIC NET S7-300 and is the answer not in the manual?

Siemens SIMATIC NET S7-300 Specifications

General IconGeneral
Product Type DesignationSIMATIC NET S7-300
MountingDIN rail mounting
Protection ClassIP20
CPU ModelsVarious models available (e.g., CPU 312, CPU 314)
Communication InterfacesMPI, PROFIBUS DP
Power Supply24 V DC power supply required. Different power supply modules available.
I/O ModulesDigital input modules, digital output modules, analog input modules, analog output modules
ProgrammingSTEP 7 software
Supply Voltage24V DC or 120/230V AC (depending on model)
Digital InputsAvailable via digital input modules
Digital OutputsAvailable via digital output modules
Analog InputsAvailable via analog input modules
Analog OutputsAvailable via analog output modules
Communication FunctionsMPI, PROFIBUS DP, Ethernet (depending on model)
ProtocolsMPI, PROFIBUS DP, TCP/IP (depending on model)
Operating Temperature0°C to 60°C
Storage Temperature70 °C
MemoryDepends on CPU model (e.g., 32 KB to 1.5 MB)

Related product manuals