Programming Example for Standard Function Blocks
9.2 Settings
PtP coupling and configuration of CP 340
Manual, 04/2011, A5E00369892-03
149
9.2
Settings
Settings in the CPU via STEP 7
You must configure your controller setup with STEP 7:
●
Slot 1: Power supply
●
Slot 2: CPU
●
Slot 4: Digital input, IB0 and IB1
●
Slot 5: Digital output, QB4 and QB5
●
Slot 6: CP 340, start address P288
Settings on the CP 340
You cannot make any hardware settings on the CP 340.
All relevant data are configured via STEP 7, including the parameters for the CP 340, using
the CP 340: Point–to–Point Communication, Assigning Parameters, and then download
those data to the CPU.
You can run the program example for the computer link without making changes in the
application program with:
●
3964(R) procedure
●
ASCII driver with "on expiry of character delay time" end criterion
●
ASCII driver with "on receipt of fixed telegram length" end criterion.
For the ASCII driver with the "on receipt of the end character(s)" end criterion, you must also
program the end codes.
The program example for the printer can be run with the printer driver only.
The "read and control RS 232C accompanying signals" functions can only be carried out
with the ASCII driver. A prerequisite is that you have not set the “Automat. control of V24
signals" parameter on the "Transfer" tab.
Содержание SIMATIC CP 340
Страница 6: ...Preface PtP coupling and configuration of CP 340 6 Manual 04 2011 A5E00369892 03 ...
Страница 10: ...Table of contents PtP coupling and configuration of CP 340 10 Manual 04 2011 A5E00369892 03 ...
Страница 186: ...Accessories and Order Numbers PtP coupling and configuration of CP 340 186 Manual 04 2011 A5E00369892 03 ...
Страница 190: ...Literature on SIMATIC S7 PtP coupling and configuration of CP 340 190 Manual 04 2011 A5E00369892 03 ...
Страница 200: ...Index PtP coupling and configuration of CP 340 200 Manual 04 2011 A5E00369892 03 ...