CP CAN 10 steps towards your application CPCAN

  • Slides: 14
Download presentation
CP CAN 10 steps towards your application

CP CAN 10 steps towards your application

CP-CAN Data Termination Resistor: 120 Ohm l 1 Master, 31 CP Participants l 31

CP-CAN Data Termination Resistor: 120 Ohm l 1 Master, 31 CP Participants l 31 CP-T-boxes maximum l 2 CP-Participants per CP-T-box l l Transmission rates: – 1 Mbit/s – 500 k. Bit/s – 250 k. Bit/s l Bus length (+ taps): 25 m / 100 m / 250 m l Tap lengths: 1. 5 m / 3 m / 6 m

Master System Festo IPC Analoge und digitale E/A's Netzwerke(LAN), Visualisierung, Bedienung, Andere Feldbusse. .

Master System Festo IPC Analoge und digitale E/A's Netzwerke(LAN), Visualisierung, Bedienung, Andere Feldbusse. . . Kabellängen in Summe !!!! 25 Meter mit 1 MBaud 100 Meter mit 500 k. Baud 250 Meter mit 250 k. Baud CP 81, Festo CAN Bus FST, i. Z. IEC 1131 Festo CAN Bus T-Box Max. 16 T-Boxes T-Box Beispiele ! 8 8/16 6/ 12 16 A E E 8/16 16 Max. 31 Teilnehmer. Vollbestückt ! Keine Einschränkungen ! 24 V /DC 992 einfachwirkende Antriebe oder 496 doppelwirkende !

Step 1: Prepare your Hardware IPC-CP 81 module l Rotary switch: 1, Base Address

Step 1: Prepare your Hardware IPC-CP 81 module l Rotary switch: 1, Base Address 2 E 0 h l Connect Power Boxes to CP 81 (Bussystem plus termination resistor 120 Ohm) l "Empty Bus". l

Step 2: Insert Driver into Your Project l l l l Call Driver configuration

Step 2: Insert Driver into Your Project l l l l Call Driver configuration (Utilities menu) Press F 1 Insert Select CP-CAN Enter IPC destination drive Press F 1 Enter Press F 8 Terminate Save and quit editor.

Step 3: Configure Master Module Start Program execution from Utilities menu l Select CP

Step 3: Configure Master Module Start Program execution from Utilities menu l Select CP CAN Configurator l Press F 2 Bus values l Enter switch setting of CP 81 as module address l Select HW Interrupt (e. g. 2) l Select CAN bus rate (e. g. 0 for 1 MBit/s) l Enter base for FST operands l Press F 8 Exit. l

Step 4: Activate Driver on System Press F 8 to exit the CP CAN

Step 4: Activate Driver on System Press F 8 to exit the CP CAN configuration tool and save settings l Download the project l Reboot the IPC. l

Step 5: Program Slave Addresses Go back to CP configuration tool l Press F

Step 5: Program Slave Addresses Go back to CP configuration tool l Press F 3 Module programming l 1. Connect only 1 new CP participant 2. Press F 1 to detect the module 3. Modify the address by using F 1 Process 4. Press F 2 to program the module 5. Proceed with 1. untill all slaves are programmed l Press F 8 Exit.

Step 6: Online Auto Configuration Press F 1 CP configurator l Press F 4

Step 6: Online Auto Configuration Press F 1 CP configurator l Press F 4 to make the actual configuration your nominal configuration l Use F 2 and F 3 to extend or modify the nominal configuration if needed l Press F 6 to print out your ready made configuration. l

Step 7: Save Settings and Load Project Press double F 8 to save your

Step 7: Save Settings and Load Project Press double F 8 to save your nominal configuration and go back to FST main menu l Load the project l Reboot the IPC. l

Step 8: Test I/O Assignment Call IPC Online, press F 1 Display IPC-Info l

Step 8: Test I/O Assignment Call IPC Online, press F 1 Display IPC-Info l Use F 1 and F 2 to verify your configuration and check the slaves. l

Step 9: Write your Programs Write your programs using the configured FST I/O l

Step 9: Write your Programs Write your programs using the configured FST I/O l Load your programs. l

Step 10: Debugging and Fine Tuning Use the function modules CP_MODE: Hard/Soft Error Behaviour

Step 10: Debugging and Fine Tuning Use the function modules CP_MODE: Hard/Soft Error Behaviour l CP_MSTAT: Master Status l CP_SSTAT: Slave Status l CP_RKNF: Waiting for slow Slaves (only with soft error behaviour). l

10 steps towards your application Œ Prepare your hardware Insert driver into project Configure

10 steps towards your application Œ Prepare your hardware Insert driver into project Configure master module Activate driver on system Program slave addresses Online auto configuration ’ Save settings and load project “ Test I/O assignments ” Write your programs • Debugging and fine tuning ‘