EasyManuals Logo

Siemens SIMATIC S7-1200 System Manual

Siemens SIMATIC S7-1200
1614 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 #1120 background imageLoading...
Page #1120 background image
Communication processor and Modbus TCP
13.3 Point-to-point (PtP) communication
S7-1200 Programmable controller
1120 System Manual, V4.2, 09/2016, A5E02486680-AK
13.3.5.5
P3964_Config (Configuring the 3964(R) protocol)
Table 13- 19 P3964_Config (Configuring the 3964(R) protocol) instruction
LAD / FBD
SCL
Description
"P3964_Config_DB"(
REQ:=_bool_in_,
PORT:=_uint_in_,
BCC:=_usint_in,
Priority:= _usint_in,
CharacterDelayTime:=_uint_in,
AcknDelayTime:= _uint_in,
BuildupAttempts:=_usint_in_,
RepetitionAttempts:=_usint_in_,
DONE=>_bool_out_,
ERROR=>_bool_out_,
STATUS=>_word_out_);
P3964_Config allows you to change
priority and protocol parameters dur-
ing runtime.
You can set up the initial static config-
uration of the port in the device con-
figuration properties, or just use the
default values. You can execute the
P3964_Config instruction in your pro-
gram to change the configuration.
1
STEP 7 automatically creates the DB when you insert the instruction.
The CPU does not permanently store the values you set with the P3964_Config instruction.
The CPU restores the parameters configured in the device configuration after a power cycle
of the CPU. See Configuring the 3964(R) communication priority and protocol parameters
(Page 1106) for more information.
Table 13- 20 Data types for the parameters
Parameter and type
Data type
Description
REQ IN Bool Activate the configuration change on rising edge of this input. (Default value:
False)
PORT IN UInt After you install and configure a CM or CB communication device, the port
identifier appears in the parameter helper drop-list available at the PORT
box connection. The assigned CM or CB port value is the device configura-
tion property "hardware identifier". The port symbolic name is assigned in
the "System constants" tab of the PLC tag table. (Default value: 0)
BCC IN USInt Activates/deactivates the use of the block check
• 0 = without block check
• 1 = with block check
Priority IN UInt Selection of the priority
• 0 = low priority
• 1 = high priority
The priority of the CM must be the opposite of the priority of the communica-
tion partner.
CharacterDe-
layTime
IN UInt Character delay time setting (depending on the set data transmission rate)
(default value: 220 ms)
1 ms to 65535 ms

Table of Contents

Other manuals for Siemens SIMATIC S7-1200

Questions and Answers:

Question and Answer IconNeed help?

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

Siemens SIMATIC S7-1200 Specifications

General IconGeneral
CPU TypeCPU 1211C, CPU 1212C, CPU 1214C, CPU 1215C, CPU 1217C
CommunicationPROFINET
Analog Inputs2
Analog Outputs2
Power Supply24V DC
Expansion ModulesSignal Modules (SM), Communication Modules (CM)
Programming LanguagesLAD, FBD, SCL
Dimensions90 mm x 100 mm x 75 mm
Program Memory50 KB to 150 KB (depending on model)

Related product manuals