Programming Example for Standard Function Blocks
9.2 Device Configuration
Point-to-point connection CP 440 Installation and Parameter Assignment
128
Manual, 09/2007, A5E00057742-03
9.2
Device Configuration
Application
To try out the program example, you could use the following devices:
●
One S7-400 PLC (mounting rack, power supply, CPU)
●
One CP 440 module with a communications partner (e.g. a second CP), or you could
plug in a "short-circuit connector", i.e. the send line is bridged to the receive line
●
A programming device (e.g. PG 740)
9.3
Settings
Settings in the CPU by means of STEP 7
Use STEP 7 to configure your controller as follows.
●
Slot 1: Power supply
●
Slot 2: CPU
●
Slot 4: CP 440, start address 512
●
Slot 5: CP 440, start address 528
There is no CP 440 on slot 5 in the "CP440 MASTER" and "CP440 SLAVE" examples.
Settings on the CP 440
You cannot make any hardware settings on the CP 440.
Use STEP 7 to configure all relevant data, including the parameters for the CP 440 with the
CP 440: Point-to-Point Communication, Parameter Assignment interface and upload them to
the CPU.
You can run the "CP440 SEND RECV" or "CP440 1CYC" program example without making
any changes in the user program with the following:
●
3964(R) Procedure
●
ASCII driver with "on expiry of character delay time" end criterion
●
ASCII driver with "on receipt of fixed message frame 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.
长沙工控帮教育科技有限公司
www.gkbpx.com