FRI303 – Operation and Maintenance, Instruction Manual
3.4
FRI303 Cyclical Configuration
PROFIBUS-DP as well as PROFIBUS-PA foresees protocol mechanisms against communication
failures and errors and, as an example, during the initialization, several errors sources are verified.
After the power up the field equipments (slaves) are ready for the cyclical data exchange with the
Class1 master, but, for that, the master parameterization for the correspondent slave must be
correct. This information is obtained through the GSD files, which should be one for each device.
Through the commands below, the master executes every initialization process with PROFIBUS-PA
devices:
•
Get_Cfg:
carries the slaves’ configuration and verifies the net configuration;
•
Set_Prm:
writes in the slaves' parameters and executes net parameterization services;
•
Set_Cfg:
configures the slaves according to inputs and outputs;
•
Get_Cfg:
a second command, where the master will verify the slaves' configuration.
All these services are based on the information obtained of GSD slaves' files. The GSD file of
FRI303
presents details of hardware revision and software, bus timing of the device and information
on cyclical data exchange.
The
FRI303
has 2 DI and 2 DO blocks. Most of the PROFIBUS configurators use 2 directories.
These directories must have the GSD’s and bitmap’s files of several manufacturers. The GSD and
bitmap’s files for Smar devices can be purchased via internet in www.smar.com.
See below a typical example with the necessary steps to the integration of a
FRI303
device in a PA
system and that can be extended for any device:
- Copy the GSD file of the device for the search directory of the PROFIBUS configurator, usually
named GSD.
- Copy the bitmap file of the device for the search directory of the PROFIBUS configurator, usually
named BMP.
- Once the master is chosen, the communication rate must be chosen, remembering that when
we had the couplers, we can have the following rates: 45.45 kbits/s (Siemens), 93.75 kbits/s
(P+F) and 12 Mbits/s (P+F, SK2) .If we had the link device, it can be up to 12 Mbits/s. Add the
FRI303
, specifying the address in the bus.
- Choose the cyclical configuration via parameterization with the GSD file, dependent of the
application. For each DO and DI block, the
FRI303
provides two bytes to the Profibus DP
Master, one the discrete value and one status byte. Please see the cyclic options for
FRI303
:
;Empty module
Module = "EMPTY_MODULE" 0x00;
EndModule
;
;
;Modules for Discrete Output Block
Module = "SP_D" 0xA1;
EndModule
Module = "SP_D+RB_D" 0xC1, 0x81, 0x81, 0x83;
EndModule
Module = "SP_D+CB_D" 0xC1, 0x81, 0x82, 0x92 ;
EndModule
Module = "SP_D+RB_D+CB_D" 0xC1, 0x81, 0x84, 0x93;
EndModule
Module = "RIN_D+ROUT_D" 0xC1, 0x81, 0x81, 0x8C;
EndModule
Module = "RIN_D+CB_D" 0xC1, 0x81, 0x84, 0x9C;
EndModule
Module = "SP_D+RB_D+RIN_D+CB_D" 0xC1, 0x83, 0x86, 0x9F;
EndModule
;Modules for Discrete Input Block
Module = "OUT_D" 0x91;
EndModule
Summary of Contents for FRI303
Page 1: ......
Page 2: ......
Page 16: ...FRI303 Operation and Maintenance Instruction Manual 1 10 ...
Page 34: ...FRI303 Operation and Maintenance Instruction Manual 5 4 ...