Browse
(440) 299-7778
Menu
(440) 299-7778
One-year parts and labor warranty30-day money-back guaranteeContact

The text of a manual · part 13 of 47

Bulletin 2803 VIM Vision Input Module User Manual: 7 - Operating Environment

Pages 111 to 118 of 404, from Bulletin 2803 VIM Vision Input Module User Manual

The original document is the PDF (26 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.

For the Allen-Bradley 2803-VIM2

Page 111

Chapter

Chapter Objectives

7

Operating Environment

The objective of this ,chapter is to show how to use the Environment menu icons to configure the VIM2 module operating environment. For the most part, the operating environment parameters define the relationship between the VIM2 module and external host devices and trigger sources. Note: For more information on the interfacing with the VIM2 module, see Chapters 14 and 15. See Chapter 14 for more information regarding the PLCI VIM2 module interface. See Chapter 15 regarding the RS-485 port interface on the VIM2 module.

Operating Environment

Using the Environment menu icons, you can select the following operating environment parameters: Master Host or Standalone Mode: Select whether the VIM2 module operates as a standalone unit, or is controlled by a master host - either a PLC, or a host device connected to the RS-485 serial port. Note: The RS-485 port on the VIM2 module is point-topoint, half-duplex only. See Chapter 15 for more information on the RS-485 interface. Enable serial host/protocol: Enable VIM2 module communication to a host device connected to the RS-485 serial port, and select either DFl or ASCII protocol for serial communication. Select baud rate: Select the baud rate for communication with a host device connected to the RS-485 port. Select run mode trigger: Select run mode trigger source either the VIM2 module’s swingarm trigger input, or the trigger signal from the host. Select setup mode trigger: Select triggering to be used during setup - either automatic internal triggering and image acquisition, or the run mode trigger (either host or swingarm trigger source, whichever has been selected).

Page 112

Chapter 7-2

Accessing the Environment Menu

7

Operating

To begin to set up the operating environment, the Environment menu as described below.

first access the

Comments

Your Action Pick the Environment icon on the Setup menu to access the Environment menu.

Environment

If the Main menu is displayed, first access the Setup menu by picking the Setup icon (the “open padlock”). Then, with the Setup menu displayed, pick the Environment icon.

Setup Menu

1 b

Environment

/con Environment

Menu

Here are brief descriptions of the Environment menu icons:

Master Host / Standalone -Pick this icon to select the standalone mode, or to select a master host (PLC or the device connected to the RS-485 port). This icon, when picked, toggles between the PLC host icon and the Standalone icon (indicated by diagonal slash across the icon). The third icon, the Serial host icon, is available also, ifthe VIM2 module’s RS-485 port is enabled (see the next icon). Serial Enable - Pick this icon to enable the VIM2 module’s RS-485 port, and to select the protocol (DFI or ASCII) you will use in RS-485 communications. This icon, when picked repeatedly, cycles through three selections: 1) RS-485 port disabled (indicated by diagonal slash across the icon), 2) RS-485 port enabled, using DF1 protocol, and 3) RS-485 port enabled, using ASCU protocol. Baud Rate -When using the RS-485 port, pick this icon to select the baud rate for RS-485 communications, from a choice of 1200,2400,4800, or 9600. Run Mode Trigger-Pick this icon to select the trigger source for VIM2 module inspections. This icon, when picked, toggles between HOST TRIG (host triggered) and SWG TRIG (swingarm triggered). Setup Trigger - Pick this icon to select the trigger source during setup. This icon, when picked, toggles between two choices; select either internal trigger (indicated by diagonal slash across the icon) or Run Mode trigger (host or swingarm triggered, as selected by the Run Mode Trigger icon).

Page 113

Chapter

7

Operating Environment 7-3

Select the Master Host or Standalone mode according to whether the VIM2 will be operated as a standalone unit, or a PLC or other device has control as the master host.

Master Host vs. Stands/one Mode

Note that you can install the VIM2 with the PLC as a host, and/or connect a host device to the VIM2 module through the RS-485 port. Where two host devices are used, only one can act as the master host at any one time; you can, in this case, select the master host using the Master Host /Standalone icon. The master host is exclusively permitted to perform certain functions, such as downloading configurations to the VIM2 module, or triggering inspections. You can also choose to have no device serve as master host by selecting standalone mode, even though one or two host devices are used. In this case, no device operates as master host, although a subset of the master host functions can be performed by the PLC or serial device, such as collection of configuration or results information (for more specific command information for either the PLC and serial host, refer to Chapters 14 and 15, respectively). To select a master host or standalone mode, pick the Master Host I Standalone icon.

w

Master Host f Standalone Icon

Your Action

Comments

Pick the Master Host / Standalone icon as necessary to select the appropriate mode.

Here are descriptions of the Master Host 1 Standalone icon options:

PLC

PLC Host: Select this icon if you are configuring the VIM2 system with the PLC as the master host to the VIM2 module.

l&l

Standalone: Select this icon if you are configuring the VIM2 system without a PLC or other host device connected to the VIM2.

El

Serial Host: Select this icon if you are configuring the VIM2 system with device connected to the VIM2 RS-485 lines as the master host to the VIM2 module.

IEd

Note: The Serial Host icon is not available unless you first enable the RS-485 communication using the Serial Enable icon (described on the following page).

Page 114

Chapter 7-4

Enabling the RS-485 Serial POti

7

Operating

Environment

The VIM2 module can communicate to a device through the RS-485 communication port, which is available through the VIM2’s swingarm interface. A device connected to the RS-485 port must communicate with the VIM2 module using one of two protocols - DFl or ASCII. Note: For more information regarding use of these protocols, see Chapter 15. See also Appendix E for a description of DFl protocol. Use the Serial Enable icon to select whether or not the VIM2 module will communicate to a host device connected to the serial port, and to select either DFl or ASCII protocol for serial communciation.

Serial Enable Icon fl

Your Action Pick the Serial Enable icon as necessary to select the appropriate mode.

m

Baud Rate Icon

Comments Here are descriptions of the Serial Enable icon options:

Serial Disabled: Select this mode if you are not connecting any device to the VIM2 RS-485 lines. Note: You cannot select this icon if the serial host has been selected as the master host (see previous page). Enabled / DFl: Select this mode, if you are connecting a device to the VIM2 RS-485 lines, and if you intend to use DFl protocol to communicate with the VIM2 module. Enabled / ASCII: Select this mode, if you are connecting device to the VIM2 RS-485 lines, and if you intend to use ASCII protocol to communicate with the VIM2 module.

Selecting the Baud Rate Pick the Baud Rate icon as necessary to set the baud rate for communication.

a

If you are connecting a device to the RS-485 port of the VIM2 module, pick the baud rate icon to select the baud rate for RS-485 communications. Picking this icon repeatedly cycles through the baud rate options - 1200,2400,4800, or 9600.

Page 115

Chapter

Selecting Run Mode Trigger

7

Operating

Environment 7-5

The VIM2 module requires a trigger signal to initiate inspections in run mode. You can supply the trigger signal to VIM2 module by either of two methods: l

Host trigger - communication from the master host (either PLC or a device connected to the RS-485 port).

0

Swingarm trigger - direct hardware interface with the swingarm trigger input terminal.

If no master host is used, you must use the swingarm trigger method to trigger the VIM2 module. If you are using a master host with your VIM2 module, you can use either the host or the swingarm trigger method, but not both. Select the trigger source by picking the Run Mode Trigger icon, for the trigger method you intend to use.

Run Mode Trigger /con H

Comments

Your Action Pick the Run Mode Trigger icon as necessary to select the appropriate mode. HOST

TRIG cl

When you pick the Run Mode Trigger icon, it toggles between two options - Swingarm trigger and Host trigger. Here are descriptions of the two options:

Host Trigger - Select this icon if you intend to trigger the VIM2 module through communication from the host device. Swingarm Trigger - Select this icon if you intend to trigger the VIM2 module through the swingarm terminal.

KCG r-l

Note: If you select Host Trigger, the VIM2 module ignores the swingarm trigger (however, the SWG Trigger LED is always activated when you supply a trigger signal to the swingarm). If you select Swingarm Trigger, the VIM2 module ignores any attempt to trigger through communication from the (master) host.

Page 116

Chapter

7

7-6

Selecting the Setup lngger

Operating

Environment

When the VIM2 module is ih setup mode and is being configured, the module must at times acquire a video image for analysis from the video camera, in order to complete the setup procedure in progress. For example, whenever you attempt change the threshold level of a threshold image, or change the acceptance range of a line gage or window, the VIM2 module must acquire an image for analysis. You can select one of two methods for image acquisition during setup: l

Internal trigger-when the VIM2 needs to acquire an image during setup, it will do so automatically, without a trigger signal.

l

Run Mode trigger - when the VIM2 needs to acquire an image during setup, it will do so only upon receiving the trigger signal from the selected run mode trigger.

Use the run mode trigger setting to synchronize the image acquisition to an external trigger source during setup; this is especially valuable if you preparing to use strobe lighting, for example, or if the workpiece is positioned periodically in the workstage. Select the setup trigger by picking the Setup Trigger icon.

Setup Trigger Icon

Your Action Pick the Setup Trigger icon as necessary to select the appropriate mode.

Comments Here are descriptions of the Setup Trigger icon options:

lsl

Internal Trigger - Select this icon if you do not intend to use the run mode trigger during setup; the VIM2 will automatically acquire an image as needed.

bG El

Run Mode Trigger - Select this icon if you intend to use the run mode trigger during setup; the VIM2 will wait for a trigger signal to acquire an image.

Page 117

Chapter

Selecting the Setup Trrgger (continued)

7

Operating Environment 7-7

Note: If, during setup, the VIM2 Setup Trigger icon is set for run node trigger, and an image is required, the VIM2 module will wait for a trigger signal. If no trigger signal is received within one second, this image is displayed across the monitor screen, while the VIM2 awaits a signal:

To complete the procedure in progress, supply a trigger signal (from the host or through the swingarm, as configured). If this is not possible, and you wish to continue your configuration process, depress the tip of the light pen for about one second. The image acquisition occurs, and then the process in progress is completed.

Page 118

Chapter 7-8

Operating

Environment

7

(This page intentionally left blank)