Mitsubishi Electronics QJ7MES96 Thermostat User Manual


 
9
- 2
9.1 XML Message Format Definition
9
XML MESSAGE FORMAT
9.1 XML Message Format Definition
The XML message format is comprised of request messages and response messages.
This section explains the XML message format definition.
(1) The maximum size of request message after applying URL encoding that the
MES interface module can process is 128K bytes.
If the size exceeds 128K bytes, an error code is returned as the response
message.
Section 10.2.3 Error codes returned in XML response messages
(1) Request message (REQUEST tag)
(a) One-shot execution (An example for one-shot execution of the job named
Pro01)
*1
<?xml version = "1.0"?>
<REQUEST type = "oneshot" jobname = "Pro01"/>
(b) Validate (An example enabling the job named Pro01)
<?xml version = "1.0"?>
<REQUEST type = "validate" jobname = "Pro01"/>
(c) Invalidate (An example disabling the job named Pro01)
<?xml version = "1.0"?>
<REQUEST type = "invalidate" jobname = "Pro01"/>
*1 When one-shot execution is performed in the job for which [Handshake operation] is specified as a
trigger condition, [Completion notification] is turned ON.
Turn OFF [Completion notification] in the sequence program.
Table 9.2 Request message (REQUEST tag)
Item Description
Omission Not possible
Format
<REQUEST type = "[Instruction of job execution]" jobname = "[Job
name]"/>
Attribute
type
Specifies the instruction of job execution. (required)
"oneshot": One-shot execution
"validate": Validate
"invalidate": Invalidate
jobname Specifies the job name to be executed.
Contents None
Sub-component None