EasyManuals Logo

Siemens CP 243-1 User Manual

Siemens CP 243-1
142 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 #134 background imageLoading...
Page #134 background image
Sample program
CP 243-1
134 Operating Instructions, 03/2012, C79000-G8976-C244-02
Symbol Address Comment
ETH0_XFR
SBR2 This POU was generated by the
Ethernet wizard for use with CP 243-1
start
M4.0 Flip flop for automatic start of the data
transfer
Write_1
VB234
NETWORK 5
The local S7-200 station now reads out data from VB500 of another S7-200 station and
stores this starting at VB500 of the local S7-200 station.
Before the read request is executed, the two variables "ch0_done_write" and "ch0_ready"
are evaluated to ensure, firstly, that the preceding write request is completed and, secondly,
that the status of channel 0 is "ready".
LDAlways_On
= L60.0
LDch0_done_write
EU
U ch0_ready
= L63.7
LDL60.0
CALLETH0_XFR, L63.7, Connection0_0, Read_1, Connection_abort,
ch0_done_read, ch0_error_read
Symbol Address Comment
Always_On
SM0.0 Due the system, always 1
ch0_done_read
M5.0 Done bit of the read request
ch0_done_write
M5.1 Done bit of the write request
ch0_error_read
MB6 Error memory bit of channel 0, "read"
request
ch0_ready
M8.0 Bit for channel 0 in the CH_READY
return value of the ETH0_CTRL
subroutine
Connection0_0
VB233
Connection_abort
M7.0 Transfer aborted
ETH0_XFR
SBR2 This POU was generated by the
Ethernet wizard for use with CP 243-1
Read_1
VB235
Block of data for this configuration
//
//DATA BLOCK COMMENTS
//
//Press F1 for help and example data block
//

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Siemens CP 243-1 and is the answer not in the manual?

Siemens CP 243-1 Specifications

General IconGeneral
BrandSiemens
ModelCP 243-1
CategoryCell Phone
LanguageEnglish

Related product manuals