Herunterladen Inhalt Inhalt Diese Seite drucken

Software Operation And State Machine - Varian Turbo-V 3K-G Bedienungshandbuch

Inhaltsverzeichnis

Werbung

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
Meaning
98/107
TECHNICAL INFORMATION
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
The two machines continuously share I/O data
with the relative bus, and interact each other only
in following conditions:
ProfiBus Data Exchange is suspended (static
diagnosis activated) if the internal serial link in
not established
Internal serial link Data Exchange is sus-
pended (only for output data) if the ProfiBus
State machine is not in Data Exchange mode
As a general rule, unrecoverable communication
errors make each machine to jump to the state
immediately
following
(WAIT_PRM or SRC_ADDR).
Message mapping
The communication is based on the continuous
data exchange capability of the ProfiBus standard,
where the master sends continuously the entire
slave configuration and reads back the entire slave
status.
For this purpose one Input (from slave to master)
and one Output (from master to slave) buffers are
provided. All the needed parameters are mapped
inside each buffer.
The following tables summarise the ProfiBus pa-
rameter access, related to the corresponding win-
dows serial protocol (for this protocol please refers
to the serial interface paragraph).
The interface doesn't any scaling operation on the
read/written parameters. It acts only as a gateway
Meaning
the
power-on
state
87-901-011-01

Werbung

Inhaltsverzeichnis
loading

Diese Anleitung auch für:

969-8888969-8889

Inhaltsverzeichnis