Business Connector Charts are configurable flowcharts that specify the connection pathways and processing functions for data flowing between the selected business system and the Ignition Server (including Sepasoft MES modules and/or Ignition tags). 

Blocks are linked together in the GUI representation to define the order of execution and iteration, and then the pathways are mapped to define the desired execution sequence flow, naming conversions and filter parameters. Python scripting can be used as part of the input and output mapping functionality, to further assist in cleaning, filtering and converting relevant data for use and storage.

The general flow of activity to create and execute (run) a Business Connector Chart:

  • Create and name a new chart entity under "Business Connector" in the Global area of the Ignition Designer Project Browser
  • Drag Blocks onto the Design Grid and link them together into a linear, decision-based or iterative sequence with Connector arrows (to define the sequence for execution and signaling information)
  • For Blocks that utilize mapping, use the Mapping pane to 'map' required data properties between the business system data schema (and/or chart parameters) and the B2MML data schema (and/or chart parameters)
  • Write scripts, as needed, for further collation and filtering of data
  • From a script in an Ignition component, client event, or gateway event, set up any optional parameters to pass into the chart, execute the chart, then retrieve any optional return parameters

Only Execution Control 'Travels' on the Connector Arrows

One important concept to understand about charts is that data does not 'travel' from Block to Block as defined by the Connector arrows. Only the execution control sequence is defined by the Connectors. Execution passes from one Block in the chart sequence into the next Block as each Block completes its task.

Data 'moves' back and forth between the business system (and/or chart parameters) and B2MML array structures (and/or chart parameters) independently, via the specialized internal functionality of various chart Block options, such as the SAP BAPI Action Block (filters the range of possible BAPI arrays and then maps SAP properties to the MES Object properties available in B2MML), and the Save MES Object Block (which creates the new MES Objects from the list filtered/defined down by, for example, a SAP BAPI Action Block).

Turn on Chart Debugging in Gateway Logs

While testing and debugging Business Connector charts, it may be helpful to change the level of the gateway's chart-execution logger from INFO to DEBUG, as shown below.
Search for the following logger: com.sepasoft.sfc.manager.SFCChartManager$SFCChartExecutor

  • No labels