Sepasoft MES Module Suite
Return EBR in JSON
|
Scripting function queue.getBatchEBR() is available in versions:
|
This script returns EBR based on batchID. Min and max parameter settings are only included if they differ from default values.
Python |
ebr = system.mes.batch.queue.getBatchEBR('0001') json_ebr = system.util.jsonEncode(ebr,4) print(json_ebr) ##Can then write the EBR to a file using Ignition file scripting functions such as: ##system.file.writeFile() |
Output
JSON |
|
Sepasoft MES Module Suite