Description
This entry explains the configuration of an S7-300 CPU as DP slave to a CP 342-5 as DP master as well as the programming of data exchange between DP master and DP slave.
Proceed as follows to configure an S7-300 CPU as DP slave to a CP 342-5 as DP master and program data exchange between DP master and DP slave.
6518938_configuration_en.pdf ( 1267 KB )
Download The STEP 7 project contains a sample program for calling FC1 "DP_SEND" and FC2 "DP_RECV" in the user program of the DP master. The load and transfer commands are used for data transfer in the user program of the DP slave. The load and transfer commands support consistent transfer of a maximum of 4 bytes.
non_consistent.zip ( 635 KB )
The STEP 7 project contains a sample program for calling FC1 "DP_SEND" and FC2 "DP_RECV" in the user program of the DP master and a sample program for calling system functions SFC14 "DPRD_DAT" and SFC15 "DP_WR_DAT" in the DP slave. You use these system functions for transferring more than 4 bytes consistently.
consistent.zip ( 636 KB )
KeywordsConsistent data transfer, Master-slave communication
Saturday, December 3, 2011
Home »
belajar plc
,
buku training siemens gratis
,
plc siemens
,
Siemens Automation
» How do you configure an S7-300 CPU as DP slave to a CP 342-5 as DP master?
0 Comments:
Post a Comment