12 #ifndef FAUDES_PLCOXML_H
13 #define FAUDES_PLCOXML_H
15 #include "libfaudes.h"
18 using namespace faudes;
117 virtual void Clear(
void);
143 void DoGenerate(
void);
146 void DoGenerateFunction(
void);
149 void DoGenerateInterface(
void);
152 void DoGenerateBody(
void);
155 void DoGenerateLookups(
void);
158 virtual void VariableDeclare(
const std::string& ladd,
const std::string& ltype);
159 virtual void VariableDeclare(
const std::string& ladd,
const std::string& ltype,
const std::string& lval);
160 virtual void CintarrayDeclare(
const AA& address,
int offset,
const std::vector<int>& val);
161 virtual void CwordarrayDeclare(
const AA& address,
int offset,
const std::vector<word_t>& val);
162 virtual void CstrarrayDeclare(
const AA& address,
int offset,
const std::vector<std::string>& val);
163 virtual void IntarrayDeclare(
const AA& address,
int offset,
int len);
164 virtual void IntarrayDeclare(
const AA& address,
int offset,
const std::vector<int>& val);
165 virtual void WordarrayDeclare(
const AA& address,
int offset,
int len);
166 virtual void WordarrayDeclare(
const AA& address,
int offset,
const std::vector<word_t>& val);
169 virtual void DeclareImportPhysicalIo(
void);
172 virtual void XmlBeginPlainText();
173 virtual void XmlEndPlainText();
174 virtual void XmlDocumentation(
const std::string& text);
188 virtual void DoReadTargetConfiguration(TokenReader& rTr);
201 virtual void DoWriteTargetConfiguration(TokenWriter& rTw)
const;
Code-generator for target IEC 61131-3 ST.
Abstract address; see also Absstract_Addresses.
Implementation of primitives by IEC 61131 ST.
Target PlcOpen XML (IEC 61131-3 ST)
std::string mIecSchemeVersion
option: plcopen-xml version "v1.01" or "v2.01"
std::string mIecToolVendor
option: xml entry file header "company"
std::string mIecContentAuthor
option: xml entry content header "author"
std::string mIecContentOrganization
option: xml entry content header "company"
std::string mIecTextElement
option: plain text xml-element "cdata", "xhtml", or "pre"
std::string mIecContentVersion
option: xml entry content header "version"