FORM 4 UNITED STATES SECURITIES AND EXCHANGE COMMISSION
Washington, D.C. 20549

STATEMENT OF CHANGES IN BENEFICIAL OWNERSHIP

Filed pursuant to Section 16(a) of the Securities Exchange Act of 1934
or Section 30(h) of the Investment Company Act of 1940
OMB APPROVAL
OMB Number: 3235-0287
Expires: December 31, 2014
Estimated average burden
hours per response: 0.5
  
Check this box if no longer subject to Section 16. Form 4 or Form 5 obligations may continue. See Instruction 1(b).
1. Name and Address of Reporting Person *
Moschner Matthew

(Last) (First) (Middle)
ONE VISION DRIVE

(Street)
NATICK MA 01760

(City) (State) (Zip)
2. Issuer Name and Ticker or Trading Symbol
COGNEX CORP [ CGNX ]
5. Relationship of Reporting Person(s) to Issuer
(Check all applicable)
X Director 10% Owner
X Officer (give title below) Other (specify below)
CEO & President
3. Date of Earliest Transaction (Month/Day/Year)
08/11/2026
4. If Amendment, Date of Original Filed (Month/Day/Year)
6. Individual or Joint/Group Filing (Check Applicable Line)
X Form filed by One Reporting Person
Form filed by More than One Reporting Person
Table I - Non-Derivative Securities Acquired, Disposed of, or Beneficially Owned
1. Title of Security (Instr. 3) 2. Transaction Date (Month/Day/Year) 2A. Deemed Execution Date, if any (Month/Day/Year) 3. Transaction Code (Instr. 8) 4. Securities Acquired (A) or Disposed Of (D) (Instr. 3, 4 and 5) 5. Amount of Securities Beneficially Owned Following Reported Transaction(s) (Instr. 3 and 4) 6. Ownership Form: Direct (D) or Indirect (I) (Instr. 4) 7. Nature of Indirect Beneficial Ownership (Instr. 4)
Code V Amount (A) or (D) Price
Common Stock 08/11/2026   M (1)   1,600 A $ 56.44 20,846 D  
Common Stock 08/11/2026   S (1)   1,600 D $ 65.36 19,246 D  
Common Stock 08/11/2026   M (1)   4,000 A $ 51.49 23,246 D  
Common Stock 08/11/2026   S (1)   4,000 D $ 65.36 19,246 D  
Common Stock 08/11/2026   M (1)   4,000 A $ 40.71 23,246 D  
Common Stock 08/11/2026   S (1)   4,000 D $ 63.6158 19,246 D  
Common Stock 08/11/2026   M (1)   7,000 A $ 42.84 26,246 D  
Common Stock 08/11/2026   S (1)   7,000 D $ 63.6102 19,246 D  
Common Stock 08/11/2026   S (2)   8,362 D $ 63.621 10,884 D  
Table II - Derivative Securities Acquired, Disposed of, or Beneficially Owned
(e.g., puts, calls, warrants, options, convertible securities)
1. Title of Derivative Security (Instr. 3) 2. Conversion or Exercise Price of Derivative Security 3. Transaction Date (Month/Day/Year) 3A. Deemed Execution Date, if any (Month/Day/Year) 4. Transaction Code (Instr. 8) 5. Number of Derivative Securities Acquired (A) or Disposed of (D) (Instr. 3, 4 and 5) 6. Date Exercisable and Expiration Date (Month/Day/Year) 7. Title and Amount of Securities Underlying Derivative Security (Instr. 3 and 4) 8. Price of Derivative Security (Instr. 5) 9. Number of derivative Securities Beneficially Owned Following Reported Transaction(s) (Instr. 4) 10. Ownership Form: Direct (D) or Indirect (I) (Instr. 4) 11. Nature of Indirect Beneficial Ownership (Instr. 4)
Code V (A) (D) Date Exercisable Expiration Date Title Amount or Number of Shares
Non-Qualified Stock Option (right to buy) $ 40.71 08/11/2026   M (1)     4,000 11/19/2019 (3) 11/19/2028 Common Stock 4,000 $ 0 0 D  
Non-Qualified Stock Option (right to buy) $ 42.84 08/11/2026   M (1)     7,000 10/31/2021 (4) 10/31/2028 Common Stock 7,000 $ 0 0 D  
Non-Qualified Stock Option (right to buy) $ 51.49 08/11/2026   M (1)     4,000 02/19/2020 (5) 02/19/2029 Common Stock 4,000 $ 0 0 D  
Non-Qualified Stock Option (right to buy) $ 56.44 08/11/2026   M (1)     1,600 02/20/2019 (6) 02/20/2028 Common Stock 1,600 $ 0 0 D  
Non-Qualified Stock Option (right to buy) $ 27.99             05/05/2029 05/05/2035 Common Stock 279,070   279,070 D  
Non-Qualified Stock Option (right to buy) $ 32.78             02/21/2029 02/21/2035 Common Stock 76,924   76,924 D  
Non-Qualified Stock Option (right to buy) $ 33.04             02/18/2026 02/18/2035 Common Stock 68,823   68,823 D  
Non-Qualified Stock Option (right to buy) $ 39.44             02/20/2025 02/20/2034 Common Stock 58,260   58,260 D  
Non-Qualified Stock Option (right to buy) $ 47.21             02/21/2024 02/21/2033 Common Stock 37,832   37,832 D  
Non-Qualified Stock Option (right to buy) $ 47.95             08/04/2026 08/04/2032 Common Stock 35,639   35,639 D  
Non-Qualified Stock Option (right to buy) $ 50.01             08/07/2027 08/07/2033 Common Stock 47,962   47,962 D  
Non-Qualified Stock Option (right to buy) $ 51.97             10/30/2020 10/30/2029 Common Stock 9,000   9,000 D  
Non-Qualified Stock Option (right to buy) $ 57.09             02/17/2027 02/17/2036 Common Stock 58,744   58,744 D  
Non-Qualified Stock Option (right to buy) $ 86.38             08/09/2025 08/09/2031 Common Stock 8,426   8,426 D  
Restricted Stock Unit $ 0             02/20/2025 02/20/2027 Common Stock 5,071   5,071 D  
Restricted Stock Unit $ 0             02/18/2026 02/18/2028 Common Stock 20,339   20,339 D  
Restricted Stock Unit $ 0             02/17/2027 02/17/2029 Common Stock 56,928   56,928 D  
Explanation of Responses:
1. These stock option exercises were effected pursuant to a trading plan adopted by the reporting person in accordance with Rule 10b5-1 under the Securities Exchange Act of 1934, as amended.
2. These shares were disposed of in an open market sale pursuant to a trading plan adopted by the reporting person in accordance with Rule 10b5-1 under the Securities Exchange Act of 1934, as amended.
3. The options vest in five equal annual installments on the first, second, third, fourth, and fifth anniversaries of the grant date (November 19, 2018).
4. The options vest approximately 50% on the third anniversary of the grant date (October 31, 2018) and 50% on the fourth anniversary of the grant date.
5. The options vest in five equal annual installments on the first, second, third, fourth, and fifth anniversaries of the grant date (February 19, 2019).
6. The options vest in five equal annual installments on the first, second, third, fourth, and fifth anniversaries of the grant date (February 20, 2018).
Matthew Moschner 08/12/2026
** Signature of Reporting Person Date
Reminder: Report on a separate line for each class of securities beneficially owned directly or indirectly.
* If the form is filed by more than one reporting person, see Instruction 4 (b)(v).
** Intentional misstatements or omissions of facts constitute Federal Criminal Violations See 18 U.S.C. 1001 and 15 U.S.C. 78ff(a).
Note: File three copies of this Form, one of which must be manually signed. If space is insufficient, see Instruction 6 for procedure.
Persons who respond to the collection of information contained in this form are not required to respond unless the form displays a currently valid OMB Number.