EasyManua.ls Logo

Omron NX701-1620 User Manual

Omron NX701-1620
306 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #70 background imageLoading...
Page #70 background image
3 Programming the DB Connection Function
3-18
NJ/NX-series Database Connection CPU Units User’s Manual (W527)
3-4 Specifying the Table and Applying
the Mapping
You need to create a mapping from a DB Map Variable to the DB for each SQL type (INSERT,
UPDATE, and SELECT) before you can execute a record processing instruction (for inserting,
updating, or retrieving records).
This section describes how to create and clear the DB mapping and restrictions.
3-4-1 DB Mapping by Executing a Create DB Map Instruction
Execute a DB_CreateMapping (Create DB Map) instruction for mapping a DB Map Variable to
the connected DB. Specify the Table Name, DB Map Variable, and SQL Type in the
DB_CreateMapping (Create DB Map) instruction.
By doing so, you can map the DB Map Variable to the DB for each SQL type (i.e., INSERT,
UPDATE, and SELECT).
Refer to the explanation for DB_CreateMapping (Create DB Map) instruction in Appendix.
Table1
Name
LotNo
TotalCount
PCode
...
...
...
...
...
...
...
...
DB
Structure data type definition used by a DB
Map Variable
▼Table1
Name
STRING
[256]
LotNo
UINT
TotalCount
UINT
Pcode
UINT
3-4-2 Clearing the Mapping of DB Map Variables
Mapping of DB Map Variables is automatically cleared by the following operations.
When the DB Connection is closed
When the DB Connection Service is stopped*
When the DB Connection Service is shut down
When another mapping is applied to the DB Map Variable (i.e. mapping to a different table or
for a different SQL type)
* Refer to 4-1-3 DB Connection Service is Stopped or Cannot be Started for details on the stop of the DB
Connection Service.
Precautions for Correct Use
Mapping to the DB is automatically cleared when the DB Connection is closed.
Therefore, write the user program so that a DB_Connect (Establish DB Connection)
instruction is executed before a DB_CreateMapping (Create DB Map) instruction.

Table of Contents

Question and Answer IconNeed help?

Do you have a question about the Omron NX701-1620 and is the answer not in the manual?

Omron NX701-1620 Specifications

General IconGeneral
ModelNX701-1620
TypeCPU Unit
Power Supply24 VDC
Programming SoftwareSysmac Studio
Operating Temperature0 to 55°C
Storage Temperature-25 to 70°C
SeriesNX Series
Digital InputsDependent on I/O modules
Digital OutputsDependent on I/O modules
Communication PortsEthernet
Humidity10% to 90% (non-condensing)
Shock Resistance147 m/s², 3 times each in X, Y, and Z directions
Vibration Resistance10 to 57 Hz, 0.075 mm amplitude; 57 to 150 Hz, 9.8 m/s² acceleration

Summary

Introduction

Intended Audience

Specifies the target audience for this manual, requiring knowledge of electrical systems and FA.

Applicable Products

Lists the specific CPU Unit models and Sysmac Studio versions covered by this manual.

Relevant Manuals

Manual Structure

Page Structure

Details the components of a typical page, including headings, procedures, and icons.

Special Information

Precautions for Safe Use

Outlines precautions to ensure the safe usage of the product.

Precautions for Correct Use

Provides precautions for ensuring proper operation and performance of the product.

Additional Information

Offers extra details to enhance understanding or make operations easier.

Version Information

Details differences in specifications and functionality based on unit and Sysmac Studio versions.

Precaution on Terminology

Defines key terms like "download" and "synchronize" as used in the manual.

Sections in this Manual

Terms and Conditions Agreement

Warranty, Limitations of Liability

Details Omron's warranty terms, limitations, and buyer remedies for product defects.

Limitation on Liability; Etc

Limits Omron's liability for damages related to product use or consequential losses.

Application Considerations

Discusses suitability of use, programmable products, and critical safety considerations for applications.

Disclaimers

Covers performance data, specification changes, and errors/omissions.

Programmable Products

Clarifies Omron's non-responsibility for user programming of programmable products.

Performance Data

Explains that presented performance data is a guide and not a warranty.

Change in Specifications

States that product specifications may change without notice.

Errors and Omissions

Disclaims responsibility for clerical, typographical, or proofreading errors or omissions in the manual.

Safety Precautions

Precautions for Safe Use

Refers to hardware manuals for safety precautions and provides contact information for specific models.

Precautions for Correct Use

Regulations and Standards

Conformance to EU Directives

Details how NJ/NX-series Controllers comply with EU Directives and installation requirements.

Conformance to KC Standards

Provides precautions for using NX-series Units in Korea, noting Class A device registration.

Conformance to Shipbuilding Standards

Explains compliance with shipbuilding standards, including usage conditions for NK and LR standards.

Software Licenses and Copyrights

Informs about third-party software licenses and copyright information availability.

Versions

Unit Versions

Defines unit versions for hardware/software of Units and EtherCAT slaves.

Version Types

Describes the two types of versions: unit version and DB Connection Service version.

Checking Versions

Details methods for checking unit versions using ID information labels and Sysmac Studio.

Unit Versions of CPU Units and Sysmac Studio Versions

Relates supported functions to CPU Unit and Sysmac Studio versions, referring to B-4.

Related Manuals

Terminology

Revision History

Introduction to the DB Connection Service

1-1 Overview and Features

Introduces the DB Connection Service, its overview, and key features.

1-2 DB Connection Service Specifications and System

Details the specifications and system architecture of the DB Connection Service.

1-3 Operation Flow of the DB Connection Service

Outlines the basic operational flow for using the DB Connection Service.

Related product manuals