Configuration
Before power-on the controller set the Profibus
address by the 2 rotary switches.
Up to 126 different addresses (from 0 to 125) can
be selected. The address value sets by the 2
switches is expressed in hexadecimal notation, so
value from 00 to 7D are permitted; this setting is
read by the interface during the power-on phase,
so any change of the switch position after the
power-on is ignored.
Indicators
Two LEDs are present on the interface: one green
and one red:
•
the red led indicates that the interface is cor-
rectly powered;
•
the green led shows the interface status ac-
cording the following table:
!--------------- 550 ms period------------------"
1 pulse
2 pulses
Blink fast
Blink slow
1 pulse
ProfiBus link established, controller link NOT
established yet (Controller state machine not
in Regular data exchange). This situation
could be normal in the first 45 seconds after
the interface power on (Controller address
searching phase) or after the controller
power-on.
2 pulses
ProfiBus link not established yet (ProfiBus
state machine not in Regular data exchange).
This failure has priority (in the indication) over
the previous.
Blink fast
Gateway fail (internal check) or wrong ad-
dress set (address > 0x7D or address not
stable during power-on).
Blink slow
Gateway operating properly.
Software operation and state machine
From the software point of view, the interface can
be seen as two devices (one for ProfiBus and the
other for the internal link) linked together.
Each device has its own state machine to manage
the device operation.
PROFIBUS STATE MACHINE
Status
POWER_ON
Interface set-up
WAIT_PRM
Wait for parameterisation from the master
WAIT_CFG
Wait for configuration from the master
DATA_EX
Regular data exchange
INTERNAL LINK STATE MACHINE
Status
POWER_ON
Interface set-up
SRC_ADDR
Search for the controller serial address
IDENTIFY
Identify controller model and protocol
DATA_EX
Regular data exchange
86
TECHNICAL INFORMATION
Meaning
Meaning
87-900-968-01(C)