Contact Us

If you still have questions or prefer to get help directly from an agent, please submit a request.
We’ll get back to you as soon as possible.

Please fill out the contact form below and we will reply as soon as possible.

  • Contact Us
  • Home

FH/FHV - Sending Strings

Using the TDM Editor to Communicate Strings to a PLC

Written by Christopher Free

Updated at March 31st, 2025

Contact Us

If you still have questions or prefer to get help directly from an agent, please submit a request.
We’ll get back to you as soon as possible.

Please fill out the contact form below and we will reply as soon as possible.

  • Products
    Automation Systems Control Components Motion & Drives Quality control & Inspection Robotics Safety Sensing Services Software Switching Components
  • Amplify e-Store
    e-Store public
  • Public CSC
+ More

This article outlines how a user can output strings from an FH/FHV vision system utilising the TDM editor function.

This is broken down into FH/FHV and PLC sections.

FH/FHV

  1. Setup the FH/FHV camera to perform OCR on the desired text

 

  1. Open the TDM Editor Screen

 

  1. Create the necessary String Variables, with the desired names, in the “Scene Variable” tab in the TDM Editor….

 

  1. Once these have been created return to the “Edit Flow” tab in the TDM Editor Window. From here select an OCR unit that you wish to output the character string from, click on the “Set” dropdown box and select “Open the unit Setting UI”….

 

  1. In this window then proceed to the “Output parameters” tab. To be able to assign a variable to any data you will need to ensure that you have checked the box located in the bottom of the window for “Variable assignment”. Proceed to find the desired data and select one of the variables that you have created… 

 

  1. Repeat these steps for all the OCR units you are outputting data from…
  2. Once this has been done add the “Result output (I / O)” recipe to the flow…

 

  1. In this window make sure to select “Fieldbus” for the output device and then select the “Output data” tab. From here select “Insert” and add in each of your variables to be sent to the PLC setting the Data Type, Data (variable), Title (optional) and Size…

 

 

PLC

  1. For the receiving of the string the normal tag sets and EtherNetIP configurations for communications to any FH system is required. Once this has been completed and the data structures for the EtherNetIP data have been created in SYSMAC you will simply need to modify the incoming data structure to accommodate for the incoming strings in place of the usual DINT data. This can be seen below for this example:

 

  1. The data will now be visible in the Watch Window as seen below. 
comms communication fh fhv string tdm plc output vision

Was this article helpful?

Yes
No
Give feedback about this article

Related Articles

  • CP1L-E Built-in Analog Input Setup
  • Indirect addressing DM in CX-Programmer

Definition by Author

0
0
Expand