Sie sind auf Seite 1von 20

Preparando el Nodo (Festo CMMP-AS-)

Pasos:
- Configuracin del CMMP-AS - Uso del FCT-tool para configurar - Profile: FHPP

- node address: #

TM-ST/THU / SSIM

CANopen - Basics

Entwurf

Streng Vertraulich

Configurar la placa CAMC-PB para el CMMP-AS-.

TM-ST/THU / SSIM

CANopen - Basics

Entwurf

Streng Vertraulich

Configurar el editor de Fieldbus (# nodo en Profibus-DP).

TM-ST/THU / SSIM

CANopen - Basics

Entwurf

Streng Vertraulich

Preparando el Master S7-300 (Siemens <-> CMMP-AS)


Festo handling and positioning profile standard GSD entry as FHPP Standard, 8 bytes of I/O data, consistent transmission An appropriate device master file (GSD file) for the CMMP-AS must be installed for configuration. With the STEP 7 Hardware Configurator you can load the files via the menu command [Options] [Install GSD file] in the dialogue win-dow HW Config.

TM-ST/THU / SSIM

CANopen - Basics

Entwurf

Streng Vertraulich

Insertando al CMMP-AS como esclavo


The hardware configuration window represents graphically the structure of the master system. When the GSD file has been installed, the CMMP-AS can be selected in the hard-ware catalogue. It can be found in the group [PROFIBUS-DP] [Additional Field Devices] [Drives] [Festo], (see Fig. 2/1). In order to insert the CMMP-AS: 1. Drag the station type Festo CMMP-AS or Festo CMMP-AS DP-V0 ( , see section 2.1.1) from the hardware catalogue onto the PROFIBUS line ( ) of the DP master sys-tem (Drag & Drop). 2. Enter the PROFIBUS address in the dialogue window Properties PROFIBUS inter-face... and confirm with OK. 3. If necessary, enter other settings in the dialogue window Properties DP slave (e.g. the response monitoring or the startup parametrizing) and confirm with OK. The icon of the CMMP-AS is displayed on the line of the DP master system ( ).

TM-ST/THU / SSIM

CANopen - Basics

Entwurf

Streng Vertraulich

TM-ST/THU / SSIM

CANopen - Basics

Entwurf

Streng Vertraulich

Configurando las caractersticas del esclavo


After clicking the icon for the CMMP-AS, you can configure the Slave properties in the lower part of the screen. Here you can determine the number and size of the I/O ranges of the slave and assign them with address ranges of the master. In order to configure the slave properties of the CMMP-AS: 1. Open the available modules (configurations) in the hardware catalogue under [Festo CMMP-AS ...]. 2. Then drag the desired configuration (see section 2.1.2) with the mouse into the ap-propriate line under Component/DP identifier. NOTE: With STEP 7 a Universal module is also offered for compatibility reasons. This must not be used.

TM-ST/THU / SSIM

CANopen - Basics

Entwurf

Streng Vertraulich

TM-ST/THU / SSIM

CANopen - Basics

Entwurf

Streng Vertraulich

Abriendo programa de ejemplo

TM-ST/THU / SSIM

CANopen - Basics

Entwurf

Streng Vertraulich

Proyecto de ejemplo

TM-ST/THU / SSIM

CANopen - Basics

Entwurf

Streng Vertraulich

10

Overview de las carpetas S7 program del proyecto de ejemplo.

TM-ST/THU / SSIM

CANopen - Basics

Entwurf

Streng Vertraulich

11

Bloque de Funcin CMMP-AS_CTRL


1. The CMMP-AS is controlled with block CMMP-AS_CTRL.

TM-ST/THU / SSIM

CANopen - Basics

Entwurf

Streng Vertraulich

12

Mtodo de operacin
System functions used For data exchange the block uses internally the system functions SFC14/SFC15. The correct logical input and output addresses of the slave projected in the Hardware Manager must be entered for the data exchange. Device control In order that the drive can be controlled via the PLC, the device control via the PROFIBUS interface must be active. Control via the FCT must be deactivated (Return message-Bit Drive_Control_FCT_HMI = 0). The drive is ready to operate when the bits Stop, Halt and Enable_Drive = 1 and the Fault bit = 0. This is shown with the bits Drive_Enabled and Ready = 1. Note here that control via PROFIBUS depends additionally on the signals at the digital I/O control interface o f the controller (see manual of the CMMP-AS).

TM-ST/THU / SSIM

CANopen - Basics

Entwurf

Streng Vertraulich

13

Selecting the operating mode


The bits for selecting the desired operating mode have been grouped together in an inte-ger number. The method of operation of the individual operating modes can be found in the FHPP manual, type P.BE-CMM-FHPP-SW-...

TM-ST/THU / SSIM

CANopen - Basics

Entwurf

Streng Vertraulich

14

Habilitacin del controlador

TM-ST/THU / SSIM

CANopen - Basics

Entwurf

Streng Vertraulich

15

Habilitando el controlador.

TM-ST/THU / SSIM

CANopen - Basics

Entwurf

Streng Vertraulich

16

Estado de Controlador Habilitado

TM-ST/THU / SSIM

CANopen - Basics

Entwurf

Streng Vertraulich

17

Seleccionar el modo de operacin

TM-ST/THU / SSIM

CANopen - Basics

Entwurf

Streng Vertraulich

18

Starting a positioning task in direct mode


In order to start a positioning task you must carry out reference travel (homing) when the CMMP-AS has been switched on. If reference travel is successful, it will be shown with the bit Drive_is_Referenced. When the Direct mode has been set with the bit Operation_Mode, the desired nominal position and nominal speed must be set with Set_Value_Position and Set_Value_Velocity.

Note: The positioning task is started with the bit Start_Task.

TM-ST/THU / SSIM

CANopen - Basics

Entwurf

Streng Vertraulich

19

Starting a positioning task in Record Select mode


When the Record Select mode has been set with the bit Operation_Mode, the desired po-sitioning record saved in the CMMP-AS must be set with the value Record_No.

Preselecting the record number

Note: The positioning task is started with the bit Start_Task.

TM-ST/THU / SSIM

CANopen - Basics

Entwurf

Streng Vertraulich

20

Das könnte Ihnen auch gefallen