Professional Documents
Culture Documents
Compact Terminal
UNI-TE@protocol
.:
ADJUST protocol : when used with the terminal port of TSX7 PLCs.
l
refertotheXBT-XA700E
UNI-TEprotocol:usedwhentheXBT-A8isconnectedtotheUNI-TELWAY
bus as described in this manual.
II
Contents
Page
Section
1
Introduction
1 .l General
Technical characteristics
2.1 Environmental characteristics
Operating
10
modes
3.1 General
11
11
Configuration
4.1 Confiauration menu
12
13
14
17
18
23
24
Contents
Section
5
Page
Communication
5.1 Introduction
25
27
32
37
43
60
64
65
81
82
Application example
85
Connectlons
91
92
93
96
Appendices
8.1 Automatic self-tests
97
98
101
Introduction
1.1
General
Ergonomic
operator dialogue
Introduction
1.2
V
12 function
12 numeric
keys
label holders
3
swim
keys
\/
:II -i-
/\ j.- l-l
--
i-ii---i.
--.--:
11.1-- 1:
:
:
.-
i---ii--ll\/ljl ,-I-.- !I
II
II
-: -:_
I I-- 11 i I
I II_!
I
A keyboard
consisting of 27 keys divided into 3 zones:
Up to 12 function keys for user-definable operator access depending on which
of the 4 models is used:
- XBT-A80101. * : 12 function keys engraved @ to I(F12)1
,
- XBT-A81101
: 12 function keys with label-holders,
- XBT-A821010
: 12 function keys with LEDs and label-holders
- XBT-A83101
: 4 red lights and 8 function keys with label-holders.
* 0 = Latin version
9 = Cyrillic version
l
l(-
3 service keys
Io(:
Introduction
Introduction
.
I(
sub-menu,
in RUNNING mode, erases
value.
.
Note :
Message
memory
The EEPROM type memory (non-volatile) may store up to 101 messages using
16 alphanumeric characters.
Storingtheoperating messages in the XBT-A8 decreases the memory requirement
in the PLC and reduces data communication over the serial line.
These messages may be for example :
- operator requests
- settings
- control system requests
- faults
CLOSE VALVE 4
VALUE =
___
CHECK VALVE 12
PRESSURE FAULT
Introduction
Introduction to the XBT-A8 compact terminal
The system messages have been programmed in five languages (English, French,
German, Spanish and Italian) to simplify all stages from design right up to operation.
*
Note :
There is one version which supports Cyrillic characters as well as the five
languages.
DESIGN
:. :
;.
OPERATION
sVsTm
MESSAGES:
Configuredin the language
of the designer.
MESSAGES IN THE
LANGUAGE OF THE
OPERATOR
: APPLICATION
MESSAGES :
Stored in the language
of the operator
MESSAGES
NUMBER
TEXT
PARAMETERS
000
STOP MACHINE
. .
012
AUTO OPERATION
084
CHECK VALVE
090
FAULT MOTOR 4
GO
PRESSURE = ---
12
WOO0 type
Introduction
Introduction to the XBT-A8 compact terminal
Message parameters
These define :
- The type of dialogue for the message (Type : T)
- The position of the first character in the display (Column : X)
- The access key for the message (Key : K)
- The conversion factor to be applied (Coefficient : C)
- The associated TSX7 variable in ADJUST or UNI-TE mode (Variable : V)
- Periodic reading or not of the TSX7 variable (Updating of variable : A)
- UNI-TE address of the variable (Network, Station, Gate, Module, Channel)
,.coi
-
K
il
or word)
S = StationN (0 to 254)
U - ModtIlen (0 to 254). W = ChannelNo (0 to 254)
Technical characteristics
2.1
Environmental characteristics
Standards
Degree of protection
Ambient temperature
Operation
Storage
Humidity
0 to 95 % without condensation
Electrical interference
Immunity to :
Electromagnetic interference
2.2
: o c to + 50 c
:-40Cto+70C
IEC 65 / IEC 801.4 level 3
IEC 801.3 level 3
ESD withstand
(electrostaticdischarges)
Shocks
To IEC 68-2-27
(l/2 sinusoidal pulse on 3 axes, 5Og for 11 ms).
Vibrations
To IEC 68-2-6
Amplitude : f 1 mm
k75u.m
Acceleration : lg
:
: 2 to 25 Hz
:25to57Hz
: 57 to 150 Hz.
Mechanical characteristics
Mounting
Case
Keyboard
Connections
Weight
Technical characteristics
Mechanicalcharacteristics
246
(9.61)
Support panel
XBT-A terminal
@I Fixing collar
@ Clamping screws
@
-1
Technical characteristics
Display
Nominal voltage
24 VDC
Maximum ripple
25 %
Voltage limits
18 . .. 30 VDC
(including ripple)
Maximum consumption
low
Capacity
1 line of 16 characters
Fluorescent green, 14 segments
(with decimal point)
Height = 10 mm
Width = 6.4 mm
Type
Size (character)
Serial link
The XBT-A8 is provided with an RS 422 interface
In UNI-TELWAY,
ELECTRICAL CHARACTERISTICS
CONFORM TO THE STANDARD
RS 485 is used
B (RXD-)
I3 (TXD-)
OV
10
Operating modes
3.1
General
When powered-up, the XBT-A8 carries out a series of self-tests (see section 8
Appendices, SELF-TESTS) and displays the following sequence :
of commercial reference
and software version (e.g. Vl .l)
1
% RUNNING
3.2
Selecting modes
Configuration
4.1
Configuration menu
This mode is used when setting up the XBT-A8 terminal. It allows the operator to
select, using the SERVICE KEYS, the parameters required for operating the
terminal.
l
General
menu
(
for configuration
t CONFIGURATION
mode
+K
.
,
LANGUAGES
LiNE PARAMETERS
.
Select serial line parameters
I
m
LOAD PARAMETERS
,
.
Configuration
4.2
[
[
I
I
Select English
Select French
Select German
Select Spanish
Select Italian
1
1
Fj
, [Dspayed]
i _________________
JMETER~~
T~.R~UFik
.:
&
r=;ie
Configuration
4.3
to be adapted for
ASCII
systems (multidrop
and point-to-point)
ADJUST : With TSX7
UNl-TE
Selection of transmission
support RS 232CN24
3 I(
SERIAL
SERIAL
4
RS 232
20 MA
SERIAL
SERIAL
20MA/
RS 422
SERIAL
RS 485
(used in UNI-TELWAY).
Selection of transmission
reception : FULL DUPLEX
simultaneous exchange
(NOT POSSIBLE IN RS 485)
HALF DUPLEX
alternate exchanges
Selection of transmission
speed in bauds.
(9600 bauds maximum
for current loop).
fro?l!he]
Ii:
to selection of
1 PARAMETERS
Configuration
Configuring the serial line for operation
DATA BITS 8
DATA BITS 7
parity (1 bit) _
- ODD = bit set to logic
PARIT;Onn
PARITY
3 I(
*
1 BIT
2 BITS
STOP
STOP
I
(OI
3
-1
CHECKSM
1 CHECKSUM
(ot
NO
YES
15
Confiquration
Configuring the serial line for operation
From selection of
checksum transmission
if UNI-TE protocol is
chosen.
J=
_i
STATUS
/LOCK
STATUS
YES
BLOCK
p
(FUNCT)
NO
Selection of a table of
4 TSX PLC variable words
to be used for handling
operator acknowledgements
(using the XBT-A8 keyboard)
LINE PARAMETERS
I(ENTER)I
ISTATUS
BLOCK
c
NO]
STATUS
&
3LOCK
BLOCKADDR.
NETWORK NB
llENTERll
YES
= W-__
---
STATION NB
- --
GATENB
___
4
MODULENB
---
cl
&;;;.
Selection of network
parameters for station
containing STATUS BLOCK.
The numbers are entered on
the numeric keypad.
Default parameters:
NETWORK N 000
STATION N : 254
GATE N :
MODULE N : ::
CHANNEL N :000
This is the station which
receives XBT-A8 keyboard
action information.
pi
-j
Configuration
4.4
Memory configuration
To store messages in the EEPROM memoryof the XBT-A8 you need to connect the
serial port to a programming device, which may be :
iSERIAL
LINE FOR STORAGE
_____-J ;
_____________r-----
Selection of type of
dialogue with terminal
for storage
YES : conversational for use
with video terminal
1
Selection of type of
dialogue with terminal
for storage
NO : non conversational
for use with T407 or PC-PSJ2
and XBTL- 100
If
(Video
terminal)
Selection of type of
acknowledgement sent
by the terminal
MESSAGE : with T407
ACK : for use with PC-P32
and XBTL-100
Programming of
XBT-A8 messages
End of programming
Lri
17
Configuration
4.5
alphanumeric
characters
N : Numeric.
I
0 : Bllnklng
I-
W - ChannelN (0 to 264)
DEFAULT SETTINGS
18
Configuration
Syntax for storing messages
I.____
OIL PRESSURE
-__-__-__________________,
-
_____p~_~~_y~_~~~~______;
------
VV
r
Text displayed
]]
Optionalnumericfield
- The length of text and numeric field must not exceed 16 characters.
- The optional numeric field must be represented by - (dashes) ( ASCII
character 5 F).
- Only ASCII characters20 to 5F are accepted (lower case characters are
refused).
- Decimal points (2E in ASCII) must be used rather than commas (2C in
ASCII).
l
19
Configuration
Syntax for storing messages
Confiauration
Syntax for storing messages
When an XBT-A8 is connected to the UNI-TELWAY bus, the syntax for storing
messages must include five parameters defining a UNI-TELWAY address. This is
the address for the SERVER device indicated by the TSX7 variable associated with
the message.
,_______~_~_~~~_,_~~___-_~--_
: NUMBER
TEXT
I
PARAMETERS
I_____--_l_-_____-L_____--_____
Station N (0 to 254)
Defalilt vat!$;.$g.
; ..:.
Gate No (0 to 254)
Def~~l~~~&ie
:0
Module N (0 to 254)
D;ef&jj* a~&&g
:.:.;i
Channel No (0 to 254)
o+uit
@4& :o
21
Configuration
Syntax for storing messages
Compatibility
I
COMMEiITS
a bl to 1 when
operator
presseskey.
Wrk
Messa e is displayed.
set to 8 On release.
Bracket function
(writin to a bit
withou ! display).
Operator responds
wiih function key
associated wiih V type
-sage
without
~$ile&r;?~Y
Text displayed.
77
Configuration
4.6
~ormguratron
L)
4.7
This procedure is used to check to stored messages stored in the EEPROM memory
of the XBT-A8 terminal.
The messages are accessed :
- Automatically, incremented by the XBT-A8 after each checking procedure,
- By entering the desired number when 1
appears.
MES NUMBER = XXX
IF THE SELECTED
MESSAGES
kevs on the
Iby numeric
terminal.
1XBT-A
x=06
fconfigured
Presentation of parameters
VAR = Variable TSX7
(ADJUST and UNI-TE Modes).
A = Variable update,
1 = 300 ms period,
2 = No update,
3 = 1 second period,
4 = 3 second period.
for
4SCll MODEor
9WUST MODE
.--__--___
S = 254
PRESS (OI
AT ANY TIME
TO START TERMINAi_~\SEQUENCE
24
Communication
5.1
Introduction
UNI-TE protocol
UNI-TE is the application layer of the UNI-TELWAY
protocol.
industrial communication
Introduction
UNI-TELWAY is a multidrop industrial bus which is the standard means of
communication between the various products in the Telemecanique range.
UNI-TELWAY is also used for communication with devices such as supervision
systems and management computers. Physical, data link, network and application layers conform to the I.S.O. specifications of the O.S.I. model. *
TELWAY 7
identification
system
l
Principle
UNI-TELWAY requires :
- at the data link level, a fixed master (e.g. TSX7 PLC) which manages and
checks communication exchanges (XBT-A8 cannot be a master).
1 to27slavedevices WhichmaybeeitherCLIENTS
or SERVERS, depending on their status with respect to the data link layer.
- attheapplicationlayerlevel,
THE SERV@REPUES
25
Communication
5.2
Function modes
XBT-A8 SERVER
The XBT-A8 is called a SERVER when it responds to a command given by a
CLIENT device.
CLIENTdevices request XBT-A8 services by sending standard UNI-TE requests
(via TSX7 text blocks).
XBT-A8 FtiNCTlONS
GENERAL USE
IDENTIFYING
PROTOCOL VERSION
- MIRROR
- RESETTING
WORKING MODES
ACCESS TO DATA
(XBT-A8 RESOURCES)
read/write
bits/words
list of bits/list of words
MANAGEMENT OF
SEMAPHORES
FILE TRANSFER
EQUIPMENT
ERROR COUNTERS
- INITIALIZATION
- MANAGEMENT OF XBT RESOURCES
(LEDS. keyboard, buzzer)
DISPLAYING
OR NOT)
READING PREDEFINED
MESSAGES
HANDLING OPERATOR
REPONSES
RESERVATION
DERESERVATION
MESSAGES
(PREDEFINED
REMOTE UPLOADING/DOWNLOADING
(message area)
Communication
Function modes
Examples
UNI-TELWAY
module
ET-A8 station 5
(address coding within
the subscriber socket)
- network address
H64 + H05 = H69
Modifying a parameter
-The TSX 17-20 master requests that message 039 (H0027) be displayed with
the operator response (Type N). XBT-A8 acts as SERVER,
- The XBT-A8 displays the following : VALUE =--and the value of the
variable WOO015 read from station 3 blinks,
- The operator enters his response and confirms it by pressing H
,
- The XBT-A8 writes the new value to variable WOO015 in station 3 and updates
it on the display (A=3) every second.
Inhibiting access to the configuration mode
- The TSX 17-20 slave requests that the XBT-A8 keyboard be locked (inhibiting
using the I(ENTER)I
plus I(FUNCTlJ
key combination.),
- XBT-A8 resource address, H0384 (see section 5.5),
- The XBT-A8 carries out the operation requested.
3Q
Communication
Function modes
TRANSMISSION TABLE
..
TABLE
TSX7 WlASTER
NPE
REQUEST
Local EXCHG
c3
DESTINATION
TxTi.R=HOOFE
TRANSMISSION
Local EXCHG
REQUEST
SENDER
ADDRESS
TRANSMISSION
Note :
TxTi,R = HOOFE
: TxTi,L = 10
1)
WOO
( HOO
(length 10 bytes)
For information on programming text blocks the reader should refer to the
relevant TSX7 PLC manual.
Communication
Function modes
XBT-A8 as a CLIENT
XBT48 FUNCTIONS
TYPES OF REQtjEST
1
DATA ACCESS (e.g. : TSX)
Read / write objects
(bits /words I list of bits I
list of words)
of the devices connected
Storing messages
l
FUNCTION KEYS
(associated with the messages
stored in the XBT-A8 which
has UNI-TE addressing)
in the XBT-A8
Direct access
an
Communication
Functionmodes
Modifying a parameter :
- Pressing I[nll gives access to message N 007,
- The text QUANTITY = __ _ is displayed.
- The value of variable WOO210 in the Master TSX17 is read and is displayed
blinking.
- The operator enters his response and confirms it with I(ENTERJJ
which causes
the new value to be wriien to variable WOO210 in the TSXl7-20 master.
- Pressing @causes
01
TSX 17
Master
007
OUANTIIY=---
woo21 0
254
254
02 Contml SlaVe
TSX 17
012
AUTOMATE
80077
254
103
Modification
.. NCT$Xt7-20
APPLICATION
PRC&FiAM IS NEEDED
31
Communication
UNI-TE requests
5.3
Conventions
In this section, which describes the UNI-TE requests, the following conventions
are used in the diagrams :
represents 1 byte
r
/
General
Communication taking place essentially by a system of questions and answers
called REQUESTS and CONFIRMATION REPORTS.
Request format
- A request consists of :
_-___---_--__-__
Request
Code
Category
Code
in Hexadecimal
17-20
-_--__--__d_
Response
Code
I
mm__
32
17-20
Negative response
The XBT-A8 may send a negative response if the syntax of the request is
incorrect.
The negative response code is the same for all requests.
Communication
UNI-TE requests
Transmission
.____
_.
Text function block
transmissiontable
1
TxTi,C=H107)
Example
I
I
I
I
Comment
TxTi,M
TxTi,M =
Rack N
j Targetcommunication
address+ H'64'
Example
TxTi,L
Thisisthelengthofthetransmissiontable
the parameters and/or data.
(in bytes)containing
33
Communication
UNI-TE requests
Reception
ygj-y
6yfe
8yte
t&d
I
TxTi,V = H m
+-j
Txli,R = H [7
________.
?A
:
:
:
:
TxTi,D
TxTi,E
Communication
UNI-TE requests
PLC slave
A PLC slave (CLIENT) sends a request by using a text function block in the
application program. This text block (written in the language selected by the user ;
in Literal : EXCHG, to LADDER S, I, 0 for requests which need a confirmation
report) must include all the request parameters.
If a PLC slave is the CLIENT, it must specify the target communication address
when the request is sent. This address, coded in 5 bytes, must be inserted at the
start of the text block transmission table.
The relationship between the structure of a request/confirmation report and the
text block parameters are as follows :
Transmission
on Ad1
weld
I--------.
_ - - - _ _ _ _
target
address
coded
in Hexadecimal
L
1
TxTi,C=H
y5hword
i--l
-1071
U-
Example
TxTi,L
Rack N
jTarget
: TxTi,M = H066Bcorrespondstotheslave
Communication
UNI-TE requests
Reception
at Ad1
________
Ted functionMock
receptiontable
c
:
16word
*
TxTi,V = H 14
I
r-1
I
I
2d word
I
I
Tx-hR=H~forthaTSX17-20
-
TxTi,S
:
:
:
:
:
TxTi,E
Communication
5.4
General requests
Request format :
Comments
Fz
Example :
CLlENi
1 11 bytes 1
TEXT EL-K
%lANSMIStONiABLE
XBT-A&1010
I
RECEPTION
TABLE
Receptionon AD1
Type : LOCAL EXCHG
TxTi, C = HOiOF
TxTi, M
= HOO69
E.g. : station 5
(XET-A8 SERVER)
TxTi, L = 0 (bytes)
Note : This request is always valid, whether the terminal is reserved or not.
37
Communication
General requests
Request for protocol version
This request allows the client to supply the protocol version for the application
which it supports, the maximum message length and the size of the request file.
The server returns its own characteristics. This then allows the client to transmit
requests in a format and size which are known to both parties.
Request fprmat :
Request
code
Oesfgnation
Sender
category
Maxfmr)m size
of message
Length
Version
1 wbrd
1 byte
1 byte
Depends on sender
Depends on
sender
HOl
Cad8
Format
1 byte
Code
H3.0
1 byte
H07
WI-TE
version
Comments
Ignored by the
XBT-A8
supported
by the client
(ignored by
the XBT-A8)
Designation
Maxfmk
Sequence
length
UNI-TE
vereion
Sk; of
request fife
1 word
1 byte
1 byte
1 word
HOO 40
H01
HlO
1 byte
Format
Code
H60
Comments
size
ot ma;sagc
,
Maximum size of
network data frame
(type+address+request)
which can be processed
by the XBT-A8
Example :
HOO 00
Not handled by
IXBT-A8
TSX7 MASTER
Type : LOCAL EXCHG
TxTi, C = H0730
TxTi, M = H0069
E.g. : station 5
XBT-A SERVER
TxTi, L = 4 (bytes)
TRANSMISSION TABLE
RECEPTION TABLE
I,
l-r..
..I
HOl
t+
TxTI. R = HW (TSX17) or
TxTi. V - HW)60
Note : This request is always valid, whether the terminal is reserved or not.
38
Communication
General requests
Request format :
R&quid
(
I
Format
code
detail
1 byte
I Ho7 I
H31
Hw
a H-02
HOO=Nodata
Comments
Cunwlt
state
Format
1 byte
Code
Ii61
T
Comments
Mask
state
DA
1 byte
1 byte
1 word
b7 . . . . . bo
I+64
Depends on
I
,
HOO = no data
memory checksum
checksum (messages
Example
: C&T
:
C&FK;il+lijN-
TEXT EL&K
TRAt&&f~N
TABLE
RECEPTION
TABLE
TSX7 MASTER
H64
pOO+iW~
H40
or
TxTi. V = H0061
II
39
C;ommunication
General requests
9 Mirror request
This request tests the system and the communication route.
The XBT-A8 SERVER returns the same sequence of bytes in the confirmation
data field as those received in the request data field.
Request format :
Raquest
Designation
code
Format
Code
Confirmation
Format
Code
Comments
Data
n bytes
byte
H07
Byte group
126 max
30 max with TSX 47-2O/TSX 17-20
Comments
Designation
byte
HF A
Sender
category
cede
Response
Data
code
--__---__---_-------____________________n bytes
1 byte
HFB
Example :
TRANSMISSION
TABLE
RECEPTION
TABLE
TSX7 MASTER
Type : LOCAL EXCHG
TxTi, C = H07FA
TxTi, M = H0069
(E.g. : station 5)
XBT-A SERVER
TxTi, L = 4 (bytes)
40
Eb
gB,yduep m
TxTI. R - HFB (TSX17) or
TxTi, V = HOOFB
Communication
General requests
Request format :
Designationysew
1 word
1 byte
Format
1 HD2
Code
Comments
of
: tne8bape~sent
not rckn wfMfgl?d
jH0000
Numl)eer
of
,-$,
*nt
refqaed
Ntirnb of
Numbof
~messagectreceived message* received
ref&d
not ack+kxfged
1 word
1 word
1 word
to H7FFFjHOOOO
Received not
acknowledged
by XBT-A8
to H7FFFj
Refused by
NACK
re-transmitted
by XBT-A8
J
Note : The counters do not overflow, they remain at the maximum value (32767)
until they are reset to zero by a Reset
Example :
TRANSMISSION
TABLE
RECEPTION
TABLE
TSX7 MASTER
Type
: LOCAL
EXCHG
TxTt, C = H07A2
TxTi, M= H0089
(E.g. : station 5)
XBT-A SERVER
TxTi, L = 0 (bytes)
TxTi, R - HD Z (TSX17) or
TxTi. V = HOODZ
41
Communication
General requests
Request format :
Example :
TRANSMISSION T4ELE
42
RECEPTION TABLE
TxTi, V = HOOFE
(the 4 counters
Communication
5.5
Resource addresses
- Bit area
-Numb&
:
.--Xsr &DRESS
:FUNCTlON
keyboard LEDs
DWmal
Hexadecinial
01
to
12
HOGOO
H&)C
TYPE C
CCESS
Individualty
List ot bits
Write
Me Object
Write
irite Object
Write
/rite Object
Hoo65
101
to
112
Hd0070
I
200
to
HMxX
toHooD1*
209
-g I(
-Key
Write
: I(FUNCT)I
FUNCT key
Write
..J
1 a
-Key
Write
-m
DEL key
Write
.m
ENTER key
Write
900
H-0384
Write
901
HO385
Write
/rite Object
/rite Object
Communication
Requests
- Word area
r
XEIT Al U?ESS
TYPE OF ACCESS
-I---
9033
H-2349
Write
Display a
stored message
401
H0191
Write
2001
H07D1
Number
FUNCTION
Decimal
9033
401
2001
Global
locking/unlocking
of the keyboard
message)
Write the
display buffer
(display a message
not stored
in the XBT-AB)
hxadecimal
Read
AA
V%e
Communication
Requests to access XBT-A8 resources
Designation
Sender.
tategoiy
-code
??zt
Confirm
1 or0
LED nbmber
I
I
Format
1 byte
1 byte
1 mot
1 byte
Code
H-10
HOi-
HO+OA
HOI or HOO
Comments
Write
a bit
LED for
Function key
H'Ol'Orl
~00
0n
[o)
function key.
:
~FIGURATION~
TRANSMI$SIDN
RECEPTION
TABLE
TABLE
TSX7 MAITRE
Type : LOCAL EXCHG
TxTi, C = H0710
TxTi, M = H0069
(E.g. station 5)
XBT-A6 SERVER
TxTi, L = 4 (bytes)
I
Communication
Requeststo access XBT-A8 resources
Request format :
I
Designation
Format
Code
Comments
Reqest S$nder
code category
Segment Reserved
1 byte
1 byte
1 byte
1 byte
H37
H07
HOZ
HOO
Write
objects
Access
bit
area
Nuthber
of bits
1word
1 word
1 word
y
;,&,
+a
HOl to HO C HOO tp HF F
Address of
la bit
(lafunction
Obect
ad(1rf+ss
Number of
function
keys
key)
Starting with
the address
of the first
bit, set
the bits to
1 or0
Comment :
The data is written in 1 or 2 bytes depending on the number of bits to be written
(number of LEDs to be controlled).
Confirmation
(@
function keys.
CLIENTTEXT BLOCK
CONFlGLjRATlON
~RANSMISSION TABLE
RECEPTIONTABLE
TSX7 MASTER
TxTi, R = HFE (TSXli
or
TxTi, V = HOOFE
Positive response
AC
Communication
to access XBT-A8 resources
Requests
~-Sender
i
; _..:R.o;ljuest
.,.cbdB
cirteaoy:
code- : .:.
:.
,,.Wign&ion
:
Format
Code
Keynumber
I
I
Confirm
1 or0
1 byte
1 byte
1 word
1 byte
l-ho
I+07
HO$ST
HODor HOl
Addressof
key image bit
E.g@
function key.
...
::.: j
CONFjl;&&_
~CLkNiTEXT B&K.
_I.
+RR&%lIS~SION TABLE
RECEPTION TABLE
TSX7 MASTER
Type : LOCAL EXCHG
TxTi, C = H.0710
TxTi. M = I+0069
(E.g. station5)
XBT-A8 SERVER
TxTi. L = 4 (bytes)
47
Communication
Requests to access XBT-A8 resources
Locking/unlocking
0 ect
ad7ress
Number
Of (-#its
Da)a
1 word
1 word
1 word
HOOOl
to HOOOC
Designation
Request
code
$li;,
Segment Reserved
Format
1 byte
1 byte
1 byte
1 byte
Code
H37
H07
HOZ
HOO
Write
objects
Comments
Comment
Access
bit
area
HOO65
to H0364
Address of
l*lbit
Number of
concecutive
bits in
data field
!
Starting with
~ ~$~I~
bit, set the
bits to
1 or0
AR
TRANSMISSION TABLE
RECEPTION TABLE
Communication
Requests to access XBT-A8 resources
Request format :
I
,
~signatjon~- @quest. t. Sanc@i:
XBT)vord :
address
Vaiue
I
I
,i
1 byte
I byte
1 word
1 word
Code
H14
HOi
H-2349
I
HOO 00
or HF F FF
Comments
Write
a word
XBT-A8
keyboard access
HOO00 lock
HF FFF unlock
F&mat
p--w$ylI& 1
Example : Command to unlock all the keys of the XBT-A8 keyboard
i&t
?ExTBLOCK
TRAk3dISSI~ffTiBLE~
coNFii3tif*~iON:;~
TSX7 MASTER
Type : LOCAL EXCHG
TxTi, C = H0714
TxTi. M = H0069
(E.g. station 5)
XBT-A8 SERVER
TxTi, L = 4 (bytes)
RECEPTION TABLE
TxTi. R = HFE (TSX17) M
TxTi. V - HOOFE
Positive response
keyboard
keys are unlodted
(exceptthe combination
All the
((~)+(Ez,
49
Communication
Requests to access XBT-A8 resources
Request format :
Request
code
Designation
Format
Code
Sender
category
Bit state
1 byte
1 byte
1 byte
1 wprd
HlO
H07
H0385
Address of bit
in XBT-A8 bit area
(901 in decimal)
HOO
Write
a bit
Comments
Nqmt)er of
buuar image bit
orHOl
HOO- stop
HOI - start
CLIENT TEXTBLOCK
CONFIGURATION
jK&zkYzZ
RECEPTION TABLE
TSX7 MASTER
Type : LOCAL EXCHG
TxTi, C = H0710
TxTi, M = H0069
(E.g. station 5)
XBT-AI SERVER
TxTi, L = 3 (bytes)
H03
H85
HOO HOl
tti
Communication
Requests to access XBT-A8 resources
Request format :
p$j-G-j
CLIENT TEX-fBl&CK
CON+J@lAilON
TRANSMlSslON
TABLE
RECEPTlON
TABLE
TSX7 MASTER
Type
: LOCAL
EXCHG
TxTi, C = H073iP
Txli , M = H0069
(E.g. station 5)
XBT-AI SERVER
TxTi, L = 8 (bytes)
51
Communication
Requests to access XBT-A8 resources
Displaying a message already stored in the XBT-A8
Request
Deslgnatlon
Code
1 byte
1 byte
H14
H07
Worctlvalue
Word e&dress
cafegory
cad0
Format
Sender
I
1
I
I
1 word
1 word
Ii01 91
Hoooo
to ii0064
Address in
word space
(display address : 401
dedmal)
Write
word
Comments
Number of message
to display
from 000 to 100
I
1 ReEs;sel
1
HFE
1 Negative
j
HF D
j
I
TRANSMISSIONTABLE
.RECEPTlON
TABLE
TSX7 MASTER
Type : LOCAL EXCHG
TxTi, C = H0714
TxTi, M = H0069
TxTi, V = HOOFE
or
(E.g. station 5)
XBT-A6 SERVER
TxTi, I_ = 4 (bytes)
I
Positive response
Comments :
On receipt of this request :
- If a TSX7 variable is associated with the message, the XBT-A8 will read it and
the value will be written in the numeric field of the message. If the parameter (A)
update the variable is f 2, the XBT-A8 will read the variable at set intervals.
- If there is no associated variable, only the text is displayed.
Communication
Requests to access XBT-A8 resources
Request format :
r
~kqtiest
Designation
.: code
FW7li
Code
Comments
1 byte
H37-
Write
objects
.Sender
categ6ry
1 byte
1 byte
HOl
H07
O&act
address
Segment Resewed
1 byte
H-00
Access
word
area
(physical
address
of words)
1 word
H-0191
HOOOl
Address
in word
area
(address of
display :
4Oldecimal)
Dirta
Iword
Nunfber
1word
only
to write
1word
HOO 00
to HOO 64
Number of
message to
display :
from 000
to100
TRANSMlSSlON
TABLE
RECEPTION TABLE
53
Communication
Displaying
Request
Designation
I:
Code
Format
Code
Comments
1 byte
H37
1 byte
HOO
0 ect
ad row
1 word
H07Dl
Numl)erot
iData
:,
ob@dtsto
,
write
I
I
1 word 64 bytes max
HO001
Hxx....Hxx
Address
of XBT-A8
display
Text to
Numberof
display
wordsto
64 characters
write to
max
buffer displaybuffer
(in word
(64 bytes)
1 to32
area) : words of 32 (32 characters
2001
characters + 32 decimal
points)
(decimal) max + 32
dec. points
Write
w/
Example
I-
PUMR
STOP -
551
CLIENTTEXTBLOCK
CONFIGURATION
TRANSMISSION
TABLE RECEPTIONTABLE
TSX7 MASTER
Type : LOCAL EXCHG
TxTi. C = H0737
TxTi, M = H0069
(E.g. station5)
XBT-A8 SERVER
TxTi, L = 20 (bytes)
IHooIHO~]
l-t-i!
H31 H20
H20 H35
54
Communication
Requests to access XBT-A8 resources
. WARf&:.AN
XBT-A8xlOl9.CANNOT~DISPLAY
CYRILLIC
A-..CHARA~TERS.UNLESSfT
tSCONFlGURED
IN
RUSSlAN~(See sect@%42: Configuring the languages)
- Decimal points (character H2E) are displayed in the same position as the digit
which precedes them. This has to be taken into account when composing the
messages for display.
l
NUL
;I
TRAk?.MISSlON
TABLE
RECEPTION TABLE
TSX7 MASTER
Type : LOCAL EXCHG
TxTi. C = H0737
TxTi, M = H0069
E.g. station 5
XBT-A8 SERVER
TxTi, L = 12 (bytes)
55
;I
wrrlrrwnlcaIlon
Requests
r
t
TRANSMISSION
TABLE
RECEPTION TABLE
TSX7 MASTER
Type : LOCAL EXCHG
TxTi, C = Ii0737
TxTi, M = H0069
E.G. station 5
XBT-A9 SERVER
TxTi, L = 22 (bytes)
TxTi, R = HFE
(TSX17)
TxTi, V = HOOFE
56
TRANSMISSION
TABLE
RkCEPTlON
TABLE
%gment
space)
TxTi. R - HFE (TSX17)
Displaybuffer ,,r
address
TxTi. V = HOOFE
Numberof
objects(8 words,
lo write
The XBT-At3 displays
(word
Communication
Requeststo access XBT-A8 resources
Comment :The decimal points, displayed in the same position as a digit, are sent
separately. This has to be taken into account when composing the request
(reception table length).
Request format :
=> 64 characters
c~e~tgt~~tkxi
Format
Code
Comments
RespnseResarwd
code
1 byte
H66
1 byte
Hoo
Data
57
~~111111ur11r;arlon
58
TABLE EMISSION
TABLE RkCEPTlON
Communication
to access XBT-A8 resources
Requests
Request :
Designation
Format
Code
Comments
Request :
code
Sendtir
categoty;
1byte
1 byte
ii33
H07
Terminal
initialization
~~Reeponse
code
:Confirm.j
report :
Format
H63
1 byte
Code
tiw
HOO
Comments
INIT OK
piiippq
Example :
CLIENT TEXT BLOCK
I
~~ON~~GIJF~I&
TRANSMISSION
TABLE
RECEPTION TABLE
TSX7 MASTER
Type : LOCAL EXCHG
TxTi, C = H0733
TxTi. M = I+0069
(E.g. station5)
XBT-A6 SERVER
TxTi, L = 0 (bytes)
TxTi, V = I+0063 or
TxTi, R = HW (TSXt7)
mIH001
INIT.OK.
RUNNING
+I[
59
Communication
5.6
message segment
Segmentation
TYPE OF SEGMENT
SEGMENT
NUMBER
MESSAGES
H83
131 (decimal)
TYPE OF OBJECT
STORED MESSAGE
NUMBER OF OBJECTS
101
STRUCTURE OF
MESSAGE OBJECT
TEXT
TYPE
COLUMN
CONVERSION COEFFICIENT
ASSOCIATED TSX7 VARIABLE
VARIABLE UPDATE
NETWORK NUMBER
STATION NUMBER
GATE NUMBER
MODULE NUMBER
CHANNEL NUMBER
Communication
Requests to access the XBT-A8 message segment
Message structure
A message consists of text and parameters.
Each message object consists of a fixed format table of 28 words :
MESSAGE
TEMP.-
EVAC. = ~ ~-
CONVERSION
COEFFICIENT
ASSOCIATED
Word variable
Station 254
The data is coded, starting with the least significant byte. Unused most significant
bytes are filled with SPACE characters (H20).
Communication
Requests to access the XBT-A8 message segment
Designation
Response
code
Resewed
Format
1 byte
1 byte
Code
H64
HOO
Comments
batb
__________-------56 bytes max
IT.. H.. . . . . .
Message object table requested
Hi c = 28 words => 56 bytes
Communication
Requests to access the XBT-A8 message segment
RECEPTIONTABLE
TxTi, V = HOOM or
TxTi, R = l-I54 (TSX17)
[H54IH001
First 8
H-i
H-41 H-56
H2E H43
63
Communication
5.7
Indirectaccess :
HOOOl I Wn IHOOOC
(1 <Wn s12)
The functionnumber is loaded when I(ENTER)Iispressed
HOOOD 5 Wn I H0063
(131 Wn599)
(Wn+l=-1)
(Wn + 1 = 0)
taken into account).
or xx = HFF if error
Communication
5.8
Principle
The uploadingsequence allows aCLlENTto load all or part of the message zone
in an XBT-A8 SERVER and conversely. The downloading sequence allows an
XBT-A8 SERVER to download all or part
of Jtsmessage zone to a CLIENTdevice.
The transfer is carried out using a complete message (text + attributes),
representing 32 bytes per transmission.
:.
:.
Remote uploading
....JT:JSiMP+TANT TFiAT THE -MESSAGE .FltES INTENDED FOR
UPL~fiDfNG
TC.ANXBT%8 SERVER BE 1N
:...:;.I
_..
.. T
H? FijRM&TOF.THEXBT-A8
MESSAGE MEMORY
In order to obtain a message file in XBT-A8 format, first of all perform a remote
downloading of the application file contained in the XBT-A8.
:
,.
; :.j..
65
Communication
The dialogue between the XBT-A8 SERVER and the CLIENT device during
remote uploading is broken down into the following sequences :
XBT-A8
SERVER
..a
EXCHANGES
(REQUESTS)
RESERVATION
CONFIRMATION
CLIENT
DEVICE
(HlD)
REPORT (HFE)
%
F
3
5
CONFIRMATION
REPORT (HZA)
messagetext + attributes)
COMMENTS
CONFIRMATION
REPORT
(HW
+ Segment No received)
B
1
,I,_____________________________________.
gz
;________________________________________:~,,,
z-
semndtime envelope
gg
86
*d
cJ
Wq:
es
5
66
CONFIRMATION
REPORT (HFE)
DERESERVATION (Hl E)
CONFIRMATION
REPORT (HFE)
Communication
Remote uploading and downloading of XBT-A8 memory area.
Procedure
The dialogue between the XBT-A8 SERVER and the CLIENT device during
remote downloading is broken down into the following sequences :
CotiMENJs
p
RESERVATION
(Hl D)
2
B
B
P
CONFIRMATION
REPORT (HFE)
I
k
CONFIRMATION
REPORT (l-TED)
DOWNLOAD A SEGMENT
(H3E + segmentN)
CONFIRMATION REPORT
(H6E + SegmentN + length+ rosssagetext + attributes
,I,__________________-_________________
.\
\(___________________________________I
_________________________________________I,
I.> Restart
,_____________________________-__________,,*
j CONFIRMATION
REPORT (HFE)
60 secondtime envelope
,,I____________________________________
1: DOWNLOAD A SEGMENT
________________________________--------~,
(H3E +
SegmentNO)i
; CONFIRMATION REPORT
1 (I-WE
+SegmentN + length+ message
+ attrkrutes)
I_________________________
______text
____
--__-), ,I
.J
ERESERVATION (HlE)
&
k$j
2
CONFIRMATION
REPORT (HFE)
Communication
Remote uploading and downloading of XBT-A8 memory area
Specific requests
- Reservation :
This service allows a CLIENT device to reserve an XBT-A8 SERVER with
which it wants to dialogue when making use of critical requests (uploading,
downloading, displaying a message, displaying a text, etc.). It simultaneously
starts a 60 second time envelope. If there are no requests from the reserver
to the server within this eriod of time, the server is automatically freed and
displays -1
while waiting for a request.
Request format :
Example :
CONFIGURATION
Type : LOCAL EXCHG
TxTi, C = H071D
TxTi, M = Ii0069
(E.g. station5)
XBT-A6 SERVER
TxTi, L = 0 (bytes)
TRANSMISSION TABLE
RECEPTION TABLE
.I
TxTi, V = HOOFEor
TxTi, R = HFE (TSX17)
Positiveresponse:
terminalis reserved.
If TxTi, R = HFD
Negative response:
_incOrrectquestion
- terminalalready
Communication
Remote uploading and downloading of XBT-A8 memory area
De-reservation :
the XBT-A8 server is freed and passes into
ready to receive new requests.
Request format :
Code
Comments
HlE
H07
DeI reservation I
Example : f
TRANSMlS~ltiNTk3LE
RECEPTION
TABLE
TxTi. V = HOOFE
TxTi, R = HFE (TSX17;
Positive response :
the terminal is freed.
If TxTi, R = HF D
Negative response :
- terminal not reserved
- terminal already
reserved by
another CLIENT.
69
Communication
Remote uploading and downloading of XBT-A8 memory area
Request format :
I
Sender
Designation
Request category
Coda.
Format
Code
1 byte
1 byte
H2D
H07
word,
J
1
Code
Renew the
reservation
Comments
Flea&d
1 word
HF FFF
:
Example
:
CONFIGURATION
..
dUEtiT
TEXT BLOCK
TRANSMISSION TABLE
TSX7 MASTER
Type : LOCAL EXCHG
TxTi, C = H072D
TxTi, M = H0069
(E.g. station 5)
TxTi, L = 2 (bytes)
j-Kq+
RECEPTION
TABLE
TxTi, V = HOOFE or
TxTi, R = HFE (TSXl i
Positive response :
60 second
time envelope is
restarted.
If TxTi. R = HF D
Negative response :
- terminal not reserved
- terminal already
reserved by
another CLIENT
Communication
Remote uploading and downloading of XBT-A8 memory area
Initialize loading
This request opens the loading sequence. It identifies the data which is going to
be transmitted to the SERVER (determination of area, location, format, etc.).
Note : For this to take place, the SERVER must first of all be reserved.
Request format :
Code
H3A
H07
E_MSA---
Code
Comments
I
II
Uploading
sequence open
I
piz&jQNegative response :
- incorrect question syntax,
- terminal is not reserved by the requesting CLIENT,
- File Name Field bytes syntax not in the XBT-A8 memory format,
- uploading or downloading sequence is already open,
- segment number is not supported by the XBT-A8,
- terminal waiting for an operator response.
71
c;ommunication
fAA&tdissIoN~tAti~i
&CEPT~N
TABLE
TSX? MASTER
Type : LOCAL EXCHG
TxTi, C = H073A
TxTi, M = HW69
(E.g. station 5)
XBT-A8 SERVER
TxTi, L = 8 (bytes)
1H5F
H45
H53 H4D
H20 H41
H20
File
name
(s bytes)
H20 _
E_MSA-,Uploading area :
message EEPROM
72
TxTi. V = H006A or
TxTi, R = H6A (TSX17)
/---j&j
Positiveresponse
(uploadingsequence
open)
Communication
Remote uploading and downloading of XBT-A8 memory area
Loading a segment
This request allows the CLIENT to transfer a message (segment) into the
SERVERterminal. Anynumberofsegmentscan
betransmitted in any order. This
allows all or part of the XBT-A8 message memory zone to be uploaded.
Note : The terminal must be reserved and loading initialized, possibly followed
by renewing the reservation, before transferring the first message.
Request format :
..
Deslgnatkln
RetiT
...cate&y
S&pti
Seg$tent
timber
length
.co&
Format
Code
Comments
~Setider
1 byte
1 byte
1 word
H3B
HO7
HDOOO
k WOO64
I+0020
I
Message
number
(000 to 100
decimal)
Segment
message
length
32 bytes
UPloading
1 word
_______-_--_--_--
Data
_-____--__-_--__-_-----~---------32 bytes
-_--_-----------32 bytes XBT-A8 terminal
memory format
: Deskyt~~
R&+j&&
de-..
ktS :..,$Ti
..
Format
1 byte
1 byte
Cede
H6B
HOO
Comments
Segment
received
:.
1 gord
f-WOO0 to
H006$
Number of
segment
received
73
Communication
Remote uploading and downloading of XBT-A8 memory area
TRANSMISSION
TABLE
Message
N 083
Segment
length
32 bytes
XBT-A8
MmQry
format
TxTi, V = H006B or
TxTi, R = H6B (TSX17
i
Negative response
74
Communication
Remote uploading and downloading of XBT-A8 memory area
End of loading
This request closes the uploading sequence. After receipt of this request, the
XBT-A8 SERVER calculates the checksum for the message memory and stores
it.
Note : This request is only accepted if reservation and initialization of uploading
has been previously carried out.
Request format :
c
D*&fUtb
Format
Code
Comments
Request
code
Sender
category
1 byte
1 byte
H3C
I+07
End of
uploading
seqm=
Confirmation report format : Positive response
status
Format
1 byte
1 byte
Code
H6C
Hoo
Comments
Sequence
dose
Negative response :
- if the request syntax is incorrect,
- if the uploading sequence was not opened by the requesting CLIENT.
CLIENT TEXT BLOCK
Example :
CONFktJRATION
TRANSMISSION
TABLE
RECEPTION
TABLE
TSX7 MASTER
Type : LOCAL EXCHG
TxTi, C = H073C
TxTi, M = HOC69
(E.g. station 5)
XBT-A8 SERVER
TxTi. L = 0 (bytes)
TxTi, V = H008C or
TxTi, R = H8C (TSX17)
I
H 00
I statusbyte
(uploading sequence
Close)
75
Communication
Remote uploading and downloading of XBT-A8 memory area
Initializing
downloading
This request opens the downloading sequence and identifies the data which is to
be downloaded to the requesting CLIENT (determination of location, format, etc.).
Note : For this to take place the XBT-A8 SERVER must be reserved.
Request format :
_______________-____-----------~
Designation
Sender
category
Request
code
CC&
Format
1 byte
1 byte
Code
H3D
H07
Open
downloading
sequence
Comments
Confirmation
Designation
File name
__________-____-_-------~~-~~-~_.8 bytes
File
: EEPROM
status
Rezsy
Format
1 byte
1 byte
Code
H6D
HOO
Comments
Sequence
open
Negative
E-MSA---
response
p&q-E-J
Communication
Remote uploading and downloading of XBT-A8 memory area
Example
: Openingthedownloading sequencefortheEEPROM
,.. :
:
-comoifj~hi
:. -CUihn
message memory.
TEXT BL+K:
TRANSMISSION
TABLE
RECEPTION
TABLE
TSX7 MASTER
Type : LOCAL EXCHG
TxTi, C = H073D
TxTi, M = HO CW
(E.g. station 5)
XBT-A8 SERVER
TxTi, L = 8 bytes
File
(8am
bytes)
TxTi. V = H006D or
TxTi, R = H6D (TSX17)
[IH001
1 statusbyte
(MWtl3
downloadingopen)
E_MSA
-_-
Communication
Remote uploading and downloading of XBT-A8 memory area
9 Downloading a segment
This request allows a CLIENT to read a message (segment) in the XBT-A8
SERVER format. Any number of segments can be read and transferred in any
order. This allows all or part of the XBT-A8 message memory zone to be
downloaded.
THE MESSAGES DOWNLOADED TO THE REQUESTING CLIENT
ARE IN THE FORMAT OF THE XBT-A8 SERVER. MEMORY :
THIS MUST BE TAKEN INTO ACCOUNT
WHEN THE REQUESTING DEVICE PROCESSES THE DATA
Request format :
Designation
Format
Code
Comments
Request
code
Sender
category
code
1 byte
1 byte
H3E
H07
Segmenl
1 word
HOOOO-t+ HOO64
Downloading
number
Number of message
requested
Comments
ReSpJn~
code
Status
1 byte
1 byte
H6E
HOO
Segpent
number
Negative response :
1 word
HOOOO
to H0064
Number of
segment
sent
I
SegFent
length
Data
-_-^_____-I_^____-
1 word
32 bytes
HO020
H.. H..
Length
32 bytes
32 bytes in XBT
RAM memory message format
p&j-q
7R
Communication
Remote uploading and downloading of XBT-A8 memory area
Example
.cr
: ..
CONFlhJR~TlO~
TSX7 MASTER
; .:.
AikNSMlSSlON
I~:
HO0
HlO
TABLE
No16
RECEPTION TABLE
TxTi, V = H006E ou
TxTi, R = H6E (TSX17)
79
Communication
Remote uploading and downloading of XBT-A8 memory area
End of downloading
This request closes the downloading sequence.
Note : Only accepted if reservation is carried out.
Request format :
Confirmation
Designation
Format
Code
Ra:$r
Status
1 byte
1 byte
H6F
HOO
Comments
Sequence
close
TRANSMISSION
TSX7 MASTER
Type : LOCAL EXCHG
TxTi. C = H073F
TxTi , M = HOO69
(E.g. station 5)
XBT-A6 SERVER
TxTi, L = 0 bytes
Negative response
TABLE
RECEPTION
TABLE
If positive response
TxTi. V = H006F
TxTi, R = H6F
-1
(downloadingsequence
,/
TxTi, R = HFD
TxTi, V = HOOFD if :
CloSEJ)
C;ommunlcaTion
5.9
VARIABLE
LDDAESSES
HOO
HlO
H04
Hi 4
H02
Bxxxx
Bxxxx
wxxxxx
wxxxxx
Ixxxx, xx
oxxxx, xx
cwxxxxx
COMxx, x
Txxx, V
Txxx, P
Txxx, P
cxxx, v
cxxx, P
cxxx, P
Mxxx, V
Mxxx, P
Mxxx, P
Dxxx, V
H05
H07
H09
H17
H09
HOB
H19
HOB
HOA
H18
HOA
HOC
FUNCTION
Read
Write
Read
Write
Read
Read
Read
Read
Read
Write
Read
Read
Write
Read
Read
Write
Read
Read
internal bit
internal bit
internal word
internal word
input bit image
output bit image
constant word
common word
current value of a timer
stored value of a timer
stored value of a timer
current value of a counter
stored value of a counter
stored value of a counter
current value monostable
stored value of a monostable
the stored value of a monostable
current step of a drum controller
- In order to determine the limits for addresses of accessible variables, the reader
should refer to the user manuals for the TSX7 PLC being used.
- For additional information concerning the coding of requests and installing the
UNI-TELWAY bus, please refer to the UNI-TELWAY Bus Reference Manual
reference : TSX D24004E.
81
c;ommunlcatlon
5.10
XBT-A8 SERVER
Protocol version
- Locking/unlocking
I+14
HFE
Write objects
H37
HFE
Read objects
H36
H66
Read structured
objects
H34
H64
ReseNation
Ii1 D
HFE
De-reservation
Ht E
HFE
Authorizes deresewation of
a reserved XBT-A8
Renew the
reservation.
H2D
HFE
ACCESS
MANAGEMENT
SEMAPHORES
82
Global keyboard
management
Displays stored message
- Controls keyboard LEDs
- Locking/unlocking
keyboard keys
- Buzzer control
- Displays messages
(not stored)
Write a word
DATA
OF
of
Communication
Summary of UNI-TE requests
XST-A8 SERVER
End of remote
Transfer a segment
83
buIIIrIIuIIIc;tilIurl
XBT-A8 CLIENT
SERVICES
DATA
ACCESS
84
Write monostable
H18
HFE
Read
drum controller
HO C
H3C
Applicationexample
Warning
Application
Equipment layout
TSX 17-20 master
Operating principle
- The production machine can manufacture two types of item (A and B), the
choice of A or B being performed by a selector switch (while the machine is
stopped).
- XBT-A8 displays : - in stop, the type of item selected (A or B)
- in run, the number of items manufactured,
- if the machine stops due to a fault, the FAULT message.
The occurrence of a fault stops the machine and re-starts the counters
85
ADdcation examde
HEX CODE
H5002
HOOOO
H9600
H'oOl 0'
HOOOO
HOOOO
HOOOO
HOOOO
HOOOO
HOOOO
two
CWI
cw2
cw3
cw4
cw5
CW6
cw7
CW8
cw9
UNI-TELWAY master
2 connections scanned
Data rate 9600 bitslsec
Time-out
- Variable words
r--
FUNCTION
ADDRESS
W98
w99
WI00
WI 01
- Assignment of inputs
11
86
Applicationexample
Program
INITIALIZATION
OF UNI-TE MODULE
:1
SYO
LAB
LAB:3
TO
I
IW1,0,3
8254
,I3
two
B255
Initialization
of text block
for UNI-TE
module
C -J--
<-> CPL
St
M= HOlOO
0
C=HOO40
LG=lO
I
LAB:5
8255
POWER-UP
- MACHINE
IN STOP
LAB.11
B20
Initialization
of machine
87
Application example
INITIALIZATION
LAB
OF THE COMMUNICATION
TABLE
: 15
SYO
tSYl
t1
LAB:50
lo,0
~,y
LAB:52
IO,0
IO,2
88
~~
Machine stopped
Application example
: 102
LAB
INITIALIZATION
OF TRANSMISSION
TABLE
THE MESSAGE TO BE DISPLAYED
OF
ON THE XBT-A8
Machine stopped
Reference of item
selected
Item A
2 +
w31
Item B
11 -+ w31
Machine in run :
Number of items
manufactured
Item A
12 +
Item B
LAB:118
B21
820
I I
IP
XI
IO,2
I
x:
IO,1
IO,1
II
MACHINE
LAB
w31
FAULT
: 120
XBTA8 displays
message No21
Machine fault :
LAB
: 200
8253
-It
SY6
it
Tl
856
D
W30
<-> CPL
St
E-M = HO165
0
C = H0714
LG=4
Communication
text block
Application example
Simulation of
number of items
manufactured
LAB:58
H41+
W99
H42+
w99
Select reference
of items to be
manufactured
(machine in stop)
Item A
Item B
Reset counter for
manufactured
items (machine
LAB.60
\yeF;)
Item B
LAB
: 100
W99 = H41
W98 +
WlOl
Count items
manufactured
Items A
W99 = H42
W98 +
W102
Items B
Connections
7.1
Pin connections
25 oin female
pin connections
FUNCTION
Pin
IllbFl,
&
PG
TXD
RXD
Transmission RS 2326
Remptan
Ft.523x
SG
at.4
RXD+
10
RXD-
REG
12
@MS12.wrn v.n ra HI
ReSerVBd
11
13
lol
Physical ground
1
2
RUSONed
14
SO
Address of UNI-TELWAY
15
61
Address of UNI-TELWAY
16
82
Address of UNI-TELWAY
17
83
Address of UNI.TELWAY
18
Reception RS 4m485
19
84
Address of UNI.TELWAV
20
TXD+
21
TXD-
22
SG
23
24
(RXD)
PAR
25
UNI-TELWAY
Reserved
POWER SUPPLY
WARNING
.._. . . .- _.. - - -t
MAKING A 66~~~6 ;;ilON;CHECK THE CORRESPONDENCE
.: BETWEEN THE iEi%llNAL PINS AND THE.ASSOClATEDCONTROL SYSTEM; OTHERtilSE DAMAGE MAY BE CAUSED ON
POWER-UP ANDTHE GUARANTEE RENDERED NULL AND VOID
6EFow
91
Connections
7.2
11,IIISGl ov
Cable XBT-2915
pin connections
;_______________.
r_______________
! PC 25 pins
XBT-A8
lol
--I--
,,
cl
Dsu
Cables XBT-2905
92
pin connections
Connections
7.3
module
TSX 17-20
XBT-AR..
module
.A
9 Ii
I 6 I 15 h
Hgl-
l=ll16H
HI
q
84
Ip,I 1 8 t-J
I
I
I
XBT-A6
L___-__-___---
I
______
2 I
z i
5
--
0COM
0AD
_______________
THE ADDRiSkES
FIXED BY THE.XBT-Z928 CABLE ARE :
0 FOR THE T%X-SCG! 1GMODULE
1 F&i THE Xi3T-A8.iERMINAL
93
Connections
Connections to the UNI-TELWAY
Connecting
bus
TSX-47167107
module with SCM 21 .X6 UNI-TELWAY
XBT-Z918
Connecting the XBT-Z918 cable : end of cable with XBT-Z918
connected to the XBT.
reference to be
XBT-A8s have an RS 485 serial interface which conforms to the physical layer.
I____-_________
Connections
Connections
to the UNI-TELWAY
bus
ADDR@%
and a
..I.
::::
,::::
1:;
(THE CODED ADDRESS
CODED
ADDRESS
) ............. .:...+:.:.:.:.:.
::::
...._....~.........__.~~.~~....~~~
..:......
.......+I
~.~~~.~~~~~~~~~.~-.~~...~,.:.
..._.
.,.....
......_____
............AND
......-..
i......:.
...THE
....................
j.......
;:.:_:.:.:.
>:
_.:_:_:_:.):.:_:_
>>::..
.r:::::~:::::::.:.:.~
.._
;.:_
___
............................._.........:.
.._......:.........................
....._.......A..
..................~
subscriber racket
~g#..Tjy
I I
r,
I I ,, I
I !
13ll=l
~~&&$Jq
L___________--------I
piilII
,,,;
L_+
______--
95
Lonnecrlons
7.4
Test connectors
suIB. 0
CURRENT LOOP
(uses an external 24 V
power supply)
RS 422 + ADDRESSES
R=56R tl2W
I
>
96
Appendices
8.1
Automatic self-tests
Whenpowering-uptheXBT-AElterminal,aseriesoftestsiscarriedout
automatically.
These tests are also carried out during the test procedure of the CONFIGURATION
mode. Thesechecks are intended to reassurethe userthattheterminal is operating
under the best conditions.
In order to quit a permanent fault, the supply voitage must be switched off.
TEST
COMMENTS
DISPLAY
Internal FAULT if
display permanent
ttt**t**t****ttt
PROM
RAM
XBT-A8
xxx VX.X
> RAM
FAULT
Memory FAULT
If display permanent =>
return the product
> KEYBOARD
<
FAULT
REGISTER
Micro-program fault
If display permanent =>
return the product
RUNNING
z EEPROM
FAULT
<
E;r;;h;.s
If fault persists =>
return the product.
I$
Appendices
8.2
Error messages
MESSAGE
DISPLAYED
PROBABLE CAUSE
ADJUST MODE
Line fault
XBTffSX7
ADJUST MODE
Non-existent TSX7
variable
**
--- **
(in the numeric
field)
ADJUST MODE
ASCII MODE
,XxX = NO MESSAGE<
ADJUST MODE
ASCII MODE
ASCII MODE
MULTIDROP
>BAD RECORD<
STORING
THE MESSAGES
>EEPROM
98
FUNCTION
MODE
FAULT<
STORING
THE MESSAGES
REMEDY
-Check the wiring
-Test XBT-A8 serial port
-Testthe TSX
terminal port
-Check the position of
TSX 7 memory
cartridge lock
No message
stored at
address XXX
Addresses wired
incorrectly
-Checkthe
Message incorrectly
witten in memory
address
wiring
-Check the message
syntax
-Press
I(ENTEA)I to confirm
Appendices
Summary of UNI-TE
Messages specifically
MESSAGF
DISPLAYBD
requests
connected
FUNCl-far;l
:MDDE
with
UNI-TE protocol
PROBABLE
CAUSE
Address fault
UNI-TE
PROTOCOL
-Link between
XBT-A8 and
UNI-TELWAY
module faulty
-UNI-TELWAY station
N wired for XET-A8
exceeds maximum
configured for module
.Module faulty
Jo response to an
(BT-A8 request
UNI-TE
>NO STATION<
PROTOCOL
UNI-TE
REFUSAL
STATION<
PROTOCOL
JNI-TELWAY
jammeters
ncorrect,
ndicating a nonexisting or faulty
levice
REM WY
The XBT-A8 occupies
2 addresses on the
UNI-TELWAY bus (see
section 5.4 UNI-TELWAY
general).
Check XBT-A8 addresses
-Check the cable
between the XBT-A8
and the module
-Test the XBT-A8 serial
port (see SELF-TESTS ir
section 4.1)
-Check configuration of
the module and the
XBT-A8 station N
-Check the results of
the module self-tests
Cheek parameters
UNI-TELWAY
NETWORK N
STATION N
GATE N
MODULE N
CHANNEL N
in the configuration of
the serial line for operation
(section 4.3)
Check the address of the
variable associated with
the message
Check the request code
sent
99
Appendices
Summary of UNI-TE requests
Messages specifically
connected
PROBABLE
UNI-TE
CAUSE
Addresses
ncorrectly wired
PROTOCOL
UNI-TE
REMEDY
_Check
the UNI-TELWAY
address cabling
-Check TSX SCA 62
subscriber socket coding
Address fault
Same as for
Refusal station
PROTOCOL
UNI-TE
PROTOCOL
UNI-TE
z-OVERFLOW<
PROTOCOL
UNI-TE
INEXECUTABLE
PROTOCOL
Value entered
by the operator
too large
If message is type F
associated with word
Confirmed without
numeric value or
with incorrect value
- Re-enter
the
numeric value
Amendices
8.3
b,
bi I
0
0
0
0
0
0
0
-
0
1
1
1
1
1
1
-
1
1
-
ifll
Appendices
Table of ASCII codes
ba
BINARY
bs
1100
E
1 1
C
D
1110
1111
The producis. hardware and services presented in this document are liable to be changed at any time with respect to the
presentation of the characteristics, operation or utilisation. Their description cannot be used as a basis for mntractual
purposes
0Copyright Telemecanique 1993. All reproduction of this document is forbidden. Copying or reproduction. even partial, by
whatever means, photographic. magnetic. or other as well as any other partial or total transcription able to be read by an
electronic device is strictly forbidden.
XBT XA900E
ov1991
W914082960311
A01