Log in
E-mail
Password
Show password
Remember
Forgot password ?
Become a member for free
Sign up
Sign up
New member
Sign up for FREE
New customer
Discover our services
Settings
Settings
Dynamic quotes 
OFFON

COGNEX CORPORATION

(CGNX)
  Report
Delayed Quote. Delayed Nasdaq - 11/26 01:00:00 pm
76.19 USD   -3.03%
11/18COGNEX CORPORATION : Ex-dividend day for
FA
11/17COGNEX : Three Benefits of Using 3D Vision
PU
11/15INSIDER SELL : Cognex
MT
SummaryQuotesChartsNewsRatingsCalendarCompanyFinancialsConsensusRevisions 
SummaryMost relevantAll NewsAnalyst Reco.Other languagesPress ReleasesOfficial PublicationsSector newsMarketScreener Strategies

Cognex : DataMan Scripting

09/15/2021 | 05:02pm EST
DataMan Scripting

The Cognex DataMan series of barcode readers uses JavaScript to customize several important functions, such as data formatting and transferring images to an FTP site. This video provides an overview of scripting operations using the DataMan Setup Tool, a software application that configures DataMan barcode readers.

Topics covered in the video:

Why DataManReaders Use Javascript

Scripting helps to simplify the integration of programmable logic controllers (PLCs) and DataMan barcode readers into a factory network. Scripts also manage the inputs and outputs of digital data and enable:

  • Data formatting for:

  • Output strings and string comparison

  • Statistics and metrics

  • Input and output states

  • Set or Get parameters

  • FTP storage (image renaming and transfer of images and data)

  • Communications with external devices, setting a timer and managing encoder input

How to Enable DataMan Scripting

The Setup Tool is used to initiate scripting. There are several steps in this process:

  • Connecting to the DataMan barcode reader

  • Clicking on the Format Data square at the bottom left of the screen

  • Selecting 'script-based formatting' and clicking a link to execute the command

Scripting Samples for Data Formatting, FTP Storage and Communications

Three primary DataMan scripts perform basic functions like data formatting, FTP storage and communication:

  1. Data formatting.Examples include comment text, the 'onResult' function, 'if' conditions, 'output.content' and output strings.

  2. FTP storage. Examples include generating image names before FTP transfer, process control metrics (PCM) reports and verification reports.

  3. Communications. Examples include 'onConnect' and 'onDisconnect,' 'onExpectedData,' (called after receiving a data string from an external device) and 'onTimer,' (called after the timer counts to zero).

Sequence

The DataMan image processing sequence involves five steps:

  1. Image acquisition
  2. Processing
  3. Validation
  4. Scripting
  5. Output

Each step is reviewed in detail in the video.

DataMan Control Commands (DMCC)

DMCC is a Cognex protocol for communicating with DataMan barcode readers. Sample commands include:

  • ||> GET TRIGGER.TYPE - returns the value of a parameter setting

  • ||> GET RESULT - returns the last result of a decoded string

  • ||> SET SYMBOL.DATAMATRIX ON - Sets the value of a parameter

  • ||> Reboot - Makes the barcode reader perform an action

All DMCCs are available in the DataMan Setup Tool and accessible by clicking on 'Help' in the top right corner of the screen.
Naomi Brown | 09-15-2021
More Posts on

Disclaimer

Cognex Corporation published this content on 15 September 2021 and is solely responsible for the information contained therein. Distributed by Public, unedited and unaltered, on 15 September 2021 21:01:07 UTC.


ę Publicnow 2021
All news about COGNEX CORPORATION
11/18COGNEX CORPORATION : Ex-dividend day for
FA
11/17COGNEX : Three Benefits of Using 3D Vision
PU
11/15INSIDER SELL : Cognex
MT
11/12Cognex Stock Up 3% Following Morgan Stanley Upgrade
MT
11/12Today on Wall Street: Out with the old
11/12Cowen Adjusts Price Target on Cognex to $100 From $110, Keeps Outperform Rating
MT
11/12Cognex Upgraded to Equal-Weight From Underweight by Morgan Stanley, Price Target Raised..
MT
11/12ANALYST RECOMMENDATIONS : Aveva, HP, Nike, Virgin Money, Disney...
11/12ANALYST RECOMMENDATIONS : Aveva, HP, Nike, Virgin Money, Disney...
11/12Morgan Stanley Lifts Cognex to Equal-Weight From Underweight, Price Target to $85 From ..
MT
More news
Analyst Recommendations on COGNEX CORPORATION
More recommendations
Financials (USD)
Sales 2021 1 016 M - -
Net income 2021 263 M - -
Net cash 2021 317 M - -
P/E ratio 2021 52,1x
Yield 2021 0,37%
Capitalization 13 470 M 13 470 M -
EV / Sales 2021 12,9x
EV / Sales 2022 11,5x
Nbr of Employees 2 055
Free-Float 96,1%
Chart COGNEX CORPORATION
Duration : Period :
Cognex Corporation Technical Analysis Chart | MarketScreener
Full-screen chart
Technical analysis trends COGNEX CORPORATION
Short TermMid-TermLong Term
TrendsBearishBearishNeutral
Income Statement Evolution
Consensus
Sell
Buy
Mean consensus OUTPERFORM
Number of Analysts 16
Last Close Price 76,19 $
Average target price 88,81 $
Spread / Average Target 16,6%
EPS Revisions
Managers and Directors
Robert J. Willett President, Chief Executive Officer & Director
Paul D. Todgham Chief Financial Officer & Senior VP-Finance
Anthony Sun Chairman
Theodor Krantz Independent Director
Dianne M. Parrotte Independent Director
Sector and Competitors
1st jan.Capi. (M$)
COGNEX CORPORATION-2.14%13 470
SMC CORPORATION19.29%43 770
SHIMADZU CORPORATION18.70%12 373
WUHAN GUIDE INFRARED CO., LTD.-19.22%8 844
MKS INSTRUMENTS, INC.3.04%8 598
RENISHAW PLC-20.45%4 441