background image

4

Using 

Tool

FZ4 User's Manual

Using Custom Command

163

Reserved Word List

Initial

Character

Reserved Word

A

abs

A

AddGlobalData

A

AddSystemData

A

and

A

ApproximationCircle

A

asc

A

atn

B

BusyOut

C

Case

C

Catch

C

chr$

C

ClearMeasureData

C

close

C

cont

C

CopyMeasureImage

C

CopyUnitImage

C

cos

C

crspoint

D

date$

D

debug

D

dim

D

DisplaySubNo

D

Do

D

dposline

D

DrawArc

D

DrawArcW

D

DrawBox

D

DrawCircle

D

DrawCircleW

D

DrawCursor

D

DrawEllipse

D

DrawFigure

D

DrawFillImage

D

DrawJudgeText

D

DrawLine

D

DrawLineW

D

DrawMeasureImage

D

DrawPoint

D

DrawPolygon

D

DrawSearchFigure

D

DrawText

D

DrawTextG

D

DrawUnitImage

Acesst 1.0 6251194

Содержание FZ4 Series

Страница 1: ...User s Manual Cat No Z318 E1 02B Vision Sensor FZ4 Series...

Страница 2: ...he FZ4 Series must be operated by personnel knowledgeable in electrical engineering To ensure correct use please read this manual thoroughly to deepen your understanding of the product Please keep thi...

Страница 3: ...er System Initialization 27 Restarting Controller System Restart 27 Saving Settings and Turning Power Off 28 Turning Off LCD 28 Setting Operation Mode 30 Operation Mode Selection Guidelines 32 High sp...

Страница 4: ...wMeasurement Information Display Area 87 Changing Functions That Can Be Operatedfrom the RUN Window Tool Box 87 Useful Functions for Operation 88 Remeasuring Saved Images 88 Improving Adjustment Effic...

Страница 5: ...bout Data Saving 330 About Saving Areas 330 About USB Drive Names 330 Saving Settings Data to Controller Memory 332 When Using Scene Group 0 332 When Using Scene Groups 1 to 31 332 Saving Settings Dat...

Страница 6: ...ernet Non procedure 435 Setting Communication Specifications RS 232C 422 Non procedure 439 Checking Communication Status Non procedure 441 Command Format Non procedure 442 Command List Non procedure 4...

Страница 7: ...Select File Window 597 Using the Zoom Function 598 Setting Figures 600 Layout of Figure Setting Area 600 Setting Methods 601 About OR Setting NOT Setting 609 About Number of Logging Images 611 About...

Страница 8: ...l function The measurement flow control function is now supported Supported software version 4 20 or later Reference Processing Items List Manual Fieldbus Flow Control p 556 Reference Processing Items...

Страница 9: ...ce User s Manual Methods for Connecting and Communicating with External Devices p 359 EtherNet IP message communication function The EtherNet IP message communication function is now supported Support...

Страница 10: ...ied to the immunity test of this product If the level of disturbance of the video is such that characters on the monitor are readable the test is a pass This product complies with EC Directives EMC re...

Страница 11: ...erence Operation Flow p 10 Reference Layouts of Screens Windows p 11 Reference Checking System Configuration p 21 Reference Preparing Controllers and Cameras p 23 Reference Input Operations p 25 Refer...

Страница 12: ...1 Before Operation 10 Operation Flow FZ4 User s Manual Operation Flow Here describes the operation flow...

Страница 13: ...s vary with the status of the operation being performed The structure of some typical screens and the functions for the various buttons are described here Layout of Main Screen ADJUST Window This scre...

Страница 14: ...y Displays the scene group number scene number external output status and image mode for the currently displayed scene c Toolbar Commonly used functions appear in the toolbar Edit flow The Edit Flow w...

Страница 15: ...n be done by tapping here e Control Area Displays Test measurement Flow Detail result and Image display Test measurement Use when test measurement conditions and images that have been acquired are use...

Страница 16: ...pture Saves the content displayed on the monitor as an image Reference Set the save destination for captured images p 104 2 LCD Off Displayed only with LCD integrated controllers Turns off power to th...

Страница 17: ...esults for each processing unit are displayed in the Control area 2 Processing time Displays the time required for the measurement process 3 Scene Group Name Scene Name Displays the scene group number...

Страница 18: ...e processing unit buttons can be changed through View menu Display the enlarged flow in the ADJUST Window Detail result The detailed measurement results of the processing units selected in the measure...

Страница 19: ...f Edit Flow Window This window is for compiling the measurement flow Flow parts are displayed on the right side and the measurement flow is displayed on the left If the measurement trigger is activate...

Страница 20: ...tes the selected processing unit Append Bottom Adds a processing unit to the bottom of the flow Insert Inserts a new processing unit immediately before the selected processing unit Save unit This save...

Страница 21: ...and displayed as a tree Tapping the plus sign of any item displays expanded contents below that item Tapping the minus sign of any item collapses the expanded contents When Ref other Scene s flow is c...

Страница 22: ...s of Screens Windows FZ4 User s Manual with the item on the left b Detail Area Set detailed items c Image Display Area Displays camera images figures and coordinates d Zoom Browser Area Zooms in and o...

Страница 23: ...camera Controller integrated with LCD FZ4 60 FZ4 60 10 FZ4 H60 FZ4 H60 10 FZ4 70 FZ4 70 10 FZ4 H70 FZ4 H70 10 FZ4 110 FZ4 110 10 FZ4 H110 FZ4 H110 10 Box type Controller FZ4 L35 FZ4 L35 10 FZ4 65 FZ4...

Страница 24: ...ingle line high speed mode High speed logging mode Non stop adjustment mode and Multi line random trigger mode Reference Setting Operation Mode p 30 List of functions by model New function Type of con...

Страница 25: ...he lens 1 Tap of Image mode in Image display of the Main screen Control area and select Through The through images captured from the camera are viewed in the Image Display area Reference Changing Disp...

Страница 26: ...crucial importance to vision sensors If an intelligent camera is connected lighting can be controlled from the controller Features of intelligent cameras are as follows A single camera enables testing...

Страница 27: ...pen and immediately take it off Perform when selecting items etc Drag Draw while pressing on the screen lightly with the touch pen Important Be sure to use the supplied touch pen for touch screen oper...

Страница 28: ...ck Press the left mouse button once Perform when selecting items etc Note This document primarily describes operations using the term tapping When using a mouse or trackball read Tapping to mean Click...

Страница 29: ...itialization back up required data such as scene data and system data Reference Saving Settings Data to RAMDisk USB Device p 334 1 On the Main screen tap System Controller System initialization The Sy...

Страница 30: ...data saved in the RAMDisk are not saved Perform any of the following procedures to keep this data Copy data saved in the RAMDisk to the USB memory Reference Copying Moving Files p 338 Change the save...

Страница 31: ...g Settings and Turning Power Off 29 Power to the LCD is turned off Turning LCD On Again This function is specific to FZ4 600 700 1100 series LCD integrated controllers Tap the lower part of the monito...

Страница 32: ...lize the multi core CPU to set an operation mode appropriate for the condition of use This function is effective in improving the takt time and reducing the downtime For setting use Startup setting Re...

Страница 33: ...de 31 3 Tap and select a desired operation mode 4 Tap OK 5 On the Main screen ADJUST window tap Data save in the toolbar to save the setting data 6 On the Main screen tap System menu Controller System...

Страница 34: ...ge logging and image display The FZ4 11 H11 series performs processing using two CPUs with one CPU used exclusively for measurement and the other performing non measurement processing This ensures max...

Страница 35: ...mprove the takt time effectively by combining the applicable units using an ingenious processing flow Not supported Supported Processing item Parallel processing Processing item Parallel processing Pr...

Страница 36: ...ation Stripes Removal Filter Result Display Edge Position Stripes Removal Filter II Display Image File Edge Pitch Halation Cut Display Last NG Image Scan Edge Position Panorama Scan Edge Width Polar T...

Страница 37: ...multiple image input function cannot be used consider using Parallel operation High speed mode Reference About Multiple Image Input Function p 559 Presence of certain processing items such as Data Ou...

Страница 38: ...1 Before Operation 36 Setting Operation Mode FZ4 User s Manual 1 CPU 2 CPUs FZ4 11 H11 only...

Страница 39: ...line 0 and line 1 in response to inputs from different cameras Scene group data and scene data can be set separately for line 0 and line 1 You can switch the monitoring target between line 0 and line...

Страница 40: ...approximately by a time corresponding to the camera image input unit Error messages are the same If an error occurs on either line an error message is displayed If logging is performed for line 0 and...

Страница 41: ...t appears 4 Change each processing unit 5 Tap OK The setting window closes and the screen returns to the Main screen When changing judgement conditions for multiple processing units repeat steps Refer...

Страница 42: ...only are the only communication commands that are accepted during data transfer Data transfer takes a longer time when the scene group file size is larger If the RUN window is displayed in the fast v...

Страница 43: ...ene This chapter explains how to create and edit scenes Reference What Is a Scene p 42 Reference What Is a Scene Group p 46 Reference Creating a Scene p 47 Reference Processing Item Selection Guidelin...

Страница 44: ...such as using Scene 0 to inspect an ABC label and Scene 1 to inspect an XYZ label changing the set up can be performed smoothly just by changing the scene even when the measurement object and measurem...

Страница 45: ...2 Setting Scenes Measurement Flow FZ4 User s Manual What Is a Scene 43 Example Normal measurement Note The processing item Camera Image Input is set in processing unit 0 beforehand...

Страница 46: ...2 Setting Scenes Measurement Flow 44 What Is a Scene FZ4 User s Manual Example When adding Position Compensation for two measurement objects in the same field of view...

Страница 47: ...2 Setting Scenes Measurement Flow FZ4 User s Manual What Is a Scene 45 Example When judging type from the image and dividing later inspection conditions according to type branch processing...

Страница 48: ...oups can be set In other words 32 scenes x 32 scene groups 1 024 scenes which is the maximum number that can be used There are multiple USB ports on the controller but it is necessary to assign the dr...

Страница 49: ...cessing unit to a scene 1 Display the scene to edit on the Main screen Reference Switching Scenes and Scene Groups p 65 2 Tap Edit flow in Toolbar The Edit Flow window is displayed 3 Select a processi...

Страница 50: ...ocessing items that can be used is limited Reference About Limits on the Number of Image Input Processing Items Used p 612 6 Either tap the icon of the processing unit to be set or tap the Set button...

Страница 51: ...p 56 Selecting Measurement Processing Items Using a Chart Select processing items appropriate to the target using the chart Item References Performing position compensation for objects Reference Posi...

Страница 52: ...2 Setting Scenes Measurement Flow 50 Processing Item Selection Guidelines FZ4 User s Manual Position Compensation...

Страница 53: ...2 Setting Scenes Measurement Flow FZ4 User s Manual Processing Item Selection Guidelines 51 Locating Measurement Objects Not Inclined...

Страница 54: ...2 Setting Scenes Measurement Flow 52 Processing Item Selection Guidelines FZ4 User s Manual Locating Measurement Objects Inclined Internal and External Inspection...

Страница 55: ...2 Setting Scenes Measurement Flow FZ4 User s Manual Processing Item Selection Guidelines 53 Presence Inspection Dimension Inspection Measurement...

Страница 56: ...2 Setting Scenes Measurement Flow 54 Processing Item Selection Guidelines FZ4 User s Manual Burr Inspection Text Comparison Inspection...

Страница 57: ...2 Setting Scenes Measurement Flow FZ4 User s Manual Processing Item Selection Guidelines 55 Defect Contamination Inspection Quantity Inspection Measurement...

Страница 58: ...Items According to the Measurement Method and Purpose This section describes methods for selecting processing items appropriate to different measurement objectives such as counting quantities checkin...

Страница 59: ...Search p 93 Reference Processing Item List Manual Shape Search II p 128 Reference Processing Item List Manual Shape Search p 116 Label position detection Edge Position Effective for detecting whether...

Страница 60: ...ct Precise Defect FZ4 Hxxx series Effective for inspection for contamination or spots on plain backgrounds Reference Processing Item List Manual Defect p 290 Reference Processing Item List Manual Prec...

Страница 61: ...idth of measurement objects Edge Position Effective when measuring the width of measurement objects Reference Processing Item List Manual Edge Position p 151 Dimension inspection of finished products...

Страница 62: ...or exterior and direction Method objective References Interior exterior and orientation inspection through presence of markings Flexible Search Effective when there is variation in the size and positi...

Страница 63: ...r than those with plain backgrounds Reference Processing Item List Manual Fine Matching p 308 When not all characters and markings are the same Sensitive Search Effective when the difference between t...

Страница 64: ...t Manual Model Dictionary p 339 Reading barcodes Method objective References When reading barcodes Barcode FZ4 Hxxx series Effective when reading barcodes and outputting the information to an external...

Страница 65: ...s can be used to automatically select the processing unit at the top or bottom or above or below an arbitrarily selected processing unit in the unit list Specifying the position for a processing unit...

Страница 66: ...ted as a group Ref other Scene s flow Units of other scenes can be referred to and added to the current scene flow Selecting a scene to refer to displays the flow for that scene Note If a processing u...

Страница 67: ...be performed from external devices Reference Methods for Connecting and Communicating with External Devices p 359 Switching Scenes 1 Tap Scene switch in the toolbar on the Main screen The Switch Scene...

Страница 68: ...ve a scene group during switching is linked to the settings of the Measurement Setting window Reference Setting Conditions Related to Operation during Measurement p 344 3 Tap OK The scene group is swi...

Страница 69: ...rce scene to copy and then tap Copy 3 In the scene list tap the scene to which the copy is to be pasted and then tap Paste The confirmation window for overwriting is displayed 4 Tap Yes The copied sce...

Страница 70: ...cleared 5 Tap Close Renaming a Scene and Adding a Description Arbitrary descriptions can be added to each scene This is convenient for making settings more easily understandable when managing many sc...

Страница 71: ...et the name and a description Scene name and Author cannot be longer than 15 characters and Note cannot be longer than 255 characters and cannot be used alone as a Scene name Note When writing Note en...

Страница 72: ...performing this operation Copying a Scene Group 1 On the Main screen tap Scene Scene maintenance The Scene Maintenance window is displayed 2 Tap Edit The Scene Group Maintenance window is displayed 3...

Страница 73: ...cene maintenance The Scene Maintenance window is displayed 2 Tap Edit The Scene Group Maintenance window is displayed 3 Select the scene group to delete and tap Clear A confirmation message is display...

Страница 74: ...Measurement Flow 72 Editing Scene Groups FZ4 User s Manual 2 Set Scene group name 1 Tap for the Scene group name The soft keyboard is displayed 2 Enter a new name Use 15 characters or less to Input w...

Страница 75: ...methods for checking whether correct measurement can be performed at the set conditions and describes useful functions for operation Reference ADJUST Window and RUN Window p 74 Reference Performing Te...

Страница 76: ...ts are stable switch to the RUN window and perform measurement This section describes the ADJUST window and RUN window ADJUST Window RUN Window There are two types of RUN windows Normal mode and fast...

Страница 77: ...ode RUN Window When processing is taking a long time it is necessary to check processing items and setting values The time required for measurement is also displayed with the measurement results so us...

Страница 78: ...ntroller is turned on Reference Setting the Start up Status Startup Setting p 347 Lighting gradually gets darker if it is used for a long time so adjust judgement conditions periodically Without stopp...

Страница 79: ...re when the measurement results on the ADJUST window are also to be output Remove the check when test measurement for the device only is to be performed without results being output Continuous meas Pl...

Страница 80: ...images can be used in performing test measurement again Reference Logging Measurement Values and Measurement Images p 94 Important The measurement interval and display update interval will vary for co...

Страница 81: ...re cases in which high precision measurement is impossible such as when using images loaded from the camera that have noise irregularities or low contrast or when the background has patterns during de...

Страница 82: ...e The filtering items Extract vertical edges Extract horizontal edges and Extract edges are effective Extract vertical edges This extracts the vertical edges of an image Extract horizontal edges This...

Страница 83: ...sed Time after the processing unit for which time is to be measured 2 Execute measurement 3 After tapping the Detail result area tap the elapsed time processing unit where time is to be checked The el...

Страница 84: ...ontrol area tap of the Image layout menu and select the number of images to be displayed The camera image view in the Image Display area switches according to the selected contents There are the follo...

Страница 85: ...details of a certain image when four cameras are connected Thumbnail display is not available in the RUN window Fast view mode When using the thumbnail display in the ADJUST window the display will c...

Страница 86: ...ist for units after Position Compensation is displayed The units in the area before Position Compensation are not displayed Sub image Indicates displayable image for the selected processing item For i...

Страница 87: ...NG cannot be displayed Display Last NG Image fulfills a similar function as a processing item in which up to 4 NG error images can be saved If this processing item is used Last NG can be acquired wit...

Страница 88: ...ious status 2 When displaying both the flow and detailed results you can change the size of the Display area of the flow and detailed results by dragging Detail result Switching the RUN Window to Fast...

Страница 89: ...Mode window closes Changing Display Contents on the RUN Window Measurement Information Display Area The display contents on the RUN window measurement information display area can be changed Referenc...

Страница 90: ...be remeasured include images saved in the controller and images saved in USB memory 1 In the Control area of the Main screen tap Test measurement 2 Tap Select image The Select Image window is displaye...

Страница 91: ...amera is not connected measurement will not be performed correctly due to a memory deficiency Perform remeasurement after connecting a camera appropriate to the image size Improving Adjustment Efficie...

Страница 92: ...nual If OK is selected If NG is selected 3 Select the processing for the measured image For Adjust setting Tap the Adjust setting button For Move Image file Specify the save destination and tap OK Tap...

Страница 93: ...ustment mode Also it cannot be used in the ADJUST window or RUN window fast view mode If the Enter non stop adj button is not displayed the button can be added with the system controller RUN window sh...

Страница 94: ...trol area of the Main screen tap Quit simplified non stop adj The simplified non stop adjustment mode ends Note If Switch to ADJUST mode is tapped while entering simplified non stop adjustment the sim...

Страница 95: ...e registration region to change 4 Tap Move and input the value or tap the arrows to move the image Images can also be directly dragged and moved 5 Tap OK The change is registered Monitoring Measuremen...

Страница 96: ...NG error images identified by trend monitor judgement create settings so that overall judgements from processing units other than Trend Monitor are not included in judgement Logging Measurement Value...

Страница 97: ...ns for Operation 95 following kinds of adjustment Logging Current Image Save Last Logging Image This section explains the method for logging the latest input image being displayed 1 On the Main screen...

Страница 98: ...ion RAMDisk or USB memory 3 Edit the file name as required 4 Tap OK After the logging operation is complete the Save Last Logging Image window closes Setting Logging Conditions Logging Setting Set the...

Страница 99: ...he controller memory is cleared if the power is turned off again To keep images select Save to memory file and save images to USB memory etc Setting item Setting value Factory default Description Dest...

Страница 100: ...in the image logging saving conditions When the measurement takt time is short time lag may occur with writing from the controller memory to the RAMDisk or USBDisk and temporary absences of free capac...

Страница 101: ...ortant If a USB memory or a network drive is specified as the save destination the processing time may be longer or fluctuate Be sure to check it thoroughly before starting an operation When image log...

Страница 102: ...mages and the resolution of the connected number of the camera The number of images that can be saved on the RAMDisk or USBDisk depends on free capacity If RAMDisk is selected this depends on the RAMD...

Страница 103: ...to process and analyze data For example the optimum threshold value can be calculated Comparing Logging Data and Logging Images Compare image and measurement data to confirm correctness and to make a...

Страница 104: ...asurement ID Clearing Measurement Results Clears all of the currently displayed scenes This function sets the expression which calculates the measurement count and is convenient when that count is to...

Страница 105: ...he bottom right of the Main screen and tap Capture Note The same operation can also be performed by tapping the System menu Screen capture Screen capture When capture is performed from the measurement...

Страница 106: ...tion Log Functions Setting the operation log This function automatically saves the contents of controller operations and setting changes as a unique file delimited with semicolons Setting content chan...

Страница 107: ...ration log file name is the date and time at which the operation log was started the log extension Example 2012 09 29_12 39 04 log When operating in 2 line random trigger mode set a save destination f...

Страница 108: ...ap the Measure menu Operation log Operation log state The current operation log status is displayed To change the current operation log status tap either Start or Stop To close the window tap Cancel S...

Страница 109: ...erforming Test Measurement Starting Operation FZ4 User s Manual Useful Functions for Operation 107 2 On the Main screen tap Data Save to file The Save to File window is displayed 3 Tap the Copy files...

Страница 110: ...3 Performing Test Measurement Starting Operation 108 Useful Functions for Operation FZ4 User s Manual 4 Select Select folder then tap and specify the folder 5 Select the operation log log...

Страница 111: ...urement Starting Operation FZ4 User s Manual Useful Functions for Operation 109 6 Specify the destination 7 Tap OK For details on operation logs see Operation log format in the Appendix Reference Oper...

Страница 112: ...3 Performing Test Measurement Starting Operation 110 Useful Functions for Operation FZ4 User s Manual...

Страница 113: ...er Data Tool p 119 Reference Outputting a List of Scene Data Setting Values p 122 Reference Saving Image Files to RAMDisk USB Device p 129 Reference Using Registered Image Administration Tool p 132 Re...

Страница 114: ...e controller menu This tool which analyzes setting flows is used mainly in 2 ways Adjustment of measurement setting values during start up Use sample work images to analyze optimal setting values for...

Страница 115: ...ens a Analysis result display area 1 List of units A list of units currently set is shown together with analysis results 2 Details of unit Detailed analysis results of each unit are shown 3 Details of...

Страница 116: ...e number to be displayed in the image display area Images can be displayed by directly tapping the analysis result window b Control area 1 Target Sets images to be measured 2 Standard image Sets the i...

Страница 117: ...ant to judge NG The applicable file types are IFZ BYR and BMP Do not input external commands or STEP signals while the NG analyser is running excluding during non stop adjustment 1 On the Main screen...

Страница 118: ...the folder are measured in batch 5 Measurement results are displayed The results in the OK folder are shown first followed by the results in the NG folder Green indicates OK while red indicates NG Adj...

Страница 119: ...check the details of values further tap Details of data 8 Adjust the processing item by referring to the displayed content In the following example Correlation values are clearly lower on some screens...

Страница 120: ...ecute batch measurement to confirm that no images are falsely judged If there are still falsely judged images repeat the same procedure until a re measurement finds no falsely judged images Note OK NG...

Страница 121: ...ed beyond the lines The data variables created are stored to the user data region on the controller Use the User data tool to edit data specify initial values and enter data description comments Use t...

Страница 122: ...Specify the initial value for the data Item Setting value Factory default Description Data 999999999 9999 to 999999999 9999 0 000 Set the specified user data value 4 Enter the comment for the data Th...

Страница 123: ...tting value Factory default Description Comment Up to 64 characters Space Set the comment for the specified user data 5 Repeat steps 2 to 4 and set the user data 6 To stop the user data tool tap OK 7...

Страница 124: ...different setting values of multiple scene data can be easily checked by opening the CSV files in editor Only Get Set data can be downloaded With the setting values upload function a CSV file of whic...

Страница 125: ...4 Using Tool FZ4 User s Manual Outputting a List of Scene Data Setting Values 123 5 Select the scene with the setting values to be downloaded 6 Tap...

Страница 126: ...file name and tap OK 8 Tap OK The data will be saved to the save location About Downloaded CSV Files The character code of the downloaded CSV file is Unicode UTF 8 The file can be opened with Windows...

Страница 127: ...limit of the rotation angle 180 startAngle Lower limit of the rotation angle 180 angleSkip Skipping angle 5 smartMode Smart mode 1 stability Stab CR 12 accuracy Prec 2 searchSpeed Stab SH 3 reference...

Страница 128: ...er Downloading Setting Values 1 Switch to the scene group that contains the scene with the setting values to be uploaded 2 When reading from USB memory plug a USB memory device into the controller 3 O...

Страница 129: ...a List of Scene Data Setting Values 127 6 Tap Important To upload the file set the character code to Unicode UTF 8 with Windows notepad etc then save the file in CSV format 7 Specify the folder and th...

Страница 130: ...han the scene data to be loaded is uploaded the parts that do not exist in the CSV file will not change Example In such a case the processing item for Unit 3 will be changed from Camera image input to...

Страница 131: ...Image file save The image file save window is displayed 3 Tap Logging image and select the logging image to save Setting item Setting value Factory default Description Data to be saved All logging im...

Страница 132: ...played 3 Tap Image files and select the image file to save Setting item Setting value Factory default Description Select file Select folder Saves multiple files in a folder Tap and specify the source...

Страница 133: ...ription Folder name Specify the save destination folder name Format Bitmap Jpeg Select the image format to be saved Quarity 0 to 100 100 Set the quality when the image is to be saved in Jpeg format 6...

Страница 134: ...files in USB memory Changing it makes it impossible to read the files Registering Image This section describes how to register load or delete a image Registering Images Register images as follows The...

Страница 135: ...ave Image File This registers an existing image file 6 Tap Registration In Step 3 if you have selected a number that has been assigned to an existing image the screen that prompts you to confirm wheth...

Страница 136: ...elete Note When more than one image is included in the registration images tap the or symbol under the preview window as necessary to move forward or back to the desired image 4 Tap Delete The screen...

Страница 137: ...stered Image Administration Tool screen is displayed 2 Select an index number of the reference image to load Note When more than one image is included in the registration images tap the or symbol unde...

Страница 138: ...operators actually using the system etc It is also possible to link with the operation log and get operation records for currently logged in users Setting Accounts Account List This explains how to a...

Страница 139: ...ce Setting User Group Operation Restrictions p 141 Password Enter the login password for the user being added The password for the new user must have 1 or more characters The password for a transferre...

Страница 140: ...for 4 Tap Change group or Change password 5 Change the affiliated group or password 6 Tap OK The user information is changed Deleting an account Delete a user account as follows 1 On the Main screen t...

Страница 141: ...ged out when no operation is performed as follows 1 On the Main screen tap the Tool menu Security Settings The security settings window is displayed 2 Tap Account list in the item tab area 3 In the No...

Страница 142: ...e Switch to RUN mode ADJUST Control area Display Control area display Panel click ADJUST Test measurement Display Test Measure setting display Panel click ADJUST flow Display Flow display Panel click...

Страница 143: ...can be restricted are as follows Security setting items ADJUST Window RUN Other Menu bar Other Edit flow Scene Edit flow Edit Flow buttons Scene switch Scene Scene switch Scene switch button Tool box...

Страница 144: ...Image selection Test measure setting panel Image selection Display Image selection Next image Test measure setting panel Display Image selection Previous image Test measure setting panel Zoom images D...

Страница 145: ...SMAC CS CJ CP One System Communication PLC Link SYSMAC CS CJ CP One Ethernet PLC Link MELSEC QnU Q QnAS System Communication Ethernet PLC Link MELSEC QnU Q QnAS RS 232C 422 Normal System Communication...

Страница 146: ...analyser User Data Tool Tool User data tool Settings download and upload tools Tool Settings download and upload tools Image file save Tool Image file save Customize I O command Tool Customize I O co...

Страница 147: ...unt Functions 145 2 In the item tab area tap Operating restrictions 3 Check the operations to be restricted Operations that are not checked are not restricted 4 Check the operations to be permitted in...

Страница 148: ...ry device until transfer is completed Data and or the USB memory may corrupt Timing for saving in controller Data is only saved to the Controller when the security setting window is closed with the Cl...

Страница 149: ...ntents of security settings Load the saved user account and user group settings into the controller as follows 1 If the settings were stored to USB memory insert the USB memory containing the security...

Страница 150: ...llowing message is displayed User info logging in was changed now Please log in again 4 Tap OK The login window is displayed Enter the default user password Administrator If the login window is cancel...

Страница 151: ...149 3 In the Item Tab area tap Setting Data 4 Tap Execution The After the migration is finished saved console OK confirmation message is displayed 5 Tap Yes The old security settings are changed 6 Ta...

Страница 152: ...use In that case log in with a user account that does have the right to execute that operation Logging in When you log in you can execute those operations that the user account you logged into has th...

Страница 153: ...matic logout time is set when you do not perform any operations at all for the set time period you are automatically logged out 1 Tap Login Icon in the Measurement Information Display area The login w...

Страница 154: ...st 1 Paste The selected command is overwritten by the copied information Paste targets are comments and processing details If nothing is copied this is disabled 2 Clear The information of selected com...

Страница 155: ...leased MeasureStart Afterwards a MeasureInit event is raised 14 Export Export the macro program to file 15 Import Import the macro program from file The existing data will be overwritten 2 Select the...

Страница 156: ...value for selected parameter directly This is enabled when Free input is selected on Type of parameter input 3 Variable Select the variable for selected parameter This is enabled when Variable is sele...

Страница 157: ...Body of the procedure 3 Output the result or response The way of input output command parameters and response depends on the type of IO modules For detail please refer the pages shown below Reference...

Страница 158: ...ined as the table below and we intend to call procedure of CMD0 from CMD1 Command No Command name Busy Function name 0 CMD0 False FUNC0 1 CMD1 True FUNC1 the codes for CMD1 should be like this Gosub F...

Страница 159: ...ng type ArgmentString 2 param2 String type ArgmentValue 0 numeric value converted from param0 0 when conversion failed ArgmentValue 1 numeric value converted from param1 0 when conversion failed Argme...

Страница 160: ...lue on these variables Variable name Type Content ResponseValue Array of Integers Output data ResponseCode Array of real numbers Command execution result 0 Command processing successful 1 Command proc...

Страница 161: ...calculation includes four fundamental calculation index calculation and getting remainder calculation Following is various kinds of calculation Arithmetic Calculation Calculation Content Example Math...

Страница 162: ...nus 5 Multiplication or Division 6 Mod Calculation Mod 7 Addition or Subtraction 8 Relative Calculation and so on 9 Not 10 And 11 Or 12 Xor Character Only when English lowercase letter of character co...

Страница 163: ...le integer is converted into double When doing logic calculation all digits are operated as integer and the result is integer When division calculation between integer the result will be to round up t...

Страница 164: ...expression use not calculation logic or logic and and xor calculation to calculate logically To designated value parameter repeat to define calculation let the result to return this kind of code is c...

Страница 165: ...atch C chr C ClearMeasureData C close C cont C CopyMeasureImage C CopyUnitImage C cos C crspoint D date D debug D dim D DisplaySubNo D Do D dposline D DrawArc D DrawArcW D DrawBox D DrawCircle D DrawC...

Страница 166: ...E ExecuteImageLogging E exit do E exit for E exp F fcopy F fix F For G GetAll G GetGlobalData G GetImageSize G GetImageWindow G GetPort G GetSystemData G GetUnitData G GetUnitFigure G gosub G goto H h...

Страница 167: ...iece P print P print P PutAll P PutPort R ReceiveData R rem R RenumUnitNo R RGB R right R rmdir R RunOut S Select S SendData S SendString S SetDrawStyle S SetGlobalData S SetImageWindow S SetMeasureIm...

Страница 168: ...make a descriptive record of command treatment and function description Unexecutable statement that make a descriptive record of annotation and so on that not deal with Label that define branch targe...

Страница 169: ...Example Variable A and variable a is the same Both of them are considered as uppercase Variable Type It can be divided into integral variable double variable and string variable After variable name p...

Страница 170: ...length space The capacity of fix length space is 8KB It can save integer and double variable The capacity of variable length space is no limited memory permit it can store string and array variable W...

Страница 171: ...macro program execution of macro subroutine will be automatically terminated However the rest of the system for example measurement flow continues working Check error information Error information is...

Страница 172: ...SELECT without END SELECT 124 CASE without END SELECT 125 ELSEIF without IF 126 ELSE without IF 127 ENDIF without IF 128 IF without ENDIF 129 ELSEIF without ENDIF 130 ELSE without ENDIF 135 DO without...

Страница 173: ...statement corresponding if statement Illegal function call Parameters for command or function is out of acceptable range Or problem happened on execution of command Check the calling format and descri...

Страница 174: ...d Do Loop While Reference Details p 201 Free the array variable memory region that was defined by the Dim command Erase Reference Details p 203 Gets the Error occurrence commands during exception hand...

Страница 175: ...ence Details p 278 Gets the square root Sqr Function Reference Details p 279 Gets the tangent of the specified expression Tan Function Reference Details p 283 Gets the exclusive disjunction exclusive...

Страница 176: ...GetMeasureOut Function Reference Details p 213 Update image ImageUpdate Reference Details p 223 Permit the measurement execution MeasureStart Reference Details p 239 Forbid the measurement execution...

Страница 177: ...oad the System Scene group data LoadBackupData Reference Details p 235 Load the Scene group data LoadSceneGroup Reference Details p 236 Load the scene data LoadScene Reference Details p 235 Load the S...

Страница 178: ...itle Function Reference Details p 264 Set the scene group title name SetSceneGroupTitle Reference Details p 273 Flow control Function Command name References Register a processing unit AssignUnit Refe...

Страница 179: ...erence Details p 243 Writes data macro console Print Reference Details p 249 Stops the execution of the program Stop Reference Details p 280 Others Function Command name References Reads in the date f...

Страница 180: ...lock Date Function Others Reference Details p 197 Sets the debugging mode Debug Debug command Reference Details p 198 Delete the processing unit DeleteUnit Flow control Reference Details p 199 Definit...

Страница 181: ...ol processing unit Reference Details p 222 Update image ImageUpdate Measurement control Reference Details p 223 Reads in the specified number of bytes of binary data Input Function File control Refere...

Страница 182: ...thmetic calculation Reference Details p 247 Fetches the specified part separated by the specified character from the character string Piece Function String operation Reference Details p 247 Output dat...

Страница 183: ...data SetGlobalData Control global data Reference Details p 269 Set the attribute of the image window SetImageWindow Display control Reference Details p 270 Set the output mode of the measurement resu...

Страница 184: ...g unit Reference Details p 289 Gets the processing item ident name of processing unit UnitItemIdent Function Control processing unit Reference Details p 289 Gets the judgement value of the processing...

Страница 185: ...X2 200 Y2 100 DX Abs X1 X2 DY Abs Y1 Y2 The results are as follows DX 100 DY 100 Adds global data AddGlobalData dataIdent data Parameters dataIdent Data ident that is to be add data Data to be add Ret...

Страница 186: ...r set data AddSystemData Logging LogingCount 20 Get the logical product AND of 2 specified expressions expression1 And expression2 Parameters expression1 The expression integer type that requests the...

Страница 187: ...oordinate of approximate circle centerY Y coordinate of approximate circle radius radius of approximate circle Return Value None Description Calculate approximate circle from multiple coordinates coun...

Страница 188: ...ter code of the specified character Character code is ASCII Description The character code of the head character of the of the character string specified by Character String is returned in decimal The...

Страница 189: ...Unit unitNo Ident Get the arc tangent of the expression specified Atn expression Parameters expression The expression that gets the arc tangent integer type or double precision type real numbers Retur...

Страница 190: ...le that executes send processing is specified in argument ioIdent The content of operation depends on the specification of the I O module Example Output BUSY ON to Parallel interface BusyOut ParallelI...

Страница 191: ...o scene group 10 ChangeSceneGroup 10 0 Check a registration state of the processing unit CheckUnit unitNo Parameters unitNo Unit number to check integer type Return Value Returns the value of the inte...

Страница 192: ...output by inputting the corresponding value is possible For example if Chr 13 is used CR ctrl M is output There is the reverse function asc in relation to Chr and the character code that corresponds...

Страница 193: ...scene clear for the scene Clear the title of the scene Delete all processing units in the scene When clear the current scene the screen display is cleared Cannot clear the scene number that is bigger...

Страница 194: ...later Open command for I O processing of other files In addition files that have been freed from the File No specified by Close can be opened again using the same File No Multiple files can be closed...

Страница 195: ...llowing prompt will be displayed to the macro console MACRO While the prompt shown above is displayed it is possible to directly input Macro Commands Example MACRO Print A ENT When the Cont command is...

Страница 196: ...rk memory capacity that only copy it becomes error Illegal function call Example Copy scene group 0 to scene group 1 CopySceneGroup 0 1 Copy the processing unit CopyUnit srcSceneNo srcUnitNo destUnitN...

Страница 197: ...cessing unit number integer type destFigureNo The copy destination figure number integer type Return Value None Description Copy the processing unit figure data Example Copy the domain graphic data 0...

Страница 198: ...he specified expression This is returned as a numeric value within the range of 1 to 1 Description Specify the angle in the Expression as a radian In the case of angle notation X degrees it is necessa...

Страница 199: ...rs are the same type of array that is gotten using the Lsqumeth command to get Line Components This is mainly used to get the intersection of lines gotten by the Lsqumeth command Reference Lsqumeth co...

Страница 200: ...Date Time Example Read in the date from the internal clock and output it to the macro console TODAY Date print 20 TODAY This is output as described below 2011 03 10 Sets the debugging mode Debug Mode...

Страница 201: ...rray Variable Name Maximum Value of Subscript Maximum Value of Subscript Maximum Value of Subscript Maximum Value of Subscript Parameters Array Variable Name Variable name to be used as the array Arra...

Страница 202: ...fined arrays are freed using the Erase command When a declared existing array is re defined without freeing it the array defined the most recently will be valid In this case the array defined before w...

Страница 203: ...on logical expressions and Boolean values Reference Calculation p 159 The Exit Do command is used to forcefully exit the Do Loop While command Control is moved from outside the Do block to within usin...

Страница 204: ...Get the variance and deviation with respect to the straight lines gotten from the 4 points Please refer to the Lsqumeth command for the method of determining a straight line Dim POSX 3 POSY 3 PARM 2...

Страница 205: ...r of the file opened by the Open command Return Value Returns the value of the integer The content of the value is as listed below 0 The end of the file has not been reached 1 The end of the file has...

Страница 206: ...0 ARRAY2 200 ARRAY3 300 Erase ARRAY1 ARRAY2 ARRAY3 Gets the Error occurrence commands during exception handling Errcmnd Parameters None Return Value Returns the value of the character string The conte...

Страница 207: ...ND Print Then Close Print Writing failed Endif End try Return Gets the error class during exception handling Errno Parameters None Return Value Returns the value of the integer The content of the valu...

Страница 208: ...IF without ENDIF 129 ELSEIF without ENDIF 130 ELSE without ENDIF 135 DO without LOOP 136 LOOP without DO 140 EXIT without FOR 141 EXIT without DO This is used between the catch end try of try catch e...

Страница 209: ...Expression The expression that gets the exponential value integer type or double precision type Return Value Return double precision type value The return value is the value of mathematical constant...

Страница 210: ...n no file exists it is created When the File Name for the copy destination has been omitted when only the directory name and path have been specified it is copied using the same name as the original f...

Страница 211: ...int function returns 8 and the Fix function returns 7 Example Truncate the measurement results after the radix point and output them NUMBER1 Fix 9 7 NUMBER2 Fix 9 7 NUMBER3 Fix 9 2 The results are as...

Страница 212: ...mand is executed to forcefully exit the loop while the For To Step Next is executing Control is moved from outside the For block to within using the Goto command etc Moving control from inside the blo...

Страница 213: ...element of array variable is available The acquired data is stored in the variable specified after it converts into the type of the specified variable Example Gets the value of global data GsetData G...

Страница 214: ...be displayed integer type magnification Display magnification Real number type originX Upper left X coordinate of a display image relative to the window upper left coordinate integer type originY Upp...

Страница 215: ...cription Gets measurement and the Output presence If an acquisition value carries out the serial data output in the case of 0 the data are not output to the outside If an acquisition value carries out...

Страница 216: ...ber of bytes The data is variable in output data The value that an size can appoint is 2 4 8 byte The data acquisition is each carried out for 2 bytes integer 4 byte integer 8 byte real number Appoint...

Страница 217: ...t of IO modules p 299 Example If DI3 is ON carry out processing pno3 GetPort ParallelIo 3 If pno3 1 Then Carry out processing Endif Gets system data GetSystemData dataIdent0 dataIdent1 data Parameters...

Страница 218: ...1 Window indication Return Value None Description Gets information about the text Display window setting Example Acquire the setting of the text indication window and in the case of non indication a...

Страница 219: ...unitNo figureNo figure Parameters unitNo Processing unit number figureNo The figure number to be set figure The figure data to be set Return Value None Description The integer type array variable of o...

Страница 220: ...n After processing has been moved to the specified subroutine it is returned using the Return command and the processing is moved to the next line after the line the Gosub command had moved processing...

Страница 221: ...ters Expression The expression to be converted to a character string integer Return Value Returns the value of the character type string The content of the value is the character string which converts...

Страница 222: ...value is true not 0 either the statement below the Then statement is executed or the processing is moved to the line specified by the Label Refer to Calculation for details on logical expressions and...

Страница 223: ...n accordance with the Logical Expression If the condition of the Logical Expression after If is true other than 0 the Then statement within the block right after it is executed Refer to Calculation fo...

Страница 224: ...for processing integer type Return Value Returns the value of the integer The content of the value is the processing unit figure format of the specified image 0Binary image 1Monochrome image 2RGB colo...

Страница 225: ...it use it Camera Image Input Color Gray Filter Serch Make the input image from a camera ImageUpdate Serch Serch Reads in the specified number of bytes of binary data Input No of Characters File No Pa...

Страница 226: ...nd assigns it to a variable Input File No Variable Variable Parameters File No The file number integer of the file with the data to be read in Variable The variable that will store the value that is r...

Страница 227: ...urn Value None Description Insert a processing item appointed with a itemIdent in the position appointed with an unitNo Example Between processing unit number 2 and processing unit number 3 insert a s...

Страница 228: ...nd the Fix function returns 7 Example Truncate the measurement results after the radix point and output them NUMBER1 Int 9 7 NUMBER2 Int 9 7 NUMBER3 Int 9 2 The results are as follows NUMBER1 9 NUMBER...

Страница 229: ...ems Example Acquire the number of the available processing items and search a search processing item and acquire graphic data biggest number information of the search processing item Gets the number o...

Страница 230: ...To Inum 1 If ItemIdent I Search Then Goto GetInfo Endif Next GetInfo Gets graphic data biggest number information of the search processing item figMax ItemInfo I 4 Gets the information of the process...

Страница 231: ...ent I Search Then Goto GetInfo Endif Next GetInfo Gets graphic data biggest number information of the search processing item figMax ItemInfo I 4 Gets a title name of the processing item ItemTitle item...

Страница 232: ...dgement result to be set integer type Return Value None Description Identification name string of I O module that executes send processing is specified in argument ioIdent The content of operation dep...

Страница 233: ...n does not exist The desk drive is not connected Example Delete file 1280 720 bmp in Drive C Kill C 1280 720 bmp Convert the capital letter into a small letter LCase character Parameters character Con...

Страница 234: ...ct from the character string in Length of Characters Specify the number of bytes in the range from 1 to the number of bytes eligible for extraction in the character string When the Length of Character...

Страница 235: ...iption Reads data that exists within the line separated by the line feed code and assigns it to a character Variable Character Variable is less than 255 characters which includes strings such as space...

Страница 236: ...the entire Macro Program that is currently loaded List Loads the Program into the Controller memory Load File Name Parameters File Name The program file name of the file to be loaded character string...

Страница 237: ...ample Carry out Data save after load the system scene group data LoadBackupData C BACKDIR BackupData bkd Carry out the Data save SaveData Load the scene data LoadScene sceneNo filename Parameters scen...

Страница 238: ...data The file name include a pass Example Change scene data to scene 0 after reading in scene group 2 LoadSceneGroup 2 C BACKDIR scenegroup02 sgp ChangeScene 0 Load the System data LoadSystemData file...

Страница 239: ...position appointed with a unitNo only the number of unitCount reads processing unit data When appoint 1 in a sceneNo load it in the current scene When appoint 1 in an unitCount load all processing un...

Страница 240: ...inate Y coordinate array of the point for calculating the approximate line double precision array Straight Line Component Approximate straight line parameter double precision array Return Value None D...

Страница 241: ...timing mode character type 0 Come back immediately without waiting until the measurement end 1 Wait until the measurement end and come back 2 Wait until a measurement and the end of the measurement r...

Страница 242: ...fter this command practice do not accept input of the measurement trigger It is necessary to execute MeasureStart command to accept the measurement trigger again When an apple is omitted assume it 0 E...

Страница 243: ...s greater than the No of Characters to the right of the Starting Position the entire character string to the right of Starting Position is extracted Example INPUTSTR ABCDEFG OUTPUTSTR1 Mid INPUTSTR 2...

Страница 244: ...2147483647 for Expression 1 and Expression 2 When the values of Expression 1 and Expression 2 are double precision type the fractional part is handled as a rounded value Example Run a counter between...

Страница 245: ...clears all variables other than the reserved variables Execute this command via control communication method This command works incorrectly if it is implemented in the Macro program Example Delete th...

Страница 246: ...branches to the subroutine Label that corresponds to the value given in Expression When the value given by the Expression is 1 branching is done to the location specified by the 1st Label When it is...

Страница 247: ...abel Return Value None Description The flow of the program processing moves to the Label that corresponds to the value given in Expression When the value given by the Expression is 1 branching is done...

Страница 248: ...ta has been completed the Close command is used to close the file Specify the following values in I O mode Input When data is to be read in from the file Output When data is to be written to the file...

Страница 249: ...n also be used in an If statement as an Or condition Refer to Calculation for details on logical expressions Reference Calculation p 159 Values from 2147483648 to 2147483647 can be specified for Expre...

Страница 250: ...ring is returned Specify a number of 1 or more in Starting No and Ending No When the Starting No is greater than the Ending No the Null string is returned When the Ending No exceeds the numerical rang...

Страница 251: ...macro console When the Expression is delimited with commas it is output delimited by tabs When the Expression is delimited with semicolons it is output after what was output immediately before When th...

Страница 252: ...lel I Os data 1 PutAll ParallelIo data Output terminal a point output PutPort ioIdent portNo state Parameters ioIdent Identification name string of I O module that executes send processing portNo Port...

Страница 253: ...event set by a system is a notice of connection 100 at the time of the remote control 2 events of the notice of cancellation 200 now the parameter is unused It is necessary to handle the event number...

Страница 254: ...began to read Example Begin to read data for 10ch from 4ch of the DM area of the OMRON PLC Gets the 20 integer type data from read data Dim readData 30 Dim getData 20 Begin to read data from PLC Read...

Страница 255: ...e only with the type What data you specify is according to the specification of the I O module Example Receive up to 10 bytes of data from the serial Dim data 256 ReceiveData SerialNormal data 10 size...

Страница 256: ...ication of the text display window RefreshTextWindow Parameters None Return Value None Description Update the indication of the text display window Example Update the indication of the text display wi...

Страница 257: ...am s execution in any way All of the characters and symbols specified in the comment statement are handled as comments A single quotation mark expresses a comment statement the same as a Rem statement...

Страница 258: ...cified character string length from the right of the character string Right Character String No of Characters Parameters Character String The Character String that will be extracted character type No...

Страница 259: ...ue None Description Always specify an absolute path with the drive name included for the Directory Path Name The directory will not be deleted in the cases stated below The directory specified for del...

Страница 260: ...l of the parallel interface RunOut ParallelIo 1 Save the System Scene group data SaveBackupData fileName Parameters filename File name character type Return Value None Description Save system data and...

Страница 261: ...n Value None Description Save the image data Save the image specified by the operand preImage under the name specified by the operand filename Please specify operand filename with a password If 1 is s...

Страница 262: ...SaveSceneGroup sceneGroupNo filename Parameters sceneGroupNo Save scene group number integer type filename File name character type Return Value None Description Save scene group by a name appointed...

Страница 263: ...scene number integer type unitNo Start processing unit number integer type unitCount Number of the preservation processing units integer type filename File name character type Return Value None Descri...

Страница 264: ...ation of the scene SceneDescription sceneNo Parameters sceneNo Scene number integer type Return Value Returns the value of the character type The content of the value is explanation of the scene Descr...

Страница 265: ...upCount 1 Example Gets the number of effective scene groups groupCount SceneGroupCount Gets the current scene group number SceneGroupNo Parameters None Return Value Returns the value of the integer ty...

Страница 266: ...he scene group title name Set a scene group title if unestablished If SceneGroupTitle 1 Then SetSceneGroupTitle 1 Group name Endif Gets the scene creator name SceneMaker sceneNo Parameters sceneNo sce...

Страница 267: ...scene number Example If current scene number is not 2 change it to scene 2 NO SceneNo If NO 2 Then ChangeScene 2 Endif Gets the scene title name SceneTitle sceneNo Parameters sceneNo Scene number int...

Страница 268: ...inted with an filename Capture is capture of the screenfuls The file name include a pass When already appoint an existing file name it is overwritten Example Output the capture of the screen to a file...

Страница 269: ...be omitted The End Select statement can be omitted When multiple expression results exist that match the Case statement Value only the first Case statement from among them is executed Moving control...

Страница 270: ...on integer type array variable do not specify it with the number of element like X but like only with the type Example Send a string using serial interface Dim sData 2 sData 0 2 sData 1 8 SendData Ser...

Страница 271: ...e processing unit number of image text window Example If display unit number is 1 set processing unit number 2 in display unit number If DisplayUnitNo 1 Then SetDisplayUnitNo 2 Endif Sets global data...

Страница 272: ...the window upper left coordinate integer type originY Upper left X coordinate of a display image relative to the window upper left coordinate integer type update Update timing integer type 0 Every me...

Страница 273: ...serial data output in the flow is carried out When I set an output mode to 1 the data are output to the outside if the serial data output in the flow is carried out Example Turn on an output mode SetM...

Страница 274: ...data of the character string type appoint the character string head to set in size and the character string that added NULL to the end is set for character string from the top of the character string...

Страница 275: ...n 1 Endif Set the scene group title name SetSceneGroupTitle sceneGroupNo sceneGroupTitle Parameters sceneGroupNo Scene group number integer type sceneGroupTitle title name character type Return Value...

Страница 276: ...Endif Set the scene title name SetSceneTitle sceneNo sceneTitle Parameters sceneNo Scene number integer type sceneTitle title name character type Return Value None Description The number of the scene...

Страница 277: ...Measure captureDirectory dirName Set the attribute of the Text Window SetTextWindow unitNo subNo update visible Parameters unitNo Processing unit number integer type subNo Sub number to be displayed i...

Страница 278: ...earch processing unit processing unit number 2 SetUnitData 2 103 1 or SetUnitData 2 overallJudge 1 Notes It is forbidden to modify parameters of image input category units from MeasureProc Sets proces...

Страница 279: ...s the judgement result of the relevant processing unit The processing unit number to be set is specified for the argument unitNo To the argument judge as a judgment result of the setting The following...

Страница 280: ...of the specified expression Sin Expression Parameters Expression The expression that gets the sine integer type or double precision type Return Value Returns the value of the double precision type num...

Страница 281: ...fetched Description Get the square root of the specified expression The value of the Expression must be 0 or a positive number Specify either an integer type or double precision type real number in th...

Страница 282: ...ng of the ms that TIME Stops the execution of the program Stop Parameters None Return Value None Description Stops the execution of the program The Stop statement can be used anywhere within the progr...

Страница 283: ...to Str where the character string of the number is converted to a numeric value Example Convert the measurement results of each processing unit to character strings A 10 B 11 Print Str A Str B The re...

Страница 284: ...of negative values it becomes the minimum value Example In the case where 2 is specified for the Integer Part and 0 is specified for the Fractional Part If the Expression is 179 099 then it becomes 9...

Страница 285: ...eft Date 2 STARTDAY Then SystemReset Endif Return Gets the tangent of the specified expression Tan Expression Parameters Expression The expression that gets the tangent integer type or double precisio...

Страница 286: ...the time from the internal clock is given as Hour HH Minute MM and Second SS separated by colons The range of the time returned is as follows Hour HH 00 23 Minute MM 00 59 Second SS 00 59 Description...

Страница 287: ...the amount of time that has elapsed after StartTimer function is called Example By on the store which can be an element of real array real variable the return value of this function passed to the firs...

Страница 288: ...as the Goto statement is not possible The kind of error which occurs between Catch End Try can be identified by using the Errno command The command which generated the error between Catch End Try can...

Страница 289: ...alue of the integer type The content of the value is enrollment number of the processing unit Description Gets the enrollment number of processing unit from the current flow Example Add the search uni...

Страница 290: ...mber 5 serrch UnitData 5 6 or serrch UnitData 5 X Gets processing unit data character string UnitData unitNo dataNo dataIdent Parameters unitNo Processing unit number integer type dataNo Data number i...

Страница 291: ...e of control data struct 4 The maximum of figure data 5 The maximum of model data 6 The maximum of image data 7 The maximum of inner processing unit 8 Whether camera setting is effective or not 9 Whet...

Страница 292: ...dif Next proc Gets the judgement value of the processing unit UnitJudge unitNo Parameters unitNo Processing unit number integer type Return Value 0 No judgement not yet measured 1 Judgement result OK...

Страница 293: ...g unit that is registered in the flow Gets the number of registration of a processing unit Inum UnitCount Registration number which loops For I 0 To Inum 1 title UnitTitle I Output to a file unit numb...

Страница 294: ...er string specified for Character String the characters up to that character will be converted to numeric values When there is no 0 to 9 at the head of the Character String the value returned will be...

Страница 295: ...in Subroutine EXPB however the variable content will be used in EXPB Varpush Varpop saving returning so there will be no arbitrary rewriting of the variable content Gosub EXPB Print A B C D E The cont...

Страница 296: ...and maintainability of a large program can be enhanced through the use of internal variables If the variables fit within a row 255 characters as many as desired can be saved at one time Saved variabl...

Страница 297: ...Varpush Varpop saving returning so there will be no arbitrary rewriting of the variable content Gosub EXPB Print A B C D E The content of variables A B C D E is stored to a different region by Varpus...

Страница 298: ...elOffset channelCount writeData Parameters ioIdent Identification name of I O module character type area Area classification number integer type channelOffset Offset from the top of an area targeted f...

Страница 299: ...of the integer The content of the value is the requested exclusive disjunction Description Each of the values of Expression 1 and Expression 1 will be given as a 32 digit binary number and each bit w...

Страница 300: ...matically 0 OFF 1 ON ipAddress IP Address subnetMask Subnet mask defaultGateway Default gateway destIpAddress IP address to which the data is output SerialNormal Communication Serial setting rsMode Co...

Страница 301: ...ggingDirectory Destination folder to save data logging imageLoggingPriority Image logging mode 0 Logging operation has priority 1 Measurement interval has priority imageLoggingScene Switches the savin...

Страница 302: ...ls p 312 UdpPlcLinkY PLC Link JEPMC MP communication Reference Details p 315 UdpPlcLink PLC Link SYSMAC CS CJ CP One communication Reference Details p 317 EtherNetIP EtherNet IP Interface communicatio...

Страница 303: ...4 5 ParallelIo Parallel Interface communication IoModule identification name ParallelIo Overview This is a module is for sending and receiving commands and data via the Parallel interface System data...

Страница 304: ...ceive data p 252 SendData Reference Send data p 267 SendString Reference Sends string p 268 ReadPlcMemory WritePlcMemory SetPlcData GetPlcData Example Receive data A parameter of ReceiveData the param...

Страница 305: ...ported functions IoInitialize GetPort Reference Input terminal a point input p 214 PutPort Reference Output terminal a point output p 250 BusyOut JudgeOut RunOut GetAll Reference Input terminal all po...

Страница 306: ...dentification Meaning Initial value rsMode Interface 0 RS 232C 1 RS 422 0 baudRate baud rate bps 9600 byteSize Data length bit 7 or 8 7 parity Parity 0 none 1 odd number 2 even number 2 stopBits Stop...

Страница 307: ...ta p 252 SendData Reference Send data p 267 SendString Reference Sends string p 268 ReadPlcMemory Reference Begin to read data from designated memory of the PLC p 251 WritePlcMemory Reference Write in...

Страница 308: ...low Flow control 0 None 1 Xon Xoff 0 timeout timeout s 5 PLC Link data Identification Meaning Initial value commandArea Command area Area CIO Area CIO commandMemoryAddress Command area Address 0 respo...

Страница 309: ...ce Receive data p 252 SendData Reference Send data p 267 SendString Reference Sends string p 268 ReadPlcMemory Reference Begin to read data from designated memory of the PLC p 251 WritePlcMemory Refer...

Страница 310: ...a 20 of the integer type SetPlcData SerialPlcLink writeData 32 4 20 Set the data OMRON of the character type SetPlcData SerialPlcLink writeData 36 5 OMRON Write in data for 7ch from 10ch of the DM are...

Страница 311: ...ry SetPlcData GetPlcData Example Receive data Set an IP address and parameter size 4 integer type domain in a parameter to use an Ethernet Dim data 256 Dim ipaddr 4 Set the IP address of the destinati...

Страница 312: ...Reference Output terminal a point output p 250 BusyOut JudgeOut RunOut GetAll Reference Input terminal all point input p 210 PutAll Reference Output terminal all point output p 249 ReceiveData Refere...

Страница 313: ...e DHCP 0 Disabled 1 Enabled 0 ipAddress IP address of the system 10 5 5 100 subnetMask Subnet mask 255 255 255 0 defaultGateway Gateway address 10 5 5 110 dns DNS server address 10 5 5 1 destIpAddress...

Страница 314: ...ination ipaddr 0 10 ipaddr 1 1 ipaddr 2 1 ipaddr 3 101 Gets the five data ReceiveData UdpNormal data 4 5 size ipaddr 4 4 Send data Set an IP address and parameter size 4 integer type domain in a param...

Страница 315: ...Address 200 handshake handshaking 1 responseTimeout Retry interval ms 10000 Area classification Area classification name Classification code Data register 168 File register 175 Link register 180 Suppo...

Страница 316: ...a from 10ch of the Data register area Gets the data from readData Dim readData 256 Dim data3 21 Gets the data from PLC ReadPlcMemory UdpPlcLinkM 168 10 7 readData Gets the data of the real number type...

Страница 317: ...Output IP address 0 0 0 0 portNo Input port No 9600 PLC Link data commandArea Command area Area Data register commandMemoryAddress Command area Address 0 responseArea Response area Area Data register...

Страница 318: ...ipaddr 0 10 ipaddr 1 1 ipaddr 2 1 ipaddr 3 101 Gets the five data ReceiveData UdpPlcLinkY data 4 5 size ipaddr 4 4 Send data Set an IP address and parameter size 4 integer type domain in a parameter...

Страница 319: ...s for sending and receiving commands and data by Ethernet PLC Link protocol System data Identification Meaning Initial value enableDhcp Enable DHCP 0 Disabled 1 Enabled 0 ipAddress IP address of the s...

Страница 320: ...t input p 214 PutPort Reference Output terminal a point output p 250 BusyOut JudgeOut RunOut GetAll Reference Input terminal all point input p 210 PutAll Reference Output terminal all point output p 2...

Страница 321: ...om readData Dim readData 256 Dim data3 21 Gets the data from PLC ReadPlcMemory UdpPlcLink 130 10 7 readData Gets the data of the real number type GetPlcData UdpPlcLink readData 0 8 data1 Gets the data...

Страница 322: ...only with Ethernet connection Important A controller window cannot be operated or displayed simultaneously on multiple PCs on the network For example the function can be used as follows 1 GUI operatio...

Страница 323: ...C is of the same version as that on the controller Environment Settings on the Remote Operation PC The recommended operating conditions for the remote operation PC are as follows CPU Core 2Duo 2 2 GHz...

Страница 324: ...anual 1 Set the communication module Select System Controller Startup setting and then Communication and select Remote Operation ON 2 Click Data save and restart when the settings have been saved 3 Se...

Страница 325: ...ng Tool FZ4 User s Manual Remotely Operating the Controller Remote Operation 323 Next specify the IP address of the remote operation PC Open the local area connection properties on the remote operatio...

Страница 326: ...4 Using Tool 324 Remotely Operating the Controller Remote Operation FZ4 User s Manual Enter the IP address...

Страница 327: ...select or directly enter the IP address and the Line No of the controller to be connected Press Browse to find the IP address and the line number of the controller that can be connected The Line No s...

Страница 328: ...however are not the windows of the controller themselves and thus the following types of operational differences can be caused Major differences are listed as follows Functions to be noted Description...

Страница 329: ...during a remote operation for example a camera connection error the error dialog box is displayed not on the remote PC but on the controller The remote operation communication will be disconnected if...

Страница 330: ...4 Using Tool 328 Remotely Operating the Controller Remote Operation FZ4 User s Manual...

Страница 331: ...and image data Reference Basic Knowledge about Data Saving p 330 Reference Saving Settings Data to Controller Memory p 332 Reference Saving Settings Data to RAMDisk USB Device p 334 Reference Saving L...

Страница 332: ...stem will not work properly at the next startup Do not remove USB memory devices during saving or loading Operation of the controller may damage data or the USB memory Do not change the extension of s...

Страница 333: ...eft of the front 2 Lower right of the front 3 Upper left of the front 4 Upper right of the front Important When the BOX type controller is used If USB memory devices are separately connected to adjace...

Страница 334: ...the controller flash memory Note however that if a USB memory device is plugged in scene group data can be saved to the USB memory For FZ4 11 H11 all data are saved in the controller When Using Scene...

Страница 335: ...333 etc that the USB memory where scene group data is to be saved is recognized as the USBDisk Reference About USB Drive Names p 330 Note If a USB memory device is not plugged in a check message is d...

Страница 336: ...Important During saving do not restart turn off power or remove the USB memory Data will be corrupted and the system will not work properly at the next start up It is especially necessary to pay atten...

Страница 337: ...5 Saving Loading Data FZ4 User s Manual Saving Settings Data to RAMDisk USB Device 335 6 Tap OK The window showing transfer status is displayed and the data is sent to the save destination...

Страница 338: ...p Data Save to file The Save to File window is displayed 3 Tap Logging image and select the file to save Setting item Setting value Factory default Description Data to be saved All logging image Saves...

Страница 339: ...displayed 2 Information of each drive is displayed in the Memory state dialog box If a USB memory is inserted the Eject button is displayed 3 To remove the USB memory tap the Eject button When the USB...

Страница 340: ...Main screen tap Data Save to file The Save to File window is displayed 3 Tap Copy files and select the file or folder to copy or move Setting item Setting value Factory default Description Select fil...

Страница 341: ...5 Saving Loading Data FZ4 User s Manual Copying Moving Files 339 5 Tap OK The window showing transfer status is displayed and the data is sent to the save destination...

Страница 342: ...y at the same time During loading do not restart turn off power or remove the USB memory Data will be corrupted and the system will not work properly at the next startup Be sure to restart the control...

Страница 343: ...em Environment This chapter describes settings related to the controller system environment Reference Setting Conditions for Camera Use p 342 Reference Setting Conditions Related to Operation during M...

Страница 344: ...n the Main screen tap the System menu Camera Camera connection The Camera Connection window is displayed 2 Verify the connection status 3 Tap Close Setting Trigger Delay Inter camera Setting This crea...

Страница 345: ...creen tap the System menu Camera Inter camera setting The Inter camera Setting window is displayed 2 Tap of each item and set values Item Set value Factory default Description STEP Camera 0 delay 0 to...

Страница 346: ...uring measurement Save scene group on scene switch Checked Unchecked Sets operation when scene group switching is performed Sets whether the scene group is saved when it is switched The scene group sw...

Страница 347: ...lse Width STEP Setting p 355 Reference Setting a Network Drive Network Drive Setting p 356 In addition the controller model and measurement application version can be checked Reference Checking System...

Страница 348: ...OK A confirmation message is displayed 4 Tap Yes The setting is saved in the controller and the system automatically restarts After the system restarts the language switches to the selected one Note T...

Страница 349: ...led in the FZ4 L35 series Setting the Start up Status Startup Setting The status for when power is turned on is set here Inspection can be set to start immediately after the power is turned on by sett...

Страница 350: ...ecifies whether measurement results display or menu operation is to have priority Measurement result priority Measurement results display processing is prioritized Menu operation will be harder to rec...

Страница 351: ...6 Changing the System Environment FZ4 User s Manual Setting the System Operation Environment 349 Communication...

Страница 352: ...CP One PLC Link MELSEC QnU Q QnAS Parallel Standard Parallel I O Specifies the communication module Serial Ethernet Normal Normal Fxxx series method Communication is performed with external devices t...

Страница 353: ...gs are confirmed and the Startup Setting window closes Reference About Normal Fxxx series method With the Normal Fxxx series method communication method the OK response timing in relation to MEASURE c...

Страница 354: ...ng The current RUN window mode is displayed To change the mode specify the mode in System Controller Select RUN mode 2 Set items to be displayed 3 Set the layout as required Setting the RUN Window Sho...

Страница 355: ...stem menu Controller Encoder trigger setting 2 Set the target encoder Setting item Set value Factory default Description Use Encoder trigger Checked Unchecked Sets whether the encoder trigger will be...

Страница 356: ...put during the measurement trigger receipt period STEP start Does not count pulses even during the measurement trigger receipt period until the STEP signal is input Pulse reset timing Every trigger pu...

Страница 357: ...sabled in the FZ4 L35 series Setting the STEP Input Detection Pulse Width STEP Setting This setting is performed as a countermeasure against STEP input chattering and to prevent operation malfunctions...

Страница 358: ...k Drive Network Drive Setting Set a network drive Register the shared folder on a network drive with a shared name The network drive connected to the Select File Folder window of the FZ software will...

Страница 359: ...the drive letters such as E F G and H are displayed Shared folder Specify the shared folder name Specify the name of the folder that has been created in advance on the network drive For example if the...

Страница 360: ...gging If the time zone of the external device is different from the time zone setting of the controller GMT 08 00 Pacific Time US Canada Do not automatically adjust clock for Daylight Saving Time the...

Страница 361: ...PCs and programmable controllers etc Reference About Connecting with External Devices p 360 Reference Communicating through Serial Communication PLC Link p 363 Reference Controlling Outputting through...

Страница 362: ...ed as an external device The PLC supported by the FZ4 PLC link protocol is the SYSMAC CS CJ CP One series PLC from OMRON models supporting FINS command and PLC MELSEC Q series protocol MC protocol fro...

Страница 363: ...y SYSMAC_CJ1 CJ1H CJ1G CJ1M Yes CJ1W SCU21 V1 CJ1W SCU31 V1 CJ1W SCU41 V1 SYSMAC_CS1 CS1H CS1D CS1G Yes CS1W SCBxx V1 CS1W SCU21 V1 CS1W SCU31 V1 SYSMAC_CP1 CP1E CP1L CP1H CP1W CIF01 SYSMAC_One NSJ Ye...

Страница 364: ...l model QnUDECPU Q03UDECPU Q04UDECPU Q06UDECPU Q10UDECPU Q13UDECPU Q20UDECPU Q26UDECPU QJ71C24N QJ71C24N R2 QnUDCPU Q03UDCPU Q04UDCPU Q06UDCPU Q10UDCPU Q13UDCPU Q20UDCPU Q26UDCPU Yes QnUCPU Q00UJCPU Q...

Страница 365: ...data area The command area is used when control commands are sent from the PLC to the FZ4 The FZ4 can be controlled by writing commands to the command area In the response area the execution results...

Страница 366: ...controller and the external device When making system settings Ethernet settings do not send external input into the Ethernet 1 On the Main screen tap the System menu Communication Ethernet PLC Link...

Страница 367: ...ss DNS server a b c d a 1 to 223 b 0 to 255 c 0 to 255 d 0 to 255 10 5 5 1 Input the DNS server address Input Output setting Output IP address a b c d a 0 to 255 b 0 to 255 c 0 to 255 d 0 to 255 0 0 0...

Страница 368: ...Area AR DM Area DM EM Area EMO EMC Set the Command area Available EM areas vary depending on the type of the PLC to be connected Address 0 to 99999 0 Set the top channel address in the Command area R...

Страница 369: ...the top channel address in the Data output area Output control None Handshaking Set whether or not to provide an interlock with the PLC when performing data output None Data is output regardless of th...

Страница 370: ...ferent depending on the communication environment Make sure to verify on the actual usage environment before use The communication speed of the controllers for the FZ4 L35 6 7 series may be faster tha...

Страница 371: ...57600 115200 Adjust to the PLC communication specifications Data length bit Note 2 7 8 Adjust to the PLC communication specifications Parity None Odd Even Stop bit bit 1 2 Flow control None Flow cont...

Страница 372: ...r Note 2 With the RS 232C MELSEC Q series set the data length to 8 Note 3 With the MELSEC Q series RS 422 cannot be used 3 Tap PLC Link setting The PLC Link Setting window is displayed 4 Set the follo...

Страница 373: ...iliary Bit Area AR DM Area DM EM Area EMO Set the Data output area Address 0 to 99999 200 Set the top channel address in the Data output area Output control None Handshaking Set whether or not to prov...

Страница 374: ...Data register File register Link register Set the Command area Address 0 to 99999 0 Set the top channel address in the Command area Response area Area Data register File register Link register Set the...

Страница 375: ...the communication status Important The communication time is different depending on the communication environment Make sure to verify on the actual usage environment before use The communication spee...

Страница 376: ...Signal Signal name Function FLG Command completion bit Turns on when command execution is complete GATE Data output completion bit Turns on when data output is complete BUSY Command execution in progr...

Страница 377: ...s p 378 0010 1020 Starts continuous measurement Reference Details p 378 0010 1030 Completes continuous measurement Reference Details p 379 0010 1040 Executes measurement tests on specified units Refer...

Страница 378: ...the specified parallel I O terminal Active or Inactive Reference Details p 396 0020 8020 Gets all the ON OFF states for terminals other than DI at once Reference Details p 397 0020 8030 Retrieves the...

Страница 379: ...erence Details p 414 0040 4060 Acquires the set DI terminal offset data Reference Details p 415 Data write command Command area top channel Function References 3 2 0050 1000 Sets unit data Reference D...

Страница 380: ...mand PLC to Controller Command area top channel Command code Bit Description 15 12 11 8 7 4 3 0 2 1010 0001 0000 0001 0000 Set command codes 3 0010 0000 0000 0001 0000 Response Controller to PLC Respo...

Страница 381: ...ription 15 12 11 8 7 4 3 0 2 0001 0000 0011 0000 Command code Store response target command codes 3 0000 0000 0001 0000 4 0000 0000 0000 0000 Response code Command execution result OK 0 0000 0000 NG 1...

Страница 382: ...4 3 0 2 0010 0000 0001 0000 Command code Store response target command codes 3 0000 0000 0001 0000 4 0000 0000 0000 0000 Response code Command execution result OK 0 0000 0000 NG 1 FFFF FFFF 5 0000 000...

Страница 383: ...binary if the 1st bit is 1 the model is re registered When the setting value is expressed in binary if the 2nd bit is 1 the reference position is updated When the setting value is expressed in binary...

Страница 384: ...dow number 5 0000 0000 0000 0000 6 0000 0000 0000 0000 Sets the X movement distance camera coordinate system 7 0000 0000 0000 0000 8 0000 0000 0000 0000 Sets the Y movement distance camera coordinate...

Страница 385: ...1 FFFF FFFF 5 0000 0000 0000 0000 Fit Returns the display position and display zoom ratio for the image display window to their default values Command PLC to controller Command area top channel Comma...

Страница 386: ...umber of the scene to copy from 5 0000 0000 0000 0000 6 0000 0000 0000 0000 Specifies the number of the scene to copy to 7 0000 0000 0000 0000 Response Controller to PLC Response area top channel Bit...

Страница 387: ...a with a number specified by command argument 1 after completing copying If there is already data at the copy destination the copied data is written over that data Command PLC to controller Command ar...

Страница 388: ...Specifies the type of data to register from 0 Last measured image 1 Logging image 2 Image file 7 0000 0000 0000 0000 8 0000 0000 0000 0000 Specifies the logging image number or file name Source to reg...

Страница 389: ...d codes 3 0000 0000 0001 0000 4 0000 0000 0000 0000 Response code Command execution result OK 0 0000 0000 NG 1 FFFF FFFF 5 0000 0000 0000 0000 Echo Returns as is any character string sent by an extern...

Страница 390: ...nel Command code Bit Description 15 12 11 8 7 4 3 0 2 A010 1010 0000 0001 0000 Sets command codes 3 0010 0000 0000 0001 0000 4 0000 0000 0000 0000 Sets the affiliated group ID 0 to 7 5 0000 0000 0000...

Страница 391: ...000 0000 0001 0000 4 0000 0000 0000 0000 Sets the user ID 0000 0000 0000 0000 19 0000 0000 0000 0000 20 0000 0000 0000 0000 Sets a user account UG0 0000 0000 0000 0000 35 0000 0000 0000 0000 36 0000 0...

Страница 392: ...0 0000 0000 NG 1 FFFF FFFF 5 0000 0000 0000 0000 Restart Restarts the controller Important When a restart command is executed BUSY does not turn off even after the command execution bit turns off Aft...

Страница 393: ...mand PLC to controller Command area top channel Command code Bit Description 15 12 11 8 7 4 3 0 2 2000 0010 0000 0000 0000 Set command codes 3 0020 0000 0000 0010 0000 Response Controller to PLC Respo...

Страница 394: ...4 3 0 2 0100 0000 0000 0000 Command code Store response target command codes 3 0000 0000 0010 0000 4 0000 0000 0000 0000 Response code Command execution result OK 0 0000 0000 NG 1 FFFF FFFF 5 0000 000...

Страница 395: ...ently displayed in the specified image display window Command PLC to controller Command area top channel Command code Bit Description 15 12 11 8 7 4 3 0 2 5020 0101 0000 0010 0000 Sets command codes 3...

Страница 396: ...display 0 to 4 5 0000 0000 0000 0000 Response Controller to PLC Response area top channel Bit Description 15 12 11 8 7 4 3 0 2 0101 0000 0011 0000 Command code Store response target command codes 3 0...

Страница 397: ...d execution result OK 0 0000 0000 NG 1 FFFF FFFF 5 0000 0000 0000 0000 6 0000 0000 0000 0000 Response data Input state 0 Prohibited 1 Permitted 7 0000 0000 0000 0000 Getting communication output state...

Страница 398: ...00 0010 0000 4 0000 0000 0000 0000 Specifies the terminal type 0 STEP 1 DSA 2 DI 5 0000 0000 0000 0000 6 0000 0000 0000 0000 Specifies the terminal number When the terminal type is STEP 0 STEP1 1 STEP...

Страница 399: ...0 Command code Store response target command codes 3 0000 0000 0010 0000 4 0000 0000 0000 0000 Response code Command execution result OK 0 0000 0000 NG 1 FFFF FFFF 5 0000 0000 0000 0000 6 0000 0000 00...

Страница 400: ...oller Command area top channel Command code Bit Description 15 12 11 8 7 4 3 0 2 9000 1001 0000 0000 0000 Sets command codes 3 0020 0000 0000 0010 0000 4 0000 0000 0000 0000 Specifies the item to acqu...

Страница 401: ...codes 3 0000 0000 0010 0000 4 0000 0000 0000 0000 Response code Command execution result OK 0 0000 0000 NG 1 FFFF FFFF 5 0000 0000 0000 0000 6 0000 0000 0000 0000 Response data Acquired affiliated gro...

Страница 402: ...ene No 5 0000 0000 0000 0000 Response Controller to PLC Response area top channel Bit Description 15 12 11 8 7 4 3 0 2 0001 0000 0000 0000 Command code Store response target command codes 3 0000 0000...

Страница 403: ...0 0100 0000 0000 0000 Sets command codes 3 0030 0000 0000 0011 0000 4 0000 0000 0000 0000 Specifies the item to set 0 Local 1 Remote 5 0000 0000 0000 0000 6 0000 0000 0000 0000 Sets the layout number...

Страница 404: ...0000 0000 Sets the unit number 7 0000 0000 0000 0000 Response Controller to PLC Response area top channel Bit Description 15 12 11 8 7 4 3 0 2 0101 0000 0001 0000 Command code Store response target co...

Страница 405: ...e setting Sets the image mode for the specified Image Display window Command PLC to controller Command area top channel Command code Bit Description 15 12 11 8 7 4 3 0 2 5030 0101 0000 0011 0000 Sets...

Страница 406: ...ption 15 12 11 8 7 4 3 0 2 7010 0111 0000 0001 0000 Sets command codes 3 0030 0000 0000 0011 0000 4 0000 0000 0000 0000 Specifies the communication module type 0 Serial Ethernet 1 Serial RS 232C 422 2...

Страница 407: ...ea top channel Bit Description 15 12 11 8 7 4 3 0 2 0111 0000 0010 0000 Command code Store response target command codes 3 0000 0000 0011 0000 4 0000 0000 0000 0000 Response code Command execution res...

Страница 408: ...000 0000 0000 0000 Sets the terminal state 0 OFF 1 ON 9 0000 0000 0000 0000 Response Controller to PLC Response area top channel Bit Description 15 12 11 8 7 4 3 0 2 1000 0000 0001 0000 Command code S...

Страница 409: ...e target command codes 3 0000 0000 0011 0000 4 0000 0000 0000 0000 Response code Command execution result OK 0 0000 0000 NG 1 FFFF FFFF 5 0000 0000 0000 0000 Terminal state batch setting Sets all the...

Страница 410: ...0000 0000 Specifies the item to set 0 Local 1 Remote 5 0000 0000 0000 0000 6 0000 0000 0000 0000 Sets the user ID 7 0000 0000 0000 0000 8 0000 0000 0000 0000 Sets the password 9 0000 0000 0000 0000 R...

Страница 411: ...Response code Command execution result OK 0 0000 0000 NG 1 FFFF FFFF 5 0000 0000 0000 0000 Acquiring Unit Data Acquires the specified processing unit data Important In unit data setting acquisition ex...

Страница 412: ...troller Command area top channel Command code Bit Description 15 12 11 8 7 4 3 0 2 2000 0010 0000 0000 0000 Set command codes 3 0040 0000 0000 0100 0000 Response Controller to PLC Response area top ch...

Страница 413: ...sult OK 0 0000 0000 NG 1 FFFF FFFF 5 0000 0000 0000 0000 6 0000 0000 0000 0000 Version information character string 7 0000 0000 0000 0000 8 0000 0000 0000 0000 9 0000 0000 0000 0000 0000 0000 0000 000...

Страница 414: ...000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 Getting image logging folder name Gets the set image logging folder name Command PLC to controller Command area top channel Command code Bit Descr...

Страница 415: ...0000 0000 NG 1 FFFF FFFF 5 0000 0000 0000 0000 6 0000 0000 0000 0000 Response data Folder name absolute path 7 0000 0000 0000 0000 Getting screen capture folder name Gets the set screen capture folde...

Страница 416: ...0000 0100 0000 Command code Store response target command codes 3 0000 0000 0100 0000 4 0000 0000 0000 0000 Response code Command execution result OK 0 0000 0000 NG 1 FFFF FFFF 5 0000 0000 0000 0000...

Страница 417: ...setting command has been executed the acquisition command is enabled Command PLC to controller Command area top channel Command code Bit Description 15 12 11 8 7 4 3 0 2 4060 0100 0000 0110 0000 Sets...

Страница 418: ...ption 15 12 11 8 7 4 3 0 2 0000 0000 0100 0111 Command code Store response target command codes 3 0000 0000 0100 0111 4 0000 0000 0000 0000 Response code Command execution result OK 0 0000 0000 NG 1 F...

Страница 419: ...the date and time of the internal calendar timer in the controller Command PLC to controller Command area top channel Command code Bit Description 15 12 11 8 7 4 3 0 2 2000 0010 0000 0000 0000 Set co...

Страница 420: ...name of the item to be set Refer to identifier 1 of non procedure command SYSDATA Setting value Specifies the setting value Separate Identifier 0 and Identifier 1 with 00 NULL 5 0000 0000 0000 0000 6...

Страница 421: ...K 0 0000 0000 NG 1 FFFF FFFF 5 0000 0000 0000 0000 Data logging folder name setting Sets the data logging folder name Command PLC to controller Command area top channel Command code Bit Description 15...

Страница 422: ...nse Controller to PLC Response area top channel Bit Description 15 12 11 8 7 4 3 0 2 0100 0000 0011 0000 Command code Store response target command codes 3 0000 0000 0101 0000 4 0000 0000 0000 0000 Re...

Страница 423: ...the Logging Setting window Command PLC to controller Command area top channel Command code Bit Description 15 12 11 8 7 4 3 0 2 4050 0100 0000 0101 0000 Sets command codes 3 0050 0000 0000 0101 0000...

Страница 424: ...codes 3 0000 0000 0101 0000 4 0000 0000 0000 0000 Response code Command execution result OK 0 0000 0000 NG 1 FFFF FFFF 5 0000 0000 0000 0000 Loading scene data Reads scene data Command PLC to controll...

Страница 425: ...s the number of the scene group to be loaded 5 0000 0000 0000 0000 6 0000 0000 0000 0000 Specifies the name of the file to be loaded with the absolute path Up to 256 characters 7 0000 0000 0000 0000 R...

Страница 426: ...result OK 0 0000 0000 NG 1 FFFF FFFF 5 0000 0000 0000 0000 Loading all data Reads system scene group 0 data Command PLC to controller Command area top channel Command code Bit Description 15 12 11 8 7...

Страница 427: ...000 0000 0000 Response Controller to PLC Response area top channel Bit Description 15 12 11 8 7 4 3 0 2 0101 0000 0000 0000 Command code Store response target command codes 3 0000 0000 0111 0000 4 000...

Страница 428: ...0000 0000 Saving system data Saves system data Command PLC to controller Command area top channel Command code Bit Description 15 12 11 8 7 4 3 0 2 3000 0011 0000 0000 0000 Sets command codes 3 0070 0...

Страница 429: ...2e49 I 17 465a FZ 7 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 Response Controller to PLC Response area top channel Bit Description 15 12 11 8 7 4 3 0 2 0100 0000 0000 0000 Command c...

Страница 430: ...Saves the last logging image Command PLC to controller Command area top channel Command code Bit Description 15 12 11 8 7 4 3 0 2 4020 0100 0000 0010 0000 Sets command codes 3 0070 0000 0000 0111 0000...

Страница 431: ...ation Up to 256 characters 5 0000 0000 0000 0000 Response Controller to PLC Response area top channel Bit Description 15 12 11 8 7 4 3 0 2 0101 0000 0000 0000 Command code Store response target comman...

Страница 432: ...ommand operates without an argument 5 0000 0000 0000 0000 Response Controller to PLC Response area top channel Bit Description 15 12 11 8 7 4 3 0 2 0100 0000 0011 0000 Command code Store response targ...

Страница 433: ...icating with External Devices FZ4 User s Manual Communicating through Serial Communication PLC Link 431 Timing Chart PLC Link This section explains timing charts for command response output and measur...

Страница 434: ...7 Methods for Connecting and Communicating with External Devices 432 Communicating through Serial Communication PLC Link FZ4 User s Manual Data Output...

Страница 435: ...7 Methods for Connecting and Communicating with External Devices FZ4 User s Manual Communicating through Serial Communication PLC Link 433 Measurement Command Details...

Страница 436: ...for Connecting and Communicating with External Devices 434 Communicating through Serial Communication PLC Link FZ4 User s Manual Ladder Program Example PLC Link This section shows a PLC ladder progra...

Страница 437: ...32C 422 connection using a non procedure method with commands Communication is performed via the Ethernet using the UDP IP TCP IP protocols Communication Processing Flow Non procedure This section exp...

Страница 438: ...same communication specification settings for the controller and the external device When making system settings Ethernet settings do not send external input into the Ethernet If the operation mode F...

Страница 439: ...7 Methods for Connecting and Communicating with External Devices FZ4 User s Manual Controlling Outputting through Serial Communication Non procedure 437 Non procedure TCP Non procedure TCP Client...

Страница 440: ...0 to 255 255 255 255 255 255 255 0 Input the subnet mask address Default gateway a b c d a 1 to 223 b 0 to 255 c 0 to 255 d 0 to 255 10 5 5 110 Input the default gateway address DNS server a b c d a 1...

Страница 441: ...net Non procedure p 435 Important Before setting the communication specifications set the Serial RS 232C 422 communication module to Normal or Normal Fxxx method save the setting to the controller and...

Страница 442: ...38400 57600 115200 Adjust to the PC communication specifications Data length bit 7 8 Adjust to the PC communication specifications Parity OFF Odd Even Stop bit bit 1 2 Flow control OFF Flow control is...

Страница 443: ...he communication status with connected external devices using the serial interface You can check whether wiring and communication settings have been performed correctly 1 On the Main screen tap the Sy...

Страница 444: ...acquisition data and the OK response are sent as separate packets Reference Command List Non procedure p 443 Input format example When using DISPCOND to acquire the display status Command format Resp...

Страница 445: ...th lowercase and uppercase letters can be used FZ4 11 FZ4 H11 The configuration is as follows USBDisk E USBDisk2 F USBDisk3 G and USBDisk4 H Execute command Command Abbreviation Function References BR...

Страница 446: ...l states except for DI in batches Reference Details p 494 PARAPORTCOND PPC Gets the state of the specified parallel I O terminal Active or Inactive Reference Details p 495 SCENE S Acquires the current...

Страница 447: ...defined screen capture folder name Reference Details p 462 IMAGELOGFOLDER ILF Gets the defined image logging folder name Reference Details p 468 IMAGELOGHEADER ILH Gets the prefix of the image logging...

Страница 448: ...normally Parameters explanation Destination folder name Specify the name of the folder to save to with the absolute path examples USBDisk E Save destinations include directories under the following sy...

Страница 449: ...bkd Only files that are under the following systems and have a BKD extension can be read Load to FZ4 1100 series FZ L35 600 700 series RAMDisk C Data RAMDisk RAMDISK USBDisk E F G H USBDisk to USBDisk...

Страница 450: ...the file name Save destination FZ4 1100 series FZ L35 600 700 series RAMDisk C Data RAMDisk RAMDISK USBDisk E F G H USBDisk to USBDisk3 Important Do not turn off power to the controller until there is...

Страница 451: ...ing is not performed normally Window display status after clearing Judgement result Unmeasured 0 Value 0 Character string Null character CPYSCENE or CSD Copies the data for the scene with the number s...

Страница 452: ...Specifies the scene No to copy to 0 to the number of scenes in the scene group minus 1 Example Copying the scene data for Scene 2 to Scene 10 Command Response DATALOGCOND or DLC Getting the data loggi...

Страница 453: ...mmand Response Setting the data logging condition Sets the data logging condition for system data Sets the Data logging condition on the Logging Setting window Command format or Response format When p...

Страница 454: ...Gets the set data logging folder name Command format or Response format When processing is performed normally When processing is not performed normally Parameters explanation Data logging folder name...

Страница 455: ...n Data logging folder name Specify the name of the data logging folder with the absolute path examples USBDisk E Save destinations include directories under the following systems Save destination FZ4...

Страница 456: ...cene group data is saved to the USB memory If there is no USB memory plugged in ER is returned Do not turn off power to the controller until there is a response DATE Acquiring date and time Acquires t...

Страница 457: ...7 12 30 00 Command Response Setting date and time Changes the date and time of the internal calendar timer in the controller Command format Response format When processing is performed normally When p...

Страница 458: ...ing minute and second omitting hour minute and second Patterns that cannot be used include omitting hour only and omitting minute only Example When changing the date and time to 8 30 2007 12 30 00 Com...

Страница 459: ...nal offset is the value added to the command parameter for DI0 DI4 when a parallel command is executed Once the terminal offset setting command has been executed the acquisition command is enabled Com...

Страница 460: ...ffset is the value added to the command parameter for DI0 DI4 when a parallel command is executed Command format or Response format When processing is performed normally When processing is not perform...

Страница 461: ...dure 459 or Response format When processing is performed normally When processing is not performed normally Parameters explanation Terminal state Responds with the DI0 DI7 states 0 255 1st bit DI0 2nd...

Страница 462: ...When processing is not performed normally Parameters explanation Terminal state Specify the DO terminals to switch ON 0 65535 1st bit DO0 2nd bit DO1 16th bit DO15 Example When setting DO0 and DO4 ON...

Страница 463: ...ample When returning the character string FZ4 Command Response IMAGECAPTURE or EIC Captures the screen The folder into which the captured image is saved depends on the system data setting The file nam...

Страница 464: ...solute path Examples C Data RAMDisk abc bmp RAMDISK abc bmp Be sure to attach the BMP extension to the file name Save destination FZ4 1100 series FZ L35 600 700 series RAMDisk C Data RAMDisk RAMDISK E...

Страница 465: ...o RAMDisk Command Response Setting the screen capture folder name Sets the screen capture folder name Command format or Response format When processing is performed normally When processing is not per...

Страница 466: ...ied Image Display window Command format or Response format When processing is performed normally When processing is not performed normally Parameters explanation Display image window number Specify th...

Страница 467: ...format When processing is performed normally When processing is not performed normally Parameters explanation Display image window number Specify the number 0 15 of the display image window where you...

Страница 468: ...ing Outputting through Serial Communication Non procedure FZ4 User s Manual Response IMAGEFIT or EIF Returns the display position and display zoom ratio for the image display window to their default v...

Страница 469: ...Specifies the number of the display image window whose display position and display zoom ratio are returned to their default values 0 to 15 Example When returning the display position and display zoo...

Страница 470: ...tputting through Serial Communication Non procedure FZ4 User s Manual IMAGELOGFOLDER or ILF Getting the image logging folder name Gets the set image logging folder name Command format or Response form...

Страница 471: ...AMDisk Command Response Setting the image logging folder name Sets the image logging folder name Command format or Response format When processing is performed normally When processing is not performe...

Страница 472: ...logging is saved to Gets the prefix for the name of the file the image logging is saved to The maximum length of the prefix character string is 32 characters Command format or Response format When pr...

Страница 473: ...formed normally Parameters explanation Image logging prefix Sets the prefix for the name of the file the image logging is saved to with a maximum of 32 characters The set character string is added at...

Страница 474: ...ocessing is not performed normally Parameters explanation Display image window number Specify the number of the display image window whose display position and display zoom ratio are returned to their...

Страница 475: ...the currently displayed sub image Gets the number of the sub image currently displayed in the specified image display window Command format or Response format When processing is performed normally Wh...

Страница 476: ...ub image displayed in the specified image display window Command format or Response format When processing is performed normally When processing is not performed normally Parameters explanation Displa...

Страница 477: ...specified display image window Command format or Response format When processing is performed normally When processing is not performed normally Parameters explanation Display image window number Spec...

Страница 478: ...or Response format When processing is performed normally When processing is not performed normally Parameters explanation Display image window number Specify the number of the display image window se...

Страница 479: ...ing through Serial Communication Non procedure 477 IMAGEZOOM or EIZ Zooms the image display window whose number is specified in or out to the specified zoom ratio The zoom ratio here is the ratio comp...

Страница 480: ...zoom ratio 250 16000 250 means 25 16000 means 1600 Example When zooming in display image display window 1 to 200 Command Response IMGSAVE Saves image data Command format Response format When processin...

Страница 481: ...L35 600 700 series RAMDisk C Data RAMDisk RAMDISK USBDisk E F G H USBDisk to USBDisk3 Important If the specified file name already exists this existing file will be overwritten Do not turn off power t...

Страница 482: ...Remote operation Input state 0 Prohibited 1 Permitted Example When getting the serial Ethernet input state Command Response Setting communication module input states Permits prohibits input to communi...

Страница 483: ...rial Ethernet 1 Serial RS 232C 422 2 Parallel IO 3 Fieldbus 4 Remote operation Input state 0 Prohibited 1 Permitted Example When setting the serial Ethernet input state to Prohibited Command Response...

Страница 484: ...ile named abc ifz Command Response Note When the extension is ifz the image is saved with the specified file name When the extension is anything other than ifz the image is saved with ifz appended to...

Страница 485: ...er 0 ADJUST window 1 RUN window Example When the currently displayed window is the RUN window Command Response Setting the layout number Sets the layout number and switches the window Important For no...

Страница 486: ...When processing is not performed normally Parameters explanation Setting target 0 Local 1 Remote Layout number 0 ADJUST window 1 RUN window Example When displaying the RUN window Command Response LOG...

Страница 487: ...ation Acquisition target 0 Local 1 Remote User ID Returns the user ID in the user account used by the user currently logging in Example When getting the name of the user account currently logged in Co...

Страница 488: ...the password for the user to switch 32 characters maximum Example When switching to user ID abc with password efg Command Response LOGINACCOUNTGROUP or LAG Gets the group ID in the user account used b...

Страница 489: ...asurement one time Command format Response format When processing is performed normally Normal Normal Fxxx series When processing is not performed normally Note About Normal Fxxx series method Referen...

Страница 490: ...continuous measurement is performed are output as a response Reference Output Format Non procedure p 519 Completes continuous measurement Continuous measurement ends Command format Response format Whe...

Страница 491: ...planation Unit No Specifies the unit number to run a test with 0 to the uppermost unit model number in the unit Example The following sample command runs a test on unit number 5 Command Response MOVSC...

Страница 492: ...fies the scene number to copy scene data from 0 to the number of the scenes in the scene group minus one Target scene number Specifies the target scene number for copying scene data 0 to the number of...

Страница 493: ...n state 0 OFF 1 ON Example The following sample command returns an enabled logging operation state Command Response Sets logged operation state Sets the logged operation state This command allows conf...

Страница 494: ...ple command enables the logging operation state Command Response OUTPUTTRANSSTATE or OTS Gets output state to external device Gets the output state to an external device Enabled or Disabled Command fo...

Страница 495: ...ables Disables outputs to external devices When the input state is disabled i e set to 0 all the communications modules are unable to transmit data Command format or Response format When processing is...

Страница 496: ...e or Inactive Command format or Response format When processing is performed normally When processing is not performed normally Parameters explanation Terminal state Returns the states of terminals 0...

Страница 497: ...not performed normally Parameters explanation Terminal state Sets the following terminal states 0 to 15 0th bit RUN 1st bit ERR 2nd bit BUSY 3rd bit OR0 4th bit OR1 5th bit GATE0 6th bit GATE1 7th bit...

Страница 498: ...rameters explanation Terminal types 0 STEP 1 DSA 2 DI Terminal number Specifies the terminal number 0 to 15 When the terminal type is STEP 0 STEP0 1 STEP1 When the terminal type is DSA 0 DSA0 1 DSA1 W...

Страница 499: ...ed normally Parameters explanation Terminal types 3 RUN 4 ERR 5 BUSY 6 OR 7 GATE 8 READY 9 DO Terminal number Specifies the terminal number 0 15 When the terminal types are RUN ERR and BUSY 0 When the...

Страница 500: ...his operation results in the same operation as when pressing the Register button on the Register Image Management tool If the source to register is 0 the last measured image command argument 3 can be...

Страница 501: ...image with registered image number 100 and logging image number 10 is registered Command Response Loads specified image data as registered image Loads a specified registered image as a measured image...

Страница 502: ...start the controller Command format Response format OFF SCENE or S Acquires scene No Acquires the current scene No Command format Response format When processing is performed normally When processing...

Страница 503: ...tion Non procedure 501 Command Response Scene switch No Switches the scene No to be used Command format Response format When processing is performed normally When processing is not performed normally...

Страница 504: ...uires the current scene group No Command format Response format When processing is performed normally When processing is not performed normally Parameters explanation Scene group No The acquired scene...

Страница 505: ...itching 0 to 31 Example When switching to scene group 2 Command Response Important During parallel continuous measurement and when the STEP signal is input continuously do not perform switching of the...

Страница 506: ...ead with a definite path ex USBDisk abc scn E abc scn Only files that are under the following systems and have an SCN extension can be read Load to FZ4 1100 series FZ L35 600 700 series RAMDisk C Data...

Страница 507: ...Z4 1100 series FZ L35 600 700 series RAMDisk C Data RAMDisk RAMDISK USBDisk E F G H USBDisk to USBDisk3 Important If the specified file name already exists this existing file will be overwritten Do no...

Страница 508: ...gp Only files that are under the following systems and have an SGP extension can be read Load to FZ4 1100 series FZ L35 600 700 series RAMDisk C Data RAMDisk RAMDISK USBDisk E F G H USBDisk to USBDisk...

Страница 509: ...ries RAMDisk C Data RAMDisk RAMDISK USBDisk E F G H USBDisk to USBDisk3 Important If the specified file name already exists this existing file will be overwritten Do not turn off power to the controll...

Страница 510: ...ric characters Data Logging dataLogging 0 None 1 Only NG 2 All Name of destination folder for saving data logging dataLoggingDirectory Save destination folder name one byte alphanumeric character Impo...

Страница 511: ...ix for image logging file name imageLoggingHeader Prefix for image logging file name one byte alphanumeric characters Data Logging dataLogging 0 None 1 Only NG 2 All Name of destination folder for sav...

Страница 512: ...ation Non procedure FZ4 User s Manual Command Response Example 2 When the RAMDisk is set as the image logging save destination Command For FZ4 L35 FZ4 4 FZ4 7 For FZ4 11 Response SYSLOAD Reads system...

Страница 513: ...the following systems and have an INI extension can be read Load to FZ4 1100 series FZ L35 600 700 series RAMDisk C Data RAMDisk RAMDISK USBDisk E F G H USBDisk to USBDisk3 Important Do not turn off p...

Страница 514: ...RAMDISK USBDisk E F G H USBDisk to USBDisk3 Important If the specified file name already exists this existing file will be overwritten Do not turn off power to the controller until there is a response...

Страница 515: ...issued in milliseconds 100 to 99999 Command string Specifies the command string Max 1024 characters Example In case of permission of trigger input when 3000 ms elapses Command Response UNITDATA or UD...

Страница 516: ...ls refer to External Reference Table for each processing item in Processing Item List Manual Measurement The acquired measurement value is output as a response Example When the judgement result of Sea...

Страница 517: ...ls refer to External Reference Table for each processing item in Processing Item List Manual Setting data Set the settings data parameters Example When Skipping angle external reference table value 12...

Страница 518: ...binary if the 1st bit is 1 the model is re registered When the setting value is expressed in binary if the 2nd bit is 1 the reference position is updated When the setting value is expressed in binary...

Страница 519: ...cifies a group ID to which a user account is to be added 0 to 7 User ID Specifies a user ID of the user to be added with up to 32 characters Password Specifies a password for the user to be added with...

Страница 520: ...or Response format When processing is performed normally When processing is not performed normally Parameters explanation User ID Specifies the user ID of the user to be deleted with up to 32 charact...

Страница 521: ...version Example When the controller type is FZ4 XXX the software version is 4 00 and the date is Nov 07 2011 Command Response Output Format Non procedure If the processing unit Data Output is set in...

Страница 522: ...eparators are not output in the absence of the following data Decimals are rounded up and output The range of values that can be output is as follows 999999999 9999 Measurement value 999999999 9999 Wh...

Страница 523: ...nd data 1 is 1 000 Note Unlike ASCII output binary output has no separators between data such as field separators or record separators etc Reference Processing Item List Manual Data Output p 574 The r...

Страница 524: ...edure commands using FZ4 specific VisionSystemObjects EtherNet IP communication specification The EtherNet IP communication specification is described The conformance test applies to Ver A7 Before est...

Страница 525: ...rea of the FZ4 For input connections allocate the response area and data output area of the FZ4 Output connections are used when control commands are sent from the PLC to the FZ4 Input connections are...

Страница 526: ...the multi line random trigger mode the communication module on line 1 must also be set to Ethernet IP Reference Setting the Start up Status Startup Setting p 347 When using 2 line random trigger mode...

Страница 527: ...when Output control is set to Handshaking A timeout error occurs when no response from external devices is received within the time that has been set A timeout error occurs if the status of each flag...

Страница 528: ...res command parameters For input connections execution results and output data from the controller are set Execution results from the controller control outputs command codes response codes response d...

Страница 529: ...s the response from the executed command RES DATA Response data Stores the response data from the executed command DATA0 7 Output data 0 to 7 The data set in the output processing items is output When...

Страница 530: ...communications areas with one data type for the command area and another data type for the response and output areas Here data types called S_EIPOutput and S_EIPInput are defined Data Type to Access t...

Страница 531: ...Access the Response and Output Areas Name of data type S_EIPInput Type of derivative data type Structure Name of data type Data type S_EIPInput STRUCT StatusFlag U_EIPFlag The data type that was defi...

Страница 532: ...t For data links to the response and output areas 3 Exporting the Variables That Were Defined on Sysmac Studio Export the variables that you defined so that you can use them on the Network Configurato...

Страница 533: ...put ResposeCode Response data EIPInput ResposeData Output Area Signal name Variable name Output data 1 EIPInput OutputData 0 Output data 8 EIPInput OutputData 7 Accessing Communications Areas by Speci...

Страница 534: ...ds equivalent to non procedure command Execute command Command area top channel Function References 3 2 0010 1010 Measurement is performed one time Reference Details p 378 0010 1020 Starts continuous...

Страница 535: ...0 8010 Gets the state of the specified parallel I O terminal Active or Inactive Reference Details p 396 0020 8020 Gets all the ON OFF states for terminals other than DI at once Reference Details p 397...

Страница 536: ...s p 536 0040 4050 Acquires the set data logging condition Reference Details p 414 0040 4060 Acquires the set DI terminal offset data Reference Details p 415 Data write command Command area top channel...

Страница 537: ...System Scene Group 0 data in a file Reference Details p 536 Executes a screen capture Reference Details p 536 Data Output EtherNet IP Either fixed point output or floating point output can be selecte...

Страница 538: ...may occur Do not use EtherNet IP communication when the multiple input function is being used If the measurement interval is short a communication error may occur depending on the measurement processi...

Страница 539: ...l and for line 0 in the 2 line random trigger mode 2 02Hex For line 1 in the 2 line random trigger mode TCP IP Interface Object 245 F5Hex 1 01Hex EtherNet Link Object 246 F6Hex 1 01Hex Data type The d...

Страница 540: ...code Name Details 14 0EHex GetAttributeSingle Acquires the attribute value Setting for information the FZ4 sends Instance Setting item Setting value Description Instance 101 For normal control and for...

Страница 541: ...alent to non procedure commands Reference Controlling Outputting through Serial Communication Non procedure Command List p 443 Service Service code Name Details 0x32 SetAttribute Sets a value for the...

Страница 542: ...ing Communication Specifications Parallel Interface Set the controller communication specifications Use the same communication specification settings for the controller and the external device Note Du...

Страница 543: ...hat the interval is equal to or longer than Gate ON delay Output time and shorter than measurement interval If the cycle is longer than the measurement interval output timing will be delayed while mea...

Страница 544: ...rom the external device to the controller is displayed When a signal is input the background color becomes red DSA0 DSA1 DI RUN The output status of each signal is displayed When a signal is output th...

Страница 545: ...trigger mode the ERR signal is used in common 3 Change the contents to be sent When switching between ON OFF is performed the changed contents are displayed on the monitors of external devices Please...

Страница 546: ...ene switch Switch measurement scenes 1 01 Input Scene No in binary format 0 to 31 Switch to scene 2 Input example 10100010 Scene group switch Switch measurement scene groups 1 11 Input Scene Group No...

Страница 547: ...0 Clear the measurement values of line 1 Input example 11010000 Clear Error Clear error output The ERROR indicator is also cleared 1 10 0001 Clear the error of line 0 Input example 11010001 Clear Para...

Страница 548: ...ct from a 2 s complement binary format or BCD format For 2 s complement see Reference Terminology Explanations p 590 Output sequence Measurement results are output in sequence starting with the smalle...

Страница 549: ...nce Clears measurement value by the parallel command p 555 Reference Clears the OR and DO signal by the parallel command p 556 Reference Clears error by the parallel command p 557 Reference Timing cha...

Страница 550: ...se on going processing or commands that are input will not be performed correctly OR Outputs overall judgement This is determined when the measurement is completed BUSY signal ON OFF Selection of whet...

Страница 551: ...Signal Function STEP Input measurement triggers from external devices such as optic switches etc Perform measurement once synchronous with the STEP signal turning on OFF ON Turn the STEP signal ON fo...

Страница 552: ...ing turned on DI7 This is the execution trigger After DI0 to 6 is set turn DI7 on after an interval over 1 ms Always have this turned ON during a continuous measurement Stops continuous measurement wh...

Страница 553: ...ample When 3 expressions are set in Parallel Data Output Reference The output signal functions the same as when Output Control is set to None Reference When Output Control Is Set to None p 547 Input s...

Страница 554: ...output levels will be counted according to the number of times the STEP signal turns on For this reason perform settings so that results are output only once for each measurement 1 unit for Judgement...

Страница 555: ...me as when Output Control is set to None Reference When Output Control Is Set to None p 547 Scene Scene Group Switch Output signal Signal Function RUN Turns on when the controller is available for mea...

Страница 556: ...n the BUSY signal OFF timing on the control side set the scene switching additional time to lengthen the BUSY signal OFF timing Reference The amount of time during which the BUSY signal is turned ON w...

Страница 557: ...time during which the BUSY signal is turned ON is approximately 1 ms Input signal Signal Function DI0 to 4 Turns the command OFF DI5 Turns the command OFF DI6 Turns the command ON DI7 This is the tri...

Страница 558: ...l not be executed correctly BUSY This does not change when the OR and DO signal is being cleared Do not however clear the OR and DO signal when the BUSY signal is turned ON The command will not be exe...

Страница 559: ...al Function RUN Turns ON when the controller is set to the RUN window Turns OFF in the ADJUST window READY This does not change when an error is being cleared Do not however clear the error signal whe...

Страница 560: ...rns the command OFF DI6 Turns the command ON DI7 This is the trigger signal to clear an error After DI0 to 6 is set turn DI7 ON after an interval over 1 ms After checking that the ERROR signal has tur...

Страница 561: ...nterface p 540 GATE0 GATE1 Used to control the loading time of the DO signal to external devices GATE0 and GATE1 correspond to line 0 and line 1 respectively ON for the time required for external devi...

Страница 562: ...e Input p 614 If STEP is input while READY is off the ERROR terminal turns on If triggers are input continuously and too quickly for the communication output to catch up some steps may not be output o...

Страница 563: ...ommand results and files Important When sending or receiving files using the FTP function make sure to create file names and folder names using one byte alphanumeric characters An account and a passwo...

Страница 564: ...5 255 255 255 0 Input the subnet mask address Default gateway 0 0 0 1 to 255 255 255 254 10 5 5 110 Input the default gateway address DNS server a b c d a 1 to 223 b 0 to 255 c 0 to 255 d 0 to 255 10...

Страница 565: ...the controller are shown Folder name Description Network This folder is used for management Data cannot be saved within this folder RAMDisk This folder is for storing logging images and data files Whe...

Страница 566: ......

Страница 567: ...Reference About Number of Logging Images p 611 Reference About Limits on the Number of Image Input Processing Items Used p 612 Reference About Max Number of Loading Images during Multiple Image Input...

Страница 568: ...single refer to the following tables to prepare the lens and extension tube The lens may vary depending on the size of measurement objects and the camera setting distance Optical Diagrams 0 3 megapixe...

Страница 569: ...setting distance for different types Make sure to verify the lens type when checking the graph as the field of view value is different for each type Points such as t5 0 on the graph correspond to the...

Страница 570: ...ue is different for each type Points such as t5 0 on the graph correspond to the thickness of the extension tube used t0 is used if an extension tube is not necessary and t5 0 is used if a 5 mm extens...

Страница 571: ...P0 5 3Z4S LE SV 1614H 16 2mm F1 4 30mm 47 5mm M27 P0 5 3Z4S LE SV 2514H 25 0mm F1 4 30mm 36 0mm M27 P0 5 3Z4S LE SV 3514H 35 01mm F1 4 44mm 45 5mm M35 5 P0 5 3Z4S LE SV 5014H 50 0mm F1 4 44mm 57 5mm M...

Страница 572: ...ESR Max O D Thickness 12 Note Do not overlap 2 or more extension tubes 0 5 mm 1 0 mm 2 0 mm Since they are installed between the lens and the threaded section of another extension tube overlapping the...

Страница 573: ...of each processing unit and the sizes of the registered models Shape search If shape search setup window is opened while the RAMDisk memory is insufficient for image logging etc on the RAMDisk a warn...

Страница 574: ...rupt The communication time out is occurred Switch off controller verify the following contents and then restart Is cable connected correctly Does it comply with communication specifications of extern...

Страница 575: ...eck Check the following points Have you deleted the destination folder For cases where he save destination is the folder in the USBDisk is the USBDisk connected to the controller Or has the USBDisk be...

Страница 576: ...Server screen is displayed The connection was cut off based on the idling session time set on the network logging destination PC At the command prompt on the PC enter net config server autodisconnect...

Страница 577: ...group data and system data saved to the controller have been corrupted In some cases when the power is shut down or the USB memory was removed while accessing the CF card in the controller such as wh...

Страница 578: ...er of specific processing items such as camera image input exceed the limit Reference About Limits on the Number of Image Input Processing Items Used p 612 In the Image view setting of the Control are...

Страница 579: ...OK button to terminate it To fix the setting have an image input and then go into the setting window and press the OK button to terminate it To fix the setting have an image input and then go into th...

Страница 580: ...allel data output GATE signals are not output unless these items are specified Is Output checked on the ADJUST window Measure on the RUN window or measure on the ADJUST window upon checking Output in...

Страница 581: ...he external devices compatible with the controller Is Flow control in communication specifications set to None To save data set Flow control to None Reference Setting Communication Specifications RS 2...

Страница 582: ...on the screen and adjustment of color intensity with a range of 0 to 255 can be performed For each of RGB black is rendered with a 0 value and white is rendered with a 255 value During measurement of...

Страница 583: ...rough search of overall measurement region Search for the model over the entire measurement region 3 Perform additional searching near the model Search Detection Method With search processing there a...

Страница 584: ...search processing speed by through the model parameter items Stab Prec and or Skipping angle If the value specified for Stab or Prec is small or if the value for Skipping angle is large the processin...

Страница 585: ...interval skipping angle and overall maximum rotation range for the model angle range Search is performed for objects that most resemble these acceptable models Example When angle range is 15 and skipp...

Страница 586: ...ges in the measurement region Edge Detection Method The following two types of edge detection method are available Projection Density method A projected waveform is formed relative to the density leve...

Страница 587: ...ighboring pixels for processing Edge Level Indicates the edge color change level degree of color difference This level is adjusted if edges cannot be accurately detected Note The value 0 to 100 for th...

Страница 588: ...value for color difference in the edge detection area are determined and if the difference is less than the noise level it is judged that there is no edge When detection is affected by noise increase...

Страница 589: ...se the color difference value Defect Detection Measurement Color changes within the measurement region are used to find defects such as scratches contamination and chipping After measurement region is...

Страница 590: ...defect detection size limits leads to weaker detection sensitivity and shorter processing time Handling Coordinates The processing items for measuring positions have a setting item called Output param...

Страница 591: ...rm calibration when selecting output to external devices Reference Calibration p 591 Calibration ON Calibration is performed during output and measured values after calibration are output Calibration...

Страница 592: ...to the measurement object from processing items that are related to position compensation Intelligent camera with lighting function Cameras with a dome shaped light can also be controlled with the con...

Страница 593: ...of the model are to be output by the search and ECM search processing item The initial value is at the center of a model Candidate With regards to search based processing items search flexible search...

Страница 594: ...units Processing unit A unit that constitutes measurement processing Scenes measurement flow are created by setting processing items in processing units Reference Creating a Scene p 47 Correlation val...

Страница 595: ...sed as 2 s complement 1 can be calculated by 0 1 There are methods for simple calculation without performing this kind of computation For instance Negative number inverting all bits of a positive numb...

Страница 596: ...input of specific values Set numerical values by dragging the slider Setting values can be done by dragging the slider on the screen The method for displaying the numeric keyboard and setting values...

Страница 597: ...o switch between uppercase and lowercase mode tap A a The default state is lowercase input mode Operation Method 1 Tap in the item in which a character string is to be set The soft keyboard is display...

Страница 598: ...ayed ex USBDisk USBDisk2 c Toolbar Copy Reference Enabled when a folder or file is selected in the List View area p 597 When tapped the file that is selected is copied and Paste becomes enabled Paste...

Страница 599: ...ile displayed Scene data System data etc in the List View area p 597 Available Operations in Select File Window This section describes the main operations available from the Select File window Note If...

Страница 600: ...r or File 1 Tap the name of file or folder to be deleted from the List View area The file or folder will be selected 2 Tap Delete A confirmation window is displayed 3 Tap OK The selected file or folde...

Страница 601: ...ons Zoom in button Enlarges the selected area to twice its size Original size button Displays the selected area in the original size Zoom out button Reduces the selected area by half Full screen butto...

Страница 602: ...ing Area Window for registering figures when registering or setting areas or models as measurement objects a Figures Displays a list of names of objects that have been set The figure at the bottom of...

Страница 603: ...ecify the object coordinates or radius Tapping or will display the items currently not displayed c Zoom Browser Area Magnifies the Image Display area by the selected magnification factor Setting Metho...

Страница 604: ...ength of a line Drag the points toward the intended direction Example When changing the oblique direction Drag a point in the direction the line is to be changed Example When changing the line width D...

Страница 605: ...ayed on the top bottom left right and lower right of the circle Dimension Adjustment Drag the points Example When zooming in on a circle Drag the point on the lower right of the circle Example When tr...

Страница 606: ...tting is performed through input of numbers or through tapping on the arrows Circumference Image selection status Points are displayed on the top bottom left and right of both the inner and outer circ...

Страница 607: ...Using numbers for setting The window for settings is split into two Setting is performed through input of numbers or through tapping on the arrows Arc Image selection status Points are displayed on t...

Страница 608: ...usting the width of an arc Drag a point on the inner or outer arc inward or outward Example When changing the angle of arc part that is open Drag one of the points at the end of the arc Using numbers...

Страница 609: ...ures 607 Crosshair Cursor Image selection status Entire image is selected Using numbers for setting Setting is performed through input of numbers or through tapping on the arrows The line type and lin...

Страница 610: ...e created If the number of vertexes is not within 3 to 10 the image cannot be confirmed as a polygon Image selection status Points are displayed at the vertexes of the figure Dimension Adjustment Drag...

Страница 611: ...cessing item About OR Setting NOT Setting The OR setting NOT setting is used when multiple images are combined Areas with complex shapes can be drawn through combining figures and unnecessary parts ca...

Страница 612: ...time the button is tapped OR The selected figure is displayed with a dotted line in the OK color When drawing multiple figures the entire area is registered as one region NOT The selected figure is d...

Страница 613: ...4 L35 270 135 90 67 232 116 77 58 40 20 13 10 11 5 FZ4 6 FZ4 H6 FZ4 7 FZ4 H7 43 21 14 10 FZ4 11 FZ4 H11 16 8 5 4 Intelligent compact camera 752 pixels x 480 pixels 0 3 megapixel camera 640 pixels x 48...

Страница 614: ...chrome camera 19 Image input related processing items Target processing items are as follows Item Processing item Loading images Camera Image Input Camera Image Input HDR Camera Switching Performing i...

Страница 615: ...ge input items that can be used is only reduced by one In the case of FZ4 11 H11 the number of processing items is not limited and as many processing items as permitted by the memory can be registered...

Страница 616: ...ype of controller 0 3 megapixel camera 2 megapixel camera 5 megapixel camera FZ4 L35 16 Camera0 Camera1 32 Camera2 Camera3 4 Camera0 Camera1 8 Camera2 Camera3 1 Camera0 Camera1 2 Camera2 Camera3 FZ4 6...

Страница 617: ...ecognized characters are output to an external device using a character code base 10 Calculation method for output value base 10 Number of upper level bits x 16 number of lower level bits of recognize...

Страница 618: ...Description For 0 3 megapixel cameras For 2 megapixel cameras For 5 megapixel cameras X_MAX The max value in the X axis orientation 639 1599 2447 Y_MAX The max value in the Y axis orientation 479 119...

Страница 619: ...files can be saved and read faster than using USB memory However capacity is a fixed 40 MB 256 MB for FZ4 11 H11 Files saved in RAMDisk are cleared when the power is turned OFF Application memory Thi...

Страница 620: ...ge Data Output area DM1000 When the PLC link Data Output area is set to DM1000 data is stored as follows in the PLC I O memory Up to 8 expressions can be registered in the serial output flow on the FZ...

Страница 621: ...isplay image As an example if 3 data items expression 0 DATA0 1 000 expression 1 DATA1 200 000 and expression 2 DATA2 1000 000 are output from FZ4 they are stored to the PLC Link area as measurement d...

Страница 622: ...class attribute 7 7 Get Maximum ID Number Instance Attributes UINT Attribute ID number of instance attribute 7 Instance Attribute ID Access Name Data type Description Attribute value 1 Get Vendor ID U...

Страница 623: ...ification 621 1 2 02h Message Router Object Class Attribute None Instance Attribute None Service None 1 3 06h Connection Manager Class Attribute None Instance Attribute None Service Code Service name...

Страница 624: ...bject Path size UINT Path size 2 Path Padded Segment specifying physical layer link object 20 F6 24 01 EPATH 5 Get Interface Configuration STRUCT of TCP IP network interface setting IP Address UDINT D...

Страница 625: ...Maximum instance number 3 3 Get Num Instance UINT Number of ports where instance is created 2 Instance Attribute ID Access Name Data type Description Attribute value 1 Get Interface Speed UDINT Inter...

Страница 626: ...n Attribute value 3 Get Data BYTE arrangement Byte data The data format is defined on the application side LINE 0 4 Get Size UINT Number of bytes Size 48 Instance Attribute O T Instance ID 102 ID Acce...

Страница 627: ...ace is executed The information for one API information is written into the log file as one record The format for each record written into the log file is as follows The four data items of the executi...

Страница 628: ...t processing SetMeasureOut Sets whether or not measurement results are output Reference Details p 271 UnLockMeasureStop Sets measurement trigger input to enabled Reference Details p 643 System Setting...

Страница 629: ...cene No Reference Details p 265 GetSceneTitle Acquires the scene title name Reference Details p 265 SetSceneDescription Sets the scene description Reference Details p 272 SetSceneMaker Sets the scene...

Страница 630: ...sing unit data GetUnitDataS2 Acquires processing unit data GetUnitFigure Acquires processing unit figure data Reference Details p 217 GetUnitItemIdent Acquires the identifier name for a processing ite...

Страница 631: ...ation SystemReset Executes a system reset Reference Details p 643 Section added in Ver 3 40 API name Function References CreateDirectory Creates a directory Reference Details p 631 CopyFile Copies a f...

Страница 632: ...than 0 Clearing the logging count information ClearImageLogCount Parameters None Return value If the image logging count is cleared successfully returns 0 Otherwise returns value other than 0 Clearin...

Страница 633: ...meters None Return value If it succeeded returns 0 Otherwise returns value other than 0 Copy File CopyFile Parameters srcFileName Name of file to copy from destFileName Name of destination file Return...

Страница 634: ...rns value other than 0 Ending an FZ process ExitFzProcess Parameters None Return value If the FZ process ended successfully returns 0 Otherwise returns value other than 0 Executing batch input of para...

Страница 635: ...0 Getting an image histogram GetHistgram Parameters unitNo Image input related and image conversion related processing item processing unit number imageNo Image number imageChannel Image channel numb...

Страница 636: ...n UdpNormal UDP non procedure communication UdpNormal2 UDP non procedure communication FXXX series method UdpPlcLink UDP PLC link Omron PLC UdpPlcLinkM UDP PLC link Mitsubishi PLC 3 Registers one of t...

Страница 637: ...Parameters ioIdent Initializing I O module identifier name ParallelIo Parallel I O Serial normal Serial non procedure communication UdpNormal Ethernet UDP non procedure communication Return value If...

Страница 638: ...nstopSync Parameters None Return value If non stop adjustment data is synchronized successfully returns 0 Otherwise returns value other than 0 Executing batch input of parallel I O and other terminal...

Страница 639: ...unication portNo Input port number Parallel I O DO0DO7 0 to 15 GATE0 100 BUSY 101 OR0 102 ERROR 103 RUN 104 READY0 105 GATE1 108 OR1 110 READY1 113 data Input data Return value If data is input succes...

Страница 640: ...connection IP address example 192 168 0 1 for the parameter with a character string Other I O The parameter specification is disabled use with it omitted parameterSize Input condition parameter size...

Страница 641: ...ings SaveSecurityData Parameters _userName User name executed _password User password executed fileName File path to save to Return value If it succeeded returns 0 Otherwise returns value other than 0...

Страница 642: ...e If data is output successfully returns 0 Otherwise returns value other than 0 Sending a character string SendString Parameters ioIdent I O module identifier name outputString Character string sent R...

Страница 643: ...ow SetJudgeWindow Parameters handle Handle locationX X coordinate of upper left of window locationY X coordinate of upper right of window fontSize Font size Return value If the judgment result display...

Страница 644: ...other than 0 Setting a user account SetUserAccount Parameters _userName User name executed _password User password executed userName Name of user to be set userGroupNo User group number to be set pas...

Страница 645: ...her than 0 Setting measurement trigger input to enabled UnLockMeasureStop Parameters None Return value If it succeeded returns 0 Otherwise returns value other than 0 Logging in as the specified user U...

Страница 646: ...8 Appendixes 644 Operation log format FZ4 User s Manual Return value If it succeeded returns 0 Otherwise returns value other than 0...

Страница 647: ...corner of the front or back cover Rev No Rev Date Revision Contents Software Version 01 Nov 2011 Original production Ver 4 0 01A May 2012 Minor corrections Ver 4 1 02 Nov 2012 Improvements in communic...

Страница 648: ...8 Appendixes 646 Manual Revision History FZ4 User s Manual...

Страница 649: ...arImageLogCount 630 ClearMeasureData 190 ClearScene 191 ClearSceneGroup 630 ClearSecurityData 630 ClearSettingData 631 Clearing a scene 67 Clearing measurement result 102 Clearing saved images 102 CLR...

Страница 650: ...633 GetImageLogInfo 633 GetImageSize 211 GetImageWindow 212 GetIoModuleIdent 634 GetMeasureOut Function 213 GetPlcData 213 GetPort API 634 GetPort Function 214 GetSecurityParameter 635 GetSystemData...

Страница 651: ...Noise level 586 Noise Width 587 Non procedure 360 Non stop adjustment 91 Non stop adjustment mode 38 NonstopSync 636 Normal mode 75 Not Function 243 NOT setting 609 O On Gosub 244 On Goto 245 OPELOGCO...

Страница 652: ...UP 502 SCNLOAD 503 SCNSAVE 504 Screen capture 103 ScreenCapture Custom Command 266 Search Detection 581 Search processing 580 Search speed 582 Select Case Case Else End Select 266 Select images 88 Sel...

Страница 653: ...art EtherNet IP 535 Touch pen 25 Trackball 25 Try Catch EndTry 285 Trend Monitor 93 Trigger delay 342 U UCase Function 286 Unit Terminology Explanation 593 UnitCount Function 287 UNITDATA No procedure...

Страница 654: ...652 FZ4 User s Manual...

Страница 655: ......

Страница 656: ...60169 U S A Tel 1 847 843 7900 Fax 1 847 843 7787 Regional Headquarters OMRON EUROPE B V Wegalaan 67 69 2132 JD Hoofddorp The Netherlands Tel 31 2356 81 300 Fax 31 2356 81 388 Contact www ia omron co...

Отзывы: