Visual Foxpro Serial Communication Python

Posted on
ISO 6346
Freight containers -- Coding, identification and marking
Latest version3
6346:1995
Preview version1984
OrganizationInternational Organization for Standardization
AbbreviationISO 6346:1995

The SDK provides a rich set of examples in different programming languages (Java, Python, C++, LibreOffice 6.0 Basic, OLE) to illustrate the use of the API and demonstrate how to benefit from the included word. In these cases a document is provided which instantiates and runs the component (see the makefile output).

Sep 27, 2017. Search Tips Your search term for Msi Wrapper will return more accurate results if you exclude using keywords such as: key, license, activation, code, keygen, etc. Free msi wrapper license key download software at UpdateStar. Serials, numbers and keys for Msi Wrapper Serial Number Key. Msi Wrapper Keygen. Download from the site and use Msi Wrapper 7. Keygens for all software are here. Msi Wrapper Serial Numbers. Convert Msi Wrapper trail version to full software. Free msi wrapper license key download software at UpdateStar. Serials, numbers and keys for Msi Wrapper Serial. Msi wrapper install arguments. Download MSI Wrapper 7.1.11.0 free - Top4Download.com offers free software downloads for Windows, Mac, iOS and Android computers and mobile devices. Using warez version, crack, warez passwords, patches, serial numbers, registration codes, key generator, pirate key, keymaker or keygen for MSI Wrapper.

ISO-code and dimension/load table at several newly washed containers

ISO 6346 is an international standard covering the coding, identification and marking of intermodal (shipping) containers used within containerizedintermodal freight transport.[1] The standard establishes a visual identification system for every container that includes a unique serial number (with check digit), the owner, a country code, a size, type and equipment category as well as any operational marks. The standard is managed by the International Container Bureau (BIC).

  • 1Identification System
    • 1.4Check Digit

Identification System[edit]

Example of an ISO 6346 compliant container number:

BIC code on the end of a shipping container

The illustrated example is a code for a container owned by Hapag-Lloyd AG.[2]

Owner Code[edit]

The owner code consists of three capital letters of the Latin alphabet to indicate the owner or principal operator of the container. Such code needs to be registered at the Bureau International des Conteneurs in Paris to ensure uniqueness worldwide. An owner can apply for more than one code, as normally the first 2 letters are used as the owner code and the third is used to indicate pool (e.g. HLA, HLB, HLX are some Hapag-Lloyd codes to indicate whether container is standard, reefer..)

Equipment Category Identifier[edit]

The equipment category identifier consists of one of the following capital letters of the Latin alphabet:

  • U for all freight containers
  • J for detachable freight container-related equipment
  • Z for trailers and chassis

Presently, all official BIC container codes end in “U”. However, the Association of American Railroads recognizes similar codes for their containers and trailers traveling by rail in North America, however these are not recognized by the BIC and lack check digits.

Under the ISO code, then, only U, J, and Z are in use. The refrigerated (reefer) container is identified by means of the size type code.

Serial Number[edit]

The serial number consists of 6 numeric digits, assigned by the owner or operator, uniquely identifying the container within that owner/operator's fleet.

Check Digit[edit]

The check digit consists of one numeric digit providing a means of validating the recording and transmission accuracies of the owner code and serial number.

To compute the check digit, the letters have to be converted to numbers. This is done in three steps:

Calculation Step 1[edit]

An equivalent numerical value is assigned to each letter of the alphabet, beginning with 10 for the letter A (11 and multiples thereof are omitted):

ABCDEFGHIJKLM
10121314151617181920212324
NOPQRSTUVWXYZ
25262728293031323435363738

The individual digits of the serial number keep their numeric value.

Calculation Step 2[edit]

Each of the numbers calculated in step 1 is multiplied by 2position, where position is the exponent to base 2. Position starts at 0, from left to right.

The following table shows the multiplication factors:

1. nbr2. nbr3. nbr4. nbr5. nbr6. nbr7. nbr8. nbr9. nbr10. nbr
20212223242526272829
1248163264128256512

Calculation Step 3[edit]

  1. Sum up all results of Step above
  2. Divide them by 11
  3. Round the result down towards zero i.e. make the result a whole number (integer)
  4. Multiply the integer value by 11
  5. Subtract result of (iv) from result of (i): This is the check digit.

If the final difference is 10, then the check digit becomes 0. To ensure that this does not happen, the standard recommends that serial numbers should not be used which produce a final difference of 10; however, there are containers in the market which do not follow this recommendation, so handling this case has to be included if a check digit calculator is programmed.

Notice that step (ii) to (v) is a calculation of the remainder found after division of (i) by 11. Most programming languages have a modulo operator for this. Attention should be paid on how it is working in the language chosen; i. e. if it is giving back the decimal rest or the integer rest in order to get proper results. 11 is used as divisor because a container number has 11 letters and digits in total. In step 1 the numbers 11, 22 and 33 are left out as they are multiples of the divisor.

Example[edit]

CSQU305438Calc.
13302832305438
×1248163264128256512
136011225648032051276840966185 [a]
b) Division by 11:562.272..
c) Erase decimal digits:562
d) Multiply by 11:6182
a) minus d) = Check Digit:3

Practical Problems[edit]

In day-to-day business it happens that containers do appear which do not follow the ISO 6346 identification at all; however, they are fully CSC safety approved containers. Usually these are 'shippers owned' containers, which means that they are not owned by the carrier but supplied by the cargo owners (shippers). They may have no registered owner code and no category identifier and have no check digit. It is advisable to follow ISO 6346 as the absence of a compliant identification code causes problems for both carriers and container terminals to correctly identify the equipment and properly deliver the cargo, because computer systems require ISO 6346 conformant naming and as such missing prefixes are invented. For example, YYYY at the carrier and XXXX at the terminal causes the equipment to mismatch. Moreover, since ISO 6346 identification has become a requirement in international Customs conventions (Customs Conventions on Containers and Istanbul Convention), many Customs Administrations have begun validating that containers are marked as per the standard.

Size and Type Codes[edit]

The codes are compiled of the following elements:

  • First character, representing the length (coded)
  • Second character, representing the width and height (coded)
  • Third and fourth character indicating the type of the container

The following is an overview of the most common codes:

ISO Type GroupISO Size Type
CodeDescriptionCodeDescription
20GPGENERAL PURPOSE CONT.20G0GENERAL PURPOSE CONT.
20G1GENERAL PURPOSE CONT.
20HRISOLADO CONTAINE REEFER20H0INSULATED CONTAINER
20PFFLAT (FIXED ENDS)20P1FLAT (FIXED ENDS)
20TDTANK CONTAINER20T3TANK CONTAINER
20T4TANK CONTAINER
20T5TANK CONTAINER
20T6TANK CONTAINER
20TGTANK CONTAINER20T7TANK CONTAINER
20T8TANK CONTAINER
20TNTANK CONTAINER20T0TANK CONTAINER
20T1TANK CONTAINER
20T2TANK CONTAINER
22BUBULK CONTAINER22B0BULK CONTAINER
22GPGENERAL PURPOSE CONT.22G0GENERAL PURPOSE CONT.
22G1GENERAL PURPOSE CONT.
22HRINSULATED CONTAINER22H0INSULATED CONTAINER
22PCFLAT (COLLAPSIBLE)22P3FLAT (COLLAPSIBLE)
22P8FLAT (COLL.FLUSH FOLDING)
22P9FLAT (COLLAPSIBLE)
22PFFLAT (FIXED ENDS)22P1FLAT (FIXED ENDS)
22P7FLAT (GENSET CARRIER)
22RCREEFER CONT.(NO FOOD)22R9REEFER CONT.(NO FOOD)
22RSBUILT-IN GEN. F. POWER SPLY OF REEF22R7BUILT-IN GEN. F. POWER SPLY OF REEF
22RTREEFER CONTAINER22R1REEFER CONTAINER
22SNNAMED CARGO CONTAINER22S1NAMED CARGO CONTAINER
22TDTANK CONTAINER22T3TANK CONTAINER
22T4TANK CONTAINER
22T5TANK CONTAINER
22T6TANK CONTAINER
22TGTANK CONTAINER22T7TANK CONTAINER
22T8TANK CONTAINER
22TNTANK CONTAINER22T0TANK CONTAINER
22T1TANK CONTAINER
22T2TANK CONTAINER
22UPHARDTOP CONTAINER22U6HARDTOP CONTAINER
22UTOPEN TOP CONTAINER22U1OPEN TOP CONTAINER
22VHVENTILATED CONTAINER22V0VENTILATED CONTAINER
22V2VENTILATED CONTAINER
22V3VENTILATED CONTAINER
25GPGP-CONTAINER OVER-HEIGHT25G0GP-CONTAINER OVER-HEIGHT
26GPGP-CONTAINER OVER-HEIGHT26G0GP-CONTAINER OVER-HEIGHT
26HRINSULATED CONTAINER26H0INSULATED CONTAINER
28TGTANK FOR GAS28T8TANK FOR GAS
28UTOPEN TOP (HALF HEIGHT)28U1OPEN TOP (HALF HEIGHT)
28VHVE-HALF-HEIGHT =1448 MM HEIGHT28V0VE-HALF-HEIGHT =1448 MM HEIGHT
29PLPLATFORM29P0PLATFORM
2EGPGEN. PURP. WITHOUT VENT WIDTH 2.5M2EG0HIGH CUBE CONT. (WIDTH 2.5M)
42GPGENERAL PURPOSE CONT.42G0GENERAL PURPOSE CONT.
42G1GENERAL PURPOSE CONT.
42HRINSULATED CONTAINER42H0INSULATED CONTAINER
42PCFLAT (COLLAPSIBLE)42P3FLAT (COLLAPSIBLE)
42P8FLAT (COLL.FLUSH FOLDING)
42P9FLAT (COLLAPSIBLE)
42PFFLAT (FIXED ENDS)42P1FLAT (FIXED ENDS)
42PSFLAT (SPACE SAVER)42P6FLAT SPACE SAVER
42RCREEFER CONT.(NO FOOD)42R9REEFER CONT.(NO FOOD)
42RSREEFER CONT.(DIESEL GEN.)42R3REEFER CONT.(DIESEL GEN.)
42RTREEFER CONTAINER42R1REEFER CONTAINER
42SNNAMED CARGO CONTAINER42S1NAMED CARGO CONTAINER
42TDTANK CONTAINER42T5TANK CONTAINER
42T6TANK CONTAINER
42TGTANK CONTAINER42T8TANK CONTAINER
42TNTANK CONTAINER42T2TANK CONTAINER
42UPHARDTOP CONTAINER42U6HARDTOP CONTAINER
42UTOPEN TOP CONTAINER42U1OPEN TOP CONTAINER
45BKBULK CONTAINER45B3BULK CONTAINER
45GPHIGH CUBE CONT.45G0HIGH CUBE CONT.
45G1HIGH CUBE CONT.
45PCFLAT (COLLAPSIBLE)45P3FLAT (COLLAPSIBLE)
45P8FLAT (COLL.FLUSH FOLDING)
45RCREEFER CONT.(NO FOOD)45R9REEFER CONT.(NO FOOD)
45RTREEFER HIGHCUBE CONTAINER45R1REEFER HIGHCUBE CONTAINER
45UTOPEN TOP CONTAINER45U1OPEN TOP CONTAINER
45UPHIGH CUBE HARDTOP CONT.45U6HIGH CUBE HARDTOP CONT.
46HRINSULATED CONTAINER46H0INSULATED CONTAINER
48TGTANK FOR GAS48T8TANK FOR GAS
49PLPLATFORM49P0PLATFORM
4CGPGP CONTAINER4CG0GP CONTAINER (WIDTH 2.5 M)
L0GPHIGH CUBE CONT.L0G1HIGH CUBE CONT.
L2GPHIGH CUBE CONT.L2G1HIGH CUBE CONT.
L5GPHIGH CUBE CONT.L5G1HIGH CUBE CONT.

Use the below to calculate Size/Type of a less commonly used ISO 6346 containers:

ISO Length CodesSecond size code character
CodeContainer lengthCodeContainer heightWidth
110′08′8′
110′28′6″
220′28′6″
330′49′
440′59′6″
B24′6> 9′6″
C24′6″84′3″
G41′9<= 4′
H43′C8′6″2438mm < x <= 2500mm
L45′D9′
M48′E9′6″
N49′F> 9′6″
ISO Type Codes
CodeDescription
G0General - Openings at one or both ends
G1General - Passive vents at upper part of cargo space
G2General - Openings at one or both ends + full openings on one or both sides
G3General - Openings at one or both ends + partial openings on one or both sides
V0Fantainer - Non-mechanical, vents at lower and upper parts of cargo space
V2Fantainer - Mechanical ventilation system located internally
V4Fantainer - Mechanical ventilation system located externally
R0Integral Reefer - Mechanically refrigerated
R1Integral Reefer - Mechanically refrigerated and heated
R2Integral Reefer - Self-powered mechanically refrigerated
R3Integral Reefer - Self-powered mechanically refrigerated and heated
H0Refrigerated or heated with removable equipment located externally; heat transfer coefficient K=0.4W/M2.K
H1Refrigerated or heated with removable equipment located internally
H2Refrigerated or heated with removable equipment located externally; heat transfer coefficient K=0.7W/M2.K
H5Insulated - Heat transfer coefficient K=0.4W/M2.K
H6Insulated - Heat transfer coefficient K=0.7W/M2.K
U0Open Top - Openings at one or both ends
U1Open Top - Idem + removable top members in end frames
U2Open Top - Openings at one or both ends + openings at one or both sides
U3Open Top - Idem + removable top members in end frames
U4Open Top - Openings at one or both ends + partial on one and full at other side
U5Open Top - Complete, fixed side and end walls ( no doors )
T0Tank - Non-dangerous liquids, minimum pressure 0.45 bar
T1Tank - Non-dangerous liquids, minimum pressure 1.50 bar
T2Tank - Non-dangerous liquids, minimum pressure 2.65 bar
T3Tank - Dangerous liquids, minimum pressure 1.50 bar
T4Tank - Dangerous liquids, minimum pressure 2.65 bar
T5Tank - Dangerous liquids, minimum pressure 4.00 bar
T6Tank - Dangerous liquids, minimum pressure 6.00 bar
T7Tank - Gases, minimum pressure 9.10 bar
T8Tank - Gases, minimum pressure 22.00 bar
T9Tank - Gases, minimum pressure to be decided
B0Bulk - Closed
B1Bulk - Airtight
B3Bulk - Horizontal discharge, test pressure 1.50 bar
B4Bulk - Horizontal discharge, test pressure 2.65 bar
B5Bulk - Tipping discharge, test pressure 1.50 bar
B6Bulk - Tipping discharge, test pressure 2.65 bar
P0Flat or Bolster - Plain platform
P1Flat or Bolster - Two complete and fixed ends
P2Flat or Bolster - Fixed posts, either free-standing or with removable top member
P3Flat or Bolster - Folding complete end structure
P4Flat or Bolster - Folding posts, either free-standing or with removable top member
P5Flat or Bolster - Open top, open ends (skeletal)
S0Livestock carrier
S1Automobile carrier
S2Live fish carrier

Country Code (Optional)[edit]

The country code consists of two capital letters of the Latin alphabet as described in ISO 3166. It indicates the country where the code is registered not the nationality of the owner or operator of the container. The letters of the code shall not be less than 100 mm high.

Mandatory Operational Marks[edit]

Operational marks are intended solely to convey information requested for the movement of containers or give visual warnings. They relate to

  • the weight of containers
  • a symbol to denote air-surface container
  • a sign warning of overhead electrical danger
  • height marks for containers higher than 2.6 m (8 ft 6 in)

See also[edit]

The following is a list of further freight container related ISO specifications, where not all have an article assigned yet (you can help improve Wikipedia and start one):

Visual Foxpro Windows 10 Download

  • ISO 668 - Freight containers - Classification, dimensions and ratings
  • ISO 830 - Freight containers - Terminology
  • ISO 1161 - Freight containers - Corner fittings - Specification
  • ISO 1496 - Freight containers - Specification and testing
  • ISO 2308 - Hooks for lifting freight containers of up to 30 tons capacity - Basic requirements
  • ISO 3874 - Freight containers - Handling and securing
  • ISO 8323 - Freight containers - Air/surface (intermodal) general purpose containers - Specification and tests
  • ISO 9669 - Freight containers - Interface connections for tank containers
  • ISO 9711 - Freight containers - Information related to containers on board vessels
  • ISO 9897 - Container equipment data exchange (CEDEX)
  • ISO 10368 - Freight thermal containers - Remote condition monitoring
  • ISO 10374 - Freight containers - Automatic identification

References[edit]

Notes
  1. ^'ISO 6346:1995 - Freight containers -- Coding, identification and marking'. www.iso.org.
  2. ^BIC Codes online, accessed 22 March 2018
Sources
  • Bureau International des Containers: Containers BIC-Code (printed brochure)

External links[edit]

  • Freight Container Check Digit Calculator (includes Java source code for download *Static Java Method does not convert '10' check digit to '0')
  • List of owner codes (not the official BIC site)
Retrieved from 'https://en.wikipedia.org/w/index.php?title=ISO_6346&oldid=911039578'

Overview

This module encapsulates the access for the serial port. It provides backendsfor Python running on Windows, OSX, Linux, BSD (possibly any POSIX compliantsystem) and IronPython. The module named 'serial' automatically selects theappropriate backend.

  • Project Homepage: https://github.com/pyserial/pyserial
  • Download Page: https://pypi.python.org/pypi/pyserial

BSD license, (C) 2001-2017 Chris Liechti <cliechti@gmx.net>

Documentation

Visual Foxpro Tutorial

For API documentation, usage and examples see files in the 'documentation'directory. The '.rst' files can be read in any text editor or being converted toHTML or PDF using Sphinx. An HTML version is online athttps://pythonhosted.org/pyserial/

Foxpro

Visual Foxpro Download

Examples

Examples and unit tests are in the directory examples.

Installation

pip install pyserial should work for most users.

Detailed information can be found in documentation/pyserial.rst.

The usual setup.py for Python libraries is used for the source distribution.Windows installers are also available (see download link above).

or

To install this package with conda run:

conda install -c conda-forge pyserial

conda builds are available for linux, mac and windows.