VEGA VEGACOM 557 VEGA ASCII protocol User Manual
Page 42

42
VEGACOM 557 VEGA ASCII
4.9 Enquiry for the contact inputs and outputs on DISBUS
During operation on DISBUS via VEGACOM 557, the contacts are assigned by means of the
VEGAMET address. The enquiry is then made with the VEGAMET address.
Start character: S1 = 1 character "=“
Address: Addr = 1 character VEGACOM 557 address
Start character: S2 = 1 character "#“
Status: Validity of the contact value,
0 = Inputs and outputs valid, 1 = output contacts valid,
2 = Input contacts valid, 3 = value invalid.
End identification: CR LF = Carriage Return + Linefeed
Total length of the telegram: 15 characters
Contact value binary coded
32896 = 10000000 10000000
Identifier: 1 character, "R“
T1: 1 character "L“
End identification: 1 character Chr (13) = CR = Carriage Return
Total length of the telegram: 5 or 8 characters
Telegram from processing system to VEGACOM 557 for enquiry of a VEGAMET
Telegram from processing system to VEGACOM 557 for enquiry of several VEGAMET
Answer of VEGACOM 557
1 or n (n= stated number) repetitions
Data image in VEGACOM 557
Address
Address
End
Identifier
COM
MET
identification
No. of bytes
1
1
2
1
Range (ASCII)
R
0..9
01..15
CR
Example
R
2
01..15
CR
Address
Address End
Identifier
COM
MET
T1
No. identification
No. of bytes
1
1
2
1
2
1
Range (ASCII)
R
0..9
01..15
L
01..15
CR
Example
R
2
01
L
03
CR
Address Address
Contact
End
S1
COM
MET
S2
value
T Status identification
No. of bytes
1
1
2
1
6
1
1
Range (ASCII) R
0..9
01..15
#
value
p
0..3
CRLF
Example R
2
01
#
32896
p
0
CRLF
Input contacts
Output contacts
Meaning
S1
reserve
2
1
S2
reserve
ST
2
1
Bit position
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
ST : Fail safe relay
S1 : Status for input contacts; value : 0 - input contacts are valid, value :1 - input contacts are not valid.
S2 : Status for output contacts; value : 0 - output contacts are valid, value :1 - output contacts are not valid.