E.2 Syntaxe Du Fichier De Configuration De Télégramme - Mobatime DTS 4135.timeserver Instructions De Montage Et De Service

Table des Matières

Publicité

9600 bits/s, 8 bits de données, aucune, 1 bit d'arrêt, le télégramme a 20 caractères.
Temps de transmission pour télégramme complet :
20 x 1,04 ms = 20,8 ms
Nom du fichier de télégramme
Le nom du fichier comporte au maximum 8 caractères et se termine par TEL, Tel ou
tel, p. ex. IF482Std.tel
E.2
Syntaxe du fichier de configuration de télégramme
!TEL
;telegram type also !CTC or !MTS possible
;-- Start of the file (always on the first line) ------------------------
;DEFINITIONS CONFIGURATION FILE FOR PRECISION MASTER CLOCK
;**********************************************************
;Customer:
;Date:
;Author:
;File:
;Interface:
;-- Output string ---------------------------------------------------
;
the output string has a similar format to the print command in the
;
programming language 'C'.
;
!TS! - String with format information
;
!TV! – Variables list in output sequence
;
The formats and variables available can be seen below:
:
!TS!"........%d....%d..."
!TV!var1,var2,..
;-- Control and special characters
;
"
;
\"
;
\xFE
;
\\
;
\n
;
%%
;
%...
;-- Possible formats:
;%dn ascii-dez
;
;
;%X
;
;%c
;
;%s
;
;%b
;
;
;-- Possible variables:
;
;Name:
;-------|-----------------------|-----------|------
;
;MSE
;HSE
;ZSE
;SEK
;MIN
;STD
;
;JAR
;
;MTG
;JTG
© MOBATIME
;String with Format information
;Variables list
->
String beginning/end
->
"
->
h'FE
->
\
->
new line <CR> <LF> (h'0D h'0A)
->
%
->
Format information (see below)
where n=1/2/3/4 (number of decimal points, max. 3 places received)
e.g. variable value d'40
ascii-hex
e.g. variable value d'40
char (binary)
e.g. variable value d'40
string (always up to,(comma) see text tables
e.g. string
Jan,
hex-output of an asciihex-string
text tables
e.g. string
120A,
Description:
(Millisecond)
(Hundredth of a second) (0..99)
(Tenth of a second)
(Second)
(Minute)
(12h or 24h format)
(Year)
(Day of the month)
(Day of the year)
(Byte binary)
=> 40
@ n=2
=> 040 @ n=3
=> 28
=> h'28
=> Jan
(always up to(comma)see
=> h'12 h'0A
Range:
Format:
(0..999)
1W
1B
(0..9)
1B
(0..59)
1B
(0..59)
1B
(0..12)
or(0..24) 1B (see !PM!)
(0..99)
1W
or (1990..2089)
(1..31)
1B
(1..366)
1W
89 / 100
800729.15

Publicité

Table des Matières
loading

Table des Matières