Extended instructions
9.3 Distributed I/O (PROFINET, PROFIBUS, or AS-i)
S7-1200 Programmable controller
384 System Manual, V4.2, 09/2016, A5E02486680-AK
Distributed I/O (PROFINET, PROFIBUS, or AS-i)
9.3.1
Distributed I/O Instructions
The following Distributed I/O instructions can be used with PROFINET, PROFIBUS, or AS-i:
● RDREC instruction (Page 385): Reads a data record with the number INDEX from a
module or device.
● WRREC instruction (Page 385): Transfers a data record with the number INDEX to a
module or device defined by ID.
● GETIO instruction (Page 388): Consistently reads out all inputs of a DP standard slave /
PROFINET IO device.
● SETIO instruction (Page 389): Consistently transfers data from the source range defined
by the OUTPUTS parameter to the addressed DP standard slave / PROFINET IO device.
● GETIO_PART instruction (Page 390): Consistently reads out a related part of the inputs
of an IO module.
● SETIO_PART instruction (Page 392): Consistently writes data from the source area
spanned by the OUTPUTS parameter to the outputs of an IO module.
● RALRM instruction (Page 394): Allows you to receive an interrupt with all corresponding
information from a module or device and supply this information to its output parameters.
● DPRD_DAT instruction (Page 408): Allows you to read consistent data areas greater than
64 bytes from a module or device with the DPRD_DAT instruction.
● DPWR_DAT instruction (Page 408): Allows you to write consistent data areas greater
than 64 bytes to a module or device with the DPWR_DAT instruction.
The D_ACT_DP instruction (Page 398) allows you to disable and enable configured
PROFINET IO devices in a targeted manner. You can also determine whether each
assigned PROFINET IO device is currently activated or deactivated.
Note
Note: You can only use the D_ACT_DP instruction with PROFINET IO devices. You cannot
use the instruction with PROFIBUS DP slaves.
The DPNRM_DG instruction (Page 416) allows you to read the current diagnostic data of a
DP slave in the format specified by EN 50 170 Volume 2, PROFIBUS.
Note
You can only use the DPNRM_D
G instruction with PROFIBUS.