您好,欢迎来到华佗小知识。
搜索
您的当前位置:首页3AFE68237432RevC_AC800M_CI858

3AFE68237432RevC_AC800M_CI858

来源:华佗小知识
800xA - Control and I/O

System Version 4.0

IndustrialIT

CI858 DriveBus Communication Interface

User’s Manual

800xA - Control and I/O

System Version 4.0

IndustrialIT

CI858 DriveBus Communication Interface

User’s Manual

NOTICE

The information in this document is subject to change without notice and should not beconstrued as a commitment by ABB. ABB assumes no responsibility for any errors thatmay appear in this document.

In no event shall ABB be liable for direct, indirect, special, incidental or consequentialdamages of any nature or kind arising from the use of this document, nor shall ABB beliable for incidental or consequential damages arising from use of any software or hard-ware described in this document.

This document and parts thereof must not be reproduced or copied without written per-mission from ABB, and the contents thereof must not be imparted to a third party nor usedfor any unauthorized purpose.

The software or hardware described in this document is furnished under a license andmay be used, copied, or disclosed only in accordance with the terms of such license.This product meets the requirements specified in EMC Directive /336/EEC and in LowVoltage Directive 72/23/EEC.Copyright © 2003 - 2004 by ABB. All rights reserved.Release:

Document number:

October 2004

3AFE68237432 Rev C

TRADEMARKS

Registrations and trademarks used in this document include:WindowsActiveXPostScriptAcrobat ReaderIndustrial IT

Registered trademark of Microsoft Corporation.Registered trademark of Microsoft Corporation.Registered trademark of Adobe Systems Inc.Registered trademark of Adobe Systems Inc.Trademark of ABB.

Table of Contents

TABLE OF CONTENTS

About This Book

Introduction.........................................................................................................9Terminology.......................................................................................................10Related Documents...........................................................................................12

Safety Summary

Introduction.......................................................................................................13General Safety Instructions for AC and DC Drives...........................................13

Section 1 - Hardware and Connections

Introduction.......................................................................................................15CI858 Features.................................................................................................17CI858 Connections............................................................................................19

Drive Channel / DDCS DriveBus............................................................20Special I/O Channel................................................................................22PC Tool Channel.....................................................................................23

Section 2 - Mounting

Introduction.......................................................................................................25

Mounting the Unit onto the DIN rail.........................................................25

Section 3 - Communication

Introduction.......................................................................................................27Dataset Communication....................................................................................29

Example of Datasets in the ACS800 Standard Application Program......30Example of Datasets in the ACS800 System Application Program........31

Section 4 - Configuration

Introduction.......................................................................................................33

3AFE682374325

Table of Contents

Control Builder..................................................................................................33CI858 Configuration..........................................................................................36

Adding a CI858 Unit................................................................................36CI858 Parameters...................................................................................36Drive Configuration...........................................................................................38

Adding a Drive........................................................................................38Drive Parameters....................................................................................39

ABB Standard Drive and ABB Engineered Drive.....................39ABB Drive Template (basic/extension)....................................40BusManager............................................................................41

Special I/O Configuration..................................................................................42

Adding a Special I/O Unit........................................................................42Special I/O Parameters...........................................................................43

Special I/O Template................................................................44

Connections......................................................................................................44Special I/O Function Blocks..............................................................................46

How to Insert a Library File......................................................46How to Insert a Special I/O Unit...............................................46

Activating a Function Block.....................................................................47NBIO-21.................................................................................................48

BIO2CONF............................................................................48BIO2DIBIO2DOBIO2AOBIO2AIBIO3DIBIO3DO

NDIO

NDIO1DINDIO1DO

NAIO

............................................................................50............................................................................50............................................................................51............................................................................54............................................................................56............................................................................57............................................................................58............................................................................59

NBIO-31.................................................................................................56

.................................................................................................58

.................................................................................................60

63AFE68237432

Table of Contents

NAIO2AONAIO2AI

NPCT

............................................................................60............................................................................63

.................................................................................................65PCT_CONF............................................................................65SPEEDPO1............................................................................69SPEED_RPOS_IL1CONV24

............................................................................73............................................................................74............................................................................75............................................................................77............................................................................79............................................................................80

NTACNWIO

.................................................................................................76TAC_SPNWIO1DINWIO1DO

.................................................................................................78

NCTINDSC

.................................................................................................82.................................................................................................82

Output Error............................................................................................82Changing the CI858 System Settings...............................................................83Online Help.......................................................................................................83

Appendix A - Technical Data

General Technical Data...........................................................................85Ambient Data..........................................................................................85LED Indicators........................................................................................86Power Supply Requirements..................................................................87Optical Connectors.................................................................................87DIN rail - TS 35/7.5.................................................................................88CEB Connector, X1.................................................................................CEX Bus Interface..................................................................................91Firmware Download................................................................................91

3AFE682374327

Table of Contents

83AFE68237432

About This BookIntroduction

About This Book

Introduction

This manual introduces the installation and start-up of the CI858 communication interface.

CI858 is a communication interface for the DriveBus protocol. ABB Drives and Special I/O units communicate with the AC 800M controller via the

CI858. The CI858 is designed especially for sectional drive applications, for example ABB rolling mill drive systems and ABB paper machine drive systems.

Section 1, Hardware and Connections

Provides an overview of the CI858 hardware and physical connections.Section 2, Mounting

Describes the mounting of the CI858.Section 3, Communication

Introduces the software and the content of messages used for

communication between the CI858, AC 800M, ABB Drives and Special I/O units.

Section 4, Configuration

Describes how to prepare the CI858 and its units for communication i.e. how to make logical connections between the AC 800M application variables and the ABB Drives’ internal variablesAppendix A, Technical DataContains technical data.

3AFE682374329

Terminology About This Book

Terminology

The following table lists the terms used in this document.

Term

ABB Drives

ABB Drive Template (basic / extension)

Description

DC and AC drives by ABB

ABB Drive Template (basic) is a CI858

configuration option with eight dataset pairs.With ABB Drive Template (extension) the dataset pair number can be extended

CI858 configuration option with two dataset pairs. Standard Drive option is used with Standard Application firmware.

CI858 configuration option with eight dataset pairs. Engineered Drive option is used with System Application firmware.

Advant Controller 800M series, general purpose process controller

Communication Expansion Base PlateCommunication Expansion ModuleCommunication Expansion BusCommunication Interfaceengineering toolCentral processing unit

Communication and Status RegisterDistributed Drives Communication SystemDual port memory

Dual Port Random Access Memory

ABB Standard Drive

ABB Engineered DriveAC 800MCEBCEMCEX busCI858Control BuilderCPUCSRDDCSDPMDPRAM

103AFE68237432

About This BookTerminology

Term

DriveBusDSDSPDWEMCFPGAhardware treeICMC02LEDLVDSNAIONBIONCTINDBUNDIONDSC-01NPCTNTACNWIOONCEPPPTCP/IP

Description

Communication link dedicated for ABB drivesDataset

Digital Signal ProcessorData word

Electromagnetic CompatibilityField Programmable Gate Array

The data structure of a hardware configuration for a controller.

Integrated Control module Circuit (=communications ASIC)Light Emitting Diode

Low Voltage Differential SignalingAnalogue I/O Extension ModuleBasic I/O Unit

Crane Transducer InterfaceBranching Unit

Digital I/O Extension Module

control board of the ACS600 Diode Supply UnitPulse Counter and Timer UnitPulse Encoder Interface ModuleWatchdog I/O ModuleOn-Chip Emulation unit

Point-to-Point Protocol

Transmission Control Protocol/Internet Protocol

3AFE6823743211

Related Documents About This Book

Related Documents

The following table lists the documentation related to this manual.

Category

Hardware

Title

AC 800M Controller Hardware, [3BSE027941(English)]

NDBU-85/95 DDCS Branching Units User’s Manual, [3BFE285513(English)]

NTAC-0x/NDIO-0x/NAIO-0x Installation and Start-up Guide [3AFY 519730 (English)]Crane transducer Interface User’s manual [3ASC23F207 (English)]

ACA 631/633 Diode Supply Section User's Manual [3AFY 61451544 (English)]

NPCT-01 Pulse Counter/Timer Unit description [3AFY362828(English)]

Software

AC 800M/C Communication, Protocols and Design, [3BSE 028 811(English)]AC 800M Firmware Delivery CD-ROM

123AFE68237432

Safety Summary

Introduction

The complete safety instructions stated in the appropriate ABB Drive Hardware Manual must be followed when installing, operating and servicing the frequency converters. Study the complete safety instructions carefully.

General Safety Instructions for AC and DC Drives

These general safety instructions include only main parts of the

complete safety instructions. Neglecting these instructions may cause physical injury or death.

WARNING! All electrical installation and maintenance work on the drive should be carried out by qualified electricians.

Ground the drive, the motor and adjoining equipment to ensure

personnel safety in all circumstances, and to reduce electromagnetic emission and pick-up.

Any installation work must be done with power off, and power is not to be reconnected unless the installation work is complete. Wait 5 minutes after switching off the supply before starting work. Always ensure by measuring that the drive is de-energized.

If the auxiliary voltage circuit of the drive is powered from an external power supply, opening the disconnecting device does not remove all voltages. Before starting work, check which circuits remain live after opening of the disconnecting device by referring to the circuit diagrams for your particular delivery. Ensure by measuring that the part of the cabinet you are working on is not live.

Do not make any voltage withstand tests on any part of the unit while the unit is connected.

Disconnect motor cables before making any measurements on motors or motor cables.

3AFE68237432 13

Live parts on the inside of doors are protected against direct contact. Special safety attention shall be paid when handling shrouds made of sheet metal.

Check the cable connections at the shipping split joints before switching on the supply voltage.

WARNING! Close switch fuses of all parallel connected inverters before starting the frequency converter.

Do not open the drive section switch fuses when the inverter is running.WARNING! Fans may continue to rotate for a while after the disconnection of the electrical supply.

WARNING! Some parts like heatsinks of power semiconductors and toroidal cores on motor cables inside of cabinet remain hot for a while after the disconnection of the electrical supply.

3AFE68237432

14Section 1 Hardware and ConnectionsIntroduction

Section 1 Hardware and Connections

Introduction

The CI858 unit consists of a communication expansion base plate board CEB, a communication expansion module board CEM, and mechanics. All electronic devices and all functions are located on the CEM board.

DriveBus LED'sI/O Bus LED'sDriveBusCEMboardI/O BusPC ToolsCEX businterfaceCEBboardFigure1.CI858 communication interface.3AFE6823743215

IntroductionSection 1 Hardware and Connections

The CEM board connects via connector X1 to the CEB board, which in turn is connected to the CEX bus.X1Figure2.CI858 CEM board.163AFE68237432

Section 1 Hardware and ConnectionsCI858 Features

CI858 Features

The maximum number of CI858 units connected to the AC 800M is two.The functional structure of the CI858 includes•

CEX bus interface:

Communication between the CI858 and the AC 800M is implemented through the CEX bus. The CEX bus operates with a clock frequency of MHz. The maximum transfer data is ~1.25 MBytes/s.•

DDCS interfaces for–––•••••••

DriveBusI/OBusPC Tool

+24 V power supply from the CEX bus.

DC/DC conversion from +24 V to +5 V, + 3.3V and +2.5 V.

Motorola Digital Signal processor DSP56303 with 72 MHz CPU frequency.

Xilinx XC2S50 FPGA for the CEX bus interface. 94 user I/O pins available on CI858.

32 kB boot PROM, AT27LV256, for boot code.1 MB flash PROM, Am29DL800B, for program code.768 kB SRAM program and data memory.

AC 800M and CI858 communicate with each other via dual-port RAM, DPRAM. The DPRAM has the following functionalities:••••

Dual-port memory, 32 * 16 kB.One interrupt in each direction.

Eight semaphores which simplifies the utilization of shared resources.ONCE port which can be used for reprogramming the module.

3AFE6823743217

CI858 FeaturesSection 1 Hardware and Connections

CEX bus+24 VDC/DC conv.+5 V+3.3 V+2.5 VFPGA XC2S50CEX if.DPRAM kBlevel shifting 3.3V / 5 VONCE osc. 32MHzLVDS transc.reset circuitsSRAM 768 kBFLASH 1 MBboot 32 kBMotorola DSP DSP56303communication controller ICM02Ch3 Ch0 Ch1 Ch2 DriveBus I/OBus notusedPCtools

10Mbit/s10 Mbit/s5Mbit/s

Figure3.Functional block diagram of the CI858.

183AFE68237432

Section 1 Hardware and ConnectionsCI858 Connections

CI858 Connections

CI858AC 800MS800 I/O

drive tooloptic fibresspecial special I/OI/ONDBUFigure4.CI858 connections.

3AFE6823743219

Drive Channel / DDCS DriveBusSection 1 Hardware and Connections

Drive Channel / DDCS DriveBus

ABB Drives can be connected to the AC 800M via the CI858.

DDCS CI858

MSTR

BranchingUnits

CH1

NDBU

CH2

CH3CH0

CH0MSTR

NDBU

CH1

CH2

CH3CH0

• • •

CH0

CH0

CH0

CH0

drive

DriveDrive• • •

drive

DriveDrive• • •

Up to 24 drives

Figure5.DriveBus topology.

203AFE68237432

Section 1 Hardware and ConnectionsDrive Channel / DDCS DriveBus

Main communication functions of the Drive channel are:

–––

dataset communicationbroadcast system time

supervision and diagnostics functions

The data exchange between the AC 800M and ABB Drives consists of dataset pairs. The DriveBus is able to transfer at the maximum 8dataset pairs/1ms.

The Drive channel can be used for controlling up to 24 drives. Connecting more than one drive to the CI858 requires the use of a branching unit NDBU, which enables the construction of a logical bus with physical star topology. The branching units can be chained. For more information on the NDBU branching unit, see DDCS Branching Units User’s Manual, 3BFE 285513.

The Drive channel supports the following drives:

––––––––––

ACS800 / ACS600 SingleDriveACS800 / ACS600 MultiDrive ACS800 / ACS600 IGBT supply unitsACS600 thyristor supply units ACS140...ACS400 DCS600 and DCS400

ACS6000 product family / large drives ACS1000 product family

future drive types which are provided with DDCS interfacespecial drive applications, see ABB Drive Templates in Drive Parameters on page 39

3AFE6823743221

Special I/O ChannelSection 1 Hardware and Connections

Special I/O Channel

Note: Special I/O will not be a part of the Control and I/O functionality in the System version 3.1 released and owned by ABB Automation Technology Products AB.

The CI858 Special I/O channel can be used to connect up to 12 I/O’s per unit. The I/O channel is able to transfer 2 dataset pairs / 1 ms. The I/Ounits are connected in a ring topology.The following I/O units are supported:

––––––––––

NAIO-03 Analogue I/O Extension Module - contains 2 current or voltage inputs and 2 current outputs

NBIO-21 Basic I/O Unit 2 - contains 3 digital inputs, 2 analogue inputs, 2 digital outputs and 2 analogue outputs

NBIO-31 Basic I/O Unit 3 - contains 4 digital inputs and 3 digital outputs

NCTI-01 Crane Transducer Interface

NDIO-02 Digital I/O Extension Module - contains 2 digital inputs and 2 relay outputs

NDSC-01 control board of the ACS600 Diode SupplyNPCT-01 Pulse Counter and Timer Unit - contains 2 encoder inputs, 4 digital inputs, 4 digital outputs

NTAC-02 Pulse Encoder Interface Module - contains an interface for a digital pulse encoder connection

NWIO-01 Watchdog I/O Module - contains watchdog logic for supervising the operation of the software

special I/O applications, see Special I/O Parameters on page 43

223AFE68237432

Section 1 Hardware and ConnectionsPC Tool Channel

PC Tool Channel

The PC Tool channel can be used for downloading firmware to the CI858. The firmware is downloaded with a special loading package and it does not involve using the Control Builder engineering tool. For instructions on how to download CI858 firmware, see AC 800M Firmware Delivery CD-ROM: DELIVERYFIRMWARE\\FIRMWARE\\CI858.

3AFE6823743223

PC Tool ChannelSection 1 Hardware and Connections

243AFE68237432

Section 2 MountingIntroduction

Section 2 Mounting

Introduction

The CI858 is powered from the processor unit via the CEX bus and requires therefore no additional external power source. The unit is mounted onto a horizontal DIN rail.

Mounting the Unit onto the DIN rail

The base plate has a locking mechanism that connects the metallic back plate to the DIN rail, providing an effective ground connection.1.

Rotate the locking device to the OPEN position. Hook the upper lip at the rear of the base plate over the upper edge of the DIN rail and snap the base plate fully into the mounting position.

Rotate the locking device to the SLIDE position. Slide the unit along the DIN rail to the desired mounting position and attach it to the adjacent unit base plate with the connector plugs and sockets.Rotate the locking device clockwise to the LOCKED position.

2.

3.

OPENSLIDELOCKED

3AFE6823743225

Mounting the Unit onto the DIN railSection 2 Mounting

The additional screw lugs, located in the lower part of the base plate, serve no electrical function. They provide secure mounting in locations subject to vibration.

263AFE68237432

Section 3 Communication

Introduction

The CI858 software consists of three parts: AC 800M controller software, Control Builder software and CI858 digital signal processor software. The most important functions of the CI858 software are:••••••

Cyclic output/input to/from drives.Cyclic data to/from I/O units

Easy configurability of drives and I/O’s to the AC800M.

Identification method, self-checking and preventive systems to avoid incorrect configurations.

Time synchronization of drives to the common calendar time.Communication diagnostics for the application

3AFE6823743227

IntroductionSection 3 Communication

The following picture presents parts of the CI858 software, and how they reside with the AC 800M hardware and software.

AC 800M Control Builder

CI858 protocol handler in the Control Builder

TCP/IP or PPP protocol

AC 800M Controller Atlas layer

CI858 protocol handler in the controller

Omega layer

VICI-driver

CEX-bus

CI858 hardware unit with DPM communi-cation memory

CI858 firmware

DriveBus

drives and I/O ring

ATLAS is a generic framework code for the AC 800M CPU firmware.OMEGA is a hardware abstraction layer for the AC 800M CPU firmware.

VICI is a very intelligent CI, communications interface. DPM specification for all new intelligent CI units for AC 800M.

283AFE68237432

Section 3 CommunicationDataset Communication

Dataset Communication

The data exchange between the AC 800M, ABB Drives and I/O units via the CI858 consists of dataset pairs, which include input and output datasets. One dataset (DS) consists of three 16-bit words called data words (DW).Datasets are read from ABB Drives. Therefore datasets need to be defined by setting ABB Drive dataset parameters during the system configuration. See Section 4, Configuration on page 33.

AC 800M / CI858

Application controller software

DS11

in channel 1in channel 2in channel 3

RMIO

Address

assignment ofdatasets

GroupIndex920192029203In_variable1

In_variable2In_variable3

DriveBusCH0

Dataset tableDSValueVAL 111VAL 2VAL 3AMC table

Out_variable1Out_variable2Out_variable3

DS10

out channel 1out channel 2out channel 3

DriveBus

CH0

Dataset tableDSValueVAL 110VAL 2VAL 3Address

assignment of datasets

GroupIndex900190029003AMC table7.0123.0125.01Figure6.Dataset communication.

3AFE6823743229

Example of Datasets in the ACS800 Standard Application ProgramSection 3 Communication

Example of Datasets in the ACS800 Standard Application Program

The ACS800 Standard Application Program 7.x supports the use of four datasets, two in each direction.

The two datasets for controlling the drive are referred to as the Main

Reference dataset and the Auxiliary Reference dataset. The sources from which the drive reads the Main and Auxiliary Reference datasets are defined by parameters 90.04 and 90.05 respectively. The contents of the Main Reference dataset are fixed. The contents of the Auxiliary Reference dataset can be selected using parameters 90.01, 90.02 and 90.03.The two datasets containing actual information on the drive are referred to as the Main Actual Signal dataset and the Auxiliary Actual Signal dataset. The contents of both datasets are partly selectable with the parameters at group 92.

External control is activated by setting parameter 98.02 COMM. MODULE LINK to ADVANT.

Table1.ACS800 Standard Application Program datasets

Data from advant controller to driveWord

Contents

Selector

Word

Data from drive to advant controller

Contents

Selector

Main Reference dataset DS11st Word2nd Word3rd Word

Control WordReference 1Reference 2

(Fixed)(Fixed)(Fixed)

Main actual Signal dataset DS21st Word2nd Word3rd Word

Status WordActual 1Actual 2

(Fixed)*Par.92.02Par.92.03

Auxiliary Reference dataset DS31st Word2nd Word3rd Word

Reference 3Reference 4Reference 5

Par.90.01Par.90.02Par.90.03

Aux. Actual Signal dataset Ds41st Word2nd Word3rd Word

Actual 3Actual 4Actual 5

Par.90.04Par.90.05Par.90.06

*Actual 1 is fixed to actual signal 01.02 SPEED (in DTC motor control mode) or 01.03 FREQUENCY (in Scalar mode).

303AFE68237432

Section 3 CommunicationExample of Datasets in the ACS800 System Application Program

Example of Datasets in the ACS800 System Application Program

The System Application Program supports the use of datasets 1, 2 or

datasets 10...33. Datasets 10...25 are used for data exchange between the AC 800M, ABB Drives and I/O units via the CI858.

Datasets 10...25 are activated by setting parameter 98.02 COMM MODULE to FBA DSET10. Every dataset has a specified read and write task interval in the drive program. The contents of datasets can be selected using parameter Groups 90...93.

3AFE6823743231

Example of Datasets in the ACS800 System Application ProgramSection 3 Communication

Table2.An example of the System Application datasets.

Data from advant controller to driveDS no.10

Word1st Word2nd Word3rd Word1st Word12

2nd Word3rd Word1st Word

14, 16,

2nd Word

18, 20

3rd Word1st Word

22,24

2nd Word3rd Word

19

Par.91.01 ... 90.06

17

ContentsMain Ctrl WordSpeed RefTorque Ref AReference 3Reference 4Reference 5

SelectorPar.90.01Par.90.02Par.90.03Par.90.04Par.90.05Par.90.06Par.90.07... 90.18

151311DS no.

Data from drive to advant controllerWord1st Word2nd Word3rd Word1st Word2nd Word3rd Word1st Word2nd Word3rd Word1st Word2nd Word3rd Word1st Word2nd Word3rd Word1st Word

21

2nd Word3rd Word1st Word

23,25

2nd Word3rd Word

Limit Word 1Limit Word 2

ContentsMain status wordSpeed measuredTorque Ref BAux Status WordMotor SpeedTorqueFault Word 1Fault Word 2Fault Word 3Alarm 1Alarm 2

SelectorPar.92.01Par.92.02Par.92.03Par.92.04Par.92.05Par.92.06Par.92.07Par.92.08Par.92.09Par.92.10Par.92.11Par.92.12Par.92.12Par.92.13Par.92.14

Temperature (of the Par.92.16heatsink)Motor Meas Temp

Par.92.17Par.92.18Par.93.01...Par 93.06

323AFE68237432

Section 4 Configuration

Introduction

To activate communication between AC 800M, CI858, ABB Drives and I/O units the system must be configured with valid parameters:••

Configure the CI858 system with the Control Builder engineering tool.Define the system datasets by setting the ABB Drive dataset

parameters, for example parameter groups 90...93 for Engineered Drives. See appropriate ABB Drive Firmware Manual for dataset and other required parameter settings.

Control Builder

CI858 system is configured with the Control Builder engineering tool. The configuration includes the following steps:1.2.3.4.

Add units to the hardware tree.Define parameters.Connect variables.

Download the project to the controller when all the required steps have been completed.

Note: The CI858 network can be halted during download.

3AFE6823743233

Control BuilderSection 4 Configuration

The CI858 and it’s units are inserted and defined in the hardware tree with the following hierarchical levels•••

CI858

Drive channel and Special I/O channeldrives and I/O units

Figure7.Control Builder’s hardware tree in the Project Explorer.

343AFE68237432

Section 4 ConfigurationControl Builder

The Control Builder hardware editor contains the following tabs:Settings Tab: Under the Settings tab you define the parameters.

Connections Tab: Under the Connections tab you connect the variables to the hardware channels.

Status Tab: Under the Status tab you can see the current value and status of each channel.

Unit Status Tab: Under the Unit Status tab you can see the current and latched status of the unit.

Figure8.Control Builder hardware editor tabs.

The Control Builder SFC (The Sequential Function Chart) programming editor is divided into four panes: Declaration pane, Code pane, Structure pane and Message pane.

Figure9.Control Builder programming editor panes.

3AFE6823743235

CI858 ConfigurationSection 4 Configuration

CI858 Configuration

Adding a CI858 Unit

To add a CI858 to the controller proceed as follows in the Project Explorer:••••

Right-click the AC 800M hardware object and select New Unit.Select a CI858 unit.

Select the position for the unit and click ok.

Double-click on the unit and adjust the CI858 parameters in the Settings tab by double-clicking in the value fields. See CI858 Parameters on page 36.

Apply and close the editor (Ctrl + U).

CI858 Parameters

The following parameters can be specified in the CI858 configuration editor in the Settings tab.

Table3.DriveBus CI858 parameters.

Parameter

Light intensity DriveBusMax allowed break time

Selection

1...150...32767 ms

Description

Default value

With the maximum length of optic fiber cable, use value 15.15If there has not been any communication during this time, 2000the connection is closed. The recommended value is 1000-2000ms.

With the maximum length of optic fibre cable, use value 15.15If the parameter is set to True, the AC 800M clock will synchronize the drive clocks. The resolution is 100 us.

True

Light Intensity I/O1...15Broadcast timesync

True/False

363AFE68237432

Section 4 ConfigurationCI858 Parameters

Figure10.The CI858 hardware configuration window.

3AFE6823743237

Drive ConfigurationSection 4 Configuration

Drive Configuration

Adding a Drive

To add a drive to the CI858 proceed as follows in the Project Explorer:••••

Right-click the CI858 unit and select New Unit.Select Drive Channel

Right-click the Drive Channel and select New Unit.Select the appropriate drive option:–––

ABB Standard Drive with two dataset pairs. (Standard Drive option is used with Standard Application firmware.)

ABB Engineered Drive with eight dataset pairs. (Engineered Drive option is used with System Application firmware.)

ABB Drive Template (basic) with eight dataset pairs. With ABB Drive Template (extension) the dataset pair number can be extended. With ABB Drive Templates the dataset numbers are user-defined.

Note: With ABB Drive products it is always recommended to use ABBStandard Drive or ABB Engineered Drive option.•

Select the position (address of the drive) for the unit and click ok.Note: Use consecutive numbering between ABB Drive Template (basic) and ABB Drive Template (extension). The position number of the ABB Drive Template (basic) determines the address of the drive associated with the basic and extension templates.•

Double-click on the unit and adjust the drive parameters in the Settings tab by double-clicking in the value fields. See Drive Parameters on page 39.

Connect variables to the channels in the Connections tab. See Connections on page 44.

Apply and close the editor (Ctrl + U).

••

383AFE68237432

Section 4 ConfigurationDrive Parameters

Drive Parameters

ABB Standard Drive and ABB Engineered Drive

The following parameters can be specified in the ABB Standard Drive or in the ABB Engineered Drive configuration editor in the Settings tab.Table4.ABB Standard Drive and ABB Engineered Drive parameters.

Parameter

Use BusManager

Selection

True/False

Description

If parameter is set to True, the BusManager monitors the connection.

The default value is True.

ABB Drive parameter index, which defines the

application ID. For example 9910 = parameter 99.10.Indicates what the application ID of the drive should be.If Check Numbers is selected, the application checks that the Configured application ID parameter value is correct.

ABB Drive parameter index, which defines the drive type. For example 401 = parameter 4.01.Defines the drive firmware type. For example AMXG6000

Defines the allowed drive firmware type.

For example AM??????, where ‘?’ is a wild card.The ABB Drive firmware version is compared to this value.

Address of Application ID in Drive1...9999Configured application IDConfigured application ID data type

Address of drive type in driveDrive type

Drive type checking mask

1...65535No Checking / Check Numbers1...9999

Dataset x config statusDataset x priority

off/read/read&writehigh priority /normal priority

Defines the dataset access in the Connections tab.Defines the dataset priority. It is possible to specify that 1-4 (depending on the drive type) datasets have higher communication priority than the others.

3AFE6823743239

Drive ParametersSection 4 Configuration

ABB Drive Template (basic/extension)

The following parameters can be specified in the ABB Drive Template (basic/extension) configuration editor in the Settings tab.Table5.ABB Drive Template (basic/extension) parameters.

Parameter

Use BusManager

Selection

True/False

Description

If parameter is set to True, the BusManager monitors the connection.

The default value is True.

ABB Drive parameter index, which defines the

application ID. For example 9910 = parameter 99.10.Indicates what the application ID of the drive should be.If Check Numbers is selected, the application checks that the Configured application ID parameter value is correct.

ABB Drive parameter index, which defines the drive type. For example 401 = parameter 4.01.Defines the drive firmware type. For example AMXG6000

Defines the allowed drive firmware type.

For example AM??????, where ‘?’ is a wild card.The ABB Drive firmware version is compared to this value.

Address of Application ID in Drive1...9999Configured application IDConfigured application ID data type

Address of drive type in driveDrive type

Drive type checking mask

1...65535No Checking / Check Numbers1...9999

Dataset x ID

Dataset x config statusDataset x priority

0...200off/read/read&writehigh priority /normal priority

ABB Drive parameter index, which defines the dataset ID.

Defines the dataset access in the Connections tab.Defines the dataset priority. It is possible to specify that 1-4 (depending on the drive type) datasets have higher communication priority than the others.

403AFE68237432

Section 4 ConfigurationDrive Parameters

BusManager

The BusManager is used for reading and checking the actual drive

configuration. It is also used for recovery of broken communication links. Normal communication to the broken link is suspended until the link is reported to be recovered.

If the BusManager function is disabled, the communication is assumed to be cyclic and continuous. A missing drive causes extra communication, because the messages towards it are repeated continuously.

Figure11.ABB Standard Drive parameter window.

3AFE6823743241

Special I/O ConfigurationSection 4 Configuration

Special I/O Configuration

Adding a Special I/O Unit

Before Special I/O Channel can be selected, the Special I/O Channel Hardware definition file has to be imported into the project.

To add a Special I/O unit to the CI858 proceed as follows in the Project Explorer:••••••

Right-click the CI858 unit and select New Unit.Select Special I/O channel.

Right-click the Special I/O channel and select New Unit.Select the appropriate I/O unit.

Select the position (address of the I/O unit) for the unit and click ok.Double-click on the unit and adjust the Special I/O parameters in the Settings tab by double-clicking in the value fields. See Special I/O Parameters on page 43.

Connect variables to the channels in the Connections tab. See Special I/O Function Blocks on page 46 and Connections on page 44.Apply and close the editor (Ctrl + U).

••

Note: ID number of the I/O unit in the hardware tree has to match the device number configured with switch S1 on the unit.

423AFE68237432

Section 4 ConfigurationSpecial I/O Parameters

Special I/O Parameters

The following parameters can be specified in the Special I/O configuration editor in the Settings tab for the available Special I/O units: Special I/O Template, NBIO-21, NBIO-31, NWIO, NAIO, NDIO, NTAC, NPCT, NDSC, NCTI.

Table6.Special I/O parameters

Parameter

Configured device typeInitialization style for device

SelectionDescription

Select the appropriate I/O type.

Parameter is set automatically according to the configured device type. In the Special I/O Template parameter is user-defined

Defines the ASIC type. Set parameter to 0 or 1. Select 1 if the ASIC is of the IOCC type.

Major function code. Parameter is set automatically according to the configured device type. In the Special I/O Template parameter is user-defined.

Defines whether the dataset is I/O or drive related. Set parameter to 0...255.

Parameter is set automatically according to the configured device type. In the Special I/O Template parameter is user-defined.

Set parameter to True or False. Select True if the returned dataset has the same dataset ID.

MAFR Code

Overlayed datasets

Dataset x ID

Dataset x config status(1Dataset x priority

0...200off/read/read&writehigh priority /normal priority

ABB Drive parameter index, which defines the Special I/O Template dataset ID.

Defines the dataset access in the Connections tab.Defines the dataset priority. It is possible to specify that 1-4 (depending on the drive type) datasets have higher communication priority than the others.

1) Configuration status for datasets for reading digital inputs are marked with R (read) and dataset for

reading and writing digital outputs are marked with R/W (read and write).

3AFE6823743243

ConnectionsSection 4 Configuration

Figure12.NAIO parameter window.Special I/O Template

With Special I/O Template, the dataset numbers are user-defined.

Connections

Variables are connected to the input and output dataset channels in the connections window shown below.

Note: All connected variables must be in the same task: All connected, accessed variables will be copied to the same task. All connected, unaccessed variables will be copied to a background task.

Note: When dataset access is defined as Read&Write, variables of at least one input channel and one output channel must be connected. With Read only datasets variables of all three input channels must be connected.

443AFE68237432

Section 4 ConfigurationConnections

Figure13.ABB Standard Drive connections window.

Figure14.NAIO connection window.

3AFE6823743245

Special I/O Function BlocksSection 4 Configuration

Special I/O Function Blocks

This chapter introduces the Special I/O units supported by the CI858 and gives instructions on how to configure the input and output channels of the I/O units in the application program.

I/O units can be controlled with function blocks. All connected I/O units require their own function block, which is selected according to the I/O unit type. A function block has a defined set of input and output variables and variables for internal storage. It also has an algorithm to operate these variables. When a function block is executed, it evaluates all its variables and computes new values for the output and internal variables.

Special I/O function blocks are stored in the Special I/O library delivered with the product. By connecting the library to a project in the Control Builder, the function blocks become available to the application.

Note: Before using function blocks, appropriate library must be inserted into the project and the I/O unit must be inserted into the CI858 hardware tree.

How to Insert a Library File

1.2.

Select from the Control Builder menu Insert File Into Project - Library.The Insert Library dialog box is displayed. Select a library from the list in the dialog box or type the name of the library in the File name field (extension *.lbr).

Click the Open button to insert the library.

The inserted library is displayed in the Project Explorer as a subfolder to the Library folder.

3.4.

How to Insert a Special I/O Unit

See Adding a Special I/O Unit on page 42.

Note: More information on how to configure and use Special I/O is

described in the Special I/O documentation. This documentation, together with the Special I/O library and Special I/O Hardware file, is delivered with the Special I/O product.

463AFE68237432

Section 4 ConfigurationActivating a Function Block

Activating a Function Block

A Function block is activated in the programming editor.1.

Expand the root Application(s) folder and select the Programs folder. Double-click the appropriate program to enter the programming editor.

ApplicationProgram

code

Function blockcode

Figure15.Hierarchical structure of the application.

2.

Select Function blocks tab in the Declaration pane and fill in the following items:

Name: User-defined name of the function block.

Function Block Type: Name of the function block used in the library file as defined in this manual. See the following function block descriptions.Task Connection: This section needs to be filled only if distributed execution is applied to the application program.

Description: User-defined information about the function block.

MY_BIBIO2CONFConfigures NBIO-21

Declaration pane

3AFE6823743247

NBIO-21Section 4 Configuration

3.

Type the user-defined name of the function block followed by a left parenthesis in the Code pane. Aconnection editor is automatically displayed to assist you in specifying the input/output parameters. (You cannot edit the parameter list itself, you can only connect already defined parameters.)

MY_BI (

Code pane

Note: Each I/O unit in the hardware tree must have their own function block. I.e. if there are tree NTAC-02 units, tree TAC_SP function blocks need to called.

NBIO-21

The Basic I/O unit NBIO-21 has 3 digital inputs, 2 analogue inputs, 2digital outputs and 2 analogue outputs.

There are five library function blocks for handling the NBIO-21 unit: BIO2CONF, BIO2DI, BIO2DO, BIO2AO and BIO2AI.

BIO2CONF

Function block BIO2CONF is used to configure the NBIO-21 unit.

BIO2CONF selects the hardware gain of the analogue inputs and provides automatic calibration for the A/D converter.

BIO2CONF should be called if function block BIO2AI is in use, and if the default configuration of the unit is not sufficient. To reduce system load, BIO2CONF is recommended to be executed at a longer time cycle than BIO2AI, for example > 1000 ms.

The actual selection of the I/O unit is made in Control Builder’s hardware editor by connecting respective channels of the NBIO-21 unit to input and output signals 4...12 (conf_inw1... UnitStatus). See Table7 on page49 and Connections on page 44.

Note: Cyclic DDCS messages from BIO2CONF cannot be disabled.

483AFE68237432

Section 4 ConfigurationNBIO-21

Table7.Input and output signals of the BIO2CONF.

No

1234567101112

Name

CONV_AI1CONV_AI2ERRconf_inw1conf_outw1conf_outw2conf_outw3calib_inwcalib_outw1calib_outw2calib_outw3UnitStatus

Direction

ininoutinoutoutoutinoutoutoutin

Data type

boolboolbooldintdintdintdintdintdintdintdintdint

Description

Hardware gain for channel 1. See table 8.Hardware gain for channel 2. See table 8.Communication status. 1 = ErrorSee Output Error on page 82.First input word of DS 101.First output word of DS 101.Second output word of DS 101.Third output word of DS 101.First input word of DS 32.First output word of DS 32.Second output word of DS 32.Third output word of DS 32.Unit Status

Table8.Hardware gain of the analogue inputs.

Type

VoltageVoltageCurrent

Values

-10...10 V -2...2 V-20...20 mA

Channel AI1

CONV_AI1 = 0CONV_AI1 = 1CONV_AI1 = 1

Channel AI2

CONV_AI2 = 0CONV_AI2 = 1CONV_AI2 = 1

3AFE6823743249

NBIO-21Section 4 Configuration

BIO2DI

Function block BIO2DI is used for reading digital input signals from the NBIO-21 unit.

The actual selection of the I/O unit is made in Control Builder’s hardware editor by connecting respective channels of the NBIO-21 unit to input signals 5...8 (inword1... UnitStatus). See Table9 on page50 and Connections on page 44.

Table9.Input and output signals of the BIO2DI.

No

12345678

Name

DI1DI2DI3ERRInword1Inword2Inword3UnitStatus

Direction

outoutoutoutinininin

Data type

boolboolboolbooldintdintdintdint

Description

Output for digital input DI1.Output for digital input DI2.Output for digital input DI3.Communication status. 1 = errorSee Output Error on page 82.First input word of DS 100 (R).Second input word of DS 100 (R).Third input word of DS 100 (R).Unit status

BIO2DO

Function block BIO2DO is used for writing digital output signals to the NBIO-21 unit.

The actual selection of the I/O unit is made in Control Builder’s hardware editor by connecting respective channels of the NBIO-21 unit to input and output signals 4...8 (outword1... UnitStatus). See Table10 on page51 and Connections on page 44.

503AFE68237432

Section 4 ConfigurationNBIO-21

Table10.Input and output signals of the BIO2DO.

No

12345678

Name

DO1DO2ERRoutword1outword2outword3inword1UnitStatus

Direction

ininoutoutoutoutinin

Data type

boolboolbooldintdintdintdintdint

Description

Input for digital output DO1Input for digital output DO2Communication status. 1 = ErrorSee Output Error on page 82.First output word of DS 100 (R/W).Second output word of DS 100 (R/W).Third output word of DS 100 (R/W).

First input word (= dummy) of DS 100 (R/W).Unit status.

BIO2AO

Function block BIO2AO is used for writing analogue output signals (voltage/ current) to the NBIO-21 unit.

The actual selection of the I/O unit is made in Control Builder’s hardware editor by connecting respective channels of the NBIO-21 unit to input and output signals 4...8 (dummy_in... UnitStatus). See Table11 on page52 and Connections on page 44.

3AFE6823743251

NBIO-21Section 4 Configuration

Table11.Input and output signals of the BIO2AO.

No

12345678

Name

AO1AO2ERRdummy_inoutword1outword2outword3UnitStatus

Direction

ininoutinoutoutoutin

Data type

dintdintbooldintdintdintdintdint

Description

Input for analogue output AO1.Input for analogue output AO2.Communication status. 1 = ErrorSee Output Error on page 82.First input word (=dummy) of DS 99.First output word of DS 99.Second output word of DS 99.Third output word of DS 99.Unit status

BIO2AO does not scale the analogue output signals. Scaling between application software and analogue output AO1/AO2 requires extra application blocks.Scaling example:

Analogue output value -10 V…+10 V corresponds to integer (I) input value -20000…+20000 in the application software.

AO1 = (IN * VALUE10V / MAX_IN_VALUE) + 8388607MAX_IN_VALUE = 20000

VALUE10V = (10.00 / 11.02) * 8388607 = 7612166

Table12.Analogue output scaling.

Channel

AO1, AO2AO1, AO2

Type

VoltageCurrent

Nominal value

-10.00...+10.00 V0...20.0 mA

Scaling for nominal

value

7740…16000773 0…15183000

Full scaling range

-11.02…+11.02 V0...167772150…22.10 mA0...16777215

523AFE68237432

Section 4 ConfigurationNBIO-21

AO / Numerical values

167772151600077315183000

77400

-11.02 V0 mA

-10.00 V

AO / Analogue values

10.00 V11.02 V20.0 mA

22.1 mA

IN

-10...+10 V

-20000...+20000CONV(I,IL)

*IL

+11.02 V == 8388607

0 V == 0

-11.02 V == -8388607

IL = long integer

+IL

76122:IL

LIM-N (IL)

8388607

MAX_IN_VALUE= 20000

:IL

BIO2AOAO1

100167772150

HLA1LLA1

AO2

This part is for avoiding overflow of the multiply block.(max. output value 2 147 483 7)

Voltage scaling

+10.00 V == (10.00 V / 11.02 V) * 8388607 = 7612166-10.00 V == (10.00 V / 11.02 V) * -8388607 = -7612166

3AFE6823743253

NBIO-21Section 4 Configuration

BIO2AI

Function block BIO2AI is used for reading analogue input signals (voltage/ current) from the NBIO-21 unit.

The actual selection of the I/O unit is made in Control Builder’s hardware editor by connecting respective channels of the NBIO-21 unit to input signals 4...7 (inword1... UnitStatus). See Table13 on page54 and Connections on page 44.

Voltage/current measurement is selected using a 2-pole DIP switch S2 on the NBIO-21 unit.

Table13.Input and output signals of the BIO2AI.

No

1234567

AI1AI2ERRinword1inword2inword3UnitStatus

NameDirection

outoutoutinininin

Data type

dintdintbooldintdintdintdint

Description

Output for analogue input AI1.Output for analogue input AI2.Communication status. 1 = ErrorSee Output Error on page 82.First input word of DS 54.Second input word of DS 54.Third input word of DS 54.Unit status

BIO2AI does not scale the analogue input signals. Scaling between

application software and analogue input requires extra application blocks.Scaling example 1:

Analogue input value -10 V …+10 V corresponds to integer (I) value -20000…+20000 in the application software.

AI1scaled = (AI1 * MAX_OUT_VALUE) / VALUE10VMAX_OUT_VALUE = 20000

VALUE10V = (10.00 / 11.25) * 8388607 = 7456540

543AFE68237432

Section 4 ConfigurationNBIO-21

Scaling example 2:

Analogue input value 4 mA …20 mA corresponds to integer (I) value 0…+20000 in the application software.

AI1scaled = ((AI1 - VALUE4mA) * MAX_OUT_VALUE) / VALUE16mAMAX_OUT_VALUE = 20000

VALUE4mA = (4 / 22.5) * 8388607 = 1491308VALUE16mA = (16 / 22.5) * 8388607 = 5965231

Scaled output AI1 value must be limited between 0...32767.

Table14.Analogue input scaling.

Channel

AI1, AI2AI1, AI2AI1, AI2

Type

VoltageVoltageCurrent

Nominal value

-10...10 V -2...2 V-20...20 mA

Scaling for nominal

value

-7456540…7456540-7456540…7456540-7456540…7456540

Full scale range

-11.25...11.25 V, +/-8388607-2.25...2.25 V, +/-8388607-22.5...22.5 mA, +/-8388607

83886077456540

-11.25 V-10.00 V-2.25 V-2.00 V-22.5 mA-20.0 mA

AI / Numerical values

AI / Analogue values

10.00 V11.25 V2.00 V2.25 V20.0 mA22.5 mA

-7456540-8388607

3AFE6823743255

NBIO-31Section 4 Configuration

BIO2AIAO1AO2

*IL

MAX_IN_VALUE= 20000:IL

100:IL

LIM-N (IL)

CONV(IL,I)

+32767-32767

HLA1LLA1

AI1 scaled

74565

This part is for avoiding overflow of the multiply block.(max. output value 2 147 483 7)

Voltage scaling

+10.00 V == (10.00 V / 11.25 V) * 8388607 = 7456540-10.00 V == (10.00 V / 11.25 V) * -8388607 = -7456540

NBIO-31

The Basic I/O unit NBIO-31 has 4 digital inputs and 3 digital outputs.There are two library function blocks for handling the NBIO-31 unit: BIO3DI and BIO3DO.

BIO3DI

Function block BIO3DI is used for reading digital input signals from the NBIO-31 unit.

The actual selection of the I/O unit is made in the Control Builder’s hardware editor by connecting respective channels of the NBIO-31 unit to input signals 6...9 (inword1... UnitStatus). See Table15 on page57 and Connections on page 44.

563AFE68237432

Section 4 ConfigurationNBIO-31

Table15.Input and output signals of the BIO3DI.

No

1234567

Name

DI1DI2DI3DI4ERRinword1inword2inword3UnitStatus

Direction

outoutoutoutoutinininin

Data type

boolboolboolboolbooldintdintdintdint

Description

Output for Digital Input DI1.Output for Digital Input DI2.Output for Digital Input DI3.Output for Digital Input DI4.Communication Status. 1 = ErrorSee Output Error on page 82.First input word of DS 100 (R).Second input word of DS 100 (R).Third input word of DS 100 (R).Unit Status

BIO3DO

Function block BIO3DO is used for writing digital output signals to the NBIO-31 unit.

The actual selection of the I/O unit is made in the Control Builder’s hardware editor by connecting respective channels of the NBIO-31 unit to input and output signals 5...9 (outword1... UnitStatus). See Table16 on page58 and Connections on page 44.

3AFE6823743257

NDIOSection 4 Configuration

Table16.Input and output signals of the BIO3DO.

No

1234567

Name

DO1DO2DO3ERRoutword1outword2outword3inword1UnitStatus

Direction

inininoutoutoutoutinin

Data type

boolboolboolbooldintdintdintdintdint

Description

Input for digital output DO1.Input for digital output DO2.Input for digital output DO3.Communication status. 1 = ErrorSee Output Error on page 82.First output word of DS 100 (R/W).Second output word of DS 100 (R/W).Third output word of DS 100 (R/W).First input word (=dummy) of DS 100 (R/W).Unit status

NDIO

The NDIO unit has two digital inputs and two relay outputs. For more

information see NTAC-0x/NDIO-0x/NAIO-0x Installation and Start-up Guide [3AFY 519730 (English)].

There are two library function blocks for handling NDIO units: NDIO1DI and NDIO1DO.

NDIO1DI

Function block NDIO1DI is used for reading digital input signals from the NDIO unit.

The actual selection of the I/O unit is made in the Control Builder’s hardware editor by connecting respective channels of the NDIO unit to input signals 4...7 (inword1... UnitStatus). See Table17 on page59 and Connections on page 44.

583AFE68237432

Section 4 ConfigurationNDIO

Table17.Input and output signals of the NDIO1DI.

No

1234567

Name

DI1DI2ERRinword1inword2inword3UnitStatus

Direction

outoutoutinininin

Data type

boolboolbooldintdintdintdint

Description

Output for digital input DI1.Output for digital input DI2.Communication status. 1 = ErrorSee Output Error on page 82.First input word of DS 100 (R).Second input word of DS 100 (R).Third input word of DS 100 (R).Unit status

NDIO1DO

Function block NDIO1DO is used for controlling digital outputs of the NDIO.The actual selection of the I/O unit is made in the Control Builder’s hardware editor by connecting respective channels of the NDIO unit to input and output signals 4...8 (outword1... UnitStatus). See Table18 on page60 and Connections on page 44.

3AFE6823743259

NAIOSection 4 Configuration

Table18.Input and output signals of the NDIO1DO.

No

12345678

DO1DO2ERRoutword1outword2outword3inword1_dummyUnitStatus

NameDirection

ininoutoutoutoutinin

Data type

boolboolbooldintdintdintdintdint

Description

Input for digital output DO1.Input for digital output DO2.Communication status. 1 = ErrorSee Output Error on page 82.First output word of DS 100 (R/W).Second output word of DS 100 (R/W).Third output word of DS 100 (R/W).First input word (=dummy) of DS 100 (R/W).Unit status

NAIO

The NAIO unit has two current or voltage inputs and two current outputs. For more information see NTAC-0x/NDIO-0x/NAIO-0x Installation and Start-up Guide [3AFY 519730 (English)].

There are two library function blocks for handling NAIO units: NAIO2AI and NAIO2AO.

NAIO2AO

Function block NAIO2AO is used for writing analogue output signals (current) to the NAIO unit.

The actual selection of the I/O unit is made in the Control Builder’s hardware editor by connecting respective channels of the NAIO unit to input and output signals 4...8 (outword1... UnitStatus). See Table19 on page61 and Connections on page 44.

603AFE68237432

Section 4 ConfigurationNAIO

Table19.Input and output signals of the NAIO2AO.

No

12345678

AO1AO2ERRoutword1outword2outword3inword1_dummyUnitStatus

NameDirection

ininoutoutoutoutinin

Data type

dintdintbooldintdintdintdintdint

Description

Input for analogue output AO1Input for analogue output AO2.Communication status. 1 = ErrorSee Output Error on page 82.First output word of DS 99.Second output word of DS 99.Third output word of DS 99.First input word (=dummy) of DS 99.Unit status

NAIO2AO does not scale the analogue output signals. Scaling between application software and analogue output AO1/AO2 requires extra application blocks.Scaling example:

An integer (I) input value 0…+20000 in the application software corresponds to analogue output value 0…+20 mA.

AO1 = (IN * VALUE20mA) / MAX_IN_VALUEMAX_IN_VALUE = 20000

VALUE20mA = (20.00 / 22.09) * 16777215 = 151873

Table20.Analogue output scaling

Channel

AO1, AO2

Type

Current

Nominal value

0...20 mA

Scaling for nominal

value

0…151873

Full scaling range

0…22.09 mA, 0...16777215

3AFE6823743261

NAIOSection 4 Configuration

AO / numerical values

16777215151873

AO / analogue values

0 mA

20 mA

22.09 mA

IN

(0 mA...+20 mA0...+20000)

CONV(IL,I)

*IL

:IL

LIM-N (IL)

NAIO2AOAO1

167772150

HLA1LLA1

AO2

75949MAX_IN_VALUE= 20000

:IL

200

This part is for avoiding overflow of the multiply block.(max. output value 2 147 483 7)

Current scaling

+20 mA == (20 mA / 22.09 mA) * 16777215 = 1518730 mA == 0

623AFE68237432

Section 4 ConfigurationNAIO

NAIO2AI

Function block NAIO2AI is used for reading analogue input signals (voltage/ current) from the NAIO unit.

The actual selection of the I/O unit is made in the Control Builder’s hardware editor by connecting respective channels of the NAIO unit to input signals 4...7 (inword1... UnitStatus). See Table21 on page63 and Connections on page 44.

Table21.Input and output signals of the NAIO2AI.

No

1234568

AI1AI2ERRinword1inword2inword3UnitStatus

NameDirection

outoutoutinininin

Data type

dintdintbooldintdintdintdint

Description

Output for digital input DI1.Output for digital input DI2.Communication status. 1 = ErrorSee Output Error on page 82.First input word of DS 51.Second input word of DS 51.Third input word of DS 51.Unit status

The voltage/current measurement is selected using DIP switches on the NAIO unit.

NAIO2AI does not scale the analogue input signals. Scaling between application software and analogue input requires extra application blocks.Scaling example:

Analogue input value -10…+10 V corresponds to integer (I) value -20000…+20000 in the application software.

AI1scaled = ((AI1 - VALUEOFFSET_0V) * MAX_OUT_VALUE) / VALUE10VMAX_OUT_VALUE = 20000

VALUEOFFSET_0V = 8388607 / 2 = 4194303

VALUE10V = (10.00 / 10.18) * 8388607 / 2 = 4120140

3AFE6823743263

NAIOSection 4 Configuration

Table22.Unipolar Analogue Input Scaling.

Channel

AI1, AI2AI1, AI2AI1, AI2

Type

VoltageVoltageCurrent

Nominal value

0...10 V0...2 V0...20 mA

Scaling for nominal value

0…82402820...82402820...8240282

Full scaling range

0...10.18 V, 0…83886070...2.037 V, 0…83886070…20.37mA, 0…8388607

Table23.Bipolar Analogue Input Scaling.

Channel

AI1, AI2AI1, AI2AI1, AI2

Type

VoltageVoltageCurrent

Nominal value

-10...10 V-2...2 V-20...20 mA

Scaling for nominal value

74160…831440074160...831440074160...8314400

Full scaling range

-10.18...10.18 V, 0…8388607-2.037...2.037 V, 0…8388607-20.37…20.37mA, 0…8388607

AO / Numerical values

83886078314400

4194303

741600

-10.00 V-10.18 V

-2.00 V-2.037 V

-20.37 mA-20.0 mA

AO / Analogue values

10.00 V10.18 V2.00 V2.037 V20.0 mA20.37 mA

3AFE68237432

Section 4 ConfigurationNPCT

NAIO2AI

AI1AI2

MAX_IN_VALUE= 20000

:IL41940303-IL

*IL

:IL

41201

CONV(I,IL)

+32767-32767

HLA1LLA1LIM-N (IL)

AI1 scaled

100This part is for avoiding overflow of the multiply block.(max. output value 2 147 483 7)

NPCT

NPCT-01 Pulse Counter / Timer Unit is an I/O option board used with CI858. Its main areas of use are speed and position measurement and applications which require programmable, hardware based counter functions such as fast control of digital outputs as a function of position or time and holding registers for capturing events. For more information see NPCT-01 Pulse Counter/Timer Unit description [3AFY362828(English)].

There are five library function blocks for handling the NPCT-01 board: PCT_CONF, SPEEDPO1, SPEED_R, POS_IL1 and CONV24.

PCT_CONF

Function block PCT_CONF is used to change the default configuration of the NPCT-01 board.

The actual selection of the I/O unit is made in the Control Builder’s hardware editor by connecting respective channels of the NPCT board to input and output signals 12...20 (outword2_ds3... UnitStatus). See Table24 on page66 and Connections on page 44.

Board specific configurations are sent to NPCT board via dataset 5 by using Outword3_ds5. Dataset 3 (encoder channel 1) and dataset 4 (encoder channel 2) are used for channel specific configurations.

3AFE6823743265

NPCTSection 4 Configuration

Table24.Input and output signals of the PCT_CONF. (DS= dataset, DW = data word)

No

12345671011121314151617181920

Name

WD_TOWD_ENACALC_INTMODE1MODE2PPR1PPR2BOARD_StCH1Conf_StCH2Conf_StERR

Outword2_ds3Outword3_ds3Outword2_ds4Outword3_ds4Outword3_ds5Inword3_ds3Inword3_ds4Inword3_ds5UnitStatus

Direction

inininininininoutoutoutoutoutoutoutoutoutinininin

Data type

boolboolbooldworddwordintintdworddworddwordbooldintdintdintdintdintdintdintdintdint

Description

Selection of WatchDog time out. 0 = 100 ms,1 = 1 s (default)

Enables WatchDog function between CI858 and NPCT. 0 = disabled, 1 = enabled (default)Speed calculation interval. 0 = 250 us (=default),1 = 10 ms

Encoder channel 1 configuration command.Default = 17 (HEX)

Encoder channel 2 configuration command.Default = 17 (HEX)

Encoder channel 1 pulse numbers.Encoder channel 2 pulse numbers.Board configuration status. See next table.Encoder channel 1 configuration status.Encoder channel 2 configuration status.Communication status. 1 = Error.See Output Error on page 82.Second output word of DS 3Third output word of DS 3Second output word of DS 4Third output word of DS 4Second output word of DS 3Third input word of DS 3Third input word of DS 4Third input word of DS 5Unit status

663AFE68237432

Section 4 ConfigurationNPCT

Table25.Basic configuration status of BOARD_St.

Bit

D0D1D2D3D4D5D6

Name

WD_TO WD_ENAnot usedCALC_INTCTRL_TYPECPLD_CONFCPLD_ERR

Description

WatchDog time out: 0 = 100 ms, 1 = 1 sWatchDog enable: 0 = disabled, 1 = enabled

Speed calculation interval: 0 = 250 us, 1 = 10 msApplication controller type: 0 = CI858, 1 = AMC

CPLD configuration status:

0 = configuration completed,1 = configuration in progressError in configuring the CPLD:

0 = configuration successful, 1 = configuration error

3AFE6823743267

NPCTSection 4 Configuration

Table26.Encoder channel configuration commands of MODE1, MODE2.

Bit

D0

Name

EOSC_MODE

Description

Selection of edge oscillation inhibition mode: 0 = disabled,1 = enabled

The edge oscillation inhibition mode, EOSC_MODE, is used to prevent false occurrences of pulse edges that are caused mainly by mechanical vibration of the motor shaft at slow or zero speed. When this mode is enabled, pulse edges are rejected unless they occur

alternately on CHA and CHB, i.e. an edge is rejected if the previous edge occurred on the same channel. Both CHA and CHB must be connected when EOSC_MODE is enabled.Selection of pulse counter edge mode:

00 = Rising edges of CHA are counted, CHB determines the direction.01 = Rising and falling edges of CHA are counted, CHB is not used.

10 = Rising and falling edges of CHA are counted, CHB determines the direction.

11 = Rising and falling edges of CHA and CHB are counted, CHB determines the direction.Selection of position value calculation mode: 0 = incremental mode,1 = absolute mode

In incremental mode the position value varies between -32768...32767. Function Block POS_IL1 extends the 16-bit position value into a 32-bit value for wider range measurements.

In absolute mode the position value varies between 0... (edgeno * ppr)-1 indicating the angular displacement from the zero position, i.e. the encoder zero pulse. The absolute mode position calculation requires a rising edge of the zero pulse to be selected as the position strobe signal.

Selection of channel synchronisation mode: 0 = disabled, 1 = enabled

In synchronised speed measurement mode the speed and position measurement and the DDCS communication are tied together in a way that ensures that the speed and position values of both encoder inputs (CH1 and CH2) are measured during the same cycle time.

D1...D2EDGE_MODE

D3POS_MODE

D4SYNC_MODE

D5...D7not used

683AFE68237432

Section 4 ConfigurationNPCT

Table27.Encoder channel configuration status of CH1Conf_St,

CH2Conf_St

Bit

D0

Name

CH_CONF

Description

Channel configuration status:

0 = channel is not configured, default values are in use1 = channel is configured

Indicates detection of a single zero strobe*:

0 = zero strobe not detected, 1 = zero strobe detected

ZERO_STAT is set when the first zero strobe is detected. For dynamic monitoring of zero strobe occurrences bit NEW_ZERO can be used.Indicates that a new speed value is available: 0 = not available, 1 = available

NEW_SPEED is set when the calculated speed is based on actual pulses i.e. at least one pulse is received during the last sampling time. If calculated speed is an estimate, NEW_SPEED is not set.Encoder motion status: 0 = running, 1 = stopped

D1ZERO_STAT

D2NEW_SPEED

D3D4...D5D6

ENC_STATnot usedNEW_ZERO

Indicates detection of a new zero strobe: 0 = not detected. 1 = detected.

NEW_ZERO is set if a zero strobe has been detected since the last communication request.

Sign of the current speed value: 0 = positive, 1 = negative

D7SPEED_SIGN

*The position value can be set to zero with an external signal, zero strobe. The zero strobe signal can be a combination of the encoder zero pulse CHZ and a digital input.

SPEEDPO1

Speed and position measurement values of encoder channels CH1 and CH2 are read from the NPCT-01 board with function block SPEEDPO1.The actual selection of the I/O unit is made in the Control Builder’s hardware editor by connecting respective channels of the NPCT board to input and output signals 16...26 (outword2_ds1... UnitStatus). See Table28 on page70 and Connections on page 44.

3AFE6823743269

NPCTSection 4 Configuration

Table28.Input and output signals of the SPEEDPO1.

No

1

Name

FILT1

Direction

in

Data type

dint

Description

Sampling time of the speed calculation (CH1). Input signal CALC_INT of PCT_CONF effects the sampling time.

If the calculation interval is set to 10 ms, CALC_INT = 1, one sample time unit corresponds to 40 ms.

If CALC_INT = 0, 1...25 = 1...25 ms (default 2 ms)If CALC_INT = 1, 1...25 = 40...1000 ms

Zero strobe configuration command (CH1). STRB1 is set with a rising edge of WR_STRB1. (0 -> 1). See next table.

Dynamic input for new zero strobe configuration (CH1). STRB1 is set with a rising edge of WR_STRB1 (0 -> 1).

Sampling time of speed calculation (ch2). Input signal CALC_INT of PCT_CONF effects the sampling time.

If the calculation interval is set to 10 ms (CALC_INT=1) one sample time unit corresponds to 40 ms.

If CALC_INT=0, 1...25 = 1...25 ms, (default 2 ms)If CALC_INT=1, 1...25 = 40...1000 ms

Zero strobe configuration command (CH2). STRB2 is set with a rising edge of WR_STRB2. (0 -> 1). See next table.

Dynamic input for new zero strobe configuration (CH2). STRB2 is set with a rising edge of WR_STRB2. (0 -> 1)Actual speed value (CH1).Actual position value (CH1).

Zero strobe detection (CH1). 1 = detectedEncoder channel 1 status. See table STATUS.Actual speed value (CH2).Actual position value (CH2).

Zero strobe detection (CH2). 1 = detectedEncoder channel CH2 status. See table STATUSCommunication status. 1 = ErrorSee Output Error on page 82.Second output word of DS 1.

234

STRB1WR_STRB1FILT2

ininin

dwordbooldint

56710111213141516

STRB2WR_STRB2SPEED1POSACT1STRBRDY1STATUS1SPEED2POSACT2STRBRDY2STATUS2ERR

Outword2_ds1

ininoutoutoutoutoutoutoutoutoutout

dwordbooldintintbooldworddintintbooldwordbooldint

703AFE68237432

Section 4 ConfigurationNPCT

Table28.Input and output signals of the SPEEDPO1.

No

17181920212223242526

Name

Outword3_ds1Outword2_ds2Outword3_ds2Inword1_ds1Inword2_ds1Inword3_ds1Inword1_ds2Inword2_ds2Inword3_ds2UnitStatus

Direction

outoutoutininininininin

Data type

dintdintdintdintdintdintdintdintdintdint

Third output word of DS 1.

Description

Second output word of DS 2.Third output word of DS 2.First input word of DS 1.Second input word of DS 1.Third input word of DS 1.First input word of DS 2.Second input word of DS 2.Third input word of DS 2.Unit status

Value of POSACT1/POSACT2 is equal to the amount of pulse edges

received from the incremental encoder, i.e. if four encoder signal edges are counted, the position value will increase by four times the encoder pulse number with each turn.

SPEED1/SPEED2 corresponds to the signed actual value of the tacho frequency. The frequency is calculated from the ratio of the number of received encoder pulse edges (∆p) and the time between the first and last received pulse edge (∆t) during the selected sampling time FILT1/FILT2.Scaling of SPEED1:

When tacho frequency is 500000 Hz the output value of SPEED1 is 8388607.

SPEED1 = (∆p * 8388607) / (∆t * 500000 * n)n is the number of edges counted (1, 2 or 4)

Calculation example:

fencoder = 25000 Hz (four edges = 100000 Hz)∆t = 0.016 ms

∆p = (0.016 ms / 1 s) * 100000 = 1600

SPEED1 = (1600 * 8388607) / (0.016 * 500000 * 4) = 419430.35

3AFE6823743271

NPCTSection 4 Configuration

Table29.Zero strobe configuration commands STRB1, STRB2

Bit

D0...D2

Name

ZERO_MODE

Description

Selection of zero strobe* mode for encoder channel 1/2:000 = strobe disabled

001 = rising edge of the zero pulse

010 = rising edge of the zero pulse when DI1/DI2 = 0011 = rising edge of the zero pulse when DI1/DI2 = 1

100 = rising edge of DI1/DI2 signal followed by a zero pulse101 = DI1/2 falling edge followed by a zero pulse rising edge110 = DI1/2 rising edge111 = DI1/2 falling edge

DI1 is used for encoder channel 1 and DI2 for encoder channel 2.

Selection of zero strobe mode reset control:

0 = no reset, 1 = reset zero strobe mode to 000 after zero strobe.

Setting ZERO_RST to 1 makes it possible to accept a single zero strobe. Anew zero strobe is enabled by writing a new value to ZERO_MODE and setting bit ZERO_UPD to 1.

Selection of hardware filter time constant for DI1/2: 0 = 100 us, 1 = 5 msUpdating of zero strobe configuration: 0 = not updated,

1 = the zero strobe configuration is updated according to bits D0...D4.

D3ZERO_RST

D4D5D6...D7

ZERO_FILTZERO_UPDnot used

* Position value can be set to zero with an external hardware signal, azero strobe. The zero strobe signal can be a combination of the encoder zero pulse CHZ and a digital input, see table Table27 on page69. Status signal NEW_ZERO indicates a detection of a new zero strobe. NEW_ZERO is set if a zero strobe has been detected since the last communication request.

723AFE68237432

Section 4 ConfigurationNPCT

Table30.Encoder channel status: STATUS1, STATUS2

Bit

D0D1

Name

CH_CONFZERO_STAT

Description

Channel configuration status:

0 = not configured, default values are in use, 1 = configured

Indicates detection of a single zero strobe: 0 = not detected, 1 = detected

ZERO_STAT is set when the first zero strobe is detected. NEW_ZERO can be used for dynamic monitoring of zero strobe occurrences.

Indicates if the new speed value is available:0 = not available, 1 = available

NEW_SPEED is set when the calculated speed is based on actual pulses i.e. at least one pulse is received during the last sampling time. If calculated speed is an estimate, NEW_SPEED is not set.Encoder motion status: 0 = running, 1 = stopped

D2NEW_SPEED

D3D4...D5D6

ENC_STATnot usedNEW_ZERO

Indicates detection of a new zero strobe: 0 = not detected, 1 = detected

NEW_ZERO is set if a zero strobe has been detected since the last request.

Sign of the current speed value: 0 = positive, 1 = negative

D7SPEED_SIGN

SPEED_R

Function block SPEED_R converts long integer (IL) values of the actual speed into real number values (rpm). SPEED_R is intended for use with function blocks SPEEDPO1 and TAC_SP.

3AFE6823743273

NPCTSection 4 Configuration

Table31.Input and output signals of the SPEED_R.

No

1234

Name

PPRNSPEEDSCALESPEEDRPM

Direction

ininininout

Data type

realrealrealdintreal

Description

Encoder channel pulse number.Nominal rotational speed in rpm.

Output value at nominal rotational speed in rpm.Actual speed.Actual speed in rpm.

SPEED_R realises the following formula:

RPM = (60 * 500000 * SPEED * SCALE) / (PPR * 8388607 * NSPEED)

Conversion to rpm is made by using the following part of the formula:

RPM = (60 * 500000 * SPEED) / PPR * 8388607

Scaling of rpm value is made by SCALE and NSPEED.Example:

PPR = 2048

SPEED = 419430SCALE = 1500

NSPEED = 1500 rpm

RPM = (60 *500000 * 419430 * 1500) / (2048 * 8388607 * 1500) = 732.421 rpmPOS_IL1

Function block POS_IL1 extends the 16-bit position value into a 32-bit value for wider range measurements. Function block POS_IL1 is intended to be used with function blocks SPEEDPO1 and TAC_SP.

743AFE68237432

Section 4 ConfigurationNPCT

Table32.Input and output signals of POS_IL1.

No

12345

Name

SW_STRBSTRB_VALPOSACTSTATUS SPEEDPOS_IL

Direction

ininininout

Data type

booldintintdworddint

Description

Zero strobe within the application program. (0 -> 1 new zero strobe)Value of the zero strobe.16-bit actual position value.Encoder channel status.32-bit actual position value.

POSACT is a 16-bit position value received from the output of SPEEDPO1 or TAC_SP. STATUS SPEED indicates the encoder channel status, which is received from the output of SPEEDPO1.

When zero strobe is detected (bit 6 of STATUS signal of function block

SPEEDO1 is 1), POS_IL is set to the value of STRB_VAL. A zero strobe can also be activated from the application program by connecting a rising edge to the input SW_STRB.

Incremental mode should be selected for position calculation with function blocks SPEEDPO1 or TAC_SP.

CONV24

AC 800M dataset communication consists of 16-bit data words while NPCT communication consists of 24-bit data words. Tosimplify the programming of the NPCT board, function block CONV24 is used to convert 24-bit input values INVAL1 and INVAL2 into tree 16-bit output words outword1...3 (orinword1..3 into OUTVAL1 and OUTVAL2).

3AFE6823743275

NTACSection 4 Configuration

Table33.Input and output signals of CONV24.

No

1234567101112

Name

INVAL1INVAL2OUTVAL1OUTVAL2ERROutword1Outword2Outword3Inword1Inword2inword3UnitSatus

Direction

outoutininoutoutoutoutinininin

Data type

dintdintdintdintbooldintdintdintdintdintdintdint

Description

24-bit input value.24-bit input value.24-bit output value.24-bit output value.

Communication status. 1 = Error.See Output Error on page 82.First output word of DS x.*Second output word of DS x.*Third output word of DS x.*First input word of DS x.*Second input word of DS x.*Third input word of DS x.*Unit status

* x = 6...10

NTAC

NTAC-02 is a speed and position measurement unit which can be used with CI858. Software revision of the NTAC-02 unit should be 2.07 or later

(absolute mode for position calculation does not work correctly with older revisions). For more information see NTAC-0x/NDIO-0x/NAIO-0x Installation and Start-up Guide [3AFY 519730 (English)].

763AFE68237432

Section 4 ConfigurationNTAC

Note: NTAC unit functions only with original configuration settings i.e. when dataset 2 is OFF. This limitation is due to the fact, that all dataset communications from AC 800M to Special I/O units must be cyclic. If

NTAC-02 receives a configuration dataset, it aborts current operation and restarts all internal counters. (it is not possible to send datasets “on demand\"-basis)

There is one function block, TAC_SP, for handling the NTAC-02 unit.

TAC_SP

The encoder speed and position measurement values are read from

NTAC-02 with function block TAC_SP. Functions SPEED_R and POS_IL1 can be used with TAC_SP. See SPEED_R on page 73 and POS_IL1 on page 74.

The actual selection of the I/O unit is made in the Control Builder’s hardware editor by connecting respective channels of the NTAC unit to input signals 20...26 (inword1... UnitStatus). See Table34 on page77 and Connections on page 44.

Table34.Input and output signals of the TAC_SP.

No

7101520212226

Name

SPEEDPOSACTNEW_SPENC_STATERRInword1Inword2Inword3UnitStatus

Direction

outoutoutoutoutinininin

Data type

dintintboolboolbooldintdintdintdint

Description

Actual speed valueActual position value

Indicates that new speed value is available.1 = detected

Encoder motion status.0 = running, 1=stoppedCommunication status. 1 = ErrorSee Output Error on page 82.First input word of DS 1.Second input word of DS 1.Third input word of DS 1.Unit status.

3AFE6823743277

NWIOSection 4 Configuration

SPEED corresponds to the signed actual value of the tacho frequency. The frequency is calculated from the ratio of the number of received encoder pulse edges (∆p) and the time between the first and last received pulse edge (∆t) during the selected sampling time FILT.Output SPEED scaling:

When tacho frequency is 500000 Hz then output value of SPEED is 8388607.

SPEED = (∆p * 8388607) / (∆t * 500000 * n)n is the number of edges counted (1, 2 or 4).

Calculation example:

Fencoder = 25000 Hz (four edges, 100000 Hz)∆t = 0.016 ms

∆p = (0.016 ms / 1 s) * 100000 = 1600

SPEED = (1600 * 8388607) / (0.016 * 500000 * 4) = 419430.35

Value of POSACT is equal to the amount of pulse edges received from the incremental encoder, i.e. if four encoder signal edges are counted, the

position value will change by four times the encoder pulse number with each turn.

NWIO

NWIO-01 Watchdog & I/O is a digital I/O option unit. It contains a watchdog logic for supervising the operation of the AC 800M and the CI858 software. The unit has two digital inputs (24 VDC or 115/230 VAC) and two digital outputs. Using a slide switch on the top of the unit, the watchdog logic can be connected to control the state of the digital output DO2.The watchdog supervises the following operations of the CI858:••••

Functioning of the CI858 application program.Communication over the dual port memory.Functioning of the CI858 operative system.Communication on the optical I/O ring.

783AFE68237432

Section 4 ConfigurationNWIO

DDCS

IOCC-asic

DI1

1 msBIO0

8 ms

BIO10

DO1

DIP switchS1

X1: 1-2 = 0.2 s3-4 = 1 s (default)

S2

BIO1

BIO11

Retriggerable one shot+5 V

DO2

DI2

1 ms

8 msDIP switchS1

BIO2

Watchdog enabled/disabledFigure16.Simplified block diagram of the NWIO-01 unit.

There are two function blocks for handling the NWIO-01 unit: NWIO1DI and NWIO1DO.

NWIO1DI

Function block NWIO1DI is used for reading digital input signals from the NWIO-01 unit.

The actual selection of the I/O unit is made in the Control Builder’s hardware editor by connecting respective channels of the NWIO unit to input signals 5...8 (inword1... UnitStatus). See Table35 on page80 and Connections on page 44.

3AFE6823743279

NWIOSection 4 Configuration

Table35.Input and output signals of NWIO1DI.

No

12345678

Name

DI1DI2WD_STATERRInword1Inword2Inword3UnitStatus

Direction

outoutoutoutinininin

Data type

boolboolboolbooldintdintdintdint

Description

Output for digital input DI1.Output for digital input DI2.Selection of WatchDog function.0 = not selected, 1 = selectedCommunication status. 1 = ErrorSee Output Error on page 82.First input word of DS 100 (R).Second input word of DS 100 (R).Third input word of DS 100 (R).Unit status.

NWIO1DO

Function block NWIO1DO is used for writing digital output signals to the NWIO-01 unit.

The actual selection of the I/O unit is made in the Control Builder’s hardware editor by connecting respective channels of the NDIO unit to input and output signals 5...9 (outword1... UnitStatus). See Table36 on page81 and Connections on page 44.

803AFE68237432

Section 4 ConfigurationNWIO

Table36.Input and output signals of NWIO1DO.

No

123

DO1DO2WD_SEL

NameDirection

ininin

Data type

boolboolbool

Description

Input for digital output DO1Input for digital output DO2.

Selection of the DO2 operation mode.

DO2 can be used as normal software controlled digital output or as a watchdog output.Communication status.

See Output Error on page 82.First output word of DS 100 (R/W).Second output word of DS 100 (R/W).Third output word of DS 100 (R/W).First input word (=dummy) of DS 100 (R/W).Unit status

4567

ERRoutword1outword2outword3inword1_dummyUnitStatus

outoutoutoutinin

booldintdintdintdintdint

Digital output DO2 can be used as a normal software controlled digital output or as a watchdog output. The operation mode is selected with the WATCHDOG ENABLED / DISABLED switch on the top of the unit and with input signal WD_SEL. In watchdog mode, a retriggerable one shot circuit is connected between the software controlled output and the actual output relay. Changing the state of digital output DO2 refreshes the one shot circuit (software oscillator is made by the inverter element).

Inverterelement

DO2WD_SEL

DO2

inverter element = inverts the logical signal (i.e. changes 0 to 1 and 1 to 0)

Figure17.Watchdog operation.

The factory setting of the watchdog time constant is 1 s but it can be

shortened to 0.2 s with jumper X1 inside the unit (X1, pins 1-2 = 0.2 s; pins 3-4 = 1 s).

3AFE6823743281

NCTISection 4 Configuration

The cycle time of the oscillator is 2 * execution interval of the NWIO1DO. The cycle time must be fast enough compared with the time constant selection in the NWIO-01 unit.

Time constant 1 s: Execution interval of the task < 100 ms, thus the cycle time of the oscillator is < 200 ms.Time constant 0,2 s: Execution interval of the task < 20 ms, thus the cycle time of the oscillator is < 40 ms.NCTI

For information about the NCTI-01 Crane Transducer Interface see Crane transducer Interface User’s manual [3ASC23F207 (English)].

NDSC

NDSC-01 is the control board of the ACS600 Diode Supply Unit. For more information see ACA 631/633 Diode Supply Section User's Manual [3AFY 61451544 (English)].

Configuration of the NDSC board is similar to the configuration of a drive.

Output Error

When a communication error is detected in the cyclic DDCS message,

output ERR is set according to the UnitStatus signal. Output ERR is cleared when an acknowledgement to the cyclic DDCS message without any errors is received from the I/O unit and old error indications are acknowledged.

Table37.Output error (derived from UnitStatus).

Unit status

012

Error

011

No errors detected.Communication fails

Description

Unacknowledged alarm or forced operation (i.e. output signal is forced to a value defined by the user in the hardware editor)

823AFE68237432

Section 4 ConfigurationChanging the CI858 System Settings

Changing the CI858 System Settings

When a modified hardware configuration is downloaded to the controller, communication with hardware units can be interrupted:••

If modified CI858 parameters are downloaded to the controller, the CI858 communication is interrupted and the CI858 will reboot.

If modified drive parameters are downloaded to the controller,

communication with the drive is interrupted and a drive fault message indicating communication loss might be activated. If BusManager is not selected to monitor the connection, the fault can be avoided by

adjusting the time delay of the drive communication loss supervision.If modified I/O parameters are downloaded to the controller, communication with the I/O unit is interrupted.

If a drive or an I/O is added to or deleted from the hardware tree and the changes are downloaded to the controller, the CI858 will reboot.If the hardware tree positions of different types of drives or I/O's are changed and the changes are downloaded to the controller, the CI858 will reboot. Changing the position between two similar units will not result in CI858 rebooting.

Changing the connected channels of a drive or an I/O causes recalculation of the connections.

•••

Online Help

For more information on how to configure the CI858 unit with the Control Builder Engineering Tool, see Online Help.

3AFE6823743283

Online HelpSection 4 Configuration

843AFE68237432

Appendix A Technical DataGeneral Technical Data

Appendix A Technical Data

General Technical Data

Table38.General technical data

Protection class:Approval:

IP20

CE-marked and meets the requirements specified in EMC Directive /336/EEC according to the standards EN 50081-2 and EN 61000-6-2.

Ambient Data

Table39.Ambient conditions

OperationStorage

installed for stationary usein a protective package

Air temperature

Relative humidity (non-consending)

+5 to +55 °C5 to 95%

-25 to +70 °C5 to 95%

3AFE6823743285

LED IndicatorsAppendix A Technical Data

LED Indicators

Table40.LED indicators

LED marking

FRDbus; RxDBus; TxI/O; RxI/O; TxToolsTools

YELLOWYELLOWYELLOWYELLOWYELLOW

Color

REDGREENYELLOW

Reset state

ONOFF

Normal state

OFFON

Description

Unit error or unit initializing.Unit running.

RECIEVE LED indicating reception of data frames on the DriveBus.

TRANSMIT LED indicating transmission of data frames on the DriveBus.

RECIEVE LED indicating reception of data frames on the I/O bus.

TRANSMIT LED indicating transmission of data frames on the I/O bus.

RECIEVE LED indicating reception of data frames on the PC Tool Bus. *

TRANSMIT LED indicating transmission of frames on the PC tool bus.*

*This LED is not visible in the front of the unit. It can be seen through the ventilation holes in the plastic housing.

863AFE68237432

Appendix A Technical DataPower Supply Requirements

Power Supply Requirements

Power supply for the unit is taken from L+ and L- on the CEX bus.

Table41.Technical data for the power supply.

Minimum

external supply voltageexternal supply current

17 V

24 V

TypicalMaximum

30 V200 mA

Optical Connectors

The CEM board connects to the drive system via three optical

receiver/transmitter pairs. HP/Agilent Technologies Versatile Link Series (HFBR family) optical receiver/transmitters are used. Transmission speed of the optical fibres is 4 Mbit/s.

Table42.Optical connectors D27-D29.

Pin

1

Designator

TxD

Description

transmit data

Pin

2

Rxd

DesignatorDescription

receive data

3AFE6823743287

DIN rail - TS 35/7.5Appendix A Technical Data

DIN rail - TS 35/7.5

The figure below shows the profile and dimensions in mm (in.) of the DIN-rail TS 35/7.5.

Normal supplied length is 2m (6.6ft.) (to standard DIN 46 277, EN 50 022).

7.5(0.3”)

7.5(0.3”)627

(1.1”)(0.2”)

35(1.4”)

15(0.6”)

10(0.4”)

Figure18. DIN-rail TS 35/7.5 dimensions

883AFE68237432

Appendix A Technical DataCEB Connector, X1

CEB Connector, X1

The communication expansion module board CEM connects to the CEX bus via connector X1.

Table43.CEB connector X1.

Pin

A1A2A4A5A6A7A8A9A10A11A12A13A14A15A16A17A18A19-A37A38A39

Designator

CEX_L-CEX_L+_PRGS0 V0 VCLK+CLK-0 VDATA+DATA-0 VSTRB+STRB-0 VINT_N0 VINIT0 Vnot usedEM0 V

Description

power supplypower supply

Pin

B1B2B4B5

Designator

CEX_L-CEX_L+

INSERTED_HI_N0 V0 V0 V0 V0 V0 V0 V0 V0 V0 V0 VGSAGSB0 Vnot used0 Vnot used

Description

power supplypower supplyused in power supply

CEX bus clockCEX bus clock

B6B7B8

CEX bus dataCEX bus data

B9B10B11

CEX bus data strobeB12CEX bus data strobeB13

B14

CEX bus interrupt

B15B16

CEX bus reset

B17B18

not used

B19-B24B25B26-B37

not used

not used

3AFE68237432

CEB Connector, X1Appendix A Technical Data

Pin

A40A41A42

Designator

EM

CEX_L+_PRCGCEX_L-

DescriptionPin

B38

EM

DesignatorDescription

power supplypower supply

B39B40B41B42

INSERTER_LO_NEMCEX_L+CEX_L-

used in power supply

power supplypower supply

903AFE68237432

Appendix A Technical DataCEX Bus Interface

CEX Bus Interface

The CEX bus signals are listed in below.

Table44.CEX bus signals.

Signal name

DATA+DATA-STRB+STRB-CLK+CLK-INT0_NINITGSA(2:0)GSB(3:0)CEX_L+CEX_L-

Level

LVDSLVDSLVDSLVDSLVDSLVDSTTLTTLTTLTTL+24 V0 V

DataData

DescriptionNote

Data strobeData strobeCEX bus clockCEX bus clock

Interrupt to CEX bus masterInit (reset) selected unitGeographical select signalsGeographical select signalsPower supplyPower supply

17-30 V, 200 mAOpen collector output

Firmware Download

The CI858 firmware is downloaded with a special loading package.For instructions on how to download the CI858 firmware, see ControlIT for AC 800M CD-ROM.

3AFE6823743291

Firmware DownloadAppendix A Technical Data

923AFE68237432

ABB OyAC DrivesP.O. Box 184

FIN-00381 HELSINKIFINLAND

Telephone +358 10 22 211Telefax +358 10 22 22681Internet http://www.abb.com

3AFE68237432 REV C/ENEFFECTIVE 25.10.2004

因篇幅问题不能全部显示,请点此查看更多更全内容

Copyright © 2019- huatuo0.cn 版权所有 湘ICP备2023017654号-2

违法及侵权请联系:TEL:199 18 7713 E-MAIL:2724546146@qq.com

本站由北京市万商天勤律师事务所王兴未律师提供法律服务