|
Type
|
Syntaxe
|
|---|---|
|
Variables internes
|
%Mi, %MXi, %MWi, %MWi.j
|
|
Constantes
|
%KWi
|
|
Variables système
|
%Si, %SXi, %SWi
|
|
Simulation
|
%MDi, %MFi, %KDi, %KFi
|
|
Syntaxe
|
Type
|
Commentaire
|
|---|---|---|
|
%Mi ou %MXi
|
EBOOL
|
Mappé sur le type XML/W3C unsignedByte
|
|
%MWi
|
INT
|
Mappé sur le type XML/W3C short
|
|
%MWi.j
|
BOOL
|
Mappé sur le type XML/W3C boolean
|
|
%MDi
|
DINT
|
Mappé sur le type XML/W3C int
|
|
%MFi
|
REAL
|
Mappé sur le type XML/W3C float
|
|
%KWi
|
INT
|
Mappé sur le type XML/W3C short
|
|
%KWi.j
|
BOOL
|
Mappé sur le type XML/W3C boolean
|
|
%KDi
|
DINT
|
Mappé sur le type XML/W3C int
|
|
%KFi
|
REAL
|
Mappé sur le type XML/W3C float
|
|
%Si ou %SXi
|
BOOL
|
Mappé sur le type XML/W3C boolean
|
|
%SWi
|
INT
|
Mappé sur le type XML/W3C short
|
|
%SWi.j
|
BOOL
|
Mappé sur le type XML/W3C boolean
|
|
Type
|
Commentaire
|
|---|---|
|
BOOL
|
Mappé sur le type XML/W3C boolean
|
|
EBOOL
|
Mappé sur le type XML/W3C unsignedByte
|
|
INT
|
Mappé sur le type XML/W3C short
|
|
DINT
|
Mappé sur le type XML/W3C int
|
|
UINT
|
Mappé sur le type XML/W3C unsignedShort
|
|
UDINT
|
Mappé sur le type XML/W3C unsignedInt
|
|
TIME
|
Mappé sur le type XML/W3C unsignedInt
|
|
DATE
|
Mappé sur le type XML/W3C date ou dateTime (dateTime est obligatoire pour l'écriture, la partie date n'est pas prise en compte)
|
|
TOD
|
Mappé sur le type XML/W3C time ou dateTime (dateTime est obligatoire pour l'écriture, la partie heure n'est pas prise en compte)
|
|
DT
|
Mappé sur le type XML/W3C dateTime
|
|
REAL
|
Mappé sur le type XML/W3C float ou double (double est seulement pour les demandes d'écriture, forcer la valeur au format float)
|
|
BYTE
|
Mappé sur le type XML/W3C unsignedByte
|
|
WORD
|
Mappé sur le type XML/W3C unsignedShort
|
|
DWORD
|
Mappé sur le type XML/W3C unsignedInt
|
|
STRING
|
Mappé sur le type XML/W3C string
|
|
STRING[n]
|
Mappé sur le type XML/W3C string
|
POST /ws/ExtendedSymbolicXmlDa.asmx HTTP/1
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://www.schneider-electric.com/ws/ExtendedSymbolicsXmlDa/Read"
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<Read xmlns="http://www.schneider-electric.com/ws/ExtendedSymbolicsXmlDa/">
<VariableList>
<Name>string</Name>
<Name>string</Name>
</VariableList>
</Read>
</soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<ReadResponse xmlns="http://www.schneider-electric.com/ws/ExtendedSymbolicXMLDa/">
<ReadResult>
<Elément>
<Name>chaîne</Name>
<VariableType>chaîne</VariableType>
<Valeur />
</Elément>
<Elément>
<Name>chaîne</Name>
<VariableType>chaîne</VariableType>
<Valeur />
</Elément>
</ReadResult>
</ReadResponse>
</soap:Body>
</soap:Envelope>
POST /maquette/ExtendedSymbolicXmlDa.asmx HTTP/1.1 Host: 139.160.65.83:8080 Content-Type: application/soap+xml; charset=utf-8 Content-Length: length
SOAPAction: "http://www.schneider-electric.com/ws/ExtendedSymbolicsXmlDa/Write"
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
<soap:Body>
<Write xmlns="http://www.schneider-electric.com/ws/ExtendedSymbolicXmlDa/">
<ItemList>
<Item>
<Name>string</Name>
<VariableType>string</VariableType>
<Value />
</Item>
<Item>
<Name>string</Name>=
<VariableType>string</VariableType>
<Value />
</Item>
</ItemList>
</Write>
</soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://www.w3.org/2003/05/soap-envelope/">
<soap:Body>
<WriteResponse xmlns="http://www.schneider-electric.com/ws/ExtendedSymbolicXmlDa/">
</WriteResponse>
</soap:Body> </soap:Envelope>
POST /maquette/ExtendedSymbolicXmlDa.asmx HTTP/1.1 Host: 139.160.65.83:8080 Content-Type: application/soap+xml; charset=utf-8 Content-Length: length SOAPAction: xmlns="http://www.schneider-electric.com/ws/ExtendedSymbolicXmlDa/Browse"
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/2003/05/soap-envelope/"> <soap:Body>
<Browse xmlns="http://www.schneider-electric.com/ws/ExtendedSymbolicXmlDa/Browse" /> </soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://www.w3.org/2003/05/soap-envelope/">
<soap:Body>
<BrowseResponse xmlns="http://www.schneider-electric.com/ws/ExtendedSymbolicXmlDa/">
<BrowseResult>
<Description>
<Name>string</Name>
<Address>string</Address>
<VariableType>string</VariableType>
</Description>>
<Description>
<Name>string</Name>
<Address>string</Address>
<VariableType>string</VariableType>
</Description>
</BrowseResult>
</BrowseResponse>
</soap:Body>
</soap:Envelope>