JVL FBG10 User manual


JVL Industri Elektronik A/S — User Manual — Field Bus Gateway FBG-10 1
Contents
1Introduction ................................................................................................................................5
1.1 Field Bus Gateway FBG-10 .................................................................................................................................6
2Installation ..................................................................................................................................7
2.1 Introduction ..........................................................................................................................................................8
2.2 Connections, PROFIBUS .....................................................................................................................................9
2.3 Connections, RS232 ...........................................................................................................................................10
2.4 Bus Termination, PROFIBUS ............................................................................................................................11
2.5 Setting of Unit address .......................................................................................................................................12
2.6 Lamp Functions ..................................................................................................................................................13
3Interface for PROFIBUS-DP ..................................................................................................15
3.1 Introduction ........................................................................................................................................................16
3.2 Configuration .....................................................................................................................................................17
3.3 Ident-number ......................................................................................................................................................18
3.4 Set Station Address ............................................................................................................................................19
3.5 Sync and Freeze mode .......................................................................................................................................20
3.6 Description of Output Data ................................................................................................................................21
3.7 Description of Input Data ...................................................................................................................................24
4Interface for RS232 ..................................................................................................................27
4.1 Introduction ........................................................................................................................................................28
4.2 Command Description .......................................................................................................................................29
4.3 Data-format description .....................................................................................................................................30
5Conversion Table .....................................................................................................................35
5.1 Conversion Table ...............................................................................................................................................36
6GSD-file .....................................................................................................................................43
6.1 GSD-file .............................................................................................................................................................44
7Technical data ..........................................................................................................................45

2JVL Industri Elektronik A/S — User Manual — Field Bus Gateway FBG-10

JVL Industri Elektronik A/S — User Manual — Field Bus Gateway FBG-10 3
Copyright 1996-2001, JVL Industri Elektronik A/S. All rights reserved.
This user manual must not be reproduced in any form without prior written
permission of JVL Industri Elektronik A/S.
JVL Industri Elektronik A/S reserves the right to make changes to informa-
tion contained in this manual without prior notice.
Similarly JVL Industri Elektronik A/S assumes no liability for printing er-
rors or other omissions or discrepancies in this user manual.
MotoWare is a registered trademark of JVL Industri Elektronik A/S
JVL Industri Elektronik A/S
Blokken 42
DK-3460 Birkerød
Denmark
Tlf. +45 45 82 44 40
Fax. +45 45 82 55 50
e-mail: [email protected]
Internet: http://www.jvl.dk

4JVL Industri Elektronik A/S — User Manual — Field Bus Gateway FBG-10

JVL Industri Elektronik A/S — User Manual — Field Bus Gateway FBG-10 5
1 Introduction

6JVL Industri Elektronik A/S — User Manual — Field Bus Gateway FBG-10
1.1 Field Bus Gateway FBG-10
FBG10 is a PROFIBUS-DP / RS 232 - converter, which makes it possible to communi-
cate via a PROFIBUS with the following JVL-motor controllers:
Direct communication with these controllers takes place via an ASCII-based RS 232 pro-
tocol. FBG10 converts commands from PROFIBUS-commands to ASCII-commands,
and converts ASCII-response to PROFIBUS-response.
Reference is made to DIN E 19245 part 3 for definition of PROFIBUS-DP.

JVL Industri Elektronik A/S — User Manaul — Field Bus Gateway FBG-10 7
2Installation

8JVL Industri Elektronik A/S — User Manual — Field Bus Gateway FBG-10
2.1 Introduction
FBG10 is designed for DIN-rail mounting in a control panel.
Drawing 2.0.1

JVL Industri Elektronik A/S — User Manaul — Field Bus Gateway FBG-10 9
2.2 Connections, PROFIBUS
For connection to PROFIBUS-DP a 9-pole SUBD-connector, (female), designated
"Field bus" is available on the front panel.
Connections:
RxD/TxD-P: 3
DGND: 5
P5V: 6
RxD/TxD-N: 8

10 JVL Industri Elektronik A/S — User Manual — Field Bus Gateway FBG-10
2.3 Connections, RS232
For connection to RS 232 a 9-pole SUBD-connector, (male), designated "RS232" is
available on the front panel.
Connections:
Rx: 2
Tx: 3
GND: 5

JVL Industri Elektronik A/S — User Manaul — Field Bus Gateway FBG-10 11
2.4 Bus Termination, PROFIBUS
DIN E 19245 requires that PROFIBUS is terminated in both ends with a resistor network
as shown below::
FBG10 does not include this network and connection to PROFIBUS should therefore
take place by means of a SUBD-connector with an integrated resistor network. This is
however only neccessary if the FBG10-unit is physically connected as the last unit on
PROFIBUS.

12 JVL Industri Elektronik A/S — User Manual — Field Bus Gateway FBG-10
2.5 Setting of Unit address
For setting of the unit address there is a DIP-switch on the front panel of the FBG10
All of the unit adresses from 0 .. 127 can be set by means of the switches A6 .. A0 . The
setting of the switch designated "VALID" determines if the address set is valid.
Function:
—FBG10 contains an EEPROM, where the last set unit address is stored.
—DIP-switches are read at each "power on".
—If VALID = 1, then FBG10 will get the address which A6 .. A0 to indicate and this
address is at the same time stored in the EEPROM.
—If VALID = 0, then FBG10 will get the address which is stored in the EEPROM.
—
—Setting of the unit address is therefore made by:
1. Set A6 .. A0 to the required address.
2. Set VALID = 1.
3. Connect supply voltage and wait 1 sec.
4. Set VALID = 0.
The set addres is now stored in the EEPROM, and will be used by the following "power
on".

JVL Industri Elektronik A/S — User Manaul — Field Bus Gateway FBG-10 13
2.6 Lamp Functions
FBG10 contains 4 LEDs on the front panel for indication of status.
POWER:
Indicates that supply voltage is connected. As the diode is activated via the program, the
diode furthermore may indicate that the program is executed correctly in the internal con-
troller.
ERROR:
Indicates that the communication on PROFIBUS or RS 232 is in error. PROFIBUS-ma-
ster may for example have sent an unknown command or FBG10 has not been able to
convert a value from the motor controller. PROFIBUS-master can read the exact cause
of the error. See section 3.7.1, "Status description", page 24.
FIELD BUS READY:
Indicates that FBG10 is active concerning the communication on PROFIBUS. This im-
plies that the physical connection is ok, and that the master on PROFIBUS has accepted
the FBG10 unit.
RS 232 BUSY:
This diode is lit as long as communication between motor controller and FBG10 via RS
232 takes place.

14 JVL Industri Elektronik A/S — User Manual — Field Bus Gateway FBG-10

JVL Industri Elektronik A/S — User Manual — Field Bus Gateway FBG-10 15
3Interface for PROFIBUS-DP

16 JVL Industri Elektronik A/S — User Manual — Field Bus Gateway FBG-10
3.1 Introduction
PROFIBUS-DP is suited for fast communication between a master and slaves on PROFI-
BUS.
PROFIBUS-master sends cyclical process data, ( output data ), to each slave on PROFI-
BUS, and receives following process data, ( input data ), from the slave.

JVL Industri Elektronik A/S — User Manual — Field Bus Gateway FBG-10 17
3.2 Configuration
In order to achieve fast communication, both master and slaves on PROFIBUS are ac-
quainted with output- and input-data format. Determination of these formats is deter-
mined under configuration of each slave.
Data format for FBG10 is configured by:
8 byte output.
8 byte input.
See section 3.6, "Description of Output Data", page 21 and section 3.7, "Description of
Input Data", page 24.

18 JVL Industri Elektronik A/S — User Manual — Field Bus Gateway FBG-10
3.3 Ident-number
Each DP-slave is allocated an Ident-number, which identifies the slave for the master.
Ident-number for FBG10 is:
050C HEX

JVL Industri Elektronik A/S — User Manual — Field Bus Gateway FBG-10 19
3.4 Set Station Address
Certain DP-slaves support change of unit address via PROFIBUS. This function is not
supported by FBG10. Instead the unit address is set manually via DIP-switches. See sec-
tion 2.5, "Setting of Unit address", page 12.
Table of contents