Pulse count functional block – IDEC SX5L Series User Manual

Page 50

Advertising
background image

4: S

OFTWARE

S

PECIFICATIONS

SX5L C

OMMUNICATION

T

ERMINAL

U

SER

S

M

ANUAL

4-15

Pulse Count Functional Block

The Pulse Count functional block counts input pulses to each terminal. Pulse input terminals 0 through 7 correspond to
output network variables nvoCount[0] through nvoCount[7], respectively. When the node power is turned off, the Pulse
Count functional block maintains the current value, and continues counting when power is restored.

Adding Counter Specifications

The Pulse Count functional block has eight adding counters assigned to input terminals 0 through 7, and sends output net-
work variables nvoCount[0] through nvoCount[7] of the counter current values to the network.

When power is turned off, the current values are stored to the EEPROM in the Neuron Chip. Data storage can be repeated
a maximum of 10,000 times according to the Neuron Chip specifications.

When the pulse input module is started, the current values stored in the EEPROM are restored to nvoCount[0] through
nvoCount[7]. The current values can be changed by sending new values to nviPreset[0] through nviPreset[7] from the net-
work.

The maximum current values of nvoCount[0] through nvoCount[7] can be designated using nciMaxRng[0] through
nciMaxRng[7]. Valid values are between 0 and 9,999,999. After the current value reaches the maximum value, the current
value changes to 0 on the next count up, and the counter repeats another counting cycle.

Initial Status Transmission

This functional block sends output network variables to the network within 3 seconds after powerup. The delay depends on
a random number based on the Neuron ID, and differs on each node.

The sending time can be delayed by changing the nciPwrup value designated in the Node Object functional block. At sys-
tem startup, if the SX5L sends output network variables before the addressee device is ready to receive communication, set
the nciPwrup to a larger value.

The preset value for nciPwrup can be between 0 and 60 seconds (0.1-sec increments). The sending time is determined by
the sum of the nciPwrup value and a random number.

I/O

Name

Type

Description

Input Network Variable

nviPreset[0] to [7]

SNVT_count_f

Receives adding counter new current value

Output Network Variable

nvoCount[0] to [7]

SNVT_switch

Sends adding counter current value

Configuration Property

nciMaxStsSendT1

SCPTmaxSndT

nvoCount[0] to [7] hear tbeat transmission inter val
(factor y setting: 3 minutes)

nciMinSendT1

SCPTminSndT

nvoCount[0] to [7] minimum transmission inter val
(factor y setting: 1 second)

nciDefaults

SCPTdefltBehave

Enable nvoCount[0] to [7] event-driven transmis-
sion (factor y setting: enable)

nciMaxRng
[0] to [7]

SCPTmaxRnge

Maximum value of nvoCount[0] to [7] counters
(factor y setting: 9,999,999)

nviPreset[0]

nvoCount[0]

PI

nviPreset[1]

nvoCount[1]

nviPreset[2]

nvoCount[2]

nviPreset[3]

nvoCount[3]

nviPreset[4]

nvoCount[4]

nviPreset[5]

nvoCount[5]

nviPreset[6]

nvoCount[6]

nviPreset[7]

nvoCount[7]

Advertising