Vous êtes sur la page 1sur 8

Issued by: Mitsubishi Electric Europe B.V.

- UK Branch Document issue: Ver A, ~Jan 2010 Produced by : - Applications Travellers Lane, Hatfield, Herts, AL10 8XB, UK Author: Andrew Rocke

Databank Technical Bulletin

GOT Barcode Reader Function


Introduction The GT10/11/15/16 HMI supports a Barcode reader function that can be assigned to the RS232 communication interface to read barcode data when connected to a suitable barcode scanner Equipment GT11 GT Designer 3 Procedure The GOT RS232 pin outs are shown below. Please reference the documentation supplied with the barcode reader for its connections.

Title: Keywords:

. GOT Barcode RS232

GOT Barcode Reader Function

Page 1 of 8

Issued by: Mitsubishi Electric Europe B.V. - UK Branch Document issue: Ver A, ~Jan 2010 Produced by : - Applications Travellers Lane, Hatfield, Herts, AL10 8XB, UK Author: Andrew Rocke

Databank Technical Bulletin


Using GT Designer 3, install the Barcode Function Operating System component by navigating to the Communications Write to GOT. Then selecting the OS Install GOT tab, expanding the Extended Function OS menu and selecting the Barcode component. Once the relevant OS components have been selected install them to the desired location using the GOT Write button.

Title: Keywords:

. GOT Barcode RS232

GOT Barcode Reader Function

Page 2 of 8

Issued by: Mitsubishi Electric Europe B.V. - UK Branch Document issue: Ver A, ~Jan 2010 Produced by : - Applications Travellers Lane, Hatfield, Herts, AL10 8XB, UK Author: Andrew Rocke

Databank Technical Bulletin


In order to use the barcode function the Extended IO Function Output Information and system signals must be configured.

To enable these settings navigate to the Project Explorer, double click to select the System Environment menu and select the System Information sub menu. If PLC code is going to control the status of the Barcode reader these must be assigned to PLC registers e.g. D Registers. If the GOT is going to control the status then GOT registers e.g. GD registers can be assigned. The next step is to configure the RS232 port communications settings these must be set to match the Barcode reader communication setting.
Title: Keywords: . GOT Barcode RS232 Page 3 of 8

GOT Barcode Reader Function

Issued by: Mitsubishi Electric Europe B.V. - UK Branch Document issue: Ver A, ~Jan 2010 Produced by : - Applications Travellers Lane, Hatfield, Herts, AL10 8XB, UK Author: Andrew Rocke

Navigate to the System tab of the Project Explorer menu and double click on the Bar Code menu.

Databank Technical Bulletin

Select the I/F Communication menu from the project explorer and set the I/f 2 RS232 Channel to Ch No. 8 Barcode Reader. This will automatically select the Barcode Driver, if this is not the case, manually select barcode from the driver drop down list.

Click the Detailed Settings button to configure the Baud Rate, Parity, Stop Bits as required to enable the port to communicate with the Barcode reader.

Title: Keywords:

. GOT Barcode RS232

GOT Barcode Reader Function

Page 4 of 8

Issued by: Mitsubishi Electric Europe B.V. - UK Branch Document issue: Ver A, ~Jan 2010 Produced by : - Applications Travellers Lane, Hatfield, Herts, AL10 8XB, UK Author: Andrew Rocke

Databank Technical Bulletin

Apply the changes by clicking OK.

Title: Keywords:

. GOT Barcode RS232

GOT Barcode Reader Function

Page 5 of 8

Issued by: Mitsubishi Electric Europe B.V. - UK Branch Document issue: Ver A, ~Jan 2010 Produced by : - Applications Travellers Lane, Hatfield, Herts, AL10 8XB, UK Author: Andrew Rocke

Databank Technical Bulletin


Next configure the Barcode Reader setup in the GOT, to do this select Bar Code from the Project Explorer menu.

The Device specifies where the data read from the Barcode will be stored. The Device Points relates to length of data that will be read e.g. 2 characters per device point. The Header can be set up if the Barcode reader uses a header, for example if a Start of Frame Character is used. Likewise, the terminator that the Barcode code reader uses can be set up so the GOT can detect an end of a message. The Writing Byte Order can be swapped by the GOT if the data received from the reader needs to be formatted. It is also possible to set up what type of characters are used to fill gaps in the data.

Title: Keywords:

. GOT Barcode RS232

GOT Barcode Reader Function

Page 6 of 8

Issued by: Mitsubishi Electric Europe B.V. - UK Branch Document issue: Ver A, ~Jan 2010 Produced by : - Applications Travellers Lane, Hatfield, Herts, AL10 8XB, UK Author: Andrew Rocke

Databank Technical Bulletin


When the data has been successfully read by the Barcode Reader and the data transferred to the specified device, the External Device IO Signal CH8 turns ON (GD203.6). In order to read another barcode this signal needs to be reset. To reset this signal the External Device IO Complete Signal (CH8) needs to be set from OFF ON, (GD203.6). This will reset External Device IO Signal and the complete signal can be reset.

GD202

GD203

GD203.6 GD202.6

Title: Keywords:

. GOT Barcode RS232

GOT Barcode Reader Function

Page 7 of 8

Issued by: Mitsubishi Electric Europe B.V. - UK Branch Document issue: Ver A, ~Jan 2010 Produced by : - Applications Travellers Lane, Hatfield, Herts, AL10 8XB, UK Author: Andrew Rocke

The resetting procedure can either be done via buttons or script using the GOT or by PLC code. An example of the code required is included in the GT Designer 3 Screen Design manual section 13.3.5 and full documentation of the Barcode Reader function is detailed in this manual, section 13.3

Databank Technical Bulletin

Title: Keywords:

. GOT Barcode RS232

GOT Barcode Reader Function

Page 8 of 8

Vous aimerez peut-être aussi