Schneider Electric XBTL1AB01 DF1 Protocol Benutzerhandbuch
Oglas
Oglas
XBT-L1AB01 Protocole DF1
1 - Installation du protocole : lancer XBT-L1000
2 cas :
- Aucun protocole n'est encore installé : la boîte de dialogue "Installer Protocole" s'ouvre automatiquement.
- Si un protocole est déjà installé, vous pouvez mettre à jour la version déjà installée ou installer un autre protocole.
• Dans ce cas : fermer toutes les applications,
• Sélectionner Fichier puis Installer le protocole.
2 - Principe de fonctionnement
- L'XBT a le statut de CLIENT.
- Le principe de fonctionnement de l'XBT est basé sur une "table de dialogue" localisée dans l'automate (SERVEUR).
L'XBT en tant que CLIENT réalise 3 types d'actions :
• à l'initiative de l'automatisme,
• à l'initiative de l'opérateur,
• à sa propre initiative.
Le protocole DF1 est le protocole de communication des automates Allen Bradley.
Suivant le type d'automates de la gamme, le dialogue sera supporté par différents types de trames :
• Trames spécifiques SLC-500 ou Micrologix 1000(cas d'un adressage
uniquement à des SLC-500 ou Micrologix 1000),
• Trames spécifiques PLC-5 (cas d'un adressage uniquement à des PLC-5),
• Trames génériques "BASIC COMMAND SET" (cas d'un adressage de manière indifférenciée à différents équipements tel que des SLC-500, PLC-5,
PLC-4, PLC-3, PLC-2, Micrologix 1000).
Le type de trame sélectionné occasionne certaines restrictions sur l'accès aux données automates (Cf § 9).
Le dialogue est du type question/réponse. Le terminal MAGELIS étant le client (demandeur) de l'échange, les équipements étant les serveurs.
N
Ç
A
I
S
F
R
A
W915261320111 A04 12 - 1998
1
XBT-L1AB01 Protocole DF1
N
Ç
A
I
S
F
R
A
Liaison Half/Full Duplex
Il est possible de connecter l'XBT en point à point ou d'utiliser le réseau de 254 APIs possibles, via le système de polling. Cette caractéristique est transparente à l'utilisateur et les fonctions de l'XBT restent identiques à l'exception de l'adressage qui dans le cas d'une liaison point à point est limité à l'automate directement connecté (MASTER)
Il est important de signaler que la connection de l'XBT au réseau doit etre effectuée avant sa mise sous tension. En effet, le mecanisme de detection du polling se declenche à la mise sous tension de l'XBT et se termine au bout d'un certain délai (environ 30 secondes). C'est pourquoi, si l'XBT est relié au réseau alors que ce mécanisme est terminé, l'automate sera automatiquement considéré comme étant configuré en Full Duplex, et l'XBT en fera autant.
Attention :
Dans le cas de l'utilisation du Basic Command Set, il est impossible d'écrire à une adresse impaire lorsqu'on s'adresse à un PLC-5.
En conséquence il est préférable, dans ce cas, de ne pas utiliser la table de dialogue.
Compatibilité
Le protocole DF 1 développé sur le terminal MAGELIS permet de communiquer avec les automates Allen Bradley suivants :
- SLC-500, Micrologix 1000,
- PLC-5,
- PLC-2, PLC-3 et PLC-4.
Le terminal détecte automatiquement si la liaison est du type half ou full duplex.
W915261320111 A04
2
12 - 1998
XBT-L1AB01 Protocole DF1
3 - Contenu de la table de dialogue
En fonction de l'XBT sélectionné, la table de dialogue va être différente. Vous trouvez cidessous la liste des fonctions accessibles pour chaque type ainsi que la table par défaut pour chacun.
Fonctions
Images touches fonctions
Images touches systèmes
Images touches numériques
Contrôle de la communication
Mise à l'heure de l'API
N
°
page affichée
N
°
du dernier champ saisi
N
°
dernière alarme prise en compte
Status - Compte-rendu
Taux d'occupation historique
N
°
page à traiter
N
°
du champ à saisir
Commande d'impression
Autorisation d'écriture table
Effacement historique
Commande allumage des DEL
Verrouillage touches fonctions
Verrouillage touches systèmes
Verrouillage touches numériques
Table d'alarmes
Mise à l'heure de l'XBT
Table d'impression format libre
XBT H XBT H XBT H XBT H XBT P XBT P XBT P XBT E XBT E
XBT-HM XBT-HM XBT-HM XBT-HM 01x010 02x010 02x110 01x010 01x110
00x010 02x010 01x010 01x110
: Fonctions sélectionnées par défaut dans l'XBT-L1000
: Autres fonctions disponibles
: Non disponible
N
Ç
A
I
S
F
R
A
W915261320111 A04
3
12 - 1998
XBT-L1AB01
Equipement Master : Table de dialogue principale
XBT-F01 / F02
N
Ç
A
I
S
F
R
A
Fonctions
Images touches fonctions statiques
Images touches systèmes
Images touches numériques
Contrôle de la communication
Mise à l'heure de l'API pilote
N
°
page application affichée
N
°
du dernier champ saisi
N
°
dernière alarme prise en compte
Derniers groupes d’alarmes pris en compte
Status - Compte-rendu
Taux d'occupation historique
Tracés de courbes effectués
Signature d'application
N
°
page à traiter
N
°
du champ à saisir
Commande d'impression
Commande de tracé de courbes
Autorisation d'écriture table
Interdiction transfert recette
Effacement historique
Allumage DEL touches fonctions statiques
Clignotement DEL touches fonctions statiques
Allumage DEL touches fonctions dynamiques
Clignotement DEL touches fonct. dynamiques
Verrouillage touches fonctions statiques
Verrouillage touches système
Verrouillage touches numériques
Table d'alarmes
Mise à l'heure du terminal
Table d'impression format libre
Autre équipement :
Fonctions
N
°
dernière alarme acquittée
N
°
derniers groupes d'alarmes acquittés
Table d'alarmes
: Fonctions sélectionnées par défaut .
: Autres fonctions disponibles .
: Non disponible
XBT-F01 / F02
W915261320111 A04
4
Protocole DF1
XBT-F03
XBT-F03
12 - 1998
XBT-L1AB01 Protocole DF1
4 - Configuration de la table de dialogue
- Sélectionner Configuration / Table de dialogue,
- Indiquer l'adresse du début de table, le temps de cycle,
- Construire la table en ajoutant ou en supprimant les fonctions requises par votre application.
NOTA : vous trouverez le détail du contenu de la table de dialogue
Chapitre D du tome 1 et chapitre E du tome 2 des guides d'exploitations de la gamme
MAGELIS.
5 - Symbole Equipement
- Sélectionner l'équipement destinataire dans le menu "Configuration / Symbole Equipement".
N
Ç
A
I
S
F
R
A
6 - Paramètre protocole DF1
Sous XBT-L1000 dans le menu configuration, choisir paramètres protocoles
- Système de codage
- Bits par caractères
- start bit
- bits significatifs
- parité
- stop
- vitesse
- Organisation du message
- contrôle
- Réémission sur erreur
- Demande d'acquittement
- Numéro de station
- Type d'automate
- Type de liaison
8 bits code binaire
1
8 paire / sans
1
300/600/1200/2400/4800
/9600/19200 Bauds
BCC sur 8 bits ou CRC sur 16 bits
1 à 255 (3 par défaut)
1 à 255 (3 par défaut)
0 à 254
Défaut/PLC-500/PLC-5/Micrologix
RS232
W915261320111 A04
5
12 - 1998
XBT-L1AB01 Protocole DF1
N
Ç
A
I
S
F
R
A
7- Objets supportés
Type d'objet supporté bit mot double mot flottant
Mnémonique
(syntaxe)
Nf:i/j
Nf:i
= mot
= mot chaîne = mot
Identificateurs de mnémonique f :7…255 i : 0…255 j : 0…15
• Numéro de Fichier f
Indique le numéro de fichier dans l'automate auquel l'opérateur veut accéder.
Suivant le choix du type d'automate, le numéro de fichier possible est :
Type d'automate
Défaut (Basic Command Set)
PLC-5
SLC-500
Micrologix 1000
Numéro de fichier
- Pour un SLC-500 prendre 9,
- Pour un PLC-5 ce numéro correspond à l'adresse réseau de l'émetteur,
Entre 9 et 255,
Entre 9 et 255.
7
• Indice i
Indique le numéro d'élément dans le fichier choisi.
Attention:
Dans le cas d'utilisation du Basic Command Set ce numéro d'élément peut être interprété différemment selon le type d'automate. Pour plus d'informations reportez-vous
à la documentation technique de votre automate.
• Indice j
Ce champ n'est accessible que si le type de donnée sélectionnée est Nf:i/j.
Il indique le rang du bit dans le mot (sélectionné par le champ i).
W915261320111 A04 12 - 1998
6
XBT-L1AB01
8- Mise en œuvre
8.1 Câbles
Automates
SLC5
PLC5
Micrologix liaison
Physique
RS232
RS232
RS232
Référence
XBT-Z9730
XBT-Z9720
XBT-Z9731
Protocole DF1
8.2 Schémas
LIAISON RS 232 C
La longueur maximale de la liaison est de 15 m.
Distance longueur
2.5 m
2.5 m
2.5 m
N
Ç
A
I
S
F
R
A
RS 232C
100 m
15 m
Vitesse (Bauds)
100 1 K 10 K 19,2 K
Câblage = 3 fils blindés (section minimale 0,6 mm 2 AWG22)
W915261320111 A04
7
12 - 1998
XBT-L1AB01
N
Ç
A
I
S
F
R
A
- PLC-5
Terminal MAGELIS XBT
PG 1
(*)
EMISSION TXD 2
RECEPTION RXD 3
0V
SG 7
8
12
Protocole DF1
1
Automatisme coupleur DF1
PG
2
TXD EMISSION
3 RXD RECEPTION
7
4
SG
RTS
CTS
6 DSR
20 DTR
* Le raccordement du blindage aux deux extrémités dépend des contraintes électriques liées
à l'installation.
Dans certaines configurations, il n'est pas nécessaire d'inverser les broches 2 et 3. Se référer
à la documentation de l'automate utilisé.
- Micrologix 1000
Utiliser le Câble XBT-Z910
Terminal MAGELIS XBT Automatisme coupleur DF1
(*)
PG 1
TXD 2
RXD 3
SG
7
8
4 RXD
7 TXD
2
SG
(0V)
3
6
7
4
8
5
1 2
12
W915261320111 A04 12 - 1998
8
XBT-L1AB01 Protocole DF1
- SLC-500
Terminal MAGELIS XBT Automatisme coupleur DF1
(*)
PG 1 1
TXD 2 2
RXD 3 3
5
SG 7
8
12
N
Ç
A
I
S
F
R
A
9 - Diagnostic
- Comportement sur erreur :
-affichage de: "??????…"pour les variables alphanumériques sur erreur de transmission : format/ parité/ CRC/ non réponse ou réponse d'exception.
- Affichage de croix pour les objets graphiques sur non réponse ou fonction de communication en défaut,
- Pas de répétition sur non réponse.
W915261320111 A04
9
12 - 1998
XBT-L1AB01 Protocole DF1
10- Date et heure internes
Pour avoir accès à la date et à l'heure des terminaux, il est possible de définir sous
XBT-L1000 des champs alphanumérique adressés sur des variables internes.
N
Ç
A
I
S
F
R
A
Terminaux XBT-H-P-E-HM
Equipement XBT
Variable de type %Nf : i f = 80 i = 195 pour la date , f = 81 i = 195 pour l'heure
Objet : chaîne
Type : ascii
Longueur : 8
Format de la date : JJ/ MM/ AA
Fomrmat de l'heure : HH : MM : SS
Terminaux XBT-F
Equipement XBT
Variable de type %Nf : i
Deux syntaxes possibles :
Symbole : siècle, année, mois, Jour_de_semaine, heure, minute, seconde.
Format type : décimal
Longueur : 2
Format : mot
Ou
Symbole : Date_ascii, Heure_ascii.
Format type : chaîne
Longueur : 6
Format : ascii
W915261320111 A04
10
12 - 1998
XBT-L1AB01 DF1 Protocol
1 - Installing the protocol: start up XBT-L1000
2 possibilities :
- No protocols have yet been installed: the "Install Protocol" dialogue box opens automatically.
- If a protocol has been installed, you can update the already installed version or install another protocol.
• In which case: close all the applications,
• Select File, and then Install Protocol
2 - Operating principle
- XBT is Client.
- The XBT operating principle is based on a "dialogue table" which is situated in the process controller (Server).
XBT in its capacity as Client performs 3 types of action:
• at the intiative of the automated system,
• at the initiative of the operator,
• at its own initiative.
The DF1 protocol is the communication protocol for Allen Bradley process controllers.
Depending on the type of process controllers in the range, the dialog will be supported by different types of frames:
• Specific SLC-500 frames or Micrologix 1000 (if only SLC-500 or
Micrologix 1000 process controllers are addressed),
• Specific PLC-5 frames (if only PLC-5 process controllers are addressed),
• "BASIC COMMAND SET" generic frames (if different types of equipment such
as SLC-500, PLC-5, PLC-4, PLC-3, PLC-2, Micrologix 1000 are addressed
without distinction,
Certain restrictions will apply to the access to the process controller's data depending on the type of frame selected (ref. to § 9).
The dialog is of the question/reply type, with the MAGELIS terminal as client (requester) of the exchange, and the equipment as the servers.
I
S
H
E
N
G
L
CAUTION
EQUIPMENT DAMAGE HAZARD
The protocol should only installed and used by the authorized personnel that has been properly trained.
Failure to observe this precaution can result in equipment damage or production loss.
W915261320111 A04
11
12 - 1998
XBT-L1AB01 DF1 Protocol
I
S
H
E
N
G
L
Half/Full Duplex Link
The XBT can be connected in point-to-point mode, or the network of 254 possible PLCs can be used via the polling system. This characteristic is transparent to the user and the XBT functions remain the same except for addressing which in the case of a point-to-point link is limited to the directly connected process controller (MASTER)..
The XBT can be connected in point-to-point mode, or the network of 254 possible PLCs can be used via the polling system. This characteristic is transparent to the user and the XBT functions remain the same except for addressing which in the case of a point-to-point link is limited to the directly connected process controller (MASTER).
Caution:
If using Basic Command Set, you cannot write to an odd address when linked to a PLC-5.
Accordingly, it is best not to use the dialogue table.
Compatibility
The DF1 protocol developed on the MAGELIS terminal can be used to communicate with the following Allen Bradley process controllers:
- SLC-500, Micrologix 1000,
- PLC-5,
- PLC-2, PLC-3 and PLC-4.
The terminal automatically detects whether the link is of the half or full duplex type.
W915261320111 A04
12
12 - 1998
XBT-L1AB01 DF1 Protocol
3 - Content of the dialogue table
Depending on the selected XBT, the dialogue table will be different. Below, you will find the list of functions that can be accessed for each type and the default table for each one.
Fonctions
Function key images
System key images
Numerical key images
Communication check
API time reset
Displayed page No.
No. of the last field entered
No. of the last alarm taken into account
Status - Report
Historical occupation rate
Page No. to be processed
Field No. to be entered
Print command
Table writing authorization
Deletion history
LED lighting command
Function key locking
System key locking
Numerical key locking
Alarm table
XBT time reset
Free format print table
XBT H XBT H XBT H XBT H XBT P XBT P XBT P XBT E XBT E
XBT-HM XBT-HM XBT-HM XBT-HM 01x010 02x010 02x110 01x010 01x110
00x010 02x010 01x010 01x110
: Functions selected by default in XBT-L1000
: Other available functions
: Not available
I
S
H
E
N
G
L
WARNING
UNINTENTIONAL DAMAGE OPERATION
PLC memory zone allocated for the XBT dialog table must NOT be used for anything else. Itis designer’s responsability to program PLC logic properly.
Failure to observe this precaution can result in deth, severe personal injury or equipment damage.
W915261320111 A04 12 - 1998
13
XBT-L1AB01
I
S
H
E
N
G
L
Control device :
Functions
Static function key images
System key images
Numerical key images
Communication check
Control PLC time set
N
°
of application page displayed
N
°
of last field entered
N
°
of last acknowledged alarm
Last acknowledged alarm groups
Status - Report
Load factor log
Curve plotting complete
N
°
of page to be processed
N
°
of field to be entered
Application signature
Print command
Curve plot command
Table write enable
Recipe transfer inhibit
Deletion history
Static function key LEDs on
Static function key LEDs flashing
Dynamic function key LEDs on
Dynamic function key LEDs flashing
Lock static function keys
Lock system keys
Lock numerical keys
Alarms table
Magelis Graphic terminal time set
Free format print table
Other devices :
Functions
N
°
of last fault acknowledged
N
°
of last alarm groups acknowledged
Alarms table
: Functions selected by defaut.
: Other functions availables .
: Not available
W915261320111 A04
XBT-F01 / F02
XBT-F01 / F02
14
DF1 Protocol
XBT-F03
XBT-F03
12 - 1998
XBT-L1AB01 DF1 Protocol
4 - Configuring the dialogue table
- Select Configuration / Dialogue table,
- Give the address of the start of the table, and the cycle time,
- Construct the table by adding or deleting the functions required for your application
NOTE : For the detail of the contents of the dialogue table, refer to Chapter D of
Volume 1 and Chapter E of Volume 2 of the MAGELIS product line operating manuals.
5 - Equipment Symbol (CPU)
- Select the target equipment in the "Configuration/Equipment Symbol" menu.
6 - DF1 protocol parameters
Under XBT-L1000, from the configuration menu, select the protocol parameters.
- Encoding system
- Bits per character
- start bit
- significant bits
- parity
- stop bit
- speed
(9600 bauds by default)
- Message organization:
- Control
- Resend on error
- Request for acknowledgment
- Station number
- Type of automaton
- Types of link
8-bit binary code
1
8 even / none
1
300 to 19200 baud
BCC on 8 bits or CRC on 16 bits
1 to 255 (3 by default)
1 to 255 (3 by default)
0 to 254
Defaut / PLC-500 / PLC-5 / Micrologix
RS232C
I
S
H
E
N
G
L
W915261320111 A04
15
12 - 1998
XBT-L1AB01 DF1 Protocol
7- Objects supported
Type of object supported bit word double word floating
Mnemonic
(syntax)
Nf:i/j
Nf:i
= word
= word string = word
Mnemonic identifiers f :7…255 i : 0…255 j : 0…15
I
S
H
E
N
G
L
• File f number
Indicates the number of the file in the process controller that the operator wishes to access..
Depending on the choice of process controller type, the possible file number will be:
Process controller type
Default (Basic Command Set)
PLC-5
SLC-500
Micrologix 1000
File number
- For a SLC-500 take 9,
- For a PLC-5 this number corresponds to the transmitter's network address,
Between 9 and 255,
Between 9 and 255.
7
Index i
Indicates the item number in the selected field.
Caution:
If you use the Basic Command Set this item number may be interpreted differently according to the type of process controller. For further information refer to your process controller's technical documentation.
• Index j
It will only be possible to access this field if the selected data type is Nf:i/j.
It indicates the bit's row in the word (selected by means of the i field)
W915261320111 A04 12 - 1998
16
XBT-L1AB01
8 - Implementation
8.1 Cables
Automatons Physical link
SLC5
PLC5
Micrologix
RS232
RS232
RS232
8.2 Diagrams
References
XBT-Z9730
XBT-Z9720
XBT-Z9731
RS 232 C LINK
The maximum length of the link is 15 m.
DF1 Protocol
Lenght
2.5 m
2.5 m
2.5 m
Length
I
S
H
E
N
G
L
RS 232C
100 m
15 m
Speed (Bauds)
100 1 K 10 K 19,2 K
Wiring = 3 shielded wires (minimum cross-section 0,6 mm 2 AWG22)
W915261320111 A04
17
12 - 1998
I
S
H
E
N
G
L
XBT-L1AB01
- PLC-5
XBT MAGELIS Terminal
PG 1
(*)
TRANSMISSION TXD 2
RECEPTION RXD 3
0V
SG 7
8
12
DF1 Protocol
1
Console DF1 coupler
PG
2
TXD TRANSMISSION
3 RXD RECEPTION
7
4
SG
RTS
CTS
6 DSR
20 DTR
* The connection of the shielding at each end depends on the electrical constraints relative to the installation.
In certain configurations, it will not be necessary to invert pins 2 and 3.
Refer to the documentation of the process controller you use.
- Micrologix 1000
Use the XBT-Z910 cable
XBT MAGELIS Terminal PLC DF1 coupler
(*)
PG 1
TXD 2
RXD 3
SG
7
8
4 RXD
7 TXD
2
SG
(0V)
3
6
7
4
8
5
1 2
12
W915261320111 A04 12 - 1998
18
XBT-L1AB01 DF1 Protocol
- SLC-500
XBT MAGELIS Terminal PLC DF1 coupler
(*)
PG 1 1
TXD 2 2
RXD 3 3
5
SG 7
8
12
I
S
H
E
N
G
L
9 - Diagnostic
- Error response:
- Display: "??????…" for the alphanumerical variables upon transmission error :
format/ parity/ CRC/ no response or exception response.
- Display of check marks for the graphic objects upon no answer or defective communica
tion function,
- no repetition upon no answer.
W915261320111 A04
19
12 - 1998
XBT-L1AB01 DF1 Protocol
10 - Internal date and time
To access the date and time of the terminals, you can define under XBT-L1000 the addressed alphanumerical fields on internal variables .
I
S
H
E
N
G
L
TXBT-H-P-E-HM Terminals
XBT equipement
Variable of type %Nf: i f = 80 i = 195 for the date, f = 81 i = 195 for the time
Object : channel
Type : ascii
Length : 8
Date format : DD/ MM/ YY
Time format : HH : MM : SS
XBT-F terminals
XBT equipement
Variable of type %Nf: i
Two possible syntaxes :
Symbol : century, year, month, Day_of_the_week, time, minute, second
Type format : decimal
Length : 2
Format : word
Or
Symbol : Date_ascii, Time_ascii.
Type format : channel
Length : 6
Format : ASCII
W915261320111 A04
20
12 - 1998
XBT-L1AB01 Protokoll DF1
1 - Installierung des Protokoll : XBT-L1000 starten
2 Möglichkeiten :
- Es ist noch kein Protokoll installiert worden :
Die Dialogbox "Protokoll installieren" wird automatisch geöffnet.
- Wenn bereits ein Protokoll installiert worden ist, können Sie diese entweder aktualisieren, oder ein anderes Protokoll installieren.
• In diesem Fall : Schließen Sie alle anderen Anwendungen,
• Wählen Sie eine Datei und installieren Sie das Protokoll
2 - Funktionsprinzip
- XBT hat die Funktion des Clients.
- Das Funktionsprinzip von XBT beruht auf einer "Dialogtabelle", die sich im Automaten befindet (SERVER).
In der Rolle des CLIENTS führt XBT die folgenden Aktionen aus:
• Auf Initiative des Automaten,
• Auf Initiative des Bedieners,
• Auf eigene Initiative.
Das Protokoll DF1 ist das Kommunikationsprotokoll der Allen Bradley - Automaten
Je nach dem Typ des Aautomaten aus der Palette wird der Dialog von unterschiedlichen
Rastertypen unterstützt:
• Spezifische Raster SLC-500, Micrologix 1000 (im Fall einer ausschließlichen
SLC 500, Micrologix 1000 - Adressierung),
• Spezifische Raster PLC-5 (im Fall einer ausschließlichenPLC-5
Adressierung),
• Grundraster "BASIC COMMAND SET" (im Fall einer undifferenzierten
Adressierung verschiedener Geräte und Anlagen, wie SLC-500, PLC-5, PLC-
4, PLC-3, PLC-2, Micrologix 1000).
Der Typ des ausgewählten Rasters hat bestimmte Restriktionen bezüglich des Zugangs zu den Daten des Automaten zur Folge (s. § 9).
Es handelt sich um einen Frage/Antwort - Dialog. Das MAGELIS - Terminal ist dabei der
"Client" (der Anfragende) des Dialogs, die Geräte selbst sind die Server.
S
C
H
D
E
U
T
W915261320111 A04 12 - 1998
21
XBT-L1AB01 Protokoll DF1
Verbindung Half/Full Duplex
XBT kann über eine Punkt-zu-Punkt - Verbindung angeschlossen werden, oder über ein
Polling-System und ein 254 APIs - Netzwerk. Diese Eigenschaft ist für den Benutzer transparent, und die XBT - Funktionen bleiben identisch. Mit Ausnahme der Adressierung im
Fall einer Punkt-zu-Punkt - Verbindung, die auf den direkt angeschlossenen Automaten beschränkt bleibt (MASTER).
Es muß darauf hingewiesen werden, daß die XBT - Verbindung zum Netzwerk vor dem
Einschalten erfolgen muß. Tatsächlich wird der Suchmechanismus des Polling beim Einschalten von XBT ausgelöst, und nach einer bestimmten Frist (etwa 30 Sekunden) wider abgebrochen.
Aus diesem Grunde wird der Automat automatisch als in Full Duplex konfiguriert erkannt, wenn XBT ans Netzwerk angeschlossen und der Suchmechanismus abgeschlossen ist. XBT selbst verhält sich entsprechend.
Achtung:
Bei benutzung des "Basic Command set" können keine ungeraden Adressen im PLC 5 beschrieben werden.
Deshalb ist es ratsam eine Funktionalität ohne dialogtafel herzustellen.
S
C
H
D
E
U
T
Kompatibilität
Das auf dem für das Terminal MAGELIS entwickelte Protokoll DF 1 erlaubt die Kommunikation mit den folgenden Allen Bradley - Automaten:
- SLC-500, Micrologix 1000,
- PLC-5,
- PLC-2, PLC-3 et PLC-4.
Das Terminal stellt selbstständig fest, ob die Verbindung Half Duplex oder Full Duplex ist.
W915261320111 A04
22
12 - 1998
XBT-L1AB01 Protokoll DF1
3 - Inhalt der Dialogtabelle
Je nach gewähltem XBT sieht die Dialogtabelle unterschiedlich aus. Untenstehend finden Sie die Liste der verfügbaren Funktionen für jeden Typ, sowie die Standardtabelle für jeden einzelnen.
Funktionen
Bilder Funktionstasten
Bilder Systemtasten
Bilder Zifferntasten
Kommunikations steuerung
Zeiteinstellung des SPS
Angezeigte Seite
Nr. des zuletzt erfaßten Feldes
Nr. zuletzt berücksichtigter Alarm
Status - Bericht
Historie Belegungsrate
Zu bearbeitende Seitennummer
Nr. des zu erfassenden Feldes
Druckauftrag
Autoris. für Schreiben in Tabelle
Berichtanslöchung
Einschaltbefehl DEL
Verriegelung der Funktionstasten
Verriegelung der Systemtasten
Verriegelung der Zifferntasten
Alarmtabelle
Zeiteinstellung XBT
Drucktabelle freies Format
XBT H XBT H XBT H XBT H XBT P XBT P XBT P XBT E XBT E
XBT-HM XBT-HM XBT-HM XBT-HM 01x010 02x010 02x110 01x010 01x110
00x010 02x010 01x010 01x110
: Standardmäßig eingestellte Funktionen im XBT-L1000
: Andere verfügbare Funktionen
: nicht verfügbar
S
C
H
D
E
U
T
W915261320111 A04
23
12 - 1998
XBT-L1AB01
S
C
H
D
E
U
T
Grundeinrichtung:
Funktionen
Funktionstasten
Systemtasten
Numerische Tasten
Kommunikationskontrolle
SPS-Uhr stellen
Nummer der angezeigten Seite
Nummer des zuletzt eingegebenen Felds quittierter Alarm Nr.
Letzte quittierte Alarmgruppen
Protokoll
Bericht Besetzungsrate
Kurvengrafik erstellt
Anwendungsunterzeichnung
Nummer der zu bearbeitenden Seite
Einzugebendes Feld
Drucksteuerung
Kurvengrafik aktiviert
Freigabe zum Schreiben der Tabelle
Transfer gesperrt
Berichtanslöchung
LED statische Funktionstasten leuchten
LED statische Funktionstasten blinken
LED dynamische Funktionstasten leuchten
LED dynamische Funktionstasten blinken
Verriegelung Funktionstasten
Verriegelung Systemtasten
Verriegelung Numerische Tasten
Alarmtabelle
Uhr stellen
Druckt freies Format
XBT-F01 / F02
Weitere Einrichtungen:
Funktionen
Letzter quittierter Alarm
Letzte quittierte Alarmgruppe
Alarmtabelle
XBT-F01 / F02
: Funktionen, die standardmäßig voreingestellt sind.
: Weitere verfügbare Funktionen.
: nicht verfügbar
W915261320111 A04
24
Protokoll DF1
XBT-F03
XBT-F03
12 - 1998
XBT-L1AB01 Protokoll DF1
4 - Konfigurierung der Dialogtabelle
- Wählen Sie Konfiguration / Dialogtabelle,
- Geben Sie die Anfangsadresse der Tabelle und die Zykluszeit an,
- Stellen Sie sich eine Tabelle zusammen, indem Sie Funktionen entsprechend den
Enfordernissen Ihrer Anwendung hinzufügen oder entfernen
Anmerkung : Einzelheiten zum Inhalt der Dialogtabelle Bd. 1, Kap. D und Bd. 2
Kap. E der Betriebsanleitungen für das Programm MAGELIS.
5 - Gerätesymbole (CPU)
- Wählen Sie das Zielgerät im Menü "Konfiguration / Gerätesymbol".
6 - Protokollparameter DF1
unter XBT-L1000 die Protokollparameter in dem Konfigurationsmenu auswahlen
- Codierungssystem
- Bit pro Zeichen
- Start-Bit
- Signifikante Bits
- parität
- stop-Bit
- Geschwindigkeit
- Organisation der Nachricht:
- Kontrolle
- Erneutes Senden bei Fehler
- Anfrage für Quittierung
- Stationsnumer
- SPS Typ
- Verbindungsnummer
8 Bit Binärcode
1
8
Paar / ohne
1
300/600/1200/2400/4800
/9600/19200 Bauds
BCC bei 8 Bit oder CRC bei 16 Bit
1 bis 255 (3 Standard)
1 bis 255 (3 Standard)
0 bis 254
Fehlen / PLC-500 / PLC-5 / Micrologix
RS232
S
C
H
D
E
U
T
W915261320111 A04
25
12 - 1998
XBT-L1AB01 Protokoll DF1
7- Unterstützte Automatenobjekte / Syntax
Unterstützter
Objekttyp
Bit
Wort
Doppelwort
Fließend
Mnemonic
(syntax)
Nf:i/j
Nf:i
= Wort
= Wort
Kette = Wort
Identifikatoren der Mnemonics f :7…255 i : 0…255 j : 0…15
S
C
H
D
E
U
T
• Nummer der Datei f
Gibt die Nummer der Datei im Automaten an, auf die die Bedienungsperson zugreifen will.
Je nach gewähltem Automatentyp ist die gewählte Dateinummer die folgende:
Automatentyp
Standard (Basis - Befehlssatz)
Zwischen 9 et 255,
Zwischen 9 und 255
7
Dateinummer
- Für einen SLC-500 9 nehmen,
- Für einern PLC-5 entspricht diese Nummer der Netzadresse des Senders,
PLC-5
SLC-500
Micrologix 1000
• Index i
Gibt die Nummer des Elements in der gewählten Datei an.
Achtung:
In Fall einer Verwendung des Basis-Befehlssatzes kann diese Elementennummer je nach Automatentyp unterschiedlich interpretiert werden. Weiter Informationen hierzu finden Sie in der technischen Dokumentation Ihres Automaten.
• Index j
Dieses Feld ist nur zugänglich, wenn der gewählte Datentyp Nf:i/j ist. Er zeigt die Bitposition innerhalb des Wortes an (ausgewählt durch Feld i).
W915261320111 A04 12 - 1998
26
XBT-L1AB01
8 - Ingangsetzung
8.1 Kabel
SPS
SLC5
PLC5
Micrologix physische
Verbindung
RS232
RS232
RS232
Kennzeichen
XBT-Z9730
XBT-Z9720
XBT-Z9731
Protokoll DF1
8.2 Übersicht
ANSCHLUß RS 232 C
Die Höchstlänge einer Verbindung beträgt 15 m.
Abstand
Länge
2.5 m
2.5 m
2.5 m
S
C
H
D
E
U
T
RS 232C
100 m
15 m Geschwindigkeit
(Bauds)
100 1 K 10 K 19,2 K
Verkabelung = 3 abgeschirmte Leitungen (Mindestquerschnitt 0,6 mm 2 AWG22)
W915261320111 A04
27
12 - 1998
XBT-L1AB01
- PLC-5
Terminal MAGELIS XBT
PG 1
(*)
SENDEN TXD 2
EMPFANG RXD 3
Protokoll DF1
1
Automatismus Koppler DF1
PG
2
TXD SENDEN
3 RXD EMPFANG
0V
SG 7
8
12
20 DTR
S
C
H
D
E
U
T
* Der Anschluß der Abschirmung an beiden Enden hängt mit den Erfordernissen der elektrischen Installation zusammen.
In manchen Einstellungen ist es nicht nötig, Pin 2 und 3 umzukehren. Informationen hierzu finden Sie in der Dokumentation des verwendeten Automaten.
- Micrologix 1000
Das Kabel XBT-Z910 benutzen
Terminal MAGELIS XBT Automatismus Koppler DF1
(*)
PG 1
TXD 2
RXD 3
SG
7
8
4 RXD
7 TXD
2
SG
(0V)
3
6
7
4
8
5
1 2
12
7
4
SG
RTS
CTS
6 DSR
W915261320111 A04 12 - 1998
28
XBT-L1AB01 Protokoll DF1
- SLC-500
Terminal MAGELIS XBT Automatismus Koppler DF1
(*)
PG 1 1
TXD 2 2
RXD 3 3
5
SG 7
8
12
S
C
H
D
E
U
T
9 - Diagnose
- Verhalten bei Fehler :
- Anzeige von : "??????…" für die alphanumerisch Variablen bei
Übertragungsfehler : Format/ Parität/ CRC/ Nicht-Beantwortung oder
Ausnahmeantwort.
- Kreuzanzeige für grafiache Objekte auf fehlende Antwort oder fehlerhaft
Informationsflußfunktion,
- keineWiederholung bei ausbleibender Antwort.
W915261320111 A04
29
12 - 1998
XBT-L1AB01 Protokoll DF1
S
C
H
D
E
U
T
10- internes Datum und Zeit
Um das Datum und die Zeit der DEE einstellen zu können, besteht unter XBT-L1000 die
Möglichkeit auf interne Variablen adressierte alphanumerische Felder zu definieren.
DE-Einrichtungen XBT-H-P-E-HM
Ausstatung XBT
Variabletyp %Nf: i f = 80 i = 195 für das Datum , f = 80 i = 195 für die Zeit
Ziel : Kette
Typ : ascii
Länge : 8
Datumsformat : TT/ MM/ JJ
Zeitformat : HH : MM : SS
DE-Einrichtungen XBT-F
Ausrüstung XBT
Variabletyp %Nf: i
Zwei Schreibweisen möglich :
Symbol : Jahrhundert, Jahr, Monat, Tag_der_Woche, Stunde, Minute, Sekunde.
Formatmodell : dézimal
Länge : 2
Format : wort oder
Symbol : Datum_ascii, Stunde_ascii.
Formatmodell : Kette
Länge : 6
Format : ascii
W915261320111 A04
30
12 - 1998
XBT-L1AB01 Protocolo DF1
1 - Instalación del protocolo : lanzar XBT-L1000
2 casos :
- No hay ningún protocolo instalado : la caja de diálogo "Instalar Protocolo" se abre automáticamente.
- Si un protocolo está ya instalado, se puede actualizar la versión ya instalada o instalar otro protocolo.
• En este caso : cerrar todas las aplicaciones,
• Seleccionar Archivo y luego Instalar el protocolo
2 - Principio de funcionamiento
- El XBT posee el estatuto Cliente.
- El principio de funcionamiento del XBT está basado en una "tabla de diálogo" que se halla en el autómata (SERVER).
El XBT, como CLIENTE, realiza 3 tipos de acciones :
• a iniciativa del automatismo,
• a iniciativa del operador,
• por su propia iniciativa.
El protocolo DF1 es el protocolo de comunicación de los autómatas Allen Bradley.
Según el tipo de autómatas de la gama, el diálogo será soportado por diferentes tipos de tramas:
• Tramas específicas SLC-500, Micrologix 1000 (caso de un direccionamiento
únicamente a materiales tipo SLC-500, Micrologix 1000),
• Tramas específicas PLC-5 (caso de un direccionamiento únicamente a materiales tipo
PLC-5),
• Tramas genéricas "BASIC COMMAND SET" (caso de un direccionamiento de modo indiferenciado a diversos equipos tales compo SLC-500, PLC-5, PLC-4, PLC-3,
PLC-2, Micrologix 1000),
El tipo de trama seleccionado ocasiona ciertas restricciones sobre l'aceso a los datos autómatas (Cf § 9).
El diálogo es de tipo cuestión/respuesta. El terminal MAGELIS es el cliente (máster) del intercambio por lo que los equipamientos son los servidores.
Ñ
O
L
E
S
P
A
W915261320111 A04 12 - 1998
31
XBT-L1AB01 Protocolo DF1
Enlace Half/Full Duplex es posible conectar el XBT en punto a punto o utilizar la red de 254 PLCs posibles, por medio del sistema de polling. Esta característica es transparente para el utilizador y las funciones del XBT permanecen idéntica excepción del direccionamiento que en el caso de un enlace punto a punto se limita al autómata directamente conectado (MASTER).
Es importante mencionar que la conexión del XBT con la red debe efectuarse antes del encendido. En efecto, el mecanismo de detección del polling arranca al encender el XBT y se termina al cabo de cierto plazo (aproximadamente 30 segundos). Por esta razón, si el XBT está conectado con la red, cuando este mecanismo esté terminado el autómata será considerado automáticamente como configurado en Full Duplex y el XBT hará lo mismo.
Atención:
En el caso de la utilizacion " Basic command set" es impossiible de escribir a una direccion impar en un PLC 5.
En consecuencia es preferible en este caso, no utilizar la tabla de dialogo.
Compatibilidad
El protocolo DF 1desarrollado en el terminal MAGELIS permite comunicar con los autómatas
Allen Bradley siguientes:
- SLC-500, Micrologix 1000,
- PLC-5,
- PLC-2, PLC-3 y PLC-4.
Ñ
O
L
E
S
P
A
El terminal detecta automáticamente si el enlace es del tipo half o full duplex.
W915261320111 A04
32
12 - 1998
XBT-L1AB01 Protocolo DF1
3 - Contenido de la tabla de diálogo
En función del XBT seleccionado, la tabla de diálogo va a ser diferente. Se encontrará seguidamente la lista de las funciones asequibles para cada tipo, así como la tabla por defecto de cada uno.
Funciones XBT H XBT H XBT H XBT H XBT P XBT P XBT P XBT E XBT E
XBT-HM XBT-HM XBT-HM XBT-HM 01x010 02x010 02x110 01x010 01x110
00x010 02x010 01x010 01x110
Imágenes tec las funciones
Imágenes tec las sistemas
Imágenes tec las numéricas
Control de la comunicación
Actualización hora PLC
N
°
página visualizada
N
°
último campo introducido
N
°
última alarma considerada
Status - Acta
Porcentaje ocupación histórica
N
°
página a procesar
N
°
campo a introducir
Mando de impresión
Autorización escritura tabla
Puesta a cero históricos
Mando encendido de los DEL
Bloqueo teclas funciones
Bloqueo teclas sistemas
Bloqueo teclas numéricas
Tabla de alarmas
Actualización hora del XBT
Tabla de impresión formato libre
: Funciones seleccionadas por defecto en el XBT-L1000
: Otras funciones disponibles
: No disponible
Ñ
O
L
E
S
P
A
W915261320111 A04
33
12 - 1998
XBT-L1AB01
Equipo piloto:
Ñ
O
L
E
S
P
A
Funciones
Imágenes teclas función estáticas
Imágenes teclas sistema
Imágenes teclas numéricas
Control de la comunicación
Puesta en hora del API piloto
Nú. página de aplicación indicada
Nú. último campo introducido
N
°
de la Última alarma acusada
Últimos grupos de alarmas acusadas
Estatuto - Respuesta
Tanto porciento de ocupación de los históricos
Trazados de curvas efectuados
Firma de aplicación
Nú. página a tratar
Nú. campo a introducir
Comando impresión
Comando trazado de curvas
Autorización de escritura tabla
Prohibición transferencia receta
Bornado del histórico
Encendido LED teclas función estáticas
Parpadeo LED teclas función estáticas
Encendido LED teclas función dinámicas
Parpadeo LED teclas función dinámicas
Bloqueado teclas función estáticas
Bloqueado teclas sistema
Bloqueado teclas numéricas
Tabla de alarmas
Puesta en hora del terminal Magelis Gráfico
Tabla de impresión formato libre
Otro equipo:
Funciones
Nú. última alarma acusada
Últimos grupos de alarmas acusados
Tabla de alarmas
: Funciones seleccionadas por defecto.
: Otras funciones disponibles.
: No disponible
W915261320111 A04
XBT-F01/F02
XBT-F01 / F02
34
Protocolo DF1
XBT-F03
XBT-F03
12 - 1998
XBT-L1AB01 Protocolo DF1
4 - Configuración de la tabla de diálogo
- Seleccionar Configuración / Tabla de diálogo,
- Indicar la dirección del comienzo de tabla, el tiempo de ciclo,
- Construir la tabla añadiendo o suprimiendo las funciones requeridas por su aplicación
Nota : se hallara el detalle del contenido de la tabla de diálogo Capítulo
D del tomo 1 y Capítulo E del tomo 2 de las guías de operación de la gama
MAGELIS.
5 - Símbolo Equipamiento (CPU)
- Selecionnar el equipamiento destinario en el menú "Configuración / Symbolo Equipamiento".
6 - Parámetro protocolo DF1
Bajo XBT-L1000 en el menú de configuración, escoger parámetros protocolos
- Sistema de codificación
- Bits por carácter
- start bit
- bits significativos
- paridad
- stop bit
- velocidad
(9600 Bauds por defecto)
Organización del mensaje:
- Control
- Reemisión por error
- Solicitud acuse de recibo
- Núm. de estación
- Typo de automatismo
- Typo de enlace
8 bits código binario
1
8 par / sin
1 de 300 a19200 Bauds
BCC sobre 8 bits o CRC sobre 16 bits
1 a 255 (3 por defecto)
1 a 255 (3 por defecto)
0 a 254
Defecto / PLC-500/ PLC-5/ Micrologix
RS232
Ñ
O
L
E
S
P
A
W915261320111 A04
35
12 - 1998
XBT-L1AB01 Protocolo DF1
7- Objetos automatas soportados / Sintaxis
Tipo de objet o soportado bit palabra doble palabra flotante
Mnemónica
(sintaxis)
Nf:i/j
Nf:i
= palabra
= palabra cadena = palabra
Identificadores de mnemónica f :7…255 i : 0…255 j : 0…15
• Número de Archivo f
Indica el número de archivo en el autómata al que quiere acceder el operador.
Según la opción del tipo de autómata, el número de archivo posible es:
Ñ
O
L
E
S
P
A
Tipo de autómata
Fallo (Basic Command Set)
PLC-5
SLC-500
Micrologix 1000
Número de archivo
- Para un SLC-500 tomar 9,
- Para un PLC-5 este núméro corresponde a la dirección red del emisor,
Entre 9 y 255,
Entre 9 y 255.
7
• Índice i
Indica el número de elemento en el archivo elegido.
Atención:
En caso de utilización del Basic Command Set, este número de elemento puede interpretarse diferentemente según el tipo de autómata. Para mayores datos informativos, véase la documentación tecnica de su automáta.
• Índice j
Este campo no es asequible si el tipo de dato seleccionado es Nf:i/j.
Indica el rango del bit en la palabra (seleccionnada por el campo i).
W915261320111 A04 12 - 1998
36
XBT-L1AB01
8 - Realización
8.1 Cable
Automatas
SLC5
PLC5
Micrologix
Enlace fisico
RS232
RS232
RS232
8.2 Esquemas
Referencia
XBT-Z9730
XBT-Z9720
XBT-Z9731
Protocolo DF1
ENLACE RS 232 C
La longitud máxima del enlace es de 15 m.
Longitud
2.5 m
2.5 m
2.5 m
Distancia
RS 232C
100 m
15 m
Velocidad(Bauds)
100 1 K 10 K 19,2 K
Cableado = 3 cables blindados (sección mínima 0,6 mm 2 AWG22)
Ñ
O
L
E
S
P
A
W915261320111 A04
37
12 - 1998
XBT-L1AB01
- PLC-5
Terminal MAGELIS XBT
PG 1
(*)
EMISION TXD 2
RECEPCION RXD 3
0V
SG 7
8
12
Protocolo DF1
Automatismo acoplador DF1
1
PG
2
TXD EMISION
3 RXD RECEPCION
7
4
SG
RTS
CTS
6 DSR
20 DTR
Ñ
O
L
E
S
P
A
* La conexión del blindaje en los dos extremos depende de los imperativos eléctricos vinculados con la instalación.
En ciertas configuraciones, no es necesario invertir las púas 2 y 3. Referirse a la documentación del autómata utilizado.
- Micrologix 1000
Usar el cable XBT-Z910
Terminal MAGELIS XBT Automatismo acoplador DF1
(*)
PG 1
TXD 2
RXD 3
3
6
7
4
8
5
1 2
SG
7
8
4 RXD
7 TXD
2
SG
(0V)
12
W915261320111 A04 12 - 1998
38
XBT-L1AB01 Protocolo DF1
- SLC-500
Terminal MAGELIS XBT Automatismo acoplador DF1
(*)
PG 1 1
TXD 2 2
RXD 3 3
5
SG 7
8
12
9 - Diagnostico
- Comportamiento sobre error :
- Mostrar: "??????…"para las variables alfanuméricas de transmición : formato/ paridad/ CRC/ no respuesta de excepción.
- Publicación de de cruces para los objetos gráficos en no respuesta o funcción de comunicación por defecto,
- sin repetición en no respuesta.
Ñ
O
L
E
S
P
A
W915261320111 A04
39
12 - 1998
XBT-L1AB01 Protocolo DF1
Ñ
O
L
E
S
P
A
10 - Fecha y horainterna
Para acceder a la fecha y a la hora de los terminales, se pueden definir bajo XBT-L1000 unos campos alfanuméricos dirigidos sobre variables internas.
Terminales XBT-H-P-E-HM
Equipo XBT
Variable del tipo %Nf: i f = 80 i = 195 para la fecha , f = 81 i = 195 para la hora
Objeto : cadena
Tipo : ascii
Longitud : 8
Formato de la fecha : DD/ MM/ AA
Fomrmato de la hora : HH : MM : SS
Terminales XBT-F
Equipo XBT
Variable del tipo %Nf: i
Dos sintaxis posibles :
Símbolo : siglo, año, mes, día_de_la_semana, hora, minuto, segundo.
Formato tipo : decimal
Longitud : 2
Formato : palabra
O
Símbolo : Fecha_ascii, Hora_ascii.
Formato tipo : cadena
Longitud : 6
Formato : ascii
W915261320111 A04
40
12 - 1998
XBT-L1AB01 Protocollo DF1
1 - Installazione del protocollo : avviare XBT-L1000
2 casi :
- Nessun protocollo è attualmente installato : la finestra di dialogo "Installa Protocollo" si apre automaticamente.
- Se un protocollo è già installato, potete attualizzare la versione già installata oppure installare un altro protocollo.
• In questo caso : chiudere tutte le applicazioni,
• Selezionare File poi Installare il protocollo.
2 - Principio di funzionamiento
- L'XBT ha lo statuto di Cliente.
- Il principio di funzionamiento dell'XBT è fondato su una "finestra di dialogo" che sta nell'automa (SERVER).
L'XBT in quanto cliente realizza 3 tipi di azioni :
• su iniziativa dell'automatismo,
• su iniziativa dell'operatore,
• di propia iniziativa.
Il protocolo DF1 è il protocolo di communicazione degli automi Allen Bradley.
Secondo il tipo d'automi de lla gamma, il dialogo sarà sopportato da diversi tipi di trame:
• Trame specifiche SLC-500, Micrologix 1000 (caso di un indirizzamento unicamente a dei SLC-500, Micrologix 1000).
• Trame specifiche PLC-5 (caso di un indirizzamento uniquement adei PLC-5),
• Trame generiche "BASIC COMMAND SET" (caso di un indirizzamento in modo non differenziato a diverse attrezzature tale SLC-500, PLC-5, PLC-4, PLC-3, PLC-2,
Micrologix 1000).
Il tipo de trama selezionato genera alcuni restrizioni sull'accesso ai dati automi (Cf § 9).
Il dialogo è del tipo domanda/risposta, il terminale MAGELIS essendo il cliente (richiedente) dello scambio, le attrezzature essendo i servers.
I
T
A
L
I
A
N
O
W915261320111 A04 12 - 1998
41
I
T
A
L
I
A
N
O
XBT-L1AB01 Protocollo DF1
Collegamento Half/Full Duplex
È possibile connettere l'XBT in punto punto o di utilzzare la rete di 254 PLC possibili, via il sistema di polling. Questa caratteristica è transparente per l'utente e le funzioni dell'XBT rimangono identiche fatta eccezione dell'indirizzamento, il quale, nel caso di uno collegamento punto punto, è limitato a l'automa direttamente collegato (MASTER).
È importante segnalare que il coolegamento dello XBT a la rete deve essere effettuata prima la sua messa sotto tensione. Infatti, il mecanismo di reperimento del polling scatta a la messa sotto tensione dell'XBT et smette dopo un certo termine (circa 30 secondi). Ecco perché se l'XBT è collegato alla rete mentre questo mecanismo è terminato, l'automa sarà automaticamente considerato come impostato in Full Duplex, e l'XBT ne farà altrettanto.
Attenzione:
Nel caso di utilizzazione del "Basic command set" e` impossibile scrivere ad un indirizzo dispari su un PLC 5.
Di conseguenza e` preferibile, in questo caso, non utilizzare la tabella di dialogo.
Compatibilità
Il protocollo DF1 sviluppato sul terminale MAGELIS permette di communicare con i seguenti automi Allen Bradley:
- SLC-500, Micrologix 1000,
- PLC-5,
- PLC-2, PLC-3 e PLC-4.
Il terminale individua automaticamente il tipo di collegamento (half o full duplex).
W915261320111 A04 12 - 1998
42
XBT-L1AB01 Protocollo DF1
3 - Contenuto della finestra di dialogo
A seconda dell'XBT selezionato, la finestra di dialogo sarà diversa. Troverete qua sotto l'elenco delle funzioni accessibili per ogni tipo, nonché la finestra per difetto per ciascuno.
Funzioni XBT H XBT H XBT H XBT H XBT P XBT P XBT P XBT E XBT E
XBT-HM XBT-HM XBT-HM XBT-HM 01x010 02x010 02x110 01x010 01x110
00x010 02x010 01x010 01x110
Immagini tasti funzioni
Immagini tasti sistemi
Immagini tasti numerici
Controllo della communicazione
Aggiomamento ora del PLC
N
°
pagina visualizzata
N
°
dell'ultimo campo digitato
N
°
ultimo allarme considerato
Statuto - Resoconto
Tasso occupazione cronistoria
N
°
pagina da elaborare
N
°
campo da digitare
Comando stampa
Autorizzazione scrittura finestra
Azzeramento cronistoria
Comando accensione dei DEL
Blocco tasti funzioni
Blocco tasti sistemi
Blocco tasti numerici
Tabella degli allarmi
Aggiomamento ora dell'XBT
Tabella stampa formato libero
: Funzioni selezionate per difetto nell'XBT-L1000
: Altre funzioni disponibili
: Non disponibile
I
T
A
L
I
A
N
O
W915261320111 A04 12 - 1998
43
XBT-L1AB01
Apparecchiatura utilizzata:
Funzioni
Tasti funzione
Tasti sistema
Tasti numerici
Controllo della comunicazione
Aggiornamento ora PLC
Numero della pagina a display
Numero dell'ultimo campo registrato
N
° ultimo allarme preso in conto
Ultimi gruppi di allarmi presi in conto
Resoconto
Tasso d'occupazione storico
Tracciato curve effettuato
Firma di applicazione
Numero della pagina da elaborare
Numero del campo da registrare
Comando Stampa
Attivazione tracciato curve
Abilitazione scrittura tabella
Trasferimento impossibile
Cancellazione cronistoria
Comando LED funz. statici
Lampeggio LED funz. statici
Comando LED funz. dinamici
Lampeggio LED funz. dinamici
Blocco tasti funzione
Blocco tasti sistema
Blocco tasti numerici
Tabella degli allarmi
Aggiornamento ora
Stampa formato libero I
T
A
L
I
A
N
O
Altre apparecchiature :
Funzioni
Ultimo allarme preso in conto
Ultimi allarmi presi in conto
Tabella degli allarmi
: Funzioni selezionate per default.
: Altre funzioni disponibili.
: Non disponibile
W915261320111 A04
XBT-F01 / F02
XBT-F01 / F02
44
Protocollo DF1
XBT-F03
XBT-F03
12 - 1998
XBT-L1AB01 Protocollo DF1
4 - Impostazione della finestra di dialogo
- Selezionare Imposta / Finestra di dialogo,
- Menzionare l'indirizzo di inizio finestra, il tempo del ciclo,
- Costruire la finestra aggiungendo o togliendo le funzioni richieste dalla vostra applicazione.
Nota : troverete il dettaglio del contenuto della tavola di dialogo Capitolo D del tomo 1 e Capitolo E del tomo 2 delle guide di uso della gamma MAGELIS.
5 - Simbolo Attrezzatura (CPU)
- Selezionare l'attrezzatura destinataria nel menu "Imposta/ Simbolo Attrezzatura".
6 - Parametro protocollo DF1
Sotto XBT-L1000 nel menù configurazione, scegliere parametri protocolli
8 bits codice binario - Sistema di codificazione
- Bits per carattere
- start bit
- bits significativi
- parità
- stop bit
- velocità
Organizzazione dek messaggio :
- Controllo
- Ritrasmissione dopo errore
- Richiesta riscontro
- Numero di stazione
- Typo di automa
- Typo di collegamento
1
8 paia / senza
1 de 300 a 19200 Bauds
(9600 Bauds per difetto)
BCC su 8 bits o CRC su 16 bits
1 a 255 (3 per difetto)
1 a 255 (3 per difetto)
0 a 254
Difecto / PLC-500/ PLC-5/ Micrologix
RS232
I
T
A
L
I
A
N
O
W915261320111 A04 12 - 1998
45
XBT-L1AB01 Protocollo DF1
7- Oggetti automa sopportati / Sintassi
Tipo di oggetto sopportato bit parola parola doppia mobile
Mnemonica
(sintassi)
Nf:i/j
Nf:i
= parola
= parola stringa = parola
Identificatori di mnemonica f :7…255 i : 0…255 j : 0…15
• Numero de File f
Indica il numero di file nell'automa al quale l'operatore desidera accedere.
A seconda del tipo de automa prescelto, il numero di file possibile è:
I
T
A
L
I
A
N
O
Tipo d'automa
Difetto (Basic Command Set)
PLC-5
SLC-500
Micrologix 1000
Numero de file
- Per un SLC-500 prendere 9,
- Per un PLC-5 questo numero corrisponde a l'indirizzo rete dell' emittente,
Tra 9 e 255,
Tra 9 e 255.
7
• Indice i
Indica il numero d'elemento nel file prescelto.
Attenzione:
Nel caso d'utilizzazione del Basic Command Set questo numero
d'elemento può interpretarsi diversamente a seconda del tipo d'automa.
Permaggiori informazioni riportarsi a la documentazione tecnica dell'automa.
• Indice j
Questo campo è accessible soltanto se il tipo de dato selezionato è Nf:i/j.
Indica la fila del bit nella parola (selezionato tramite campo i).
W915261320111 A04 12 - 1998
46
XBT-L1AB01
8 - Attuazione
8.1 Cavi
Automi
SLC5
PLC5
Micrologix
Collegamento fisico
RS232
RS232
RS232
8.2 Schemi
Riferimento
XBT-Z9730
XBT-Z9720
XBT-Z9731
Protocollo DF1
Lunghezza
2.5 m
2.5 m
2.5 m
COLLEGAMENTO RS 232 C
La lunghezza massima del collegamento è 15 m.
Distanza
RS 232C
100 m
15 m
Velocità (Bauds)
100 1 K 10 K 19,2 K
Cablaggio = 3 fili schermati (sezione minima 0,6 mm 2 AWG22)
I
T
A
L
I
A
N
O
W915261320111 A04 12 - 1998
47
XBT-L1AB01
- PLC-5
Terminale MAGELIS XBT
PG 1
(*)
EMISSIONE TXD 2
RICEZIONE RXD 3
0V
SG 7
8
12
Protocollo DF1
Automatismo accoppiatore DF1
1
PG
2
TXD EMISSIONE
3 RXD RICEZIONE
7
4
SG
RTS
CTS
6 DSR
20 DTR
I
T
A
L
I
A
N
O
* Il raccordo della schermatura alle due estremità dipende dalle sollecitazioni elettriche derivanti dall'installazione.
In certe impostazioni, non è necessario invertire gli spinotti 2 e 3. Consultare la documentazione dell'automa adoperato.
- Micrologix 1000
Utilizzare il cavo XBT-Z910
Terminale MAGELIS XBT Automatismo accoppiatore DF1
(*)
PG 1
TXD 2
RXD 3
SG
7
8
4 RXD
7 TXD
2
SG
(0V)
3
6
7
4
8
5
1 2
12
W915261320111 A04 12 - 1998
48
XBT-L1AB01 Protocollo DF1
- SLC-500
Terminale MAGELIS XBT Automatismo accoppiatore DF1
(*)
PG 1 1
TXD 2 2
RXD 3 3
5
SG 7
8
12
9 - Diagnosi
- Comportamento in caso di errore :
-Visualizzazione di: "??????…"per le variabili alfanumeriche in caso di errore di transmissione : formato/ parità/ CRC/ mancata risposta o risposta di eccezione.
- Visualizzazione di croce per gli oggetti grafici in caso di mancata risposta o funzione di comunicazione in difetto,
- nessuna ripetizione su non risposta.
I
T
A
L
I
A
N
O
W915261320111 A04 12 - 1998
49
I
T
A
L
I
A
N
O
XBT-L1AB01 Protocollo DF1
10 - Data ed ora interna
Per aver accesso alla data ed all'ora dei terminali, è possibile definire sotto XBT-L1000 campi alfanumerici indirizzati su variabili interne .
Terminali XBT-H-P-E-HM
Attrezzatura XBT
Variabile di tipo %Nf: i f = 80 i = 195 per la data , i = 195 per l'ora
Oggeto : catena
Tipo : ascii
Lunghezza : 8
Formato della data : GG/ MM/ AA
Fomrmat dell'ora : HH : MM : SS
Terminali XBT-F
Attrezzatura XBT
Variabile di tipo %Nf: i
Due sintassi possibili :
Symbolo : secolo, anno, mese, giorno_di_settimana, ora, minuto, secondo.
Formato tipo : decimale
Lunghezza : 2
Formato : parola
O
Simbolo : Data_ascii, ora_ascii.
Formato tipo : catena
Lunghezza : 6
Formato : ascii
W915261320111 A04 12 - 1998
50
Preuzimanje
Oglas