GE Industrial Solutions 6KCV300WPD User Manual
Page 181
Wint rive
Digital-Input
Description
It reads a bit of digital input
specified by input selector (Sel) when different from zero, otherwise
output (Out) is equal to the input (In)
A standard method to handle and read digital inputs is provided with this compound block.
Control developed by the user may have a lots of functions. Each function can be enabled or disabled depend-
ing on its associated variable
This variable can be manually set by the user or read from a digital input
selected by another variable FnctSel. If this variable is zero
variable is not read from digital input
(digital inputs from 1 to 8 are available) and can be manually modified, otherwise
digital input is
read and assign to
The following drawing shows a possible usage of this compound block:
Digital-Input
Ida block reads all digital inputs using for example
519,
compound block
reads desired digital input from 1 to 8 according to FnctSel variable and the result is assigned to
vari-
able. Instead, if FnctSel is zero
variable is left unchanged.
block is used to store
variable and
send read input at the same time.
So two variables
and FnctSel) are need for each function user wants to enable or disable using a
selected digital input.
C-style description
if
!= 0)
reads (Sel-l)-th bit of
input. Note bits of integer number is numbered from 0 to 7
Sel-1);
else
1 7 1