Examples
- 10 Oct 2022
- 1 Minute to read
- Print
- PDF
Examples
- Updated on 10 Oct 2022
- 1 Minute to read
- Print
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
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 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 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 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 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 9. Create a new tag
- Step 7: Give it a name (in this case Current Status) and configure the tag parameters according to the below image.
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 11. Values displayed in real-time.
Was this article helpful?