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 #239 background imageLoading...
Page #239 background image
7 Programming FCs (Functions) and FBs for S7 Ethernet CPs
A-239
S7-CPs for Industrial Ethernet Configuring and Commissioning
Release 01/2007
C79000-G8976-C182-07
7.8.1 FC11 PNIO_SEND
The PNIO_SEND FC is used to transfer data in the PROFINET IO controller or
PROFINET IO device modes of the CP.
Operation as PROFINET IO controller
The block transfers the process data (outputs) of a specified output area to the
CP to be forwarded to PROFINET IO devices and as status display returns the
IO consumer status (IOCS) of the outputs of the PROFINET IO devices.
Operation as PROFINET IO device
The block reads the preprocessed process inputs of the CPU on the
PROFINET IO device and transfers them to the PROFINET IO controller
(configured I addresses); the block also returns the IO Consumer Status (IOCS)
of the PROFINET IO controller as a status display.
The preprocessed process data is available in a DB or bit memory area.
Call Interface
Call interface in FBD representation
CPLADDR
DONE
PNIO_SEND
LEN
ERROR
STATUS
WORD
INT
WORD
BOOL
BOOL
IOCS ANYSENDANY
CHECK_IOCS BOOL
Example in STL representation
STL Explanation
call fc 11
CPLADDR :=W#16#0100
LEN :=20
IOCS :=P#DB10.DBX20.0 BYTE 3
DONE :=M 70.0
ERROR :=M 70.1
STATUS :=MW 72
CHECK_IOCS :=M 70.2
SEND :=P#DB10.DBX0.0 BYTE 20
//PNIO_SEND block call
//Module address from hardware configuration
//Length of the data area
//Per send data byte one bit status in DB10
//Address for return parameter DONE
//Address for return parameter ERROR
//Address for return parameter STATUS
//Address for return parameter CHECK_IOCS
//Data area to be transferred from DB10
//(20 bytes)
Explanation of the Formal Parameters
The following table explains all the formal parameters for FC11:

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