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 #245 background imageLoading...
Page #245 background image
7 Programming FCs (Functions) and FBs for S7 Ethernet CPs
A-245
S7-CPs for Industrial Ethernet Configuring and Commissioning
Release 01/2007
C79000-G8976-C182-07
Explanation of the Formal Parameters
The following table explains all the formal parameters for FC12:
Paramete
r
Declara
tion
Type Possible
Values
Remarks
CPLADDR INPUT WORD - Module base address
RECV IN_OUT ANY (as
VARTYPE
only
BYTE is
permitted)
The address of
the data area
points to one of
the alternatives:
Memory bit
area
Data block
area
Specifies the address and length.
Controller mode:
The length should match the total length of the
distributed IO configured in HW Config,
whereby address gaps are also transmitted.
Device mode:
The data structure results from the order of
the slots of the output modules configured for
this PROFINET IO device on the PROFINET
IO controller line and their length without
address gaps.
Notes:
The block begins to transfer the data at
address 0 regardless of how you
configured the addresses (regardless of
the lowest configured address).
Specifying an I/O area is not permitted
since you must first change the IOPS for
GOOD before data can be accepted in the
I/O.
LEN INPUT INT Value > 0
The maximum
total length of the
data to be
transferred can be
found in the
device-specific
Part B of this
manual in the
“Performance
Data” chapter.
They may differ
for controller or
device mode.
Length of the data area to be transferred in
bytes.
The transfer of the data always begins with
address 0 regardless of the configuration.
Please note that the IO address “0” with a
length of 1 is included.
Controller mode:
The highest configured address of the
devices must be specified here. The
individual areas are not grouped together.
The data is transferred in the order of the
logical addresses (as with PROFIBUS
DP).
Device mode:
The data is transferred in the order of the
slots corresponding to the configuration of
the input modules on the PROFINET IO
controller line for this PROFINET IO
device.
Note
Make sure that the length programmed
here and the configuration of the
PROFINET IO controller are consistent.
FC 12 PNIO_RECV - continued

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