Keyence Xg Vision Editor Manual Lawn
.11文書のタイトルを入力 KEYENCE Image Processing System MODEL: XG Series.Introduction This document is a user's manual for the provider to use 'KEYENCE Image Processing System XG Series' connected to the DENSO robot controller RC8 series. Note that some functions may be unavailable on old XG models. For details and handling of the connected device, refer to the user’s manual of 'KEYENCE Image Processing System XG Series'.Contents Introduction.2 Important.2 Notice to Customers.2 1. Outline of This Product (Provider).4 2. How to Connect.6 3.
Communication Settings for Robot Controller and Device Used.7 4. Provider Execution Procedure.9 5. Command Description.10 6. Error Code of XG provider.25 7.画像処理システム/XGシリーズ 1. Outline of This Product (Provider) 1.1 Target device of provider This provider can be used only when a DENSO robot controller (RC8 series) is connected to the XG-7000/8000 series (hereinafter referred to as XG). XG Robot controller 1.2 Features of provider This provider is provided to use the XG native commands required to access XG series in the robot program.画像処理システム/XGシリーズ 1.3 Mechanism of provider This provider offers various programs required to control the target device as a single provider. Just activate the license to use the provider.
Keyence Xg Vision Editor Manual
Once provider implementation is declared on a desired program file, the functions prepared by the provider can be used as commands in the user program.2. How to Connect 2.1 Ethernet (TCP/IP) connection example To connect to the robot controller via Ethernet, use the optional dedicated cable (KEYENCE PN: OP-66843) or a crossover LAN cable. Also, when a switching hub/router is used, use the cable suitable for the switching hub/router specifications.画像処理システム/XGシリーズ 3. Communication Settings for Robot Controller and Device Used Use a teach pendant to adjust the communication settings for the device to be used. 3.1 Communication via Ethernet (TCP/IP) 3.1.1 Ethernet (TCP/IP) communication settings on robot controller Set the robot controller's IP address.
(1) Press F6 Setting - F5 Communication and Token - F2 Network and Permission to display the Communication Settings window.画像処理システム/XGシリーズ 3.1.2 Ethernet (TCP/IP) communication settings for XG series Select Setting Menu - System Settings on XG Vision Editor to display the Communications & I/O - Ethernet(TCP/IP) Settings window. Set the IP address and subnet mask so that the robot controller and XG series are within the same subnet mask.On Error Goto ErrorProc ‘Declare error process routine Dim caoCtrl as Object ‘Declare provider variable Dim vntResult as Variant ‘Declare result acquisition variable caoCtrl = cao.AddController('XG', 'caoProv.KEYENCE.VWXG', ', 'conn=eth:192.168.0.10') 'State from trigger to data receiving process' EndProc: ‘End process Exit Sub ErrorProc: ‘Error process.This page contains a description of commands. The commands are classified into connection commands, XG commands, and proprietary extension commands. For the detailed operation of XG commands, refer to the API list in the reference manual for V-Works for XG ActiveX Control for the KEYENCE XG-7000/8000 series. Table 5-1 List of commands., Argument: Assign a name (The name is used for control). 'CaoProv.KEYENCE.VWXG' Omit this parameter. Connection parameter Connection parameter 'conn=eth::Port number' Default port number is 8502.ChangeMode Argument: Switching between run and stop modes (integer) 0: Stop mode 1: Run mode Usage The operation mode is changed to run or stop.
Example Dim caoCtrl as Object caoCtrl=cao.AddController('XG','CaoProv.KEYENCE.VWXG', ', 'conn=eth:192.168.0.10') caoCtrl.ChangeMode 1 ‘Enter run mode.(Variant type) 0: Stop mode 1: Run mode 2: Remote capture mode Description The current operation mode (run, stop, or remote capture mode) is acquired. Example Dim caoCtrl as Object Dim vntResult as Variant caoCtrl=cao.AddController('XG','CaoProv.KEYENCE.VWXG', ', 'conn=eth:192.168.0.10') vntResult = caoCtrl.ReadMode.画像処理システム/XGシリーズ.Reset Usage Resets the controller. Syntax.Reset Description The controller is reset.
Example Dim caoCtrl as Object caoCtrl=cao.AddController('XG','CaoProv.KEYENCE.VWXG', ', 'conn=eth:192.168.0.10') caoCtrl.Reset.画像処理システム/XGシリーズ.Restart Usage Jumps to the next unit of the start unit. Syntax.Restart Description The command makes a jump to the next unit of the start unit. Example Dim caoCtrl as Object caoCtrl=cao.AddController('XG','CaoProv.KEYENCE.VWXG', ', 'conn=eth:192.168.0.10') caoCtrl.Restart.Argument: Specify the number of trigger to issue (integer). 1 – 8: Trigger 1 to 8 -1: All triggers However, Triggers 5 to 8 are supported in Version 5.0.0000 or later. Description A trigger is issued.
Example Dim caoCtrl as Object caoCtrl=cao.AddController('XG','CaoProv.KEYENCE.VWXG', ', 'conn=eth:192.168.0.10') caoCtrl.Trigger 2.画像処理システム/XGシリーズ.EnableTrigger Usage Enables/disables trigger input. Syntax.EnableTrigger Argument: Specify whether to enable/disable trigger (integer). 0: Trigger disabled 1: Trigger enabled Description Trigger is enabled/disabled. Example Dim caoCtrl as Object caoCtrl=cao.AddController('XG','CaoProv.KEYENCE.VWXG', ', 'conn=eth:192.168.0.10') caoCtrl.EnableTrigger 1.Return value: The trigger status is stored. If acquisition fails, -1 is stored. (Variant type) 0: Trigger disabled 1: Trigger enabled Description The trigger status (enabled/disabled) is acquired. Example Dim caoCtrl as Object Dim vntResult as Variant caoCtrl=cao.AddController('XG','CaoProv.KEYENCE.VWXG', ', 'conn=eth:192.168.0.10') vntResult = caoCtrl.ReadTriggerEnbale.1: Reflected at the end unit of flow (MS command) Description A value is written to a specified scalar variable.
Keyence Xg Vision Terminal
(This variable name is a name configured in the XG series.) Example Dim caoCtrl as Object caoCtrl=cao.AddController('XG','CaoProv.KEYENCE.VWXG', ', 'conn=eth:192.168.0.10') caoCtrl.WriteVariable '#MyVar', 2, 0.Return value: The variable value is stored. If acquisition fails, -1.0 is stored. (Variant type) Description The value of specified scalar variable is acquired. (This variable name is a name configured in the XG series.) Example Dim caoCtrl as Object Dim vntResult as Variant caoCtrl=cao.AddController('XG','CaoProv.KEYENCE.VWXG', ', 'conn=eth:192.168.0.10') vntResult = caoCtrl.ReadVariable('#MyVar').
Specify the test setting No. (Integer 0 to 999) Description The setting is changed to the test setting No.
Check the DVD first, and then throw the CD in the car for when you feel half-mack, half-punk. Linkin park collision course torrent. 's genuine excitement about the project on the 'behind the scenes' segment of the DVD is infectious, and watching the furious and fast teaming of 'Jigga What/Faint' teeter on the edge of falling apart is gripping.
Of the specified SD card. Example Dim caoCtrl as Object caoCtrl=cao.AddController('XG','CaoProv.KEYENCE.VWXG', ', 'conn=eth:192.168.0.10') caoCtrl.ChangeInspectSetting 1, 2 'Change SD card 1 test setting to No.2.Argument: Specify the error status (Integer 0, 1). 0:%Error0 and%Error0Code cleared 1:%Error1 and%Error1Code cleared Description The error status and error code of the specified type are cleared. Example Dim caoCtrl as Object caoCtrl=cao.AddController('XG','CaoProv.KEYENCE.VWXG', ', 'conn=eth:192.168.0.10') caoCtrl.ClearError 0.For the supported non-procedural commands, refer to the reference manual of V-Works for XG ActiveX control for XG series. Example Non-procedural command R0: The following shows an example of entering run mode.
Dim caoCtrl as Object Dim vntResult as Variant caoCtrl=cao.AddController('XG','CaoProv.KEYENCE.VWXG', ', 'conn=eth:192.168.0.10') vntResult = caoCtrl.ExecuteCommand('R0') ‘Enter run mode.-1.0 is stored. (Variant type) Description Issues a specified trigger and acquires the processing result specified for the output unit of the XG series-side. Example Dim caoCtrl as Object Dim vntResult as Variant caoCtrl=cao.AddController('XG','CaoProv.KEYENCE.VWXG', ', 'conn=eth:192.168.0.10') vntResult = caoCtrl.TriggerAndGetResult( -1 ).The specific error code of XG provider is created as shown below, based on the return value of XG. 0x80100010 + Return value For the error code of each command, refer to ActiveX control reference manual of Keyence. Example: When executing ChangeMode.画像処理システム/XGシリーズ 7.
Operation Panel Screen This provider provides the following operation panel screen. This operation panel uses the provider to check operations, etc. After connecting to the device. See the following as an application example of the operation panel. Displaying the operation panel establishes connection to XG (implements the provider).