Schneider Electric XBTL1OMR01 SYSMAC-WAY Protocol Guide de démarrage rapide
Schneider Electric XBTL1OMR01 SYSMAC-WAY Protocol allows for communication between an XBT terminal and an OMRON PLC. As a master device, the XBT can initiate three types of actions: those initiated by the automation system, those initiated by the operator, and those initiated by the XBT itself. The XBT supports ASCII mode dialogue under the SYSMAC-WAY sub-protocol. Other features include a historical occupancy rate, a print command, and the ability to lock function, system, and numeric keys.
Реклама
Реклама
XBT-L1OMR01 Protocole SYSMAC-WAY
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 protocole
2 - Principe de fonctionnement
- L'XBT a le statut de MAÎTRE.
- Le principe de fonctionnement de l'XBT est basé sur une "table de dialogue" qui se trouve dans l'automate (Esclave).
L'XBT en tant que MAÎTRE réalise 3 types d'actions :
• à l'initiative de l'automatisme,
• à l'initiative de l'opérateur,
• à sa propre initiative.
Le protocole SYSMAC-WAY est le protocole de communication supporté par tous les automates OMRON.
Il est possible de connecter l'XBT en point à point sur l'automate via le connecteur RS232 ou d'utiliser un réseau RS422 sur lequel on peut raccorder jusqu'à 32 automates.
Le dialogue entre les niveaux supérieurs de traitement et le Terminal MAGELIS est du type question/réponse. Le demandeur, l'XBT (station maître) transmet les messages à exécuter
à l'esclave (automate).
Sous protocole SYSMAC-WAY, le Terminal dialogue en mode ASCII.
N
Ç
A
I
S
F
R
A
MAGELIS
MAITRE
QUESTION
REPONSE
AUTOMATE
ESCLAVE
Avertissement
Le branchement d'un XBT demandant des écritures en mémoire dans un automate en mode
RUN entraine le passage de celui-ci en mode MONITOR.
W9 152 6134 0111 A03 12 - 1998
1
XBT-L1OMR01 Protocole SYSMAC-WAY
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.
N
Ç
A
I
S
F
R
A
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
W9 152 6134 0111 A03 12 - 1998
2
XBT-L1OMR01 Protocole SYSMAC-WAY
Equipement Master : Table de dialogue principale
XBT-F01 / F02
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 :
XBT-F01 / F02 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
W9 152 6134 0111 A03
3
XBT-F03
XBT-F03
12 - 1998
N
Ç
A
I
S
F
R
A
N
Ç
A
I
S
F
R
A
XBT-L1OMR01 Protocole SYSMAC-WAY
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'exploitation de la gamme MAGELIS.
5 - Symbole équipement
- Sélectionner Configuration / Symbole Equipement.
- Ajouter les adresses des équipements qui seront accessibles par l'XBT.
- La configuration de l'esclave adressé par défaut par XBT-L1000 est 0.
- En SYSMAC-WAY, N
°
de l'esclave : 0 à 31.
ESCLAVE 1 ESCLAVE 2
XBT
HOME
ESC +1
MOD
SHIFT
DEL
SYST
MENU
-1
ALARM
ENTER +/-
7
4
1
8
5
2
0
9
6
3
6 - Paramètres protocoles SYSMAC-WAY
- La vitesse, le format (parité, bits de données) se configurent parXBT-L1000 après installation du protocole SYSMAC-WAY.
Caractéristiques
Système de codage
Nombre de bits par caractère
- start bit
- bits significatifs
- parité
- stop bit
- vitesse
7 / 8 bits code ASCII
1
7 / 8 paire/impaire/sans
2
1200/2400/4800/9600/19200 Bauds
Organisation du message :
- Début de trame
- Message
- Contrôle
- Fin de trame
- Types d'interfaces
RS422
Caractère de début de trame: @
Trame SYSMAC-WAY
FCS
Caractères de fin de trame: *
CR
RS232C
W9 152 6134 0111 A03 12 - 1998
4
XBT-L1OMR01 Protocole SYSMAC-WAY
Se reporter au manuel d'exploitation du système de traitement (automate ou calculateur) pour l'écriture des tables de configuration.
Etapes pour mise en œuvre :
- Configuration et raccordement du Terminal
- Gestion des échanges
7 - Objets supportés
N
Ç
A
I
S
F
R
A
Type d'objet supporté bit mot double mot flottant chaîne
Mnémonique
(syntaxe)
DMi.j
DMi
= mot
= mot
= mot
Identificateurs de mnémonique i : 0…65535 j : 0…15
NOTA :
Les adresses des objets doivent appartenir aux zones mémoires accessibles qui sont spécifiques à chaque type d'automate.
8- Mise en œuvre
Pour se connecter à un autre automate, il est préférable de procéder à une mise hors tension puis sous tension du terminal XBT.
8.1 Câbles
Automates
CVM1
CVM1
CQM1
Liaison Physique
RS232
RS422
RS232
Référence
XBT-Z9740
XBT-Z9741
XBT-Z9740 longueur
2.5 m
2.5 m
2.5 m
W9 152 6134 0111 A03 12 - 1998
5
XBT-L1OMR01 Protocole SYSMAC-WAY
N
Ç
A
I
S
F
R
A
8.2 Schémas
LIAISON RS 232 C
La longueur maximale de la liaison est de 15 m.
Distance
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)
Automate OMRON
Terminal MAGELIS XBT
(*)
PG 1 1 PG
EMISSION
TXD 2
RECEPTION
RXD 3
2 TXD EMISSION
3
RXD RECEPTION
0V SG 7
8
12
9
4
SG
RTS
CTS
* Le raccordement du blindage aux deux extrémités dépend des contraintes
électriques liées à l'installation.
* Le connecteur Omron est de type DB9.
W9 152 6134 0111 A03
6
12 - 1998
XBT-L1OMR01 Protocole SYSMAC-WAY
LIAISON RS 422
La longueur maximale de la liaison est de 1200 m.
Distance
(m)
1200
N
Ç
A
I
S
F
R
A
1 K 100 K 10 M Bauds
Câblage = 2 paires torsadées blindées section minimale 0,6 mm 2 AWG22 (plus OV)
LA LONGUEUR MAXIMALE AVEC LA LIAISON RS 422
EST DE 1200 M SOUS RESERVE QUE LE(S) EQUIPEMENT(S)
RACCORDES AU TERMINAL XBT N'APPORTE(NT) PAS
DE LIMITATION(S) PLUS SEVERE(S)
W9 152 6134 0111 A03
7
12 - 1998
N
Ç
A
I
S
F
R
A
XBT-L1OMR01 Protocole SYSMAC-WAY
LIAISON RS 422
Terminal MAGELIS XBT
0V SG
TXD+
Emission E
TXD-
Réception
RXD+
+ 5V
R
Rp Rp
A
B
A'
B'
RXD0V
PG
22
4
5
6
18
Rt
(*)
1
8
12
Automatisme
Rt
SG
9
0V
RD-
6
R
8
RD+
SD-
1
E
2
SD+
Réception
Emission
PG
* Le raccordement du blindage aux deux extrémités dépend des contraintes
électriques liées à l'installation.
R
T
: résistance d'adaptation de ligne (typiquement 110 W)
NOTA: les résistances Rp (4,7 kW) sont intégrées dans l'XBT.
W9 152 6134 0111 A03 12 - 1998
8
XBT-L1OMR01 Protocole SYSMAC-WAY
9 - Diagnostic
•
Compteurs de diagnostic
4 compteurs de diagnostic sont visualisables dans la page système du protocole (paramètres de ligne):
- CPT1 : nombre de réponses reçues sans erreur FCS*.
- CPT2 : nombre de réponses reçues avec erreur FCS*.
- CPT3 : nombre de réponses avec longueur ou octets de contrôle incorrects.
- CPT4 : nombre de demandes restées sans réponse.
* FCS : Frame Check Sequence
•
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 ??? sur adresse automate invalide,
- 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.
N
Ç
A
I
S
F
R
A
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 adréssés sur des variables internes.
Terminaux XBT-H-P-E-HM
Equipement XBT
Variable de type %DM: i i = 50000 pour la date , i = 50001 pour l'heure
Objet : chaîne
Type : ascii
Longueur : 8
Format de la date : JJ/ MM/ AA
Fomrmat de l'heure : HH : MM : SS
W9 152 6134 0111 A03 12 - 1998
9
XBT-L1OMR01 Protocole SYSMAC-WAY
N
Ç
A
I
S
F
R
A
Terminaux XBT-F
Equipement XBT
Variable de type %DM: 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
W9 152 6134 0111 A03
10
12 - 1998
XBT-L1OMR01 SYSMAC-WAY Protocol
1 - Installation of the protocol: start XBT-L1000
2 cases :
There is no protocol installed: the dialogue window "Install protocol" opens automatically.
- If a protocol is already installed, you can either update the existing version or install another protocol.
In this case: close all applications, select "File", then "Install protocol".
2 - Operating principle
- The XBT has the status of MASTER .
- The operating prinicple of the XBT is based on a "dialogue table" that is situated in the PLC
(Slave).
The XBT as a MASTER carries out 3 kinds of action:
• on initiative of the PLC,
• on initiative of the operator,
• on its own initiative.
All OMRON process controllers use the SYSMAC-WAY protocol as communication protocol.
XBT can be connected to the process controller in point-to-point mode via the RS232 connector, or an RS422 network can be used on which you can connect up to 32 PLCs(*).
The dialog between the superior processing levels and the MAGELIS terminal consists in request / replies. The requester, XBT (master station) transmits the messages to be executed to the slave (PLC).
In the SYSMAC-WAY protocol the terminal communicates in ASCII mode.
I
S
H
E
N
G
L
MAGELIS
MASTER
REQUEST
REPLY
PLC
SLAVE
Caution
If you connect an XBT requiring writing in memory in a process controller in RUN mode will cause the process controller to switch to MONITOR mode.
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.
W9 152 6134 0111 A03
11
12 - 1998
I
S
H
E
N
G
L
XBT-L1OMR01 SYSMAC-WAY Protocol
3 - Content of the dialogue table
Depending on the selected XBT, the dialogue table will be different. Here below you will find a list of accessible functions as well as a table by default for each type.
Functions
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
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.
W9 152 6134 0111 A03 12 - 1998
12
XBT-L1OMR01
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
W9 152 6134 0111 A03
SYSMAC-WAY Protocol
XBT-F01 / F02
XBT-F01 / F02
13
XBT-F03
XBT-F03
12 - 1998
I
S
H
E
N
G
L
I
S
H
E
N
G
L
XBT-L1OMR01 SYSMAC-WAY Protocol
4 - Configuration of the dialogue table
- Select Configuration / Dialogue table,
- Indicate the start address of the table and the cycle time,
- Create the table by adding or suppressing the functions that are 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
- Select Configuration / Equipment symbol.
- Add the equipment addresses that are accessible by the XBT.
- The configuration of the slave, addressed by default by the XBT-L1000, is 0.
- In SYSMAC-WAY, slave no.: 0 to 31.
SLAVE 1 SLAVE 2
XBT
HOME
ESC +1
MOD
SHIFT
DEL
SYST
MENU
7
4
-1
ALARM
ENTER
1
+/-
8 9
5 6
2 3
0
6 - Sysmac-way protocol parameters
- The speed, the format (parity, data bits) are configured by the XBT-L1000 after the installation of the SYSMAC-WAY protocol.
Characteristics
Coding system
Number of bits per character
- start bit
- significant bits
- parity
- stop bit
- speed
Organisation of the message:
- Begin of the frame
- Message
- Control
- End of the frame
- Kind of interfaces
W9 152 6134 0111 A03
14
7 / 8 bits ASCII code
1
7 / 8 even / odd / none
2
1200/2400/4800/9600/19200 Bauds
Begin of the frame character: @
SYSMAC-WAY frame
FCS
End of the frame characters: *
CR
RS232C
RS422
12 - 1998
XBT-L1OMR01 SYSMAC-WAY Protocol
Refer to the operator manual of the data processing system (PLC or computer) to write the configuration tables.
Stages of installation:
- Configuration and connection of the terminal
- Management of exchanges
7 - Supported PLC objects / Syntax
Kind of supported object
Bit
Word
Double word
Floating
String
Mnemonic
(Syntax)
DMi.j
DMi
= word
= word
= word
Mnemonic identifier i : 0…65535 j : 0…15
NOTE:
The addresses of the objects must belong to the accessible memory zones that are specific to each type of PLC.
8 - Implementation
To connect to another automation, you should power off then on the XBT terminal.
8.1 Cables
I
S
H
E
N
G
L
Automatons
CVM1
CVM1
CQM1
Physical link
RS232
RS422
RS232
Reference
XBT-Z9740
XBT-Z9741
XBT-Z9740
Length
2.5 m
2.5 m
2.5 m
W9 152 6134 0111 A03 12 - 1998
15
XBT-L1OMR01
8.2 Diagrams
SYSMAC-WAY Protocol
RS 232 C LINK
The maximum length of the link is 15 m.
Distance
I
S
H
E
N
G
L
RS 232C
100 m
15 m
Speed (Bauds)
100 1 K 10 K 19,2 K
Cabling = 3-wire, shielded (minimum cross section 0.6 mm 2 AWG22)
MAGELIS XBT operator terminal PLC OMRON
(*)
PG 1 1 PG
TRANSMISSION
TXD 2 2 TXD TRANSMISSION
RECEPTION RXD 3 3
RXD
RECEPTION
0V
SG 7
8
12
9
4
SG
RTS
CTS
* The connection of the shielding to both cable ends depends on the electrical operating conditions.
* The Omron connector is of the DB9 type.
W9 152 6134 0111 A03 12 - 1998
16
XBT-L1OMR01 SYSMAC-WAY Protocol
RS 422 LINK
The maximum length of the link is 1200 m.
Distance
(m)
1200
1 K 100 K 10 M Bauds
Cabling = 4-wire twisted, shielded, minimum cross section 0.6 mm 2 AWG22 (plus OV)
I
S
H
E
N
G
L
THE MAXIMUM LENGTH OF THE RS 422 LINK
IS 1200 M UNDER THE CONDITION THAT THE EQUIPMENTS
CONNECTED TO THE XBT TERMINAL DO NOT REQUIRE
MORE SEVERE LIMITATIONS.
W9 152 6134 0111 A03
17
12 - 1998
I
S
H
E
N
G
L
XBT-L1OMR01 SYSMAC-WAY Protocol
RS 422 LINK
MAGELIS XBT operator terminal
0V SG
TXD+
Transmission E
TXD-
RXD+
+ 5V
Reception
R
Rp Rp
A
B
A'
B'
RXD0V
PG
22
4
5
6
18
Rt
(*)
1
8
12
Automation
Rt
SG
9
0V
RD-
6
R
8
RD+
SD-
1
E
2
SD+
Reception
Transmission
PG
* The connection of the shielding to both cable ends depends on the electrical operating conditions.
R
T
: Link termination resistors (normally 110
Ω
)
NOTE: The Rp resistors (4,7 k
Ω
) are integrated in the XBT.
W9 152 6134 0111 A03 12 - 1998
18
XBT-L1OMR01 SYSMAC-WAY Protocol
9 - Diagnostic
• Diagnostic counters
4 diagnostic counters can be displayed on the protocol's system page (line parameters):
- CPT1: number of responses received without any FCS* error.
- CPT2: number of responses received with FCS* error.
- CPT3: number of responses with incorrect length or control bytes.
- CPT4: number of requests that have not been answered.
*FCS: Frame Check Sequence
• Behaviour at the occurence of errors :
- display: "??????…" on transmission error : speed / format / parity / FCS / no response,
- display of ??? on an invalid PLC address,
- display of check marks for the graphic objects, upon no answer or defective communication function,
- no repetition upon no answer.
I
S
H
E
N
G
L
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 .
XBT-H-P-E-HM Terminals
XBT equipement
Variable of type %DM: i i= 50000 for the date , i = 50001 for the time
Object : channel
Type : ascii
Length : 8
Date format : DD/ MM/ YY
Time format : HH : MM : SS
W9 152 6134 0111 A03
19
12 - 1998
I
S
H
E
N
G
L
XBT-L1OMR01 SYSMAC-WAY Protocol
XBT-F terminals
XBT equipement
Variable of type %DM: 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
W9 152 6134 0111 A03
20
12 - 1998
XBT-L1OMR01 SYSMAC-WAY-Protokoll
1 - Installation des Protokolls: XBT-L1000 starten
2 Fälle :
- Es ist noch kein Protokoll installiert: das Dialogfenster "Protokoll installieren" öffnet sich automatisch.
- Wenn bereits ein Protokoll installiert ist, können Sie entweder die existierende Protokollversion aktualisieren oder ein anderes Protokoll installieren.
In diesem Fall: alle Applikationen schließen,
"Datei" wählen, dann "Protokoll installieren".
2 - Funktionsweise unter SYSMAC-WAY
- Das XBT hat den Status MASTER.
- Die Funktionsweise des XBT basiert auf einer "Dialogtabelle", die sich in der SPS befindet
(Slave).
Das XBT in seiner Funktion als Master führt die 3 folgenden Aktionsarten aus:
• auf Initiative der SPS,
• auf Initiative des Bedieners,
• auf seine eigene Initiative.
Das Protokoll SYSMAC-WAY ist das von allen OMRON-Automaten unterstützte
Kommunikationsprotokoll.
Das XBT kann durch eine Punkt-zu-Punkt Verbindung über die RS232 Schnittstelle mit dem
Automaten verbunden werden, oder über ein RS422-Netz, über das bis zu 32 SPS*-Einheiten angeschlossen werden können.
Der Dialog zwischen den höheren Bearbeitungsniveaus und dem MAGELIS-Bedienterminal besteht aus Fragen/Antworten. Der Requester, das XBT (Master-Station) leitet die Meldungen zur Ausführung an den Slave weiter (den Automaten).
Im SYSMAC-WAY-Protokoll kommuniziert der Bedienterminal im ASCII-Modus.
S
C
H
D
E
U
T
MAGELIS
MASTER
FRAGE
ANTWORT
SPS
SLAVE
Warnung
Ein angeschlossener XBT erfordert im RUN-Modus Schreibvorgänge im Speicher des
Automaten. Dadurch wird dieser automatisch in den MONITOR-Modus versetzt.
W9 152 6134 0111 A03 12 - 1998
21
XBT-L1OMR01 SYSMAC-WAY-Protokoll
3 - Inhalt der Dialogtabelle
Entsprechend dem gewählten XBT fällt die Dialogtabelle unterschiedlich aus. Nachstehend finden Sie eine Liste der zugänglichen Funktionen sowie die vorgebene Tabelle für jeden Typ.
S
C
H
D
E
U
T
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
W9 152 6134 0111 A03
22
12 - 1998
XBT-L1OMR01 SYSMAC-WAY-Protokoll
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
W9 152 6134 0111 A03
23
XBT-F03
XBT-F03
12 - 1998
S
C
H
D
E
U
T
XBT-L1OMR01 SYSMAC-WAY-Protokoll
4 - Konfiguration der Dialogtabelle
- Konfiguration / Dialogtabelle wählen,
- die Anfangsadresse der Tabelle und die Zykluszeit angeben,
- die Tabelle erstellen, indem Sie die für Ihren Anwendungsfall notwendigen Funktionen 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ätesymbol
- Konfiguration / Gerätesymbol wählen.
- Die vom XBT zugänglichen Geräteadressen hinzufügen.
- Die Konfiguration des Slave, der vom XBT-L1000 adressiert wird, ist 0.
- unter SYSMAC-WAY, Slave-Nr.: 0 bis 31.
SLAVE 1 SLAVE 2
S
C
H
D
E
U
T
XBT
HOME
ESC +1
MOD
SYST
MENU
DEL
7
4
1
SHIFT
-1
ALARM
ENTER
+/-
8
0
5
2
9
6
3
6 - Sysmac-way protokollparameter
- Die Geschwindigkeit, das Format (Parität, Datenbits) werden vom XBT-L1000 nach
Installation des SYSMAC-WAY Protokoll konfiguriert.
Eigenschaften
7 / 8 Bits ASCIIcode Codiersystem
Anzahl der Bits pro Zeichen
- Startbit
- Wertigkeitsbits
- Parität
- Stopbit
- Geschwindigkeit
Organisation der Meldung:
- Beginn des Rasters
- Meldung
- Kontrolle
- Ende des Rasters
- Art der Schnittstellen
W9 152 6134 0111 A03
24
1
7 / 8 gerade/ungerade/keine
2
1200/2400/4800/9600/19200 Bauds
Anfangszeichen des Rasters: @
SYSMAC-WAY-Raster
FCS
Abschlußzeichen des Rasters: *
CR
RS232C
RS422
12 - 1998
XBT-L1OMR01 SYSMAC-WAY-Protokoll
Beziehen Sie sich auf die Betriebsanweisung des Datenverarbeitungs-systems (SPS oder
Rechner), um die Konfigurationstabellen zu schreiben.
Etappen der Installation:
- Konfiguration und Anschluß des Bedienterminals
- Verwaltung der Datenübertragung
7 - Unterstützte SPS-Objekte / Syntax
Art des unterstützten Mnemonik
Objektes (Syntax)
Bit DMi.j
Wort
Doppelwort
Reell
Kette
DMi
= wort
= wort
= wort
Mnemonikkennzeichnung i : 0…65535 j : 0…15
ANMERKUNG :
Die Objektadressen müssen zugänglichen Speicherbereichen zugehören, die für jeden
Automatentyp spezifisch sind.
8 - Ingangsetzung
Um sich an eine andere SPS anzuschließen, ist es vorzuziehen zuerst außer Spannung zu setzen und anschließend eine Unterspannungactzung der DEE XBT zu tätigen.
8.1 Kabel
S
C
H
D
E
U
T
SPS
TSXQuantum
Modicon 984
Modicon Micro physische
Verbindung
RS232
RS232
RS232
Referenznummer
XBT-Z9710
XBT-Z9710
XBT-Z9711
Länge
2.5 m
2.5 m
2.5 m
W9 152 6134 0111 A03 12 - 1998
25
XBT-L1OMR01
8.2 Übersicht
SYSMAC-WAY-Protokoll
RS 232 C SCHNITTSTELLE
Die maximale Länge der Schnittstelle beträgt 15 m.
Entfernung
S
C
H
D
E
U
T
RS 232C
100 m
15 m
Geschwindigkeit (Bauds)
100 1 K 10 K 19,2 K
Verdrahtung = 3-adrige, abgeschirmte Leitung
(minimaler Leitungsquerschnitt 0,6 mm 2 AWG22)
Bedienterminal MAGELIS XBT SPS OMRON
(*)
PG 1 1
PG
SENDEN TXD 2 2
EMPFANG RXD 3 3
TXD
SENDEN
RXD
EMPFANG
0V
SG 7
8
12
9
4
SG
RTS
CTS
* Der Anschluß der Abschirmung an beiden Kabelenden ist von den
elektrischen Betriebsbedingungen abhängig.
* Der Omron-Steckverbinder ist vom Typ DB9.
W9 152 6134 0111 A03
26
12 - 1998
XBT-L1OMR01 SYSMAC-WAY-Protokoll
RS 422 SCHNITTSTELLE
Die maximale Länge der Schnittstelle beträgt 1200 m.
Entfernung
(m)
1200
1 K 100 K 10 M Bauds
Verdrahtung = 4-adrig verdrillte, abgeschirmte Leitung, minimaler Leitungsquerschnitt 0,6 mm 2 AWG22 (plus OV)
DIE MAXIMALE LÄNGE MIT DER RS 422 SCHNITTSTELLE
BETRÄGT 1200 M UNTER DEM VORBEHALT, DASS DAS (DIE) AN DEN
XBT-TERMINAL ANGESCHLOSSENE(N) GERÄT(E) KEINE
STRENGEREN EINSCHRÄNKUNGEN ERFORDERN.
S
C
H
D
E
U
T
W9 152 6134 0111 A03
27
12 - 1998
S
C
H
D
E
U
T
XBT-L1OMR01 SYSMAC-WAY-Protokoll
RS 422 SCHNITTSTELLE
Bedienterminal MAGELIS XBT Automatismus
0V SG
TXD+
Senden
E
TXD-
RXD+
+ 5V
Empfang
R
Rp Rp
A
B
A'
B'
RXD0V
PG
22
4
5
6
18
Rt
(*)
1
8
12
Rt
SG
9
0V
RD-
6
R
8
RD+
SD-
1
E
2
SD+
Empfang
Senden
PG
* Der Anschluß der Abschirmung an beiden Kabelenden ist von den elektrischen
Betriebsbedingungen abhängig.
R
T
: Schnittstellen-Anpassungswiderstände (normalerweise 110
Ω
)
ANMERKUNG: die Widerstände Rp (4,7 k
Ω
) sind im XBT integriert.
W9 152 6134 0111 A03
28
12 - 1998
XBT-L1OMR01 SYSMAC-WAY-Protokoll
9 - Diagnose
• Diagnosezähler
Auf der Systemseite des Protokolls (Leitungsparameter) können 4 Diagnosezähler angezeigt werden :
- Zähler 1 : Anzahl der ohne FCS*-Fehler erhaltenen Antworten.
- Zähler 2 : Anzahl der mit FCS*-Fehler erhaltenen Antworten.
- Zähler 3 : Anzahl der Antworten mit falscher Länge oder falschem Kontroll-Byte.
- Zähler 4 : Anzahl der ohne Antwort geblieber en Anfrangen
*FCS: Frame Check Sequence.
• Verhalten bei Fehler :
- Anzeige: "??????…" bei Übertragungsfehler :
Geschwindigkeit / Format / Parität / FCS / keine Antwort.
- Anzeige von ??? an der Adresse der ungültigen SPS
- Kreuzanzeige für grafiache Objekte auf fehlende Antwort oder fehlerhaft
Informationsflußfunktion,
- keineWiederholung bei ausbleibender Antwort.
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 %DM: i i= 50000 für das Datum , i = 50001 für die Zeit
Ziel : Kette
Typ : ascii
Länge : 8
Datumsformat : TT/ MM/ JJ
Zeitformat : HH : MM : SS
S
C
H
D
E
U
T
W9 152 6134 0111 A03
29
12 - 1998
S
C
H
D
E
U
T
XBT-L1OMR01 SYSMAC-WAY-Protokoll
DE-Einrichtungen XBT-F
Ausrüstung XBT
Variabletyp %DM: 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
W9 152 6134 0111 A03
30
12 - 1998
XBT-L1OMR01 Protocolo SYSMAC-WAY
1 - Instalación: lanzar el XBT-L1000
2 casos:
- Ningún protocolo ha sido instalado todavía : la caja de diálogo "Instalar Protocolo" se abre automáticamente.
- Si ha sido instalado un protocolo, puede actualizar la versión existente o instalar otro protocolo.
En este caso : cerrar todas las aplicaciones, seleccionar "Fichero " y luego "Instalar protocolo".
2 - Principio de funcionamiento en SYSMAC-WAY
- El XBT desempeña la función MAESTRO.
- El principio de funcionamiento del XBT se basa en una "tabla de diálogo" ubicada en el autómata (Esclavo).
El XBT como MAESTRO realiza tres tipos de acciones :
• a iniciativa del automatismo,
• a iniciativa del operador,
• a su propia iniciativa.
El protocolo SYSMAC-WAY es el protocolo de comunicación de todos los autómatas
OMRON.
Es posible conectar el XBT en punto a punto con el autómata por medio del conector RS232
ó utilizar una red RS422 con la que se puede conectar hasta 32 PLC(*).
El diálogo entre los niveles superiores de tratamiento y el Terminal MAGELIS es de tipo
Petición/Respuesta. El peticionario, XBT (estación maestra) transmite los mensajes a ejecutar al esclavo (autómata).
Con el protocolo SYSMAC-WAY, el Terminal dialoga en modo ASCII.
Ñ
O
L
E
S
P
A
MAGELIS
MAESTRO
PETICION
RESPUESTA
AUTÓMATA
ESCLAVO
Advertencia
Cuando un XBT conectado requiere escrituras en memoria en un autómata en modo RUN,
éste pasa automáticamente en modo MONITOR.
W9 152 6134 0111 A03 12 - 1998
31
XBT-L1OMR01 Protocolo SYSMAC-WAY
Ñ
O
L
E
S
P
A
3 - Contenido de la tabla de diálogo
Según el XBT seleccionado, la tabla de diálogo será diferente.
Encontrará a continuación la lista de las funciones accesibles para cada tipo de XBT así como la tabla por defecto para cada uno.
Funciones
Imágenes teclas de funciones
Imágenes teclas de sistemas
Imágenes teclas numéricas
Control de la comunicación
Puesta en hora del autómata
N
°
de página visualizada
N
°
del último campo introducido
N
°
de la última alarma validada
Estado-Respuesta
Espacio ocupado por los históricos
N
°
de la página a procesar
N
°
del campo a introducir
Comando de impresión
Autorización de escritura tabla
Bornado del histórico
Comando de encendido de los LED
Bloqueado teclas de funciones
Bloqueado teclas de sistemas
Bloqueado teclas numéricas
Tabla de alarmas
Puesta en hora del XBT
Tabla de impresión en formato 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
: Funciones seleccionadas por defecto en el XBT-L1000
: Otras funciones disponibles
: No disponible
W9 152 6134 0111 A03
32
12 - 1998
XBT-L1OMR01
Equipo piloto:
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
W9 152 6134 0111 A03
Protocolo SYSMAC-WAY
XBT-F01 / F02
XBT-F01 / F02
33
XBT-F03
XBT-F03
12 - 1998
Ñ
O
L
E
S
P
A
XBT-L1OMR01 Protocolo SYSMAC-WAY
4 - Configuración de la tabla de diálogo
- Seleccionar Configuración/Tabla de diálogo,
- Indicar la dirección del comienzo de la tabla, el período 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 capitulo D del tomo 1 y capitulo E del tomo 2 de las guías de operación de la gama MAGELIS.
5 - Símbolo equipo
- Seleccionar Configuración/Símbolo de Equipo.
- Agregar las direcciones de los equipos que serán accesibles por el XBT.
- La configuración del esclavo dirigido por defecto por el XBT-L1000 es 0.
- En SYSMAC-WAY, N
°
del esclavo: 0 a 31.
ESCLAVO 1 ESCLAVO 2
Ñ
O
L
E
S
P
A
XBT
HOME
ESC +1
MOD
SYST
MENU
DEL 7
4
1
SHIFT -1
ALARM
ENTER +/-
2
0
8
5
9
6
3
6 - Parámetros de protocolos Sysmac-way
- La velocidad, el formato (paridad, bits de datos) se configuran por el XBT-L1000 trás la instalación del protocolo SYSMAC-WAY.
Características
7 / 8 Bit código ASCII Sistema de codificación
Número de bit por carácter
- Bit de start
- Bits significativos
- Paridad
- Bit de stop
- Velocidad
1
7 / 8 par/impar/ninguna
2
1200/2400/4800/9600/19200 Baudios
Organización del mensaje:
- Comienzo de trame
- Mensaje
- Control
- Fin de trama
- Tipos de acoplamientos
Carácter de comienzo de trama: @
Trama SYSMAC-WAY
FCS
Carácter de fin de trama: *
CR
RS232C
RS422
W9 152 6134 0111 A03 12 - 1998
34
XBT-L1OMR01 Protocolo SYSMAC-WAY
Ver el manual de usuario del sistema de tratamiento (autómata o calculador) para la escritura de las tablas de configuración.
Etapas de instalación:
- Configuración y conexión del Terminal
- Gestión de los intercambios
7 - Objetos autómatas aceptados/sintaxis
Tipo de objeto aceptado
Bit
Palabra
Palabra doble
Flotante
Cadena mnemónico
(sintaxis)
DMi.j
DMi
= palabra
= palabra
= palabra
Indicadores de mnemónico i: 0…65535 j: 0…15
NOTA:
Las direcciones de los objetos deben pertenecer a las zonas de memoria asequibles especificadas con cada tipo de autómata.
8 - Realización
Para conectarse a otro automatismo, es preferible proceder a poner fuera de tención y luego poner bajo tención del terminal XBT.
8.1 Cables
Ñ
O
L
E
S
P
A
Automatismos
TSXQuantum
Modicon 984
Modicon Micro
Conexión física
RS232
RS232
RS232
Referencia
XBT-Z9710
XBT-Z9710
XBT-Z9711 longitud
2.5 m
2.5 m
2.5 m
W9 152 6134 0111 A03 12 - 1998
35
Ñ
O
L
E
S
P
A
XBT-L1OMR01 Protocolo SYSMAC-WAY
8.2 Esquema
Distancia
UNIÓN RS 232C
La longitud máxima de la unión es de 15 metros.
RS 232C
100 m
15 m
Velocidad (Baudios)
100 1 K 10 K 19,2 K
Cableado = 3 hilos blindados (sección mínima 0,6 mm 2 AWG22)
Terminal MAGELIS XBT Automata OMRON
(*)
PG 1 1
PG
EMISIÓN TXD 2 2
TXD EMISIÓN
RECEPCIÓN RXD 3 3 RXD RECEPCIÓN
0V SG 7
8
12
9
4
SG
RTS
CTS
* La conexión del blindado en ambos extremos depende de las exigencias eléctricas ligadas a la instalación.
* El conector Omron es de tipo DB9.
W9 152 6134 0111 A03 12 - 1998
36
XBT-L1OMR01 Protocolo SYSMAC-WAY
UNIÓN RS 422
La longitud máxima de la unión es de 1200 metros.
Distancia
(m)
1200
1 K 100 K 10 M Bauds
Cableado = 3 pares retorcidos blindados (sección mínima 0,6 mm 2 AWG22 (más OV)
LA LONGITUD MÁXIMA CON LA UNIÓN RS422 ES DE
1200 M, CON RESERVA PARA EL (LOS) EQUIPO(S) CONECTADO(S) AL TERMINAL XBT
DE NO LLEVAR LIMITACIÓN(ONES) MÁS ESTRICTA(S)
Ñ
O
L
E
S
P
A
W9 152 6134 0111 A03
37
12 - 1998
XBT-L1OMR01
Terminal MAGELIS XBT
Protocolo SYSMAC-WAY
UNIÓN RS 422
Automatismo
0V SG
TXD+
Emisión
E
TXD-
RXD+
+ 5V
Recepción
R
Rp Rp
A
B
A'
B'
RXD0V
PG
22
4
5
6
18
Rt
(*)
1
8
12
Rt
SG
9
0V
RD-
6
R
8
RD+
SD-
1
E
2
SD+
Recepción
Emisión
PG
Ñ
O
L
E
S
P
A
* La conexión del blindado en ambos extremos depende de las exigencias eléctricas ligadas a la instalación.
R T : resistencias de adaptación de línea (típicamente 110
Ω
)
NOTA : las resistencias Rp (4,7 k
Ω
) están incorporadas en el XBT.
W9 152 6134 0111 A03 12 - 1998
38
XBT-L1OMR01 Protocolo SYSMAC-WAY
9 - Diagnóstico
• Contadores de diagnóstico
4 contadores de diagnóstico son vizualizables en la página sistema del protocolo (parámetros de línea) :
- CPT1 : Número de respuestas recibidas sin error FCS*.
- CPT2 : Número de respuestas recibidas con error FCS*.
- CPT3 : Número de respuestas con longitudes o bytes de control incorrectos.
- CPT4 : Número de peticiones que permanecen sin respuesta.
*FCS : Frame Check Sequence
• Comportamiento en caso de error :
- visualización de : "??????..." en caso de error de transmisión : velocidad / formato / paridad / FCS / no respuesta,
- visualización de ??? en la dirección autómata inválido,
- 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.
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 %DM: i i= 50000 para la fecha , i = 50001 para la hora
Objeto : cadena
Tipo : ascii
Longitud : 8
Formato de la fecha : DD/ MM/ AA
Fomrmato de la hora : HH : MM : SS
Ñ
O
L
E
S
P
A
W9 152 6134 0111 A03 12 - 1998
39
Ñ
O
L
E
S
P
A
XBT-L1OMR01 Protocolo SYSMAC-WAY
Terminales XBT-F
Equipo XBT
Variable del tipo %DM : 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
W9 152 6134 0111 A03
40
12 - 1998
XBT-L1OMR01 Protocollo SYSMAC-WAY
1 - Installazione del protocollo : per lanciare l’XBT-L1000
2 casi :
- Non è installato nessun protocollo: la finestra di dialogo “ Installa Protocollo” si apre automaticamente.
- Se un protocollo è già installato, si può aggiornare la versione esistente oppure installare un altro protocollo.
In tal caso: chiudere tutte le applicazioni,
Selezionare “File” seguito da “Installa protocollo”
2 - Principio di funzionamento in SYSMAC-WAY
- L'XBT ha lo stato di MASTER.
- Il principio di funzionamento dell’XBT è basato su una “tabella di dialogo” che si trova nel
PLC (Slave).
Come MASTER l’XBT effettua 3 tipi di azioni :
• su iniziativa del PLC,
• su iniziativa dell’operatore,
• di propria iniziativa.
Il protocollo SYSMAC-WAY è il protocollo di comunicazione sopportato da tutti gli automi
OMRON.
E' possibile connettere l'XBT all'automa in punto punto tramite il connettore RS232 oppure utilizzare una rete RS422 su cui si possono collegare fino a 32 PLC(*).
Il dialogo tra i livelli superiori di elaborazione e il Terminale MAGELIS è del tipo richiesta/ risposta. Il richiedente, l'XBT (stazione master) trasmette i messaggi da eseguire allo schiavo
(automa).
Sotto protocollo SYSMAC-WAY, il Terminale dialoga in modo ASCII.
MAGELIS
MASTER
RICHIESTA
RISPOSTA
PLC
SLAVE
Avvertimento
Un XBT collegato che richiede delle scritture in memoria in un automa in modo RUN comporta automaticamente il passaggio di quest'ultimo in modo MONITOR.
I
T
A
L
I
A
N
O
W9 152 6134 0111 A03 12 - 1998
41
XBT-L1OMR01 Protocollo SYSMAC-WAY
I
T
A
L
I
A
N
O
3 - Contenuto della tabella di dialogo
La tabella di dialogo sarà diversa a seconda dell’XBT scelto. Viene illustrata qui di seguito la lista delle funzioni accessibili per ogni tipo ed inoltre la tabella per default per ciascuno.
Funzioni
Simboli tasti funzione
Simboli tasti sistema
Simboli tasti numerici
Controllo della comunicazione
Regolazione dell’ora del PLC
N
°
pagina visualizzata
N
°
dell’ultimo campo immesso
N
°
ultimo allarme trattato
Stato - Rendiconto
Tasso d’occupazione dati storici
N
°
pagina da elaborare
N
°
campo da immettere
Comando di stampa
Autorizzazione di scrittura tabella
Cancellazione cronistoria
Comando accensione dei LED
Blocco tasti funzione
Blocco tasti sistema
Blocco tasti numerici
Tabella di allarmi
Regolazione dell’ora dell’XBT
Tabella di stampa formato libero
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
: Funzioni selezionate per default nell’XBT-L1000
: Altre funzioni disponibili
: Non disponibile
W9 152 6134 0111 A03 12 - 1998
42
XBT-L1OMR01
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
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
W9 152 6134 0111 A03
Protocollo SYSMAC-WAY
XBT-F01 / F02
XBT-F01 / F02
43
XBT-F03
XBT-F03
12 - 1998
I
T
A
L
I
A
N
O
XBT-L1OMR01 Protocollo SYSMAC-WAY
4 - Configurazione della tabella di dialogo
- Selezionare Configurazione / Tabella di dialogo,
- indicare l’indirizzo dell’inizio di tabella, la durata di ciclo,
- costruire la tabella aggiungendo o cancellando le funzioni a seconda dell’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 apparecchiatura
- Selezionare Configurazione / Simbolo Apparecchiatura.
- Aggiungere gli indirizzi delle apparecchiature che saranno accessibili dall’XBT.
- La configurazione dello slave indirizzato per default dall’XBT-L1000 è 0.
- in SYSMAC-WAY, N
°
dello slave : da 0 a 31.
SLAVE 1 SLAVE 2
I
T
A
L
I
A
N
O
XBT
HOME
ESC
SHIFT
DEL 7
SYST
MENU
+1
MOD
-1
ALARM
ENTER
4
1
+/-
8 9
5 6
2
0
3
6 - Parametri protocolli Sysmac-way
- Velocità, formato (parità, bit di dati) si configurano tramite l’XBT-L1000 dopo l’installazione del protocollo SYSMAC-WAY.
Caratteristiche
Sistema di codifica
Numero di bit per carattere
- start bit
- bit significativi
- parità
- stop bit
- velocità
Organizzazione del messaggio:
- Inizio di trama
- Messaggio
- Controllo
- Fine di trama
- Tipi d’interfacce
7 / 8 bit codice ASCII
1
7 / 8 pari/dispari/nessuno
2
1200/2400/4800/9600/19200 Baud
Carattere di inizio trama: @
Trama SYSMAC-WAY
FCS
Caratteri di fine trama: *
CR
RS232C
RS422
W9 152 6134 0111 A03 12 - 1998
44
XBT-L1OMR01 Protocollo SYSMAC-WAY
Per la scrittura delle tabelle di configurazione consultare il manuale di utilizzazione del sistema di elaborazione (PLC o calcolatore).
Fasi per la messa in funzione:
- Configurazione e collegamento del Terminale
- Gestione degli scambi
7 - Oggetti PLC utilizzati / Sintassi
Tipo di oggetto utilizzato bit parola parola doppia reale stringa
Mnemonico
(Sintassi)
DMi.j
DMi
= parola
= parola
= parola
Identificatori di mnemonico i : 0…65535 j : 0…15
NOTA :
Gli indirizzi degli oggetti devono appartenere alle zone memoria accessibili che sono specifiche ad ogni tipo di automa.
8 - Attuazione
Per collegarsi ad un altro automa, è preferibile procedere ad una messa fuori tensione poi sotto tensione del terminal XBT.
8.1 Cavi
Automi
TSX Quantum
Modicon 984
Modicon Micro
Collegamento fisico
RS232
RS232
RS232
Riferimento
XBT-Z9710
XBT-Z9710
XBT-Z9711 lunghezza
2.5 m
2.5 m
2.5 m
I
T
A
L
I
A
N
O
W9 152 6134 0111 A03 12 - 1998
45
I
T
A
L
I
A
N
O
XBT-L1OMR01
8.2 Schemi
Protocollo SYSMAC-WAY
COLLEGAMENTO RS 232 C
La lunghezza massima del collegamento è di 15 m.
Distanza
RS 232C
100 m
15 m
Velocità (Baud)
100 1 K 10 K 19,2 K
Cablaggio = 3 fili schermati (sezione minima 0,6 mm 2 AWG22)
Terminale MAGELIS XBT
Automa OMRON
(*)
PG 1 1
PG
EMISSIONE TXD 2 2
TXD EMISSIONE
RICEZIONE
RXD 3 3 RXD RICEZIONE
0V
SG 7
8
12
9
4
SG
RTS
CTS
* Il collegamento della schermatura alle due estremità dipende dai vincoli elettrici legati all’installazione.
* Il connettore Omron è di tipo DB9.
W9 152 6134 0111 A03 12 - 1998
46
XBT-L1OMR01 Protocollo SYSMAC-WAY
COLLEGAMENTO RS 422
La lunghezza massima del collegamento è di 1200 m.
Distanza
(m)
1200
1 K 100 K 10 M Bauds
Cablaggio = 2 doppini intrecciati schermati sezione minima 0,6 mm 2 AWG22 (più OV)
LA LUNGHEZZA MASSIMA TRAMITE IL COLLEGAMENTO RS 422
E DI 1200 M A MENO CHE LA O LE APPARECCHIATURE
COLLEGATE AL TERMINALE XBT NON IMPONGANO
LIMITAZIONI PIÙ RESTRITTIVE
I
T
A
L
I
A
N
O
W9 152 6134 0111 A03 12 - 1998
47
XBT-L1OMR01 Protocollo SYSMAC-WAY
COLLEGAMENTO RS 422
Terminale MAGELIS XBT
0V SG
TXD+
Emissione E
TXD-
RXD+
+ 5V
Ricezione
R
Rp Rp
A
B
A'
B'
RXD0V
PG
22
4
5
6
18
Rt
(*)
1
8
12
Automatismo
Rt
SG
9
0V
RD-
6
R
8
RD+
SD-
1
E
Ricezione
2
Emissione
SD+
PG
* Il collegamento della schermatura alle due estremità dipende dai vincoli elettrici legati all’installazione.
R T : resistenza di adattamento di linea (tipicamente 110
Ω
)
I
T
A
L
I
A
N
O
NOTA: le resistenze Rp (4,7 K
Ω
) sono integrate nell’XBT
W9 152 6134 0111 A03 12 - 1998
48
XBT-L1OMR01 Protocollo SYSMAC-WAY
9 - Diagnostica
• Contatori di diagnostica
4 contatori di dagnostica sono visualizzabili nella pagina sistema del protocollo (parametri di linea) :
- CPT1 : numero di risposte ricevute senza errore FCS*.
- CPT2 : numero di risposte ricevute con errore FCS*.
- CPT3 : numero di risposte con lunghezza o bytes di controllo scorretti.
- CPT4 : numero di richieste rimaste senza risposta.
*FCS : Frame Check Sequence
• Comportamento in caso di errore :
- visualizzazione di “??????...” per errore di trasmissione : velocità / formato / parità / FCS / non risposta,
- visualizzazione di ??? su indirizzo automa invalido,
- visualizzazione di croce per gli oggetti grafici in caso di mancata risposta o funzione di comunicazione in difetto,
- nessuna ripetizione su non risposta.
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 %DM : i i = 50000 per la data , i = 50001 per l'ora
Oggeto : catena
Tipo : ascii
Lunghezza : 8
Formato della data : GG/ MM/ AA
Fomrmat dell'ora : HH : MM : SS
I
T
A
L
I
A
N
O
W9 152 6134 0111 A03 12 - 1998
49
XBT-L1OMR01 Protocollo SYSMAC-WAY
Terminali XBT-F
Attrezzatura XBT
Variabile di tipo %DM : 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
I
T
A
L
I
A
N
O
W9 152 6134 0111 A03
50
12 - 1998
Скачать
Реклама