If StatusQuParams/@DeviceDetails is 'Modules' then the response will contain a @ModuleStatus element containing the status and ID of each tray..
Syntax
XPath: /JMF/Command[@Type="QueryStatus"]/StatusQuParams
<?xml version="1.0" encoding="UTF-8"?> <JMF xmlns="http://www.CIP4.org/JDFSchema_1_1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" SenderID="MySystem" TimeStamp="2022-08-22T10:20:45+02:00" Version="1.3"> <Query ID="Tray_Status" Type="Status" xsi:type="QueryStatus"> <StatusQuParams DeviceDetails="Modules" JobDetails="Brief" QueueInfo="true"/> </Query> </JMF>
If you want to use this snippet, download the whole collection of examples in this TRM from this link: