00194923-01_OIS_DB.pdf - 第15页
OIS Datenbank Version 4.1 Schnittstellenbeschreibung OIS Database Version 4.1 Interface Description 15 von 47 5 S t ate machines 5.1 Machines with one processing area OIS shows the operator how long the placem ent machin…

Schnittstellenbeschreibung OIS Datenbank Version 4.1
Interface Description OIS Database Version 4.1
14 von 47
4.7.8 V_STATION2 view
Supplies all the columns of the STATION table in the following sequence:
lVersion, strLine, strStation, ucProcessingArea, strText, strIP, lOrder
Note
The strIP column returns the OIS-internal IP address. This may differ from the actual IP address of the
machine.
4.7.9 V_STATE2 view
Supplies all the columns of the STATE table in the following sequence:
strTimeShare, strName, lColor, bDefined
4.7.10 V_STATESHARE2 view
Supplies all the columns of the STATESHARE table in the following sequence:
strTimeShare, lState, lPercent
4.7.11 V_DATAMODEL2 view
Supplies all the columns of the DATAMODEL table in the following sequence:
strName, lLong, strString, dtTime, dDouble
4.8 Views of Version 1
The views of version 1.0 will no longer be supported.

OIS Datenbank Version 4.1 Schnittstellenbeschreibung
OIS Database Version 4.1 Interface Description
15 von 47
5 State machines
5.1 Machines with one processing area
OIS shows the operator how long the placement machine was in a certain state. In fact, OIS actually collects
and records the events of the placement machine. The manner in which the states are calculated from these
events is shown at the end of this section. Each event is assigned a timestamp from the station.
Explanation of terms:
An action can set and/or clear one or more storage variables. An event has a unique name by which it is
identified. An event can be assigned an action which is always executed when this event occurs. A state has
a unique name. An action can be assigned to a state. This action is then always executed when this state is
entered. A storage variable exists for each state. Each storage variable can be set or cleared. A state
transition describes how the machine behaves when it receives an event. A state transition can contain two
different entries:
• The new state is specified directly.
• The new state is determined by reading the storage variable. If several storage variables are set, the
state with the highest priority is determined.
The following table describes a state machine with storage variables. The time a machine spends in a
particular state is assigned to that state.
Example: The machine is in state 10 OIS_WAIT_PCB_INSIDE (waiting for a PCB in the center conveyor).
Event 15 FIDUCIAL_ERROR now occurs. First, the action for the FIDUCIAL_ERROR event is executed,
"c14, c16, c17, c18“. Secondly, the state transition is performed, i.e. the machine switches to state 14
OIS_FIDUCIAL_ERROR. Thirdly, the action for the OIS_FIDUCIAL_ERROR state is executed, "m 14“.
Note
Events 125, 140 and 141 in the downstream state automaton are artificially generated events for conveyor
track 2. This means, for example, that if the machine sends event 25 from conveyor track 2, it must be input
to the state automaton as event 125. There is no change for events on conveyor track 1.

OIS Datenbank Version 4.1
tion OIS Database Version 4.1
10000
*STATION_DISCONNECT
I
I
I
I
I
* * * EVENT_NR
401404114113452621222423251251516171819207911133081012143142434445464748
* * * ACTION_des_Events
M 1, C 2
M 31, C 32
C 1
C 31
*
*
*
*
C 3
C 4,C 5, C 6
M 9, C 10, C 11, C 12
C 9, M 10, C 11, C 12
C 9, C 10, M 11, C 12
M 12
C3, C 12, C 25, C 27
C3, C 12, C 25, C 27
C 14,C 15 ,C 16,C 17,C 18
C 14,C 15 ,C 16,C 17,C 18
C 14,C 15 ,C 16,C 17,C 18
C 14,C 15 ,C 16,C 17,C 18
C 14,C 15 ,C 16,C 17,C 18
C 14,C 15 ,C 16,C 17,C 18
*
*
*
*
C 1-6, C 14- 18, C 20-23, C 25, C 31, C 32
C 20
C 21
C 22
C 23
C 24
C 25, C 26, C 27, C 28, C 29,C 30
C 25, C 26, C 27, C 28, C 29,C 30
C 25, C 26, C 27, C 28, C 29,C 30
C 25, C 26, C 27, C 28, C 29,C 30
C 25, C 26, C 27, C 28, C 29,C 30
C 25, C 26, C 27, C 28, C 29,C 30
C 25, C 26, C 27, C 28, C 29,C 30
Nummer
Prioritaet
ACTION_des_Zustands
STATE_EVENT
PCB_BEGIN
PCB_BEGIN2
PCB_END
PCB_END2
BREAK_BEGIN
EMERGENCY_STOP
AIR
STOP
BREAK_END
START
WAIT_PCB_IN
WAIT_PCB_INSIDE
WAIT_PCB_OUT
WAIT_DATA
PLACING
PLACING2
FIDUCIAL_ERROR
TRACK_ERROR
MACHINE_ERROR
TRANSPORT_ERROR
BARCODE_ERROR
ERROR_END
HEAD_STEP_BEGIN
KEY_SLOW_BEGIN
VISION_BEGIN
FUNCTION_BEGIN
INIT_BEGIN
HEAD_STEP_END
KEY_SLOW_END
VISION_END
FUNCTION_END
INIT_END
HOLIDAY_BEGIN
MAINTENANCE_BEGIN
SETUP_BEGIN
DOWN_PLAN_BEGIN
DOWN_ILL_BEGIN
PROTOTYPE_BEGIN
USEREVENT_END
15M 1PCB_BEGIN 131RR3456111111131141516171812021222324111112526272829301
31 6 M 31 PCB_BEGIN2 1 31 R R 3 4 5 6 31 31 31 31 31 31 1 31 14 15 16 17 18 31 20 21 22 23 24 31 31 31 31 31 25 26 27 28 29 30 31
27M 2PCB_END 131RR3456112222131141516171822021222324222222526272829302
328M32PCB_END2 1 31R R 3 4 5 6 31313232323231311415161718322021222324323232323225262728293032I
3 12 M 3 BREAK_BEGIN 1 31 R R 3 3 3 3 R R 333333141516171832021222324333332526272829303
49M 4EMERGENCY_STOP131RR4444RR444444141516171842021222324444442526272829304
510M 5
A
IR 131RR5555RR555555141516171852021222324555552526272829305
611M 6STOP 131RR6666RR666666141516171862021222324666662526272829306
91M 9WAIT_PCB_IN 131993456RR9101112131141516171892021222324999992526272829309
102M 10WAIT_PCB_INSIDE 1 3110103 4 5 6 R R 9 1011121 311415161718102021222324101010101025262728293010I
113M 11WAIT_PCB_OUT 1 3111113 4 5 6 R R 9 1011121 311415161718112021222324111111111125262728293011I
124M 12WAIT_DATA 1 3112123 4 5 6 R R 9 1011121 311415161718122021222324121212121225262728293012I
14 18 M 14 FIDUCIAL_ERROR 1 31 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 15 16 17 18 R 14 14 14 14 24 14 14 14 14 14 25 26 27 28 29 30 14
15 19 M 15 TRACK_ERROR 1 31 15 15 15 15 15 15 15 15 15 15 15 15 15 15 14 15 16 17 18 R 15 15 15 15 24 15 15 15 15 15 25 26 27 28 29 30 15
16 20 M 16 MACHINE_ERROR 1 31 16 16 16 16 16 16 16 16 16 16 16 16 16 16 14 15 16 17 18 R 16 16 16 16 24 16 16 16 16 16 25 26 27 28 29 30 16
17 21 M 17 TRANSPORT_ERROR 1 31 17 17 17 17 17 17 17 17 17 17 17 17 17 17 14 15 16 17 18 R 17 17 17 17 24 17 17 17 17 17 25 26 27 28 29 30 17
18 22 M 18 BARCODE_ERROR 1 31 18 18 18 18 18 18 18 18 18 18 18 18 18 18 14 15 16 17 18 R 18 18 18 18 24 18 18 18 18 18 25 26 27 28 29 30 18
2013M 20HEAD_STEP 13120202020202020202020202020201415161718R2021222324RRRRR25262728293020
2114M 21KEY_SLOW 13121212121212121212121212121211415161718R2021222324RRRRR25262728293021
2215M 22VISION 13122222222222222222222222222221415161718R2021222324RRRRR25262728293022
2316M 23FUNCTION 13123232323232323232323232323231415161718R2021222324RRRRR25262728293023
2417M 24INIT 13124242424242424242424242424241415161718R2021222324RRRRR25262728293024
2523M 25HOLIDAY 2525252525252525252525252525R1R125252525252525252525R 2525252525252627282930R
2624M 26MAINTENANCE 2626262626262626262626262626262626262626262626262626262626262626252627282930R
27 25 M 27 SETUP 27 27 27 27 27 27 27 27 27 27 27 27 27 27 R1 R1 27 27 27 27 27 27 27 27 27 27 27 27 27 27 27 27 25 26 27 28 29 30 R
2826M 28DOWN_PLAN 2828282828282828282828282828282828282828282828282828282828282828252627282930R
29 27 M 29 DOWN_ILL 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 29 25 26 27 28 29 30 R
3028M 30PROTOTYPE 3030303030303030303030303030303030303030303030303030303030303030252627282930R
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
M = save state, C = clear state, R = read the state with the highest priority number, I = Ignore,
R1 = for machines with one placement area: read the state like R,
for machines with 2 placement areas: the state transition is executed for both placement areas.
Schnittstellenbeschreibung
Interface Descrip