Sample Program For Dp Communication To A Cpu 224 - Siemens SIMATIC S7-200 System Manual

Hide thumbs Also See for SIMATIC S7-200:
Table of Contents

Advertisement

S7-200 Specifications
Module = "4 Word Out/ 4 Word In
EndModule
Module = "8 Word Out/ 8 Word In
EndModule
Module = "16 Word Out/ 16 Word In
EndModule
Module = "32 Word Out/ 32 Word In
EndModule
Module = "2 Word Out/ 8 Word In
EndModule
Module = "4 Word Out/ 16 Word In
EndModule
Module = "8 Word Out/ 32 Word In
EndModule
Module = "8 Word Out/ 2 Word In
EndModule
Module = "16 Word Out/ 4 Word In
EndModule
Module = "32 Word Out/ 8 Word In
EndModule
Module = "4 Byte buffer I/O
EndModule
Module = "8 Byte buffer I/O
EndModule
Module = "12 Byte buffer I/O
EndModule
Module = "16 Byte buffer I/O
EndModule

Sample Program for DP Communication to a CPU 224

A sample program in Statement List for a CPU 224 that uses the DP port
information in SM memory is shown in Figure A-32. Figure A-33 shows the same
program in ladder logic. This program determines the location of the DP buffers
from SMW226 and the sizes of the buffers from SMB228 and SMB229. This
information is used in the program the copy the data in the DP output buffer to the
process-image output register of the CPU 224. Similarly, the data in the
process-image input register of the CPU 224 are copied into the V memory input
buffer.
A-64
-" 0x73
-" 0x77
-" 0x7F
-" 0xC0,0x5F,0x5F
-" 0xC0,0x41,0x47
-" 0xC0,0x43,0x4F
-" 0xC0,0x47,0x5F
-" 0xC0,0x47,0x41
-" 0xC0,0x4F,0x43
-" 0xC0,0x5F,0x47
-" 0xB3
-" 0xB7
-" 0xBB
-" 0xBF
S7-200 Programmable Controller System Manual
A5E00066097-02

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents