Bar Code Scanner

Top  Previous  Next

**

The bar code scanner reads the bar code of dynamics set through the generator when being created. This value is written to a word in the PLC. If the bar code scanner does not interleave with a dynamic, ‘0’ will be written.

 

In case of common dynamics the reader is considered to be covered if it overlaps anywhere with the dynamic. For all turnables it still applies that the position edge (on the bottom left) has to be inside the dynamic.

 

You can alter the size of the bar code scanner only by entering the new values in the edit mask. If the bar code scanner is covered by more than one dynamic, it will not be determined which value it will read.

 

The bar code scanner can be configured to be a bar code writer as well. It supplies each dynamic which covers it with the code that is in the PLC-Word.

If this value is zero, nothing will be written!

 

The bar code scanner can also detect and change the color of the dynamics. The numbers in PLC-Word are since version V2.9.60 a compressed RGB format that can be seen best with the digital display in hex-word format.

Red

Green

Blue

Black

: 0 0 0 F

: 0 0 F 0

: 0 F 0 0

: 0 0 0 1 !

 

--- #element funktions ---

#element.dyn_barcode_w        (read/write)

#element.dyn_color_w                (read/write)

#element.dyn_color                (read/write), dword, normal RGB format

---

See also:

Common properties

Generator

Dynamic elements of the simulation

Static elements of simulation

 

Tabsheet: Sensors