TC-net I/O system 4ch-Bi-Pulse Input Module PI924 ...

48
6F8C1371 Functional Manual TC-net I/O system 4ch-Bi-Pulse Input Module PI924 Unified Controller nv Series

Transcript of TC-net I/O system 4ch-Bi-Pulse Input Module PI924 ...

6F8C1371

Functional Manual

TC-net I/O system4ch-Bi-Pulse Input Module PI924

Unified Controller

nv Series

Notes(1) The technical information provided herein describes typical operations and applications of the product and does not

guarantee the intellectual property rights or other rights of Toshiba or third parties nor allows license of its use.

(2) No part or the whole of this document may be reproduced without prior consent.

(3) The information herein may be changed in the future without notice.

(4) All possible measures have been taken to prepare the information herein. If you have any question, comment, or find any error, please contact us.

PROSEC, TOSLINE, TOSDIC, CIEMAC are trademarks or registered trademarks of Toshiba Corporation.

Microsoft, Windows are registered trademarks of Microsoft Corporation in the U.S. and other countries.

DeviceNet is a registered trademark of Open DeviceNet Vender Association Inc.

Unified Controller nv series TC-net I/O system 4ch-Bi-Pulse Input Module PI924 Functional Manual

Safety Precautions

i

The product and the instruction manual describe important information to prevent possible harm to users and damage to the property and to use the product safely.

Understand the following description (signs and symbols), read the text and observe descriptions.

Description of signs

Sign Meaning of the sign

DANGER This indicates an immediate danger that may result in death or serious injury if not avoided.

WARNING This indicates a danger that may result in death or serious injury*1 if not avoided.

CAUTION This indicates a danger that may result in minor or moderate injury*2 or only a physical damage if not avoided.

*1: A serious injury indicates loss of sight, injury, burns (high/low temperature), electric shock,

broken bones, or intoxication that will have aftereffects and require hospitalization or long-term

hospital visits for healing.

*2: An injury indicates an injury, burn, or electric shock that does not need hospitalization or long-term

hospital visits for healing.

*3: A property damage indicates consequential damage in terms of breakage of properties or materials.

Description of symbols

Symbol Meaning of the symbol

Prohibited

Indicates “Prohibition” or “You must not do”.

Specific details are indicated near the symbol with pictures and text.

Mandatory

Indicates “Mandatory Action” or “Do as indicated”.

Specific details are indicated near the symbol with pictures and text.

Warning

Indicates Warning.

Specific details are indicated near the symbol with pictures and text.

(Note) Descriptions of Prohibition, Mandatory Action, and Warning vary depending on the display on

the main unit.

6F8C1371 ii

1. Safety Precautions in Installation

WARNING

Ground

Ground the device.

Otherwise, it may cause an electric

shock or fire.

CAUTION

Prohibited

Do not install, store, or use it in the following environments.

・ A place with a lot of dust

・ A place with corrosive gases (SO2, H2S) ore flammable gases

・ A place with vibrations and shocks exceeding the allowed values

・ A place with condensations due to rapid temperature changes

・ A place with low or high temperature outside of the installation condition

・ A place with high humidity outside of the installation condition

・ A place with direct sunlight

・ A place near equipment generating strong radio waves or magnetic fields

It may cause accidents.

Mandatory

Install the device in a place where maintenance and inspection can be done easily.

Otherwise, it may cause accidents.

Prohibited

Do not block the ventilation hole or air inlet/outlet.

It may cause fire or failure due to

overheat.

Prohibited

Do not insert any foreign object such as wasted lines into the module or unit.

It may cause fire, failure, or malfunction.

Mandatory

Install the power module, controller module, station bus module, and TC-net I/O module to the base unit.

Otherwise, it may cause an electric shock, injury, or failure. Do not use it alone or for other purposes.

Mandatory

Install the power module, controller module, and I/O module to the base unit for the nv series because they are dedicated to the nv series.

Otherwise, it may cause an electric shock, injury, or failure. Do not use it alone or for other purposes.

Mandatory

Install or remove the module, base unit, and terminal block while the power is off.

Otherwise, it may cause an electric shock, malfunction, or failure.

Unified Controller nv series TC-net I/O system 4ch-Bi-Pulse Input Module PI924 Functional Manual iii

Mandatory

For installation and wiring of the system, observe the installation conditions and methods described in this document.

Otherwise, it may cause a fall, fire, failure, or malfunction.

Mandatory

When connecting the connectors and cables or installing the module to the base unit, press them fully until they clicks, and secure them with screws tightly.

Insufficient tightening may cause failure or malfunction due to vibrations.

6F8C1371 iv

2. Safety Precautions on Wiring

WARNING

Mandatory

Connect the cables while the power is off.

Otherwise, it may cause an electric shock or failure.

Mandatory

When wiring the module, use crimp contacts with sheath, or cover it with tape.

Otherwise, exposed conductors may cause an electric shock.

Mandatory

Install the terminal block cover securely to the terminal block.

Exposed conducting parts may cause an electric shock.

CAUTION

Mandatory

Connect an external power supply that matches the rating.

Otherwise, it may cause an explosion or fire.

Mandatory

Wiring work must be done by qualified experts.

Wrong wiring may cause a fire, electric shock, or failure.

Mandatory

Install a fuse that matches the current capacity to the external circuit for overload protection of the relay output module.

Otherwise, a load short-circuit may cause an accident or damage to the machine.

Mandatory

When using the contact relay used for relay output, check the contact life.

If the contact life of the relay is expired, an output error may occur due to a defective contact, resulting in an accident or damage to the machine. Contact relays have a life due to wearing of the contact. If the life is expired, replace it with a new one.

Mandatory

Install the battery before use.

If the RAM is operated without any battery, memory data or programs may be lost, causing an accident or damage to the machine due to malfunction. Replace the battery according to the battery replacement cycle guideline.

Unified Controller nv series TC-net I/O system 4ch-Bi-Pulse Input Module PI924 Functional Manual v

Mandatory

Turn on the power in the following order:

Turn on the power of the nv series, and then turn on the I/O module supply external power and external load power.

If this order is not followed, it may cause an accident or damage to the machine due to malfunction.

Mandatory

For system safety, turn off the load power before the power of the nv series.

If this order is not followed, it may cause an accident or damage to the machine. Share the external power supply for the I/O module with the load power supply whenever possible. If this is not possible, construct the system so that the external power supply and load power supply are turned off simultaneously.

Mandatory

Construct the emergency stop circuit and interlock circuit outside the nv series.

Otherwise, it may cause an injury accident or damage to the machine if failure or malfunction occurs in the nv series.

3. Safety Precautions in Daily Use

WARNING

No touch

Do not touch the terminals of the module and unit during energization.

It may cause an electric shock.

Prohibited

Do not modify, repair, disassemble, or adjust the device, module, or board.

It may cause an electric shock, fire, injury, or failure. Upon faulty operation or failure, contact Toshiba's branch office or service offices.

Mandatory

Before using, check that the power capacity, frequency, voltage, and regulation comply with the device specifications.

If not, it may cause damage of the device, or fire due to overheat, as well as not obtaining the original performance of the device.

Prohibited

When the ambient or internal temperature of the device rises abnormally or failure occurs in the device, stop using the device, turn off the power, and contact one of Toshiba's service representatives.

Using it as it is may cause fire due to overheat.

No touch

Do not touch the terminals of the module and unit during energization.

It may cause an electric shock.

The power supply module is for the nv series only. Do not use it alone for any other purposes.

6F8C1371 vi

CAUTION

Mandatory

When performing program changes during operation, forced output, run, or halt operations, ensure safety. Wrong operations or failure to ensure safety may cause an accident or damage to the machine.

Mandatory

When there is any smoke or strange odor, turn off the power. Otherwise, it may cause a fire or electric shock. Contact one of our branch offices or service agencies.

No touch

Do not touch the card parts, contacts, connectors, or soldered surface in the module. Ends of the lead wire of the parts may cause an injury, or electrostatic breakdown of the ICs or LSIs may occur, resulting in failure.

Prohibited

Do not forcefully bend, pull, or twist the power cord and cables.

It may cause breaks or heating.

Prohibited

Do not insert any metal into the gaps of the device main body.

It may cause fire.

4. Safety Precautions in Maintenance and Inspection

WARNING

Mandatory

When installing or removing the module, unit, terminal block, or wiring cable, make sure that the external power supply is off. Otherwise, there will be live electric poles on the back of the external terminal block of the module, causing an electric shock.

Prohibited

Do not connect the battery in reverse, charge, disassemble, overheat it, throw it into fire, or short-circuit it. It may cause an explosion or fire.

Mandatory

When replacing the power fuse or alarm fuse of the device, turn off the device.

Otherwise, it may cause an electric shock or fire.

Mandatory

Replace fuses or batteries with specified items. Using anything other than specified may cause a fire or failure.

Unified Controller nv series TC-net I/O system 4ch-Bi-Pulse Input Module PI924 Functional Manual vii

Mandatory

Be extremely careful when measuring the power supply voltage at the power terminal part of the module during an inspection. Otherwise, it may cause an electric shock.

CAUTION

Mandatory

Replace the battery every 5 years.

If the battery is worn, the data or programs saved in the controller module may be lost, causing an accident or damage to the machine due to malfunction.

Mandatory

Replace the shutdown capacitor every 8 years.

If the shutdown capacitor is worn, the data or programs saved in the controller module may be lost, causing an accident or damage to the machine due to malfunction.

Mandatory

Replace the battery for the PU811 and PU821 every 4 years (confirmation required) if the annual average temperature is 30°C or less, or every 2 years (confirmation required) if it is above 30°C.

If the battery is worn, the data or programs saved in the PU811 and PU821 may be lost depending on the application, causing an accident or damage to the machine due to malfunction.

5. Safety Precautions in Disposal

WARNING

Prohibited

Do not throw the lithium battery into a fire. The battery may explode.

CAUTION

Mandatory

When disposing of the lithium battery or Ni-Cd battery, follow the ordinances or rules of the local government. Otherwise, it may cause environmental damage.

Mandatory

Dispose of the unit and module of the nv series as industrial waste. Otherwise, it may cause environmental damage.

6F8C1371 viii

6. Checking the Warning Label on the Main Body

Check that warning label is attached on the main body. If the label is missing or hard to read due to stain, contact our service department.

[Warning symbols on the nv series main body]

This symbol is a warning symbol for dangerous parts. It is attached on places where there is a risk of an electric shock or a risk of damage to the main body due to wrong wiring.

Note the following where this symbol is present.

Touching the power input terminal of the power supply module while the power is on causes an electric shock and is very dangerous. Do not touch the power input terminal.

For safety, turn off the power before wiring or performing maintenance and inspection.

Wire the power input terminal correctly, and avoid applying any voltage exceeding the specified voltage range. It may cause failure or damage.

Perform connector connection of the nV-Tool port after turning off the power of the nV-Tool (such as the PC). Turn on the power of the nV-Tool after connection. Be careful not to short-circuit the connector pins with the connector cover.

[Warning stickers]

The warning sticker as shown in the left figure is attached to the power terminal of the nv series (except for power supplies below 24V).

Remove the sticker from the mount, and attach it on the main body of the nv series, or on a location near the nv series where it can be seen easily.

There are stickers in both Japanese and English. Use the one that suits your need.

When wiring, remove the sticker mount.

If the sticker is damaged, contact your distributor.

Unified Controller nv series TC-net I/O system 4ch-Bi-Pulse Input Module PI924 Functional Manual ix

Restrictions on Application

This product is not developed/manufactured for use in systems involving devices that directly affect human life (Note 1). Do not use them for such applications.

To use this product for systems that involve devices that significantly affect human safety or maintenance of public functions (Note 2), special considerations (Note 3) are required in system operation, maintenance, and management. In this case, contact one of Toshiba's sales representatives.

(Note 1) Devices that directly affect human life include the following.

• Medical devices such as life supporting devices and devices for surgical units.

(Note 2) Systems that involve devices that significantly affect human safety or maintenance of public functions include the following.

• Main unit control systems of nuclear power plants, safety protection systems of nuclear facilities, and other systems that are critical for safety

• Operation control systems of mass transportation systems and air traffic control systems

(Note 3) Special considerations indicate sufficient discussions with Toshiba's engineers to construct a safe system (e.g. employing fool-proof design, fail-safe design, or redundant design).

Disclaimer

Toshiba shall not be responsible for any damage caused by an earthquake, lightning and wind, fire for which Toshiba is not responsible for, acts of a third party, other accidents, the user's willful acts or negligence, misuse, or use in abnormal conditions.

Toshiba shall not be responsible for any incidental damage (loss of business profits, interruption of business, change or loss of stored memory) caused by use of or unable to use of this product.

Toshiba shall not be responsible for any damage caused by failure to observe the information described in the operation manual.

Toshiba shall not be responsible for any damage caused by malfunctions due to combination with any connected device.

Toshiba shall not be responsible for any damage caused by malfunctions due to combination with any application program created by the customer.

6F8C1371 x

Precautions on Usage

Installation

• Use your cellular phone or PHS one meter or more away from the product main unit in operation, various transmission cables, and I/O cable. Otherwise, the system may malfunction.

• When connecting the connectors and cables or installing the module to the base unit, secure them with screws tightly. Insufficient tightening may cause failure or malfunction due to vibrations.

Power wiring

• Keep the cables from other lines as much as possible. Especially, keep them away 200mm or more from power lines.

• The terminal screw size is M3.5. As applicable crimp contacts, use the one for 3.5M screws whose width is 7mm or less.

• Do not connect anything to the NC part.

Use of sample programs

• Use the sample programs described in the operation manual after performing an operation check. Make sure to perform an operation check before actual operation to avoid an accident due to malfunction.

• Do not drop, bump, or apply strong shocks to the device or module. It may cause failure.

Battery replacement

• Battery replacement can be done while the unit is energized or not energized. When replacing the battery while the unit is not energized, complete the replacement within 3 minutes. If the unit is left without a battery for a long time, the content of the RAM memory may be lost.

• The Battery Normal LED (BAT) may illuminate during battery replacement. This is not an error. If the voltage decreases with the battery installed, the state will be detected normally and the LED goes off.

• The battery voltage is not compatible with manganese batteries or alkaline batteries. Do not mix them.

• Do not use a battery when 3 years or more have passed since the production date.

Maintenance

• Place a module removed from the unit on a conductive mat or conductive bag (used for a backup board) on a grounded table. Otherwise, parts may be damaged due to static electricity.

• Before touching the device or module, touch a grounded metal to discharge the static electricity of your body. Otherwise, it may cause malfunction or failure due to static electricity.

Unified Controller nv series TC-net I/O system 4ch-Bi-Pulse Input Module PI924 Functional Manual xi

• Wipe off stain on the device or module with a soft cloth. For severe stain, use a wet cloth wrung tightly. Leaving them stained may cause wrong decision or operational mistake.

• Do not use benzene or thinner to remove stain on device or module. It may cause deformation or discoloration of the device panel or module.

• To keep the system normal and avoid unnecessary troubles, perform daily inspections, regular inspections, and cleaning.

Please observe the following To assure safety of the operator and normal operation of the device when the device is used, please observe the following.

1. Before installation, operation, maintenance, or inspection, read this operation manual and all the related manuals thoroughly to obtain device information, safety information, and other considerations. Use the device after reading the operation manual thoroughly.

2. Do not install or store it in the following environments.

(1) A place with a lot of dust

(2) A place with corrosive gases (SO2, H2S)

(3) A place with vibrations and shocks

(4) A place with low or high temperature outside of the installation condition described in this manual

(5) A place with high humidity

3. When the ambient or internal temperature of the device rises abnormally or failure occurs in the device, stop using the device, turn off the power, and contact one of Toshiba's service representatives.

4. Do not open the case of the device during operation for any purpose other than switch setting.

5. Do not modify the device.

6. Be careful not to drop the product during transportation.

7. The device is intended for people with general knowledge on handling of control devices in terms of installation, wiring, usage, and maintenance. Wrong handling may cause an electric shock, fire, failure, or malfunction. Those who have insufficient knowledge on handling of control devices or electric devices should avoid performing installation, wiring, usage, and maintenance, and delegate the task to someone with expertise.

8. This document and related materials are intended for people with general knowledge on handling of control devices. If you have any question, please do not hesitate to ask us.

6F8C1371 xii

nv series operation manuals In addition to this manual, there are the following related manuals for the nv series.

• Unified Controller nv series Type 1 Function Manual (6F8C1221) Describes the functions and use of type 1 and information necessary to create user programs.

• Unified Controller nv series Type 2 Function Manual (6F8C1362) Describes the functions and use of type 2 and information necessary to create user programs.

• Unified Controller nv series/Integrated Controller V series Command Manual (6F8C1226) Describes the detailed specifications of the instruction words of the program languages (LD, FBD, SFC and ST) supported by the nv series and V series.

• Unified Controller nv series/Integrated Controller V series Engineering Tool 4 (Basic) Operation Manual (6F8C1290) Describes how to create, debug, print, and save programs using nV-Tool.

• Unified Controller nv series/Integrated Controller V series Engineering Tool 4 (Setup) Operation Manual (6F8C1291) Describes how to set up nV-Tool.

• High-speed Serial I/O System TC-net I/O Instruction Manual (6F8C1240) This describes the specification, handling method and maintenance on nv series I/O and TC-net I/O system.

• TC-net100 Module Instruction Manual(6F8C1360) This describes the specification and handling method on TC-net 100 module of nv series.

• Ethernet Module Instruction Manual(6F8C1358) This describes the specification and handling method on Ethernet module of nv series.

4ch Bi-Pulse Input Module PI924 Functional Manual i

This manual describes the functions of the Unified Controller nv series TC-net I/O system 4ch-Bi-Pulse Input module (PI924).

・ Overview

Description of configuration of the module front panel and function setting parameters

・Interface information

Description of message reception format and scan transmission format

・Counter function

Description of each operation of counter in the bi-pulse mode and in the duty mode

The following manuals related to this module are also useful:

Unified Controller nv series Controller Unit Instruction Manual (6F8C1220)

Unified Controller nv series High-Speed Serial I/O System TC-net I/O Instruction Manual

(6F8C1240)

Unified Controller nv series Integrated Controller V series Engineering Tool 4 (Basic) Instruction Manual (6F8C1290)

6F8C1371 ii

Use Regulation

This product is not developed or manufactured for the system including the equipment directly related to human life (note 1). Do not use the product for that purpose.

When using this product to the system that is related to the safety of human and seriously affects the maintenance of public function (note 2), contact our sales section as the necessary special consideration (note 3) is required for the system operation, its maintenance and management.

(Note 1) The equipment directly related to human life means the following:

Medical equipment such as life sustaining equipment and equipment for operation.

(Note 2) The system that is related to the safety of human and seriously affects the maintenance of public function means the following:

Main equipment control system for nuclear power plant, safety protection system of nuclear facility, other system important for safety.

Operation control system of mass transportation system and aviation control system.

(Note 3) Special consideration means the sufficient consultation with our engineers to establish safe system (fool proof design, fail safe design, redundancy design).

Disclaimer

Toshiba Corporation shall not be liable for the damage due to earth quake, lightning, wind and flood damage, fire for which Toshiba is not responsible, conduct of third party, other accident, customer’s willful, negligence, erroneous use and other use under abnormal condition.

Toshiba Corporation shall not be liable for the incidental damage (loss of business profit, suspension of business, change and deletion of the memorized contents) arising from use of non use of this product.

Toshiba Corporation shall not be liable for the damage arising from the negligence to observe the instruction described in the instruction manual.

Toshiba Corporation shall not be liable for the damage arising from the malfunction due to the connection with other equipment.

Toshiba Corporation shall not be liable for the damage arising from the malfunction due to the combination with application program made by customer.

4ch Bi-Pulse Input Module PI924 Functional Manual iii

The Rules on Notation This document uses following symbols for the rules on notation for better understanding.

Important: Describes the matters that need special attention for appropriate product handling.

Note: Describes the matters to be observed for appropriate product handling.

Supplementary: Describes the supplementary matters to the described contents

6F8C1371 iv

Chapter 1 Overview ...1

1.1. Configuration of the module front panel ············ 3

1.2. PI924 function setting parameters ························ 4

1.2.1. Module parameter (common function setting) ·········· 4

1.2.2. Point parameter (function setting by channel) ·········· 4

Chapter 2 Interface

information of the PI924

... 5

2.1. PI924 message reception format ··························· 6

2.1.1. Module parameter setting (common function setting) 7

2.1.2. Point parameter setting (function setting by channel) 8

2.2. PI924 scan reception format ································ 9

2.3. PI924 scan transmission format ························· 10

Chapter 3 Counter

function of the PI924

... 11

3.1. Operation in the bi-pulse mode ·························· 13

3.1.1. Bi-pulse counter ············································· 14

3.1.2. Bi-pulse counter with upper-lower limit alarm ········ 15

3.1.3. Bi-pulse counter with hold ································· 17

3.1.4. Bi-pulse counter with hold/alarm ························ 18

3.2. Operation in the duty mode ······························· 20

3.2.1. Duty counter with alarm ···································· 21

3.2.2. Duty counter with hold ····································· 23

Appendix A PI924 hardware

specifications ...25

1

Chapter 1 Overview

1.1. Configuration of the module front panel ·············3

1.2. PI924 function setting parameters ·······················4

1.2.1. Module parameter (common function setting)······4

1.2.2. Point parameter (function setting by channel) ······· 4

Chapter1 Overview

6F8C1371 2

1 Overview

The bi-pulse input module PI924 counts external or internal pulse signals so that the controller can read the pulse count.

Up to 4 points of two-phase pulses can be input, and each point has an external gate input.

The counter function can be set for each counter via parameter setting. The controller can open/close the gate via software as well as preset of alarm data and external gate input.

The input pulse specifications are 50kHz pulse voltage of +9.6 to +26.4VDC, input current of 12mA (at 24V input).

To use this module, the version of the serial I/O

bus adaptor (SA911) must be V01.11 or later,

and the version of the Engineering Tool must

be V4.3.10 or later.

Version

CAUTION

1.1 Configuration of the module front panel

4ch Bi-Pulse Input Module PI924 Functional Manual 3

1.1. Configuration of the module front panel

Fig. 1.1. PI924 front

The values of the slot address setting switches

of the I/O connected to the same I/O bus must

be set to different values. If the same setting

value is used, it will not function normally.

When insertion or removal is performed online

while the maintenance switch is in the normal

state, data that is different from the input may

be detected.

To avoid wrong operation in a normal state, use

a precision screwdriver to operate the

maintenance switch that is behind the front

panel.

CAUTION

CAUTION

CAUTION

Rating printing

PI924

RUN ALM

12-24V BI-PULSE IN

SLT ADR

MAINT

RUN

P1A

G1

P1B

P2A

G2

P2B

P3A

G1

P3B

P4A

G1

P4B

<LED display>

RUN (green): ON when the module is normal or during maintenance

Blinks when the module is waiting for setting

ALM (red): ON during a transmission error, diagnosis error (read-back error), or maintenance

PxA (green): ON when A phase pulse voltage level is on

Gx (green): ON when gate input voltage level is on

PxB (green): ON when B phase pulse voltage level is on

<Maintenance switch (MAINT)>

This switch is used only when the module is inserted or removed online. Insertion or removal is performed when the switch is set to the up (MAINT) position to separate the module from the system. When insertion is complete, the switch is returned to the down (RUN) position for normal operation.

<Slot address setting switch (SLT ADR)>

A slot address for each I/O module is set to a different value. Up to 16 units of I/O devices can be connected on the same I/O bus with the 0-F setting.

Module model printing

Chapter1 Overview

6F8C1371 4

1.2. PI924 function setting parameters

The following function setting parameters can be specified from the controller when the PI924 starts up.

The parameters can be set when the PI924 is registered in the controller side.

1.2.1. Module parameter (common function setting)

The following settings are common among all the input channels.

Common parameter Setting value

Function

0 Does not set gate batch permission. ON/OFF control is done by using gate input of each Gate batch permission

(GEN) 1 Sets gate batch permission. Gate input of all

channels is regarded as ON (‘1’).

0 Input filter for high speed (50kHz-max.) Input filter setting (LSF)

1 Input filter for low speed (50Hz-max., contact supported)

00 Internal reference pulse 100Hz

01 Internal reference pulse 1kHz

10 Internal reference pulse 10kHz

Internal reference pulse setting (FQ-2bit)

11 Internal reference pulse 50kHz

Table 1.2.1. Common parameters

1.2.2. Point parameter (function setting by channel)

The following can be set for each input channel.

Point parameter Setting value

Function

0 Counts the internal common reference pulses. External pulse specification (EP) 1 Counts the external input pulses for individual

channels. 0 Does not set alarm.

Alarm setting (AL) 1 Sets alarm.

0 Does not use the hold function. Hold mode setting (HL)

1 Uses the hold function.

0 Count operation in the two-phase pulse (bi-pulse) mode Duty mode setting (DT)

1 Count operation in the duty mode

Table 1.2.2. Point parameters

5

Chapter 2 Interface information of the PI924

2.1. PI924 message reception format ·························6

2.1.1. Module parameter setting (common function setting) ························································7

2.1.2. Point parameter setting (function setting by channel)·······················································8

2.2. PI924 scan reception format ································9

2.3. PI924 scan transmission format ························10

Chapter2 Interface information of the PI924

6F8C1371 66

15 8 7 0

0 SA (Note 1) 16h (Note 1)

1 00h (Note 1) DA (Note 1)

2 00h (Note 1) 01h (Note 1)

3 Message size (002Ch) (Note 1)

4 Reception scan block NO. specification (Note 1)

5 Module parameter (common function setting)(1)

6 CH1 point parameter(2)

7 CH2 point parameter

8 CH3 point parameter

9 CH4 point parameter

10 Dummy data

11 Dummy data

12 Dummy data

13 Dummy data

14 Dummy data

15 Dummy data

16 Dummy data

17 Dummy data

18 Dummy data

19 Dummy data

20 Dummy data

21 Dummy data

(Note 1) indicates I/O bus transmission information. (1) Refer to 2.1.1. Module parameter (common function setting) (2) Refer to 2.1.2. Point parameter setting (function setting by channel)

Table 2.1. Message reception format

2.1. PI924 message reception format

The entire format of a message that the PI924 receives upon startup is as shown below.

(word) (bit)

2. 1. PI924 message reception format

4ch Bi-Pulse Input Module PI924 Functional Manual 7

2.1.1. Module parameter setting (common function setting)

The format of a PI924 module parameter (common function setting) is as shown below.

(Note 1) The relation between external gate input and parameter GEN is shown in the figure below.

When gate input is used individually to use the duty counter for pulse width measurement of external gate input, gate batch permission (‘1’) is not allowed.

Table 2.1.1. PI924 module parameter format

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0

GEN LSF FQ1 FQ0

(bit)

FQ1 FQ0 Internal reference

pulse

0 0 100Hz

0 1 1kHz

1 0 10kHz

1 1 50kHz

LSF Input filter setting

0 High speed (for 0-50kHz)

1 Low speed (for 0-50Hz)

GEN External gate setting

0 Gate individual permission

1 Gate batch permission

(Note 1)

Ch1 external gate i t

Ch2 external gate input

Ch1 gate condition

Ch2 gate condition

GEN (Gate batch permission)

Chapter2 Interface information of the PI924

6F8C1371 88

2.1.2 Point parameter setting (function setting by channel)

Duty mode setting, hold setting, alarm setting, and external pulse input setting are specified for each channel (the following are parameters for one channel).

Table 2.1.2. PI924 point parameters (for one channel)

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0

EP AL HL DT

EP External pulse specification

0 Counts internal reference pulses.

1 Counts external input pulses.

AL Alarm setting

0 No alarm function

1 Alarm function

DT Duty mode setting

0 Two-phase (bi-pulse) mode operation

1 Duty mode operation

HL Hold setting

0 Does not use the hold function.

1 Uses the hold function.

(bit)

2. 2. PI924 scan reception format

4ch Bi-Pulse Input Module PI924 Functional Manual 9

2. 2. PI924 scan reception format

The data received by the PI924 during scan transmission is as shown below.

Table 2.2. PI918 scan reception format

(bit) (word)

(bit)

15 8 7 0

0 CH1 upper-lower limit alarm value(1)/upper limit alarm value(2) 1 CH2 upper-lower limit alarm value/upper limit alarm value 2 CH3 upper-lower limit alarm value/upper limit alarm value 3 CH4 upper-lower limit alarm value/upper limit alarm value 4 CH1 lower limit alarm value(2) 5 CH2 lower limit alarm value 6 CH3 lower limit alarm value 7 CH4 lower limit alarm value 8 (Invalid) Command(3)

(1) Upper-lower limit alarm value (CH1 to 4)

The values are valid for a bi-pulse counter with hold/alarm. They function as upper limit alarm values during count-up, and function as lower limit alarm values during count-down.

However, -32768 (8000H) does not function as an upper limit alarm value, and +32767 (7FFFH) does not function as a lower limit alarm value. If zero is set at gate permission, the initial interrupt status change does not occur.

(2) Upper limit alarm value and lower limit alarm value (CH1 to 4)

The values are valid for a bi-pulse counter with upper-lower limit alarm or duty counter with alarm. The upper limit alarm value is compared with the count value in the count-up direction, and the lower limit alarm value is compared with the count value in the count-down direction.

However, -32768 (8000H) does not function as an upper limit alarm value, and +32767 (7FFFH) does not function as a lower limit alarm value. If zero is set at gate permission, the initial interrupt status change does not (3) Command

The counter is controlled based on an AND condition with the gate input condition.

For the initial value of '0', the command is permitted when the bit corresponding to each channel is '1'. (The counter operation varies depending on the functions set.)

7 6 5 4 3 2 1 0

CH4 CH3 CH2 CH1

Table 2.2. PI924 scan reception format

(Word) (bit)

Chapter2 Interface information of the PI924

6F8C1371 1010

15 8 7 0

0 CH1 count register(1)

1 CH2 count register

2 CH3 count register

3 CH4 count register

4 CH1 hold(2)/upper limit alarm(3)/up-hold(4) register

5 CH2 hold/upper limit alarm/up-hold register

6 CH3 hold/upper limit alarm/up-hold register

7 CH4 hold/upper limit alarm/up-hold register

8 CH1 lower limit alarm(5)/upper-lower limit alarm(6)/down hold(7) register

9 CH2 lower limit alarm/upper-lower limit alarm/down hold register

10 CH3 lower limit alarm/upper-lower limit alarm/down hold register

11 CH4 lower limit alarm/upper-lower limit alarm/down hold register

12 Module parameter(9) 0 Command(8)

13 CH4 P.P. CH3 P.P. CH2 P.P. CH1 P.P.(10)

14 0

15 0 IRS(11)

(Note) In the format description, two words in the starting header are excluded. (1) The count register shows the current count value (-32768 to 32767). (2) The hold register has the count value at each gate OFF when HL=1, AL=1 are set. (3) The upper alarm register returns the upper limit alarm value written at scan reception

when HL=0, AL=1 are set. (4) The up-hold register updates the up-count value indicating the period where gate

input is ON (ON pulse width) at each gate input OFF when DT=1, HL=1 are set. (5) The lower limit alarm register returns the lower limit alarm value written at scan

reception when HL=0, AL=1 are set. (6) The upper-lower limit alarm register returns the upper-lower limit alarm value

written at scan reception when HL=1, AL=1 are set. (7) The down hold register updates the down-count value indicating the period where

gate input is OFF (OFF pulse width) at each gate input ON when DT=1, HL=1 are set.

(8) The command returns the command information written at scan reception. (9) The module parameter returns the setting value received as a message upon startup. (10) The P.P. (point parameter) returns the setting value received as a message upon

startup (consists of 4-bit information of EP, AL, HL, and DT for each channel). (11) The IRS (interrupt status) is a toggle status whose initial value is '0'. The bit (1xx to

4xx) state corresponding to each input channel is inverted for each interrupt condition.

7 6 5 4 3 2 1 0

4US 4LS 3US 3LS 2US 2LS 1US 1LS

2.3. PI924 scan transmission format

The internal counter, register, and setting information of the PI924 are transmitted at the scan cycle.

Figure 2.3. PI924 scan transmission format

(Word) (bit)

(bit)

11

Chapter 3 Counter function of the PI924

3.1. Operation in the bi-pulse mode··························13

3.1.1. Bi-pulse counter·········································14

3.1.2. Bi-pulse counter with upper-lower limit alarm ···· 15

3.1.3. Bi-pulse counter with hold ··························17

3.1.4. Bi-pulse counter with hold/alarm ················18

3.2. Operation in the duty mode································20

3.2.1. Duty counter with alarm ·····························21

3.2.2. Duty counter with hold ·······························23

Chapter 3 Counter function of the PI924

6F8C1371 12

The following counters can be specified for each channel by using the point parameter settings of the PI924.

However, some functions are affected by the module parameters (common function).

Table 3. PI918 counter function list

Fig. 2-2 Basic operation flow

Table 3. PI924 counter function list

Point parameter Counter function

EP AL HL DT Counter type Application example

0 0 0 0 - -

0 0 0 1 - -

0 0 1 0 - -

0 0 1 1 Duty counter Duty counter with hold

(count based on internal reference pulses)

0 1 0 0 - -

0 1 0 1 Duty counter Duty counter with alarm

(count based on internal reference pulses)

0 1 1 0 - -

0 1 1 1 - -

1 0 0 0 Bi-pulse counter Bi-pulse counter

1 0 0 1 - -

1 0 1 0 Bi-pulse counter Bi-pulse counter with hold

1 0 1 1 Duty counter Duty counter with hold

(count based on external input pulses)

1 1 0 0 Bi-pulse counter Bi-pulse counter with upper-lower limit alarm

1 1 0 1 Duty counter Duty counter with alarm

(count based on external input pulses)

1 1 1 0 Bi-pulse counter Bi-pulse counter with hold/alarm

1 1 1 1 - -

(Note 1) The external pulse input terminal cannot be used in the counter mode with EP = ‘0’.

(Note 2) The shaded parts indicate invalid operation as a counter.

3.1. Operation in the bi-pulse mode

4ch Bi-Pulse Input Module PI924 Functional Manual 13

3.1. Operation in the bi-pulse mode

In the bi-pulse mode, the counter counts up/down based on the pulses with 90-degree phase difference in A phase and B phase inputs.

The count starts when the permission condition of the external input gate signal and command signal is met (the count starts from "0").

The counter counts up if A phase is leading, or counts down if B phase is leading.

If the external input gate signal is prohibited and the command is permitted, counting is performed, but the interrupt status does not change. If the command signal itself is prohibited, counting itself stops.

Figure 3.1. Count up/down detection timing in the bi-pulse mod

ON

ON A phase pulse

B phase pulse

Up detection

Down detection

Direction inverted

Chapter 3 Counter function of the PI924

6F8C1371 14

3.1.1. Bi-pulse counter

The bi-pulse counter detects the phases of A phase and B phase to count up/down. Only the count register is used. The interrupt status changes at an overflow (or underflow).

Condition:

EP AL HL DT Parameter setting 1 0 0 0

Pulse input Gate input External

input Two-phase (A, B phase) pulse connection

ON level, or batch permission (GEN = ‘1’)

Operation:

(1) When permission of the command external input condition is met, counting starts to count up/down by detecting the phases of A phase and B phase.

(2) When the command is permitted, count operation is executed. However, if the gate input is prohibited, the interrupt status (upper limit/lower limit) does not change.

(3) The count is reset to "0" when both the command and gate input become ‘1’.

(4) Count operation is not performed as long as the command is prohibited (‘0’) even if the gate input is permitted.

Figure 3.1.1. Example of operation of the bi-pulse counter

Command

Count value

Upper limit status (US)

Interrupt status permitted (Gate ON, Command '1')

Gate input

(Gate batch permission)

32767 (7FFFh)

-32768 (8000h)

0

Up

Down

Lower limit status (LS)

(Inversion)

(Inversion)

(Inversion)

3.1. Operation in the bi-pulse mode

4ch Bi-Pulse Input Module PI924 Functional Manual 15

3.1.2. Bi-pulse counter with upper-lower limit alarm

This counter operates similarly as the 3.1.1. Bi-pulse counter. With

upper-lower limit alarm, upper limit and lower limit alarm values can be

specified, and an interrupt status change can be generated every time the

count passes through this value.

The setting value can be set to each of the upper limit alarm register and lower limit alarm register. Overflows and underflows of the counter are ignored.

Condition:

EP AL HL DT Parameter setting 1 1 0 0

Pulse input Gate input External

input Two-phase (A, B phase) pulse connection

ON level, or batch permission (GEN = ‘1’)

Operation:

(1) For the bi-pulse counter with upper-lower limit alarm, the following 3 registers are assigned to one channel.

Pointer CHx register name Description

n CHx count register Count value

n+4 CHx upper limit alarm register Alarm value during count up

n+8 CHx lower limit alarm register Alarm value during count down

The alarm register is set to 0 when the power is turned on. For other operation, it is continuously updated to the alarm data of the data (received by the PI924 via scan) sent from the controller.

(2) A change in the interrupt status register is prohibited when -32768 (8000h) is set to the upper limit alarm register, or 32767 (7FFFh) is set to the lower limit alarm register. If the alarm value is ‘0’ during gate permission, no initial interrupt occurs.

(3) The upper limit alarm is valid in the count-up direction, and the lower limit alarm is valid in the count-down direction.

(4) The operation for the command and gate input is the same as the bi-pulse counter.

(5) The upper limit status (US) changes when the following register data rewrite occurs. When a change occurs from (Upper limit alarm value > Count value) to (Upper limit alarm value ≤ Count value).

(6) The lower limit status (LS) changes when the following register data rewrite occurs. When a change occurs from (Lower limit alarm value < Count value) to (Lower limit alarm value ≥ Count value).

Chapter 3 Counter function of the PI924

6F8C1371 16

Figure 3.1.2. Example of operation of the bi-pulse counter with upper-lower limit alarm

Command

Count value

Upper limit status (US)

Gate input

(Gate batch permission) 32767 (7FFFh)

-32768 (8000h)

0 Up

Down

Lower limit status (LS)

Upper limit alarm -32767 to 32767

Lower limit alarm -32768 to 32766

Interrupt status permitted (Gate ON, Command '1')

(Inversion)

(Inversion)

(Inversion)

3.1. Operation in the bi-pulse mode

4ch Bi-Pulse Input Module PI924 Functional Manual 17

3.1.3. Bi-pulse counter with hold

This counter operates similarly as the 3.1.1. Bi-pulse counter. With hold, when the command or gate input becomes prohibited, the count value can be transferred to the hold register to be held. The interrupt status changes at an overflow (or underflow).

Condition:

EP AL HL DT Parameter setting 1 0 1 0

Pulse input Gate input External

input Two-phase (A, B phase) pulse connection

ON level, or batch permission (GEN = ‘1’)

Operation:

(1) For the bi-pulse counter with hold, the following 2 registers are assigned to one channel.

Pointer CHx register name Description

n CHx count register Count value

n+4 CHx hold register Count value when the gate prohibition condition occurs

n+8 Not used -

The initial value of the hold register is "0" until the first hold occurs.

(2) The operation for the command and gate input is the same as the bi-pulse counter.

Figure 3.1.3. Example of operation of the bi-pulse counter with hold

Command

Count value

Upper limit status (US)

Gate input

(Gate batch permission) 32767 (7FFFh)

-32768(8000h)

0

Up Down

Lower limit status (LS)

Hold value

A

A

Interrupt status permitted (Gate ON, Command '1')

(Inversion)

(Inversion)

(Previous hold value)

Chapter 3 Counter function of the PI924

6F8C1371 18

3.1.4. Bi-pulse counter with hold/alarm

This counter operates similarly as the 3.1.1. Bi-pulse counter. With hold/alarm, when the command or gate input becomes prohibited, the count value can be transferred to the hold register to be held.

In addition, one point of alarm value can be specified, and an interrupt status change including count direction can be generated every time the count passes through this value.

Overflows and underflows of the counter are ignored.

Condition:

EP AL HL DT Parameter setting 1 1 1 0

Pulse input Gate input External

input Two-phase (A, B phase) pulse connection

ON level, or batch permission (GEN = ‘1’)

Operation:

(1) For the bi-pulse counter with hold/alarm, the following 3 registers are assigned to one channel.

Pointer CHx register name Description

n CHx count register Count value

n+4 CHx hold register Count value when the gate prohibition condition occurs

n+8 CHx upper-lower limit alarm register

Alarm value during count up/down

The initial value of the hold register is "0" until the first hold occurs.

(2) For the upper-lower limit alarm value, the upper limit status change is prohibited for -32768 (8000h), and the lower limit status change is prohibited for 32767 (7FFFh).

3.1. Operation in the bi-pulse mode

4ch Bi-Pulse Input Module PI924 Functional Manual 19

Figure 3.1.4. Example of operation of the bi-pulse counter with hold/alarm

Command

Count value

Upper limit status (US)

Gate input

(Gate batch permission) 32767(7FFFh)

-32768(8000h)

0

Up

Down

Lower limit status (LS)

Hold value

A

A

Upper-lower limit alarm value

Interrupt status permitted (Gate ON, Command '1')

(Inversion)

(Inversion)

(Previous hold value)

(Inversion)

(Inversion)

Chapter 3 Counter function of the PI924

6F8C1371 20

3.2. Operation in the duty mode

In the duty mode, the counter counts up from 0 when the gate input is ON, or counts down from 0 when it is OFF based on the A phase pulse input or internal reference pulse.

For the B phase pulse input, counting is permitted when it is ON, and prohibited when it is OFF.

For the command, similarly, counting is permitted when it is '1', and prohibited when it is '0'.

The operation above can be applied to pulse width measurement.

If any channel uses this mode, set the gate batch permission setting (GEN) to "Not used" (‘0’), and enable the external gate input.

Figure 3.2. Example of operation in the duty mode

A phase pulse or internal reference pulse

B phase pulse

Command

Gate input

Count value

(+)

0

(-)

Up Down

3.2. Operation in the duty mode

4ch Bi-Pulse Input Module PI924 Functional Manual 21

3.2.1. Duty counter with alarm

Upper-lower limit alarm values can be set for the count value. This allows detection of pulses with a certain width or more using upper limit/lower limit status.

Gate batch permission setting (GEN=‘1’) cannot be set.

Condition:

EP AL HL DT Parameter setting 1/0 1 0 1

Pulse input Gate input

External input

Reference pulse input:

EP = 1 A phase pulse

EP = 0 internal reference pulse

B phase input: Count permission condition

Measurement pulse connection

Operation:

(1) For the bi-pulse counter with hold/alarm, the following 3 registers are assigned to one channel.

Pointer CHx register name Description

n CHx count register Count value

n+4 CHx upper limit alarm register Alarm value when the gate is ON

n+8 CHx lower limit alarm register Alarm value when the gate is OFF

(2) The valid range of an upper limit alarm value is 1 to 32767. The valid range of a lower limit alarm value is -1 to 32768.

(3) Before permitting the counter with a command, set the specified alarm value.

Chapter 3 Counter function of the PI924

6F8C1371 22

Figure 3.2.1. Example of operation of the duty counter with alarm

A phase pulse or internal reference pulse

B phase pulse

Command

Gate input

Count value

(+)

(-)

Upper limit status (US)

Lower limit status (LS)

Lower limit alarm value

Upper limit alarm value

(Note) The setting range of the upper limit alarm value (1 to 32767) and lower limit alarm value (-1 to 32768) is valid.

Interrupt status permitted (B phase ON, Command ‘1’)

(Inversion)

3.2. Operation in the duty mode

4ch Bi-Pulse Input Module PI924 Functional Manual 23

3.2.2. Duty counter with hold

The count value is transferred to the up-hold/down-hold register when the gate input changes.

If any overflow or underflow occurs during counting, an interrupt status change occurs. Gate batch permission setting (GEN = ‘1’) cannot be set.

Condition:

EP AL HL DT Parameter setting 1/0 0 1 1

Pulse input Gate input

External input

Reference pulse input:

EP = 1 A phase pulse

EP = 0 internal reference pulse

B phase input: Count permission condition

Measurement pulse connection

Operation:

(1) For the duty counter with hold, the following 3 registers are assigned to one channel.

Pointer CHx register name Description

n CHx count register Count value

n+4 CHx up-hold register Hold value when the gate is ON

n+8 CHx down-hold register Hold value when the gate is OFF

(The initial value of the hold register is 0.)

Chapter 3 Counter function of the PI924

6F8C1371 24

Figure 3.2.2. Example of operation of the duty counter with hold

(Inversion during overflow)

B

A phase pulse or internal reference pulse

B phase pulse

Command

Gate input

Count value

(+)

(-)

Up-hold value

Down-hold value

Interrupt status permitted (Phase BON, Command ‘1’)

32767

-32768

A C

D

E

F

A

D

B

C E

F

Upper limit status (US)

Lower limit status (LS) (Inversion during underflow)

25

Appendix A PI924 hardware specifications

Appendix A PI924 hardware specifications

6F8C1371 26

A PI924 hardware specifications

(1) External specifications

Item Description

Pet name PI924

Number of input channels 2 phase 4ch, with gate input (insulation)

Input signal 12 to 24V pulse (9.6 to 26.4V)

Counter 16bit (-32768 to +32767) up/down counter (A phase lead up, B phase lead down)

Input current 8 to 12mA (input voltage 12 to 24V)

Range of number of input frequency DC, 50kHz (input filter low speed: 0 to 50Hz)

Input minimum pulse width 6μs (input filter low speed: 15ms)

Pulse threshold level 4 to 8V (between input terminals)

Common setting (parameter)

(1) Input filter: high speed/low speed

(2) Internal reference pulse: 100Hz/1kHz/10kHz/50kHz

(3) External gate control: individual/batch

Setting for each channel (parameter)

Alarm function, hold function, duty function, pulse internal/external selection

Module state display RUN display (green), ALM display (red), external input display (green)

Fault diagnosis Transmission

Current consumption Internal: 24VDC - 100mA or less

Internal heat generated 6W or less

Allowable short interruption Continuous operation for 1ms or less

Insulating resistance 10MΩ or more (between external circuit and internal circuit)

Withstand voltage 500VAC, 1 minute (between external circuit and internal circuit)

External connection BU902, BU902A

Outside dimensions and weight 35W x 185H x 95D, 200g or less

Circuit configuration

P1AP

P1AN

Constant current photo-coupler insulation input circuit

G1P

G1N LED display

RS485

transceiver

RS485

transceiver

Power supply

circuit

Redundant I/O bus

System pow

er supply I/O connecter

In ternal circuit

(Fen ix3 etc.)

P ulse number

count

PLD

Power supply for logic circuit

I/O connec ter

G4P

G4N

P4BP

A pulse

Gate

P1BP

P1BN

B pulse

P4BN

4ch Bi-Pulse Input Module PI924 Functional Manual 27

(2) External line connection when the base unit (BU902/902A) is installed

P1AP P1AN

G1P G1

N P1BP P1BN

P2AP P2AN

G2P G3

N P2BP P2BN

P3AP P3AN

G3P G3

N P3BP P3BN

P4AP P4AN

G4P G4

N P4BP P4BN

Wiring when all G1x to G4x gate inputs are not used is unnecessary.

12

34

56

78

91

11

11

11

11

12

2 2

2 2

2 2

2 2

2 3

F

G

33

33

33

+

+

+

+

+

+

+

+

+

+

+

+

Appendix A PI924 hardware specifications

6F8C1371 28

Unified Controller nv Series TC-net I/O system 4ch-Bi-Pulse Input Module PI924 Functional Manual

March 06, 2009

© Toshiba Corporation 2008 All Right Reserved.

No part of this document may be reproducedwithout the prior written consent of Toshiba.

Transmission Distribution & Industrial Systems CompanyMicroelectronics & System Components Department - System Components Support Group

1, Toshiba-Cho, Fuchu-Shi, Tokyo, 183-8511, Japan Tel +81-42-333-2206

First Edition

1371.1.0903