VEGA VEGACOM 557 VEGA ASCII protocol User Manual
Page 43
![background image](/manuals/260844/43/background.png)
VEGACOM 557 VEGA ASCII
43
4.10
Enquiry for the contact inputs and outputs on LOGBUS
During operation on LOGBUS via VEGACOM 557, the contacts are assigned by means of the
module address. The enquiry is the made with the module 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 = value valid, 1 = value invalid.
End identification: CR LF = Carriage Return + Linefeed
Total length of the telegram: 15 characters
Contact value binary coded
32768 = 10000000 00000000
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 module
Telegram of the processing system to VEGACOM 557 for enquiry of several modules
Answer of VEGACOM 557
S1 : Status for contacts; 0 - contact information is valid, 1 - contact information is not valid.
1 or n (n= stated number) repetitions
Data image in VEGACOM 557
Address
Mod-
End
Identifier
COM
ule
identification
No. of bytes
1
1
2
1
Range (ASCII)
R
0..9
01..31
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..31
L
01..31
CR
Example
R
2
01
L
03
CR
Address
Mod-
Contact
End
S1
COM
ule
S2
value
T Status identification
No. of bytes
1
1
2
1
6
1
1
Range (ASCII)
R
0..9
01..31
#
value
p
0..1
CRLF
Example R
2
01
#
32896
p
0
CRLF
Input contacts
Output contacts
Meaning
S1
reserve
10
9
8
7
6
5
4
3
2
1
Bit position
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0