- FactoryTalk Batch
- Recipe Editor
- FactoryTalk Batch Equipment Editor
- Parameters and reports with FactoryTalk Batch
- Phase class overview
- Configure phases
- Operation sequence class configuration
- Operation sequence configuration
- FactoryTalk Batch View
- PhaseManager
- FactoryTalk Batch phases in Logix Designer
- Data from FactoryTalk Batch Server
- FactoryTalk Event Archiver
- FactoryTalk Batch administration
- FactoryTalk Batch security
- FactoryTalk Batch electronic signatures
- The FactoryTalk Batch Service Manager
- The FactoryTalk Batch Server
- FactoryTalk Batch Server option configuration
- PC-based phases introduction
Convert XML to binary from command line
Convert XML area models to the proprietary binary format from the command line using the
supplied program
If the command line arguments are valid, the program returns a 
AreaModelConvert.exe
. Only well-formed, schema-conformed, and
program-validated XML files convert. When exporting from a command line, change to the
directory containing AreaModelConvert.exe
and the paths cannot contain any spaces. UNC
names are also supported, as demonstrated in this syntax example: The syntax for the command
line is: C:AreaModelConvert.EXE InputFile OutputFile LogFile
Where: - InputFile specifies the path for the input XML filename.
- OutputFile specifies the path for output binary filename.
- LogFile specifies the path for log file.
C:AreaModelConvert.EXE \\Batchctl\SampleDemo1\recipes\ice_cream1.axml
\\Batchctl\SampleDemo1\recipes\ice_cream1.cfg
\\Batchctl\SampleDemo1\logs\convert.log
The command line validates the information
in the XML file and overwrites the existing file specified by OutputFile
. Error
messages append to the log file.
IMPORTANT:
The command line
program will not validate material-specific information, which includes:
- Running status of the Material Server
- Existence of the referenced materials
- Existence of the referenced material classes
- Existence of the referenced containers
0
(zero),
indicating a successful import. If the command line arguments are invalid, the command line
program returns a 1
(one), indicating a failure. View the return code in the log file
to check if the conversion succeeded or failed.
Provide Feedback