Initialisation; Analyse De La Configuration - SAMES KREMLIN SSI Manuel D'emploi

Table des Matières

Publicité

La sequence du programme sera la suivante:
Power On
Init.
Reset

3.2.1 INITIALISATION

- Initialisation du microprocesseur et du timer.
- Led d'activation en position allumée.
- Transmission de bits 0 au CNA de manière a positionner la sortie à 0 Volts.

3.2.2 ANALYSE DE LA CONFIGURATION

Cette phase du programme analyse les switchs (SW1, SW2, SW3, SW4, BIN/GRAY).
La valeur fournit par SW1 .. SW4 déterminera les 12 bits de la conversion analogique (positionnement d'une fenêtre
de 12 bits sur les 24 bits acquis), et l'état de la Led d'activation.
CONFIG.
1
2
4
8
16
32
64
128
256
512
1024
2048
4096
1
1
1
La configuration du switch BIN/GRAY déterminera le type de décodage :
ON ===> GRAY.
OFF ===> BINAIRE .
Indice de révision : C - 29 Mai 1997
Test
présence
Analyse de la
connexion
configuration
Variateur
Bin/Gray
ou switch
Sw1 .. Sw4
RESET
On
SW1
SW2
SW3
ON
ON
ON
OFF
ON
ON
ON
OFF
ON
OFF
OFF
ON
ON
ON
OFF
OFF
ON
OFF
ON
OFF
OFF
OFF
OFF
OFF
ON
ON
ON
OFF
ON
ON
ON
OFF
ON
OFF
OFF
ON
ON
ON
OFF
OFF
ON
OFF
ON
OFF
OFF
OFF
OFF
OFF
Acquisition
des 24 bits
oui
du capteur
et décodage
non
T < 750 µs
SW4
LED
Bits transmis au CNA
ON
Clignote
ON
Clignote
ON
Clignote
ON
Clignote
ON
Clignote
ON
Clignote
ON
Clignote
ON
Clignote
OFF
Clignote
OFF
Clignote
OFF
Clignote
OFF
Clignote
OFF
Clignote
OFF
Allumée
OFF
Allumée
OFF
Allumée
- 7 -
Transmission
des 12 bits
synchronisation
effectifs au CNA
ok
TEST
communication
SSI
non
T > 100 µs
bit 11 à bit 0
bit 12 à bit 1
bit 13 à bit 2
bit 14 à bit 3
bit 15 à bit 4
bit 16 à bit 5
bit 17 à bit 6
bit 18 à bit 7
bit 19 à bit 8
bit 20 à bit 9
bit 21 à bit 10
bit 22 à bit 11
bit 23 à bit 12
bit 11 à bit 0
bit 11 à bit 0
bit 11 à bit 0
Code : RT 6115
Attente
( IT timer )
Action LED
LOAD CNA

Publicité

Table des Matières
loading

Table des Matières