Examples
  • 10 Oct 2022
  • 1 Minute to read
  • PDF

Examples

  • PDF

Article summary

Collecting Data from a Domino Printer

This example shows how to connect to and exchange information with a Domino industrial printer.

  • Step 1: Create the module: (Config => Modules => New module

Figure 9- Create a new module(1)Figure 5. Create a new module


  • Step 2: Provide a name for the module (in this example, DominoClient has been used) and set the module type to DominoClient in Module Type. 

Figure 10- Configure the module(1)Figure 6. Configure the module


  • Step 3: Configure the Logger and API for this module. In this example, the default configuration has been left unchanged since, in most cases, this is a valid configuration.

  • Step 4: Create a new device (Config => Modules => DominoClient => Model => New Device)

Figure 11- Create a new deviceFigure 7. Create a new device


  • Step 5: Provide a name for the device (in this example, the name is Device01) and configure it as shown in the below image.

Figure 12- Configure the DeviceFigure 8. Configure the device


The main parameters to be configured are as follows:

  • Enable data collection: True
  • Connection
    • Type: TCP
    • Config: 
      • Host: 10.101.9.31
      • TCP Port: 7000
      • Reconnect Delay: 60000

The rest of the parameters will be left with the default values.

At this point, the connection is ready and we can now move on to creating new tags

  • Step 6: Create a new tag (Config => Tags => Model => New tag),

Figure 13- Create a new tag(1)Figure 9. Create a new tag


  • Step 7: Give it a name (in this case Current Statusand configure the tag parameters according to the below image.


Figure 14- Configure the tag(1)Figure 10. Configure the tag

.

  • Source
    • Enabled: Yes
    • Module type: DominoClient
    • Module name: DominoClient
    • Config
      • Device: Device01
      • Group: Extensions
      • Variable: Current Status
      • Head Select: 1
      • Index: 000
      • Scan rate: 5,000.


  • Step 8: The tag should now be available and displayed with good quality in the Real-Time display

Figure 15- Values displayed in Real-TimeFigure 11. Values displayed in real-time.


Was this article helpful?

What's Next