En - AC80ReferMaPCElem - 2 - AC80 REF MANUAL
En - AC80ReferMaPCElem - 2 - AC80 REF MANUAL
PC Elements
Advant Controller 80
Reference Manual
PC Elements
Advant Controller 80
AC80
EFFECTIVE: 15.03.2000
SUPERSEDES: 01.06.1999
The Programming A PC element is the smallest unit of the application program. Each
element performs a complete function, such as a logical AND gate, a
Language counter or a feedback control element.
COMP-I(C1)
Call Each element has an unique call name that
-1 I1 I1>I2 5
enables it to be accessed. Many of the elements -2 I2 I1=I2 6
have call parameters which allow size, function, I1<I2 7
data type, and other properties to be determined.
Figure 1.
Call Name The mnemonic call name provides information
Graphic Symbol
about the basic function of the element. Further
information about the function of the element or the
data types for which the element is intended is given by a suffix to the
name. E.g. COMP-I, comparator for integers, and COMP-R,
comparator for real numbers, see table 2-1.
Table 2-1Suffix
Suffix Description
A AND function in compound elements
B Boolean
D Data
I Integer
R Real number
O OR function in compound elements
T Time
G Group data
M Memory function
L Load function;
Limiting function,
Threshold function
N 1-of-N addressing
P Number of poles
PB Packed Boolean
V Variable
COUNT (C1)
Call Parameters For structure elements, the call parameters > 0
- 1 > L 10
determine the cycle time, and the place in the - 2 U / D-N = 0 11
cycle time table (this determines the order of - 3 > C < 0 12
execution for control modules having the - 4 R
same cycle time). - 5 EN
- 21 I O 22
For a function element, the call parameters
may specify the size, data type, number of
inputs and outputs, etc. Figure 2. Graphic
Symbol
Graphic Symbol Each PC element has a graphic symbol
similar to that shown in figure 2. Normally it is the call name of the
element written in the upper part of the symbol. For certain functions,
e.g. AND and OR, there is a graphic a symbol instead of the name.
When the element has supervisory control signals, the terminals for
these signals are collected in a separate part of the symbol as shown
in figure 2.
Connection of PC Only inputs and outputs with the same data type can be
interconnected. If, for example, an output of the type IL is to be
Element Inputs and connected to an input of the type R, a type conversion element, e.g.
Outputs CONV (with parameters C1= IL, C2 = R) must be inserted in the data
path.
Error Handling
Integer Overflow The range of integer values allowed is as follows.
Overflow of Real The range of allowed real numbers is 9.2 x 1018 ... -0.1.x 1018.
Numbers When the range is exceeded, the output is set to the respective
limiting value. The smallest magnitude that can be represented by a
real number is 5.0 x 10-20. Any output with an absolute value smaller
than this is set to 0.
Element Library for The AC80 has an element library which defines the set of available
AC80 PC elements. Detailed documentation of the available PC elements
can be found in the PC Element and DB Element Descriptions parts
of this manual.
Programming with When programming an AC80 based control system, PC elements are
selected from the AC80 PC element library and included on a AC80
the PC Language software design template. The PC elements are then interconnected
on the diagram to define the data interchange between the elements.
The compiler of the FCB translates the program into object (target)
code, which is loaded into the AC80 memory.
Switches Switch SW
Switch with Changeover SW-C
Generators
Average of n-samples AVG
Feedback and Three State Controller CON-PU1
Filter Algorithms Derivator DER
Single pole Filter FILT-1P
Single Pole Filter for Integer Signals FILTI
Integrator INT
PDP-controller PDP
PI-controller PI
PI controller with integer calculation PII
PIP-Function PIP
Ramp generator RAMP
S-ramp generator RAMP-S1
SSH-ramp generator RAMP-SSH
Table 4 - 1 continued
Element Description
DEMUX-MI Signal demultiplexer with the memory.
DER Gives derivation effect. The elements has inputs and outputs
for limit values, setting of gain, filter function for restricting the
derivation effect and the possibility of following and external
reference
DIV Divides two real numbers or two integers. For integers the
quotient is obtained along with the remainder at a separate
output.
DIV-MR Performs compounded multiplication/division operations on the
input signal groups.
ERROR Writes detected error codes to the Event Logger.
EVBUG EVBUG element can be used to diagnose event loggers.
EVENT Detects a Boolean event and writes the associated information
to Alarm/Fault logger or Event logger.
EVPRTY EVPRTY element provides means for changing the priority of
an event driven CONTRM.
EVT Detects both edges of event signal, allows acknowledgement.
EVTLOG EVTLOG element is used to create and manage an event
logger.
FIFO Queue register with up to 9 queues each with a maximum of 64
places.
FILT-1P 1-pole low pass filter with options for limiting the output signal
and for following an external reference.
FILTI Single pole low pass filter for integers.
FUNCM Module header for function module.
FUNG-1V Generates a piece-wise linear function of one variable using
tables, with up to 255 elements.
IIL Packs two integers into an integer long value.
ILI Unpacks an integer long to two integer values.
INT Gives integration effect. The element has inputs and outputs for
limit values, setting of gain and following with an external
reference.
INV Inverts a Boolean value.
IOBUSRD IOBUSRD element makes possible to read contents OF Dual
Port Memory of NCB board. IOBUSRD is available only if you
have enabled “Toolbox option” of AC80.
IOBUSWR IOBUSWR element makes possible to write data into absolute
addresses of Dual Port Memory of NCB board. IOBUSWR is
available only if you have enabled “Toolbox option” of AC80.
In APC IOBUSRD and IOBUSWR access Dual Port Memory of
extended I/O boards.
In AC80 they access Dual Port Memory of NCB board.
IORX Used to transmit and/or receive datasets to/from an I/O device.
LIM-N Limits integers,real numbers or time values. Several limit values
may be selected.
MASTER Module header for master modules.
MAX Selects the largest of up to 19 integers or real numbers.
MB90REC Receives a Data Set over the MP90 bus.
MB90TRA Sends a Data Set over the MP90 bus.
MIN Selects the smallest of up to 19 integers or real numbers.
Table 4 - 1 continued
Element Description
MODR MODR element can be used for reading data from a remote
device through ModBus.
MODW MODW element can be used for writing data to a remote device
through ModBus.
MONO Generates a pulse with a given duration when the input
changes from 0 to 1. The pulse duration is specified at an input.
Retriggability is controlled with an input.
MOVE Moves data from input terminals to output terminals.
MUL Multiplies of up to 19 integers or real numbers.
MULDIV Scaling element for the integer data.
MUXA-I Multiplexer for text arrays with integer address.
MUX-I Selector for up to 19 inputs. Integer address.
MUX-MI Selector for up to 19 inputs. Integer address and memory.
MUX-MN Selector for up to 19 inputs. 1-of-N address and memory.
MUX-N Selector for up to 19 inputs. 1 out of N address.
OR Gives the Boolean sum of up to 19 Boolean values.
OR-A Performs a combination of the AND and OR functions on the
input signal groups.
OSC-B Oscillator for a Boolean variable with variable frequency and
pulse time.
OSC-SIN Sine wave generator.
PANC PANC controls one CDP80 panel.
PARSAVE PARSAVE element provides means for controlling the storage
of current PARDAT values into PROM memory.
PCPGM Module header for a PC program.
PDP Gives proportional effect and limited derivation effect. The
element permits limiting of the output signal and following.
PI Standard PI regulator for serial compensation in feedback
systems. The element permits limiting of the output signal and
following.
PII PI controller for the signals represented as integers with the
integer long arithmetics.
PIP Used to give proportional effect and limited integration effect.
The element permits limiting of the output signal and following.
POINT Gives absolute address for debugging. The Point is available
only if you have enabled “Toolbox option” of AC80.
PRTCON Printer control.
RAMP Limits the rate of change of a signal. The element permits
limiting of the output signal and tracking.
RAMP-S1 Reference signal generator with the second derivative limitation.
RAMP-SSH Generates an S-shaped output signal when reaching the level
of the input signal.
REG Memory element with an optional number of positions.
REG-G Assembles simple variables into one single variable of the
group type.
RWM Monitors the memory.
SAVE Saves the signal/parameter value to the battery backed RWM
area.
SHIFT Shift register with optional length.
Table 4 - 1 continued
Element Description
SLAVEM Module header for slave modules. Subordinate of MASTER.
SQRT Calculates the square root of a real number. The result is
multiplied by a scale factor.
SR Memory for Boolean variables. The element has one Set and
one Reset input.
SR-AA SR flip flop with combinatory S, R inputs: A for AND function.
SR-AO SR flip flop with compinatory S, R inputs. A for AND, O for OR
function.
SR-D Memory for Boolean variables with data input. The element has
one Set and one Reset input and data and clock inputs for
clocking in data.
SR-OA SR flip flop with combinatory S, R inputs. A for AND, O for OR
function.
SR-OO SR flip flop with combinatory S, R inputs. O for OR function.
SUB Subtracts one real number or one integer from another.
SW Switching element with up to 9 closing channels.
SW-C Switching elements with up to 9 change-over channels.
SYSL Calculates and indicates the system load.
SYSTIME Actual time and date
THRESH-L Determines when more than a given number of Boolean signals
are set.
TOFF Delay for turning a Boolean signal off.
TON Delay for turning a Boolean signal on.
TON-RET Delay for turning a Boolean signal on with accumulating time
measurement.
TRIGG Provides a pulse with duration of one program cycle when the
input signal changes from 0 to 1.
WDOG80 Watchdog
XOR Give a signal when just one of several input signals is true.
Table 4 - 2 Short form description of DB Elements
Element Description
AIC AI Calculated (= event option)
AI810, AI820, Analog Input
AI830, AI835
AO810, AO820 Analog Output
DAT(B) Boolean Data
DAT(I) Integer Data
DAT(II) IntegerInteger Data
DAT(IL) IntegerLong Data
DAT(NI) Named Integers Data
DAT(R) Real Data
DCB01 DCB01 element is necessary for initialization and usage of
an optional FBA module of AC80.
DI810, DI811, DI module
DI820, DI821
Table 4 - 3 continued
DO810, DO820 DO module
DIC DI calculated element is an event channel element used for
detection of calculated digital events. (= optio)
DRB00 DRB00 is used to define the (physical) drive numbers, drive
types and application identifiers of the ACS 600 drives
connected to AC80.
DRIDS Drive Data Set
DRIENG Engineered Drive
DRISTD Standard Drive.
DSP DataSet Peripheral (=AF100 dataset)
EVS(S) Event Srt (Send) (= optio)
MVB Multivendor interface data block (= optional tool)
MVICHAN Multivendor interface channel (= optional tool)
MVINODE Multivendor interface node (= optional tool))
NCBIO NCB I/O configuration
PANBUS Panel Bus configuration
PARDAT(B) Boolean Param
PARDAT(I) Integer Param
PARDAT(II) Packed Integer Param
PARDAT(IL) IntegerLong Param
PARDAT(NB) Packed Bool. Param with names
PARDAT(NI) Packed Int. Param with names
PARDAT(R) Real Param
PM825 Processor Module (CPU) of the AC80 control system.
Table 4 - 3 Short form description of “GHOST” PC Elements.
Element Description
AIAPC Reads basic analog input channels from the APC board.
AIEXT Reads analog input channels from the Extension I/O boards.
AOEXT Writes to the analog output channels on the Extension I/O board.
AOMEAS Writes to the analog output channels on the Speed Measurement
board.
DIAPC Reads basic digital input channels from the APC board.
DIEXT Reads digital input channels from the Extension I/O board.
DOAPC Writes to the digital output channels on the APC board.
DOEXT Writes to the digital output channels on the Extension I/O board.
DRDIAG Displays and optionally clears the diagnostic counters of the
drive links.
DRFLT Detects drive faults and writes them to the Event Logger.
DRPAR Sends parameter values to a drive controller (drive).
DRREC Receives signal values from a drive controller.
DRTRA Sends values for drive signals to a drive controller.
DRUPL Reads (drive) parameter values from a drive controller.
SPEEDP Calculates the speed and position measured with the YPH107
board.
Execution Times The following pages show the execution times for PC elements.
The following pages show the RAM space requirements for the PC
elements when all the inputs of each element are connected to the
output of another element.
Connections Table 2.
No Name Type Description
Function The absolute value of input I is multiplied by the value at input K and
the result is stored at output O.
11+10*C2 DS*C2
12+10*C2 WR*C2
13+10*C2 I1*C2 O1*C2 16+10*C
14+10*C2 I2*C2 O2*C2 17+10*C
15+10*C2 I3*C2 O3*C2 18+10*C
Connections Table 2.
No Name Type Description Value
Table 2 continued
No Name Type Description Value
Initialisation of the Before ACSRX PC element can be executed you must initialise (with
DB elements DRB00) the communication links to the drives that are
Drive Communication used in the application program.
Links
Use of a ACSRX The (logical) target drive number of a ACSRX element is defined with
the function parameter DRNR (the physical drive number of this
Element target drive is defined in the DB element DRB00).
The values of the transmit datasets are in the I11...I3*C2 inputs. One
dataset contains always three 16 bit integers. If other number types
are needed then these must be packed/unpacked in the AC80 by
using e.g. PC elements IIL, ILI and CONV.
The receipt of new valid values from all receive datasets of the
ACSRX element is acknowledged by setting the RDY output to 1 for
one execution cycle of this block.
This output is set to 0 if new valid dataset values have not been
received since the last execution of this block (either the cycle time of
this block is too short or the ACS communication link is invalid).
Note: Application programs both in the AC80 and in the target drive
must interpret the meaning of the values in the transmit and receive
datasets in the same way. This is left on the responsibility of the
application programmer(s).
Every second time slot is reserved for the datasets in the "other"
blocks and for other drive communication.
Every second time slot is reserved for the datasets in the "Other"
blocks and for other ACS communication (if the number of all "Other"
datasets is greater or equal than the number of all "Basic" datasets
then two or more two-slot sequences are needed to process all
"Other" datasets).
Synchronization of If bit 0 in the CNTRL inputs of all "basic" blocks is set to 0 then the
ACSRX communication is freewheeling (as described in the previous
the ACSRX
chapter).
Element of a ACS
Comm Board
During every time slot reserved for “other” datasets the system
periodically check (check interval = 1 millisecond) if bit 0 in the
CNTRL input of a “Basic” block is set to 1 (the EN input of this block
must be set to 1, too). If it is then the execution of this “other” time
slot is terminated and the execution of a new “basic” time slot is
started.
Note 2: If bit 0 in the CNTRL inputs of several “basic” blocks are set
to 1 (this is a programming error in the application program) then the
“basic” block with the smallest DRNR is used as the synchronizing
block.
Error Handling In an error situation the ERR output is set to 1 and the ERRC output
indicates the applicable error code (see Table 5).
Errors are originated either from the execution of the ACSRX element
itself (error codes 70nn to 82nn) or from the DB element DRB00 that
defines the target drive of the ACSRX element (error codes 89nn).
The ERR output is set to 0 with the first successful response. The
ERRC output retains the code of the last occurred error. A 0->1
transition in the RESET input clears the ERRC output if the error
situation is no more in effect.
Error code = 7000+error_number 34 (see below) or
Error Codes Error code = 7000+drive_number (1...12)* 100+error_number (see below) or
Error code = 8900+error_number (see below)
Table 5.
Error # Description
1 Invalid drive type definition (DRTYPEn) in DB element DRB00.
4 The NCB communication board is missing.
5 Invalid NCB communication board.
8 The AC80 expansion module is other than the NCB communication
board.
16 Initialization error in NCB communication board.
31 Call parameter C1 is not in the range 1...6.
32 Call parameter C2 is not in the range 1...4.
33 Drive link timeout.
34 Drive number (DRNR) is not in the range 1...12.
35 DB element DRB00 does not exist.
38 This block number (C1) is already in use with this drive (DRNR).
Table 5 continued
Error # Description
39 Dataset number (DSn) is not in the range 1...254.
40...49 Communication error in NCB communication board.
50 Application IDs in the DRB00 (APPIDn) and in the drive are different.
Connections Table 2.
No Name Type Description Value
Use of ACSRXA Before ACSRXA element can be executed you must insert respective
ACSRX element in some other place of your program.
Element
(Recommendation = in same task, but in later point of execution
chain). Respective block = Block, which has same call parameters C1
and C2 and same function parameter DRNR.
The values of the received datasets are written into the O11...O3*C2
outputs. These values have been asked from the target drive after
the previous execution of the accompanying ACSRX element.
The receipt of new valid values from all receive datasets of the
ACSRX/ACSRXA elements acknowledged by setting the RDY output
to 1 for one execution cycle of this block. This output is set to 0 if new
valid dataset values have not been received since the last execution
of this block (either the cycle time of this block is too short or the drive
communication link is inoperational).
Note: Application programs both in the AC80 and in the target drive
must interpret the meaning of the values in the receive datasets in
the same way. This is left on the responsibility of the application
programmer(s).
Every second time slot is always reserved for all datasets in all
"Basic" elements.
Every second time slot is reserved for the datasets in the "Other"
elements and for other drive communication.
Error Handling In an error situation the ERR output is set to 1 and the ERRC output
indicates the applicable error code (see Table 5).
The ERR and ERRC outputs are set to 0 with the first successful
response.
Adder ADD
C2
Call ADD (C1,C2)
Figure 1.
Call Parameters Table 1.
Parameter Description Permissible values
C1 Data type I, IL, R
C2 Number of inputs 2...19
Connections Table 2.
No Name Type Description
1 - IC1 Input for addend.
2 - IC1 Input for addend.
.
.
.
C2 - IC1 Input for addend.
20 - OC1 Output for sum.
The values at inputs 1...C2 are added and the sum is stored at output
Function 20.
Adder ADD-MR
Connections Table 2.
No Name Type Description
1 - IR Input for the multiplication factor.
11 - IR1 Input for augend with positive weight factor.
12 IR Input for addend with positive weight factor.
.
.
.
10+C1 - IR Input for addend with positive weight factor.
31 - IR Input for augend with negative weight factor.
32 - IR Input for addend with negative weight factor.
.
.
.
30+C2 - IR Input for addend with negative weight factor.
50 - OB Output for result.
AFREC
Summary Advant Fieldbus 100 RECeive element is F1 IDENT ERR 10
used to receive cyclic data packets F2 STATION
(=CDPs) from the Advant Field Bus 1 ACT RDY 11
AF100. Data types within the packet are I1 21
indicated by the call parameters and can I... 20+...
be I, IL, or R, and should equal the call I*C1 20+C1
parameters of the respective transmitting IL1 51
IL...
AFTRA PC element (or DSP DB-element if 50+...
IL*C2 50+C2
the transmitting station is not APC or
R1 71
AC80). AFREC element should be always R... 70+...
accompanied with respective DSP in DB RC3 70+C3
part of the application (in order to specify ERRC 99
assumed CDP transfer interval and to
enable AF100 BusConfiguration tools to
summarize various CDPs in each station). Figure 1.
The AFREC PC element can be used to
trigger execution of event driven task. (=CONTRM (2,255,0))
Connections Table 2.
No Name Type Description Values
F1 IDENT II Dataset IDENTity number. 1...50
F2 STATION II Node number of the sender. 1...79
1 ACT IB Input. ACTivates CDP 1=active
reception.
10 ERR OB Communication ERRor.
Table 2 continued
No Name Type Description Values
11 RDY OB Output data has been
updated.
21 I1 OI Output. I value number 1.
.
.
.
20+C1 IC1 OI Output. I value number C1.
51 IL1 OIL Output. IL value number 1.
.
.
.
50+C2 ILC2 OIL Output. IL value number C2.
71 R1 OR Output. R value number 1
.
.
.
70+C3 RC3 OR Output. R value number C3.
99 ERRC OI ERRor Code *see Table 3
When recorded in the error logs, the first two digits of an error code
(above) are translated to texts:
3000...3099 MB90 START FAILED
3100...3199 MB90 DATASET REJ.
3200...3299 MB90 FULL (LOCAL)
3400...3499 MB90 PARTNER FAIL
3500...3599 MB90 DISTURBANCE
AFREC captures from AF100 the CDP telegrams tagged with the
specified signal address. The signal address is computed using the
STATION and IDENT parameters.
RDY is set (to 1) if a new CDP telegram was transferred after the
previous execution, and the output terminals were updated. Updating
of output data (and all other output pins as well) can be temporarily or
permanently disabled by clearing the input ACT = 0. Error code
ERRC, if set for any reason, can be cleared only by a raising edge
(=transition 0 -> 1) at ACT pin.
The order of the data in the CDP received by the AFREC PC element
is always: I values, IL values, and then R values. It is important to
keep track of this rule, when assembling DSPs in other Advant
Controller stations, if they should be receivable by AC80. If receiving
integers (I) sent by MB90TRA, the first, third, fifth etc. integer will be
lost. (However such communication (MB90TRA -> AFREC) should be
never necessary (or used) between two APC or AC80 stations).
Fault Handling The ERR output is set (to 1) when a new reception does not occur
within 4 receiving intervals (or within 4 execution intervals, if the
respective DSP is missing from the DB-part). A diagnostic error code
is loaded to output ERRC (see table 3). The ERR output will reset (to
0) or set (to 1) depending on the communication status, but the last
error code will always remain at the ERRC output even when ERR is
reset (ERRC is assumed to be cleared during the next restart of the
station, or by a 0-pulse in the ACT-pin.)
Event Triggering In each AC80 station there can be one (and only one) AFREC,
AFTRA, MB90REC, or MB90TRA PC elements that specifies an
interrupting CDP. A negative value on the IDENT input is used to
denote that the transfer of the CDP should cause an interrupt and
start an event driven application task in the station. AFREC or AFTRA
PC element with a negative IDENT input will operate, with respect to
data transfer, exactly the same as if the IDENT was positive. The bus
administrator does not know of the existence of CDP interrupts.
In each AC80 station there can be only one control module CONTRM
that is executed due to interrupts from AF100. This CONTRM must
have C2 defined as 255 (denotes event driven task) and C1 defined
as 2 (AF100 interrupts).
It is not necessary that the interrupting CDP is the same in all AC80
stations.
Type Circuits AFIN and AF_IN type circuits are available to make it easier to insert
both AFREC and respective DSP into AC80 application.
Connections Table 2.
No Name Type Description Values
F1 IDENT II CDP IDENTity number. 1...50
F2 SCAN II Transmission interval. 1...4096 ms
see Table 3
1 ACT IB Input. ACTivates CDP 1 = active
reception.
10 ERR OB Communication ERRor.
Table 2 continued
No Name Type Description Values
21 I1 II Input. I value number 1.
.
.
.
20+C1 IC1 II Input. I value number C1.
51 IL1 IIL Input. IL value number 1.
.
.
.
50+C2 ILC2 IIL Input. IL value number C2.
71 R1 IR Input. R value number 1
.
.
.
70+C3 RC3 IR Input. R value number C3.
99 ERRC OI ERRor Code *see Table 4
Table 4 continued
Error Code # Description
3104 Illegal length or SCAN-value of CDP.
3105 Multiple interrupting CDPs specified.
3201 Too many CDPs used in this station.
3301 Time slots cannot be allocated for the CDP.
3302 CDP identifier reserved by another station.
3401 Time-out waiting for a BA to request or to confirm the CDP
configuration.
Run time error (may occur even after successful start-up):
3402 Time-out waiting for address frames from the BA.
When recorded in the error logs, the first two digits of an error
code(above) are translated to texts:
3000...3099 MB90 START.FAILED
3100...3199 MB90 DATASET REJ.
3200...3299 MB90 FULL (LOCAL)
3300...3399 MB90 FULL (GLOBAL)
3400...3499 MB90 PARTNER FAIL
3500...3599 MB90 DISTURBANCE
All data items sent by AFTRA always occupied 4 bytes. The order of
the data in the CDP sent by the AFTRA PC element is always: I
values, IL values, and then R values. It is important to keep track of
this rule, when transmitting to other Advant Controller stations. It is
recommended not to use many integer (I) values, because thus the
first, third, fifth, etc. word of the transmitted telegrams will not be
utilized.
The order of the data in the dataset sent by the AFTRA PC element
is always: I values, IL values, and then R values. It is important to
keep track of this order when transmitting to Advant Controller 100
stations. It is recommended not to use integer (I) values, because
then the first, third, fifth, etc. word of the transmitted telegrams will
not be utilized.
Fault Handling The ERR output is set (to 1) when a transmission does not occur
within 4 sending intervals as defined by SCAN pin of the PC element.
A diagnostic error code is loaded to output ERRC (see table 4). The
ERR output will reset (to 0) or set (to 1) depending on the
communication status, but the last error code will always remain at
the ERRC output even when ERR is reset (ERRC is assumed to be
cleared during the next restart of the station or by a zero-pulse in the
ACT-pin).
Event Triggering In each AC80 station there can be one (and only one) AFREC,
AFTRA, MB90REC, or MB90TRA PC element that specifies an
interrupting CDP. A negative value on the IDENT input is used to
denote that the transfer of the CDP should cause an interrupt and
start an event driven application task in the station. AFREC or AFTRA
PC element with a negative IDENT input will operate, with respect to
data transfer, exactly the same as if the IDENT was positive. The bus
administrator does not know of the existence of CDP interrupts.
In each AC80 station there can be only one control module CONTRM
that is executed due to interrupts from AF100.
Note that the first event caused by the AFTRA is generated after the
configuration message is received from the Bus Administrator. This
first event does not signify that actual data has been sent from this
AFTRA by the AF100 bus coupler.
It is not necessary that the interrupting CDP is the same in all AC80
stations.
Connections Table 2.
No Name Type Description
1 - IB Input
2 - IB Input
.
.
.
C1 - IB Input
20 - OB Output
Function The output signal is set to 1 if all inputs 1..C1 are set to 1. See the
truth table below.
51
- >1
50+C6
Call AND-O (C1,C2,C3,Cn)
Figure 1.
Call Parameters Table 1.
Parameter Description Permissible values
C1 Number of inputs in the AND part of the 0...9
element.
C2 Number of inputs in the first OR gate of 0...9
the element.
C3 Number of inputs in the second OR 0...9
gate of the element
.
.
.
Cn Number of inputs in the last OR gate of 0...9
the element.
Where: 1 n 6
1 C1 C 2 .. Cn 40
Connections Table 2.
No Name Type Description Values
1 IB Input direct to the AND gate in the
element.
2 IB Input direct to the AND gate in the
element.
.
.
.
C1 IB Input direct to the AND gate in the
element.
11 IB Input to the first OR gate in the
element.
12 IB Input to the first OR gate in the
element.
Table 2 continued
No Name Type Description Values
.
.
.
10+C2 IB Input to the first OR gate in the
element.
21 IB Input to the second OR gate in the
element.
22 IB Input to the second OR gate in the
element.
.
.
.
10*(n-1)+1 IB Input to the last OR gate in the
element.
10*(n-1)+2 IB Input to the last OR gate in the
element.
.
.
.
10*(n-1)+Cn IB Input to the last OR gate in the
element.
60 OB Output.
Function This function provides faster execution than if separate elements are
used. The inputs only need to be tested until the value of the output
can be determined. If input 1 is 0, then the output can be reset to 0
irrespective of all other inputs. See the example of AND_O (3,3,3) as
shown in figure 2 and in table 3.
Average AVG
Connections Table 2.
No Name Type Description Values
1 SET IB Input for storage of a new sample value
each time the element is executed.
2 I IC1 Input of signal whose floating average is
to be calculated.
10 O OC1 Output for the calculated floating
average.
11 OF OC1 Output for First value in the sample
queue.
Function New data is entered into the queue by replacing the oldest sample
with the current value of I. The floating average is calculated by
summing all values in the queue and then dividing by the number
queue places C2 as shown in figure 1 below:
I
C2
1
O n
C2 n 1
Output of Data When the input SET is 1, data at I is loaded to the outputs O and OF.
The number of values samples is set to 1.
When the input SET is reset (to 0), the last value loaded at OF
remains and O is calculated as in figure 1 above.
Call BGET
Connections Table 2.
No Name Type Description Values
1 BITNR II The selected BIT NumberR 0...15 (C1=I) or
to read. 0...31 (C1=IL)
2 I II Input. Data input.
10 O OB Output. Status of the selected
bit.
Function The bit value of input I, specified by BITNR, is loaded to the output O.
If BITNR is not in the range 0 to 15 (C1=I) or 0 to 31 (C1=IL), then
the output O is set to 0.
Connections Table 1.
No Name Type Description
1 ON IB Control input which is set (to 1) for normal
execution.
5 RUN OB RUN indicates execution of elements in the
block.
Execution For normal execution of a block, the supervisory execution unit must
be under normal execution, and the input ON of the block header
must be set to 1. If the ON input is set to 0 after the block has been
executed, the calculated data remains until the next time the block is
executed. If the supervisory execution unit is executed in the reset
mode, the elements in the block are also executed in that mode,
irrespective of the state of the ON input.
Run The output RUN is set if normal execution is in progress, i.e. the
supervisory ecxecution unit is under normal execution and the ON
input of the block is set.
.
1 ON RUN 5
Normal execution of
PC elements
data. 3 BIT
4 I O 10
Figure 1.
Call BSET (C1)
Connections Table 2.
No Name Type Description Values
1 EN IB ENable. If EN is reset (to 0),
then the current value I is
loaded unchanged to output
O.
2 BITNR II Input for selecting the BIT 0...15(C1=I) or
NumberR to set. 0...31(C1=IL)
3 BIT IB Input. Value for the BIT. 0...1
4 I II Input. Data Input.
10 O OI Output. Output of data.
Function If the value of the input EN is set (to 1), then the data bit, determined
by BITNR, is replaced by the value of the input BIT and the result is
loaded to the output O.
Comment C
Call C (C1,C2)
Connection Table 1.
Parameter Description Permissible values
C1 Number of string values. 1...32
C2 No. of characters in string. 1...30
Comparator COMP
Connections Table 2.
No Name Type Description Values
1 I1 IC1 Input 1. Input, whose value is
compared with input I2.
2 I2 IC1 Input of signal whose floating average
is to be calculated.
5 I1>I2 OB Input 1 > Input 2. Output which is set
if input I1 is grater than input I2.
6 I1=I2 OB Input 1 = Input 2.Output which is set if
input I1 is equal to input I2.
7 I1<I2 OB Input 1< Input 2. Output which is set if
input I1 is less than input I2.
The values at the two inputs are compared and the result of the
Function comparison can be read at the outputs I1<I2, I1=I2 or I1>I2.
If the type of inputs is array, outputs I1 > I2 and I1 < I2 are set based
on the first not equal characters of the input arrays.
Connections Table 2.
No Name Type Description
1 I1 IC1 Input 1. Input, whose value is compared with the
value at input I2.
2 I2 IC1 Input 2. Input, whose value is compared with the
value at input I1.
5 I1 > I2 OB Input 1 > Input 2. Output which is set to 1 if the
value at input I1 is greater than the value at input
I2.
6 I1 = I2 OB Input 1 = Input 2. Output which is set if the value
at input I1 is equal to the value at input I2.
7 I1 < I2 OB Input 1 < Input 2. Output which is set if the value
at input I1 is less than the value at input I2.
Function The values at the two inputs are compared and the result of the
comparison can be read at the outputs I1 > I2, I1 = I2, I1 < I2. The
output signal is 0 if the input signals are different and 1 if they are
equal. At startup, output I1 = I2 is set before the first execution,
regardless of the values of inputs I1 and I2.
Connections Table 2.
No Name Type Description
1 I IR Input. Input whose value is compared
with limit values H1...HC1 and L1...LC2.
10 HHYS IR High HYSteresis. Hysteresis common for
all H-values. The Hysteresis is the
difference between the I-value at which
the H outputs are reset and the value at
which they are set.
11 H1 IR High 1. Upper limit value 1.
12 H2 IR High 2. Upper limit value 2.
.
.
.
10 + C1 HC1 IR High C1. Upper limit value C1.
20 I < H1 OB Input < H1. Output which is set if I is less
than H1.
21 I ≥ H1 OB Input ≥ H1. Output which is set if I is
greater than or equal to H1.
22 I ≥ H2 OB Input ≥ H2. Output which is set if I is
greater than or equal to H2.
Table 2 continued
No Name Type Description
.
.
.
20 + C1 I ≥ HC1 OB Input ≥ HC1. Output which is set if I is
greater than or equal to HC1.
30 LHYS IR Low HYSteresis. Hysteresis common for
all L values. The Hysteresis is the
difference between the I-values at which
the L outputs are reset and the value at
which they are set.
31 L1 IR Low 1. Lower limit value 1.
32 L2 IR Low 2. Lower limit value 2.
.
.
.
30 + C2 LC2 IR Low C2. Lower limit value C2.
40 I > L1 OB Input > L1. Output which is set if I is
greater than L1.
41 I ≤ L1 OB Input ≤ L1. Output which is set if I is less
than or equal to L1.
42 I ≤ L2 OB Input ≤ L2. Output which is set if I is less
than or equal to L2.
.
.
.
40 + C2 I ≤ LC2 OB Input ≤ LC2. Output which is set if I is
less than or equal to LC2.
Function Input signal I is compared with the limit values specified at inputs
H1...HC1 and L1...LC2. For upper limits, the output for the different
limits will be set when input I becomes equal to or greater than the
limit value. For lower limits, the output is set when I becomes less
than or equal to the limit value. Limits can be set optionally within the
range -9.2 x 10-18 to 9.2 x 1018. The lowest allowable positive and
negative values are 5.0 x 10-20 and -5.0 x 1020.
The element sets 20 (I < H1) and 40 (I > L1) to 1 before the first
execution, regardless of the value at input I.
Hysteresis The input HHYS gives the hysteresis for all limits at high level, and
LHYS for all limits at low level. The hysteresis is the difference
between the input values at which the different outputs are set and
the values at which they are reset.
At high level, the outputs will be reset when I becomes lower than the
limit minus the hysteresis HHYS. At low level, the outputs will be
reset when I becomes greater than the limit value plus the hysteresis
LHYS.
Connections Table 2.
No Name Type Description
1 REFV IR REFerence Value. Input for setpoint.
2 I IR Input value. Input for measured value.
3 BLK IB BLocK pulse calculation.
4 PF II Pulse Frequency Factor. Minimum pulse
cycle time = PF x TS.
5 ACTT ITR ACTuator Time. The delay time interval of
the actuator.
6 TPMIN ITR Time Pulse MINimum. Min pulse length
for excitation of the motor.
7 TGAP ITR Time GAP. Compensation for play.
8 K IR Pulse length factor. Pulse =
(KxdDEVxACTT)/100+TGAP+TPMIN.
Table 2 continued
No Name Type Description
9 DEADB IR DEADBand. DEV ≥DEADB if a pulse
is to be given.
10 TMBC ITR Time Minimum Between Change.
Minimum pause time after DEV having
changed sign.
(1)
20 MAXDEV IR MAXimum DEViation. Maximum deviation
for pulse length calculation. This value
does not affect output DEV.
(1)
21 TPAMIN ITR Time PAuse MINimum. Minimum pause
time.
(1)
22 TPAC IR Time PAuse Constant. Pause Time
factor. Pulse time = TPAMIN + TPAC x
Pulse duration.
(1)
23 SIM IB SIMulate actuator position. Input for
activation of simulation of actuator
position.
(1)
24 BAL IB BALance. Input for activation of tracking.
(1)
25 BALREF IR BALance REFerence. Input for reference
value when tracking.
(1)
26 DBPOS IR DeadBand for POSition change.
Deadband for supervision of position
change of actuator.
(1)
27 DBREF IR DeadBand REFerence for position
change alarm.
When ƒ DEVk DT >DBPOS
tn
Connections Table 2.
No Name Type Description
1 ON IB Control input which is set (to 1) with normal
execution.
2 SINGLE IB If input ON and R are 0, elements in the
control module can be executed once by
setting SINGLE.
3 R IB Reset. Input for clearing elements in the
control module are executed.
5 RUN OB RUN indicates that elements in the control
module are executed.
6 MODP OB MODify Permission. Is always true.
Execution The input ON is set for normal execution. The control module is then
executed in accordance with the call parameters C1 and C2. If ON
input is reset after execution of the control module, the calculated
data remains until the next time the control module is executed. The
ON input overrides the SINGLE input, i.e. if ON is set, SINGLE has
no effect.
SINGLE Execution In the SINGLE input is set when the ON input is reset, the control
module is executed once in accordance with normal execution.
Clearing If input R is set, the control module is executed in the reset mode.
This means that all outputs of the elements within the control module
are given default values which in most cases are the 0-value of the
data.
Effects from ON and R inputs on the program header override the inputs on the
control module header. The input ON on PCPGM must be set to
PCPGM
permit normal execution or reset execution of the elements in the
control module.
Figure 1.
Connections Table 2.
No Name Type Description
1 I IC1 Input. Input for data to be converted.
5 O OC2 Output. Output for converted data.
6 ERR OB ERRor. Output which is set (to 1) if a limit is
reached at output O.
Function Data at input I with data type in accordance with the call parameter
C1 is converted to data with data type according to the call parameter
C2 at the output O. When conversion is to the data types I and IL
(integer) or T (time), overflow can occur at the maximum or minimum
limit values. The error signal output ERR is set when an overflow
occurs.
Rounding Off When converting from real numbers to integers, the number is
rounded up when the decimal is 0.5 or greater, and down when the
decimal is less than 0.5.
10+C3 IC3
Figure 1.
Call CONV-BI (C1, C2, C3)
Connections Table 3.
No Name Type Description
1 S IB Set. Input for storage of a new value each time
the element is executed. When this input is
reset (to 0) the last calculated value will remain
at the output.
2 L IB Load. Dynamic input for loading of data.
3 R IB Reset. Input for clearing of the output. This
input overrides the S and L inputs.
4 SIGN IB Input set (to 1) with negative data values. If
C2=5, SIGN is used as the most significant
input to get a 16/32 bit conversion.
5 ERR OB ERRor. Output which is set when more than
one input is set with conversion of 1-of-N code
or if the integer value to be stored at the output
cannot be represented by the data type.
11 I1 IB* Input 1. Input 1 for BC, BCD, 1-of-N,
Gray code or 16/32 bit BC..
12 I2 IB* Input 2. Input 2 for BC, BCD, 1-of-N,
Gray code or 16/32 bit BC.
10+C3 IC3 IB* Input C3. Input C3 for BC,BCD, 1-OF-N,
Gray code or 16/32 bit BC..
50 O OC1 Output 1. Output for the converted data.
* the data at each of these inputs is of Boolean type, but together they form
a value of the type specified by parameter C1.
Function The element can convert binary code (BC), binary coded decimal
code (BCD), 1-of-N code or Gray code to integers of data type I (16
bit) or IL (32 bit). With BC the SIGN input can be used as a sign bit
(C2=1) or as most significant bit (C2=5).
Table 4 continued
Input Input Integer Value BC BC without Sign BCD 1-of-N
with Sign
I9 256 256 100 9
I10 512 212 200 10
. . .
. . .
: . .
30 30
I31 2 2
31
SIGN sign 2
Only one of the inputs may be set with 1-of-N code. All inputs have a
fixed value with BC, BCD and 1-of-N codes but not with Gray code.
BC Gray Code 1-of-N-code
I4 I3 I2 I1 I4 I3 I2 I1 I15 I14 I13 I12 I11 I10 I9 I8 I7 I6 I5 I4 I3 I2 I1
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 1 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1
0 0 1 0 0 0 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0
0 0 1 1 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0
0 1 0 0 0 1 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0
0 1 0 1 0 1 1 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0
0 1 1 0 0 1 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0
0 1 1 1 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0
1 0 0 0 1 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0
1 0 0 1 1 1 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0
1 0 1 0 1 1 1 1 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0
1 0 1 1 1 1 1 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0
1 1 0 0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
1 1 0 1 1 0 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
1 1 1 0 1 0 0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0
1 1 1 1 1 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Storage of Data When input L is set, the code at inputs I1 to IC3 is immediately
converted and stored. If input S is set, the input code is converted
and the integer is stored each time the element is executed. When S
is reset (to 0) after having been set, the data stored most recently
remains. The input S overrides the input L, i.e. when S is set, L has
no effect.
Clearing The input R clears the output and prevents all further storage of data
while R is set.
Supervision When converting 1-of-N code, the setting of only one of the inputs 1
to IC3 is supervised. If two or more inputs are set, the value of the
input signal with the lowest number is stored. The error signal output
ERR is also set. If the integer value to be stored at the output
exceeds the allowable range, the error signal output is set. In
addition, the output is limited to the upper or lower limit value.
CONV-BI
11 I1
12 I2 When
DEC ERR 5
2 1
test
IC3
10 + C3
Test
Con- valid
version data
4 SIGN
I
1 S O 50
C
1
2 L
1
3 R
R
Figure 1.
Call CONV-BI (C1,C2,C3)
Connections Table 3.
No Name Type Description
1 S IB Set. Input for storage of a new value each time
the element is executed. When this input is
reset (to 0) the last calculated value will remain
at the outputs.
2 L IB Load. Dynamic input for loading of data.
3 R IB Reset. Input for clearing of the output. This
input overrides the S and L inputs.
5 ERR OB ERRor. Output which is set when the integer
value exceeds the value which can be
represented at the outputs.
6 SIGN OB Output which is set to 1 with negative data
values.
7 ZERO OB Output which is set to 1 when the input I is
ZERO.
10 I IC1 Input. Input for the integer value to be
converted.
11 O1 OB* Output 1. Output 1 for the binary code.
12 O2 OB*
.
.
.
10+C3 OC3 OB* Output C3. Output C3 for the BC, BCD, 1-of-N
code or 16/32 bit BC.
* the data at each of these outputs is of Boolean type, but together they form a
value of the type specified by parameter C2.
Function The element can convert integers of the data types I (15 bits) or IL
(31 bits) to binary code (BC), binary coded decimal code (BCD) or
1-of-N code. The data type I/IL can also be converted to 16/32 bit BC.
The code conversion to be performed is specified by the call
parameters C1 and C2. With positive data values the output SIGN is
reset (to 0) and with negative values, set (to 1). For 16/32 bit BC
SIGN is used as output 16/32.
Table 4.
Ex. of Output
Output BC Output Integer Value BCD 1-of-N
Values with
O1 1 1 1
Different O2 2 2 2
Recordings O3 4 4 4
O4 8 8 4
Table 4 continued
Output BC Output Integer Value BCD 1-of-N
O5 16 10 5
O6 32 20 6
07 64 40 7
O8 128 80 9
O9 256 100 9
O10 512 200 10
.
.
.
SIGN*
* SIGN is used as a sign for BC, BCD and 1-of-N. Only one of the outputs is
set with 1-of-N-code.
Storage of Data When input L is set, the integer at input I is ommediately converted. If
input S is set, the input code is stored and the result is converted
each time the element is executed. When S is reset (to 0) after
having been set, the data stored most recently remains until the
element is executed once more with one of the inputs S, L or R set.
The input S overrides the input L, i.e. when S is set, L has no effect.
Clearing The input R clears the output and prevents all further storage of data
while R is set.
Supervision When converting data from integers to 1-of-N code, the numbers are
restricted to - 32 to + 32.
If the integer value to be converted exceeds the allowable output
range, the error signal output is set. In addition, the output is limited
to the upper or lower limit value.
CONV-IB
01 11
10 I 02 12
I
1 S
C
1
2 L Con-
1 version 0C3 10 + C3
3 R
R ZERO 7
SIGN 6
Test
ERR 5
valid
data
Counter COUNT
21 I O 22
Call COUNT(C1)
Figure 1.
Call Parameters Table 1.
Parameter Description Permissible values
C1 Data type I, IL
Connections Table 2.
No Name Type Description
1 L IB Load. Loads the counter with the value at input I
2 U/D-N IB Up/Down-N. Input which determines if the counter
is to count up (U/D-N=1) or down (U/D-N=0)
3 C IB Clock. When this input changes from 0 to 1 the
counter counts up or down in accordance with the
status of the input U/D-N.
4 R IB Reset. Input which clears the counter and
prevents all further counting or loading. This input
overrides all other inputs!
5 EN IB ENable. Input which is set to 1 to permit counting
or loading. Reset execution is, however,
performed independently of EN.
10 >0 OB Output which is set when the value of the counter
is greater than 0.
11 =0 OB Output which is set when the value of the counter
is 0.
12 <0 OB Output which is set when the value of the counter
is less than 0.
21 I IC1 Input. Input for new value when loading.
22 O OC1 Output. Output for counter value.
When the input L is set, the counter is loaded with the value at input
I. If both input L and C are set simultaneously, the counter is first
loaded, after which an up or down count is performed. The input EN
must be set for the counter to count or load a new value.
The input R clears the counter and prevents all further counting or
Clearing loading. R overrides EN.
Supervision The status outputs specify the relation of the counter value to zero
(>0, =0, <0). When the counter reaches its least or greatest value for
the data type, all counting ceases.
DATALOG
Summary DATALOG PC element is a single channel data (C1,C2,C3)
logger used to record a stream of variable 1 CLEAR ACT 10
samples into the buffer. One value is stored into 2 EN RUN 11
Connections Table 2.
No Name Type Description Values
1 CLEAR IB Logger reset.
2 EN IB Sampling ENable.
3 TRIGG IB Init for the logging termination
sequence.
4 POSTNR II Number of samples to be
collected after trigger.
Table 2 continued
No Name Type Description Values
10 ACT OB Logger not in RESET mode.
11 RUN OB Logger in RUN mode
(sampling).
12 RDY OB Sampling teminated, data
available in the buffer.
13 FULL OB Logger buffer FULL.
21 I IC1 Input data to log.
22 ELEM II Location number of the logged
sample.
31 O OC1 Value of the sample selected
by ELEM.
32 LAST OI Location number of the
LAteST sample.
33 TIME OIL TIME stamp for the TRIGG or,
the last sample if logger
stopped but not triggered or,
the first sample if logger is
running.
Function DATALOG samples input data into its internal buffer. The logger
operation can be controlled both by the application program or by the
Drive Tool.
The FB input terminals CLEAR, ENABLE and TRIGG are used by the
application program for this purpose.
The Drive Tool accesses the internal DATALOG element Status and
Command (CMD) words. The Status word includes the same
information as the DATALOG FB output terminals: ACT, RUN, RDY
POST and FULL. The CMD word includes the CLEAR, ENABLE and
STOP individual control bits.
There are 4 possible states that the DATALOG operation can enter:
RESET, RUN, RDY and POST.
RESET
RUN=1 CLEAR=1, or
STOP= 1->0
CLEAR=1 CLEAR=1
EN=0, or
STOP=0->1
RUN RDY
TRIGG=0->1 POST_CNT=0
POST
In this state:
• sampling is stopped
• the buffer is cleared and LAST points to the first (sample) position
in the buffer
• the time mark is cleared
• ACT, RUN, RDY and FULL are all reset (to 0).
RUN State Entered from the RESET state when EN signal becomes 1. The Time
of the first recorded data sample is recorded for the TIME output. In
this state:
• input data are collected,
• ACT is set to 1,
• RUN is set to 1,
• RDY is set to 0,
• FULL reflects the current buffer status.
POST State The state POST is entered when the signal TRIGG becomes active.
It executes the following logging termination sequence:
1. update the TIME stamp with the current time
2. collect "POSTNR" additional input data samples
3. freeze the content of the logger buffer and then
4. enter the RDY state.
RDY State Entered from the RUN state when EN becomes 0 or the STOP
changes from 1 to 0 or, from the POST state after the sampling
termination procedure has been completed. In this state:
TIME Output
The TIME is expressed as a 32 bit integer. It is read from the system
clock and represents the number of the 100us ticks since midnight.
DCBAID
Summary DCBAID PC element makes possible to use -1 CHAN ERR 10
FBA (=FieldBusAdapter) modules connected -2 PARID FAIL 11
to NCB board. It is intended for general -3 VCIADDR FBATYPE 12
management of the link between NCB and -4 VCIOFFS PROTOCS 13
HWVERS 14
FCA, and also for debugging of
SWVERS 15
communications start up. 16
DATE
DCBAID is necessary to exist once in every DCBSTAT 17
application program, which contains DCBRX DCBERR 18
elements (or other FBA communication DCBSPEC 19
elements). NCBSTAT 20
NCBERR 21
DCBAID should not be inserted more than
NCBSPEC 22
once in any application program. FBASTAT 23
FBAERR 24
FBASPEC 25
PARVAL 30
VCIMAX 31
VCIUSED 32
VCIVAL 40
ERRC 99
Call DCBAID
Figure 1.
Connections Table 1.
No Name Type Description
1 CHAN II 1…2 CHANnel, whose VCI is to be shown
2 PARID II Parameter, whose actual value is to be
shown.
3 VCIADDR IIL Which VCI is to be shown.
4 LAST II Which location in the VCI to be shown.
10 ERR OB Is the DCBAID usable or not.
11 FAIL OI Code (= reason) why parameterization
FAILed.
12 FBATYPE OA20 FBA board TYPE text.
13 PROTOCS OA20 Available PROTOColS in FBA.
14 HWVERS OA20 HardWare VERSion of FBA.
15 SWVERS OA20 SoftWare VERSion of FBA.
16 DATE OA20 Generation DATE of FBA software.
17 DCBSTAT OI DCB STATe.
18 DCBERR OI DCB ERRor code.
19 DCBSPEC OI DCB SPECial info.
20 NCBSTAT OI NCB STATe.
21 NCBERR OI NCB ERRor code.
22 NCBSPEC OI NCB SPECial info.
23 FBASTAT OI FBA STATe.
24 FBAERR OI FBA ERRor code.
25 FBASPEC OI FBA SPECial info.
30 PARVAL OI VALue of inquired PARameter.
Table 1 continued
No Name Type Description
31 VCIMAX OI MAX amount of VCIs (of special size).
32 VCIUSED OI Number of created VCIs.
40 VCIVAL OI VALue of inquired location in VCI header.
99 ERRC OI ERRor Code.
Function The PC element has dual role:
1. Towards other FBA related software it is taking care of “DCB
state machine” status of this machine is stored in
DualPortMemory between AC80 CPU and NCB boards, and from
there it is distributed readable by NCB and FBA software.
2. Towards the human debugger of the application, DCBAID shall
help testing of FBA communication. Especially those things,
which are common to whole FBA module (or whole channel of
FBA module) can be checked from output pins of DCBAID.
1. CHAN specifies, from which channel the output pins VCIMAX
Input Pins
and VCIUSED shall be fetched. Normally this pin should have
value =1, but with some (future) FBAs there might exist 2
channels, and then possible values are 1 and 2.
2. PARID specifies which FBA parameter value (= actual value)
should be shown in PARVAL output. Some values have
special meaning:
0 = do not show any value,
1 = show board type (=enumerate),
which should match with the given board type text in DCB01,
2 = show actually used protocol (= same as given in DCB01,
presuming, that FBA accepted it), 3…32 other FBA
parameters. (Note: that you can use PARID and PARVAL
pins to look at both the default values of the FBA parameters
and the parameter values given by DCB01 DB element.)
3. VCIADDR specifies which VCI shall be the source for VCIVAL
output: 0 = VCIVAL not updated, 1…255 = identification
number of the VCI (available from output pins VCI_IN and
VCI_OUT of DCBRX), >256 = pointer to the actual VCI .
4. VCIOFFS = specifies how far from the beginning of the VCI
the value toVCIVAL pin shall be picked.
Output Pins 10. ERR indicates whether DCBAID is usable (= 0) or not (= 1).
11. FAIL indicates some programming errors
(e.g. FB_NO_NCB_AVAIL or DCB01_PAR_ERR).
12. FBATYPE shows the board type identification text.
State Machines
DCBSTAT Following states may occur in DCBSTAT
0. DCB_NOT_DEFINED (= no DCB01 DB-element in the
application.)
1. DCB_DATA_BASE_DEFINED (= DCB01 element found and
configured.)
2. DCB_DEFIN_WRITTEN_TO_DPM, (=DCBAID found in the
application.)
3. DCB_VCIS_RESERVED (= DCBAID run in normal cyclic
mode, and found, that all created VCIs are fully configured.)
4. DCB_RUNNING (= DCBAID found that NCB and FBA
software are ready for normal cyclic communications.)
5. DCB_BLOCKED (After user’s Block command from FCB this
code is set into DCBSTAT presuming, that old state there was
DCB_RUNNING. This is exceptionally done by NCB software,
because DCBAID cannot do anything while blocked.)
6. DCB_RECONFIG (Set by system software while detecting
DCB01 in the newly downloaded application, presuming that
old state was nonzero, i.e. the old application contained
DCB01, too.
NCBSTAT Following states may occur in NCBSTAT
0. AC80_SYSTEM_NOT_OPERATIVE
1. DCB_UNDEFINED
2. NCB_READY_FOR_DCB_DEFINITIONS
3. DCB_DEFIN_WRITTEN_TO_AMCT
4. FBA_TYPE_APPROVED
NCBSTAT continued
5. PARAM_WAIT_FROM_FBA
6. DCB_PARAM_WRITTEN_TO_DPM
7. ( not used)
8. DCB_HEADERS_READY_FOR_FBA
9. NCB_RUNNING_DCB
10. NCB_BLOCKED_DCB
11. NCB_RECONFIGURATION
12. FBA_FAILURE
99. NCB_ERROR
FBASTAT Following states may occur in FBASTAT
0. DDCS_LINKOFF
1. DDCS_DATASETS_RUN_TO_NCB
2. CID1_CONNECT
3. ID_DATA_SENT
4. PARAMETER_DEFIN_RECEIVED
5. PARAMETER_LIMIT_CHECKED
6. PARAMETER_BLOCK_SENT (to NCB)
7. (not used)
8. VCB_HEADERS_N_RECEIVED
9. VCB_HEADERS_CHECKED
10. (not used)
11. FIELD_BUS_COMM_STARTED
12. FBA_COMMUNICATION_RUN
13. FBA_BLOCKED_DCB
14. FBA_RECONFIGURATION
99. DCB_COMMUNICAT_FAIL
Connections Table 2.
No Name Type Description
F1 CHAN II 1…2 CHANnel, where VCI is to be created.
F2 SPECIAL II SPECIAL info, if needed.
F3 STATION II Remote STATION ID
F4 IDENT IL IDENTifier of the data block.
F5 CONFIG II Communication mode through the VCI.
1 EN IB ENable DCBRX to communicate.
2 INIT IB Abort and re-INITialize communication.
3 CLEAR IB CLEAR error code in ERRC.
4 RDY OB New transfer to/from the FBA just detected.
5 ERR OB Communication via these VCIs not usable.
6 STATUS OI Combination of STATUS bits.
7 LASTPIN OI How many output pins were updated.
8 VCI_IN OIL Identifier of INput VCI.
9 VCI_OUT OIL Identifier of OUTput VCI.
10 IN1 II First transmit data pIN.
Input Pins 1. EN enables use of the VCI(s) for communication (or disables
while EN = 0).
2. INIT positive edge will abort from any pending dialog, and
restart the usage of the VCIs of this DCBRX. (This is an
abnormal thing, and should not be done except in some
recovery procedure.)
3. CLEAR positive edge will clear the error code in ERRC.
Otherwise the last nonzero value will sustain there “forever”.
10. IN1…IN*C1 will carry data for the FBA to transmit it to the
remote station. It is not possible limit sending into some part
of the pins. They are sent all if any (or at least all copied into
the output_VCI. It is also impossible to use other data types
than Integer. (IL type may be converted to 2 Integers with ILI
PC-element before connecting to DCBRX.
Output Pins 4. RDY indicates whether DCBRX just found new data in the
input_VCI or if just detected that previous data was picked
from the output_VCI.
5. ERR indicates whether this DCBRX is operative and
communicated with FBA in the near history (= within timeout
limit).
6. STATUS is a word, which consist of several independent bits:
1= ACT (= DCBRX is active).
2= INITOK (=initialization succeeded).
4= CLEAR (= INIT pin caused reinitialization).
8= STARTING (= have not yet detected FBA to be in normal cyclic
mode).
16= RDY (= have detected FBA to be in normal cyclic mode).
32= BUSY (= waiting for response or acknowledgement from remote
station).
64= IN_DONE (= just copied new data from input_VCI to OUTx
pins).
128= OUT_DONE (= just found, that old data from output_VCI sent to
FBA).
256= SHORT (= new data received from FBA was shorter than
configured by C2. Use LASTPIN to see how many data pins
contain new data).
512= NAK (= received bad acknowledgement from remote station).
1024= REQ (= remote station is asking information from this DCBRX,
or was asking, if this DCBRX is in auto-answer mode).
16384= RECONFIG.
-32768= ERR (= configuration error. This DCBRX is unusable.)
7. LASTPIN shows how many OUTx pins contain new data. This
pin is irrelevant (and not updated) if the protocol always
updates all OUTx pins.
8. VCI_IN shows identifier of allocated input_VCI.
9. VCI_OUT shows identifier of allocated output_VCI.
50. OUT1…OUT*C2 will carry data from the FBA (= received from
the remote station). It is possible that with some protocols,
new values are received into limited (first) part of the pins
only. Then the number of updated pins can be read from
LASTPIN pin. It is impossible to use other data types than
Integer. (IL type may be converted from 2 Integers with IIL PC
element connected to DCBRX out pins.
99. ERRC = error code, showing what is wrong in using DCBRX.
Note, that link specific failures are shown in DCBAID output
pins. DCBRX shall show only (or typically) VCI specific error
conditions. Note also, that ERRC of DCBRX will register the
last occurred error. Well done communication will not clear old
error code. For that purpose you need to cause rising signal
edge at CLEAR pin.
DEMUX-MI
Summary DEMUltipleXer with Memory and Integer 1
(C1,C2)
S AERR 10
address is used as a demultiplexer with 2 L
memory function. DEMUX-MI has an optional 3 R
number of outputs can be specified. The data 11 A
type can be integers, real numbers, boolean 31 I OA1 51
variables or time. .
.
.
.
.
.
OA*C2 50+C2
Call DEMUX-MI (C1,C2)
Figure 1.
Call Parameters Table 1.
Parameter Description Permissible values
C1 Datatype B, I, IL, R, T, TR
C2 Number of outputs 1...19
Connections Table 2.
No Name Type Description
1 S IB Set. Input for loading of new values each time
the element is executed. When the input S is
reset (to 0), the outputs will retain their most
recently loaded values..
2 >L IB Load. Dynamic input for loading of data from
the input I to the output addressed by input A
3 R IB Reset. Input for resetting the outputs. This
input overrides inputs S and >L.
5 AERR OB Address ERRor. Set (to 1) when input A is
greater than call parameter C2 or a negative
value.
11 A II Address. Selection of which output, the value
loaded at I should be stored. If the value is 0,
the value 0 is stored at all outputs.
31 I IC1 Input. Data input
50 OA1 OC1 Output Address 1. The first output from the
demultiplexer.
.
.
.
50+C2-1 OAC2 OC1 Output Address C2. The last output from the
demultiplexer.
Clearing When the input R is set (to 1) the data outputs (OA1 to OAC2) are
reset (to 0) and data is not loaded at the input I.
Supervision The value of the input address A is checked each execution of the
PC element. If it is greater than the number of outputs specified by
the call parameter C2 or it is a negative number, then the AERR
output is set (to 1). The data value 0 is stored at all outputs.
Derivator DER
Call DER
Connections Table 1.
No Name Type Description
1 I IR Input. Input for actual value.
2 K IR Input for setting gain.
3 TD ITR Time Derivation. Input for time constant for
derivation.
4 TF ITR Time Filter. Input for filter time constant.
5 RDER IB Rset DERivator. Input for clearing derivator.
6 BAL IB BALance. Input for activation of tracking.
7 BALR IR BALance REFerence. Input for reference
EF value when tracking.
8 OHL IR Output High Limit. Input for upper limit value.
9 OLL IR Output Low Limit. Input for lower limit value.
10 O OR Output. Output signal.
11 O=HL OB Output=High Limit. Output which is set to 1 if
the output reaches to the upper limit value.
12 O=LL OB Output=Low Limit. Output which is set to 1 if
the output reaches the lower limit value.
13 ERR OB ERRor. Output which is set to 1 if OHL is less
than OLL.
7 OHL
8 O LL
ACT
O 10
5 BA L
ACT
6 B A LR E F
I1 0 = H L 11
I1 > I2
1 DER I2
I
2 I1 O = LI 12
K I1 < I2
3 I2
TD
4 TF t I1 E R R 13
I1 < I2
I2
5 RDER RESET
1 PRES ET
ACT
Divider DIV
Connections Table 2.
No Name Type Description
1 - IC1 Input for dividend.
2 - IC1 Input for divisor.
20 - OC1 Output for quotient.
21 REM OC1 REMainder. Output for remainder. Applies only
with division of integers.
Function The value at input 1 is divided by the value at input 2. The quotient is
stored at output 20. When dividing integers, the remainder is stored
at the output REM.
Overflow If the maximum positive or negative values are exceeded, the output
is limited to the highest or lowest allowed value for the data type.
Divider DIV-MR
Connections Table 2.
No Name Type Description
1 - IR Factor for the dividend.
2 - IR Factor for the dividend.
.
.
.
C1 - IR Factor for the dividend.
21 - IR Factor for the divisor.
22 - IR Factor for the divisor.
.
.
.
20+C2 - IR Factor for the divisor.
40 - OB Output for quotient.
Function The product of the real numbers at the inputs 1...3C1 is divided by
the product of the real values at the inputs 21...20+C2. The quotient
is stored at the output 40.
Call ERROR
Connections Table 1.
No Name Type Description Values
F1 LOGNR II The NumbeR of the Event 1...8
LOGger to be used.
1 I II Dynamic Input for the error
code.
10 ERR OB ERRor
Function All PC elements with an ERRC output terminal generate error codes
in the case of a malfunction. The structure of an error code is 100*
group + number. The group indicates the origin of the fault. The 2-
digit number is a group specific code.
In order to record those errors into the Event logger the ERRC output
of the given PC element has to be connected to the input I of an
ERROR element.
When the ERROR element detects ERRC value change to a non-
zero value then it reads the current date and time and writes this
information along with the descriptive text string (see below) into the
event logger as a new event.
Connections Table 1.
Figure 1.
No Name Type Description Values
F1 LOGNR II The NumbeR of the Event 1...8
LOGger to be used.
1 ENABLE IB ENABLE the element. 1 = true
2 CNTRL II Operation CoNTRoL See table 2
10 ERR OB ERRor 1 = true
11 FIRST OI Record number of the oldest 1...RECMAX
event.
12 LAST OI Record number of the newest 1...RECMAX
event.
21 RECNR II RECord NumbeR 1...RECMAX
22 ACK IB ACKnowledge the selected 0=>1 = true
event.
31 TEXT OA20 TEXT of the selected event.
32 TIME OT TIME of the selected event.
33 CODE OI CODE of the selected event.
34 ESTAT OI Status of the selected event. See table 3.
99 ERRC OI ERRor Code See table 4.
Event Logger Event logger writes events into consecutive record locations of the
logger in a cyclic manner. It means that after filling the last location
Operation (its number = the value of the RECMAX terminal of the corresponding
EVTLOG element) in the logger it moves back to the first location.
A new event can be written in only if the next record location is empty
or acknowledged or if the OWR (= overwrite permission ) bit of the
CNTRL input of the corresponding EVTLOG element is set to 1.
Use of Event The FIRST and LAST output terminals mark the logger area that
contains unacknowledged events. Once a new event has been
Logger Debug
written in, its record number will be the new value of the LAST
terminal.
The TIME is read from a system clock and represents the number of
the 100 us ticks since midnight.
The DATE represents the number of days since the new year 1980.
Error Handling In an error situation the ERR output is set to 1 and the ERRC output
indicates the applicable error code (see table 4).
EVENT
Summary The EVENT element is used to detect boolean FI LOGNR ERR 10
events and to write the event name and event 1 I
time into the selected event logger. 2 TEXT
Connections Table 1.
No Name Type Description Values
F1 LOGNR II The NumbeR of the Event LOGger 1...8
to be used.
1 I IB Control Input for event recording.
2 TEXT IA20 Event description TEXT.
10 ERR OB ERRor
Function The 0→1 input (I) signal transition signifies event occurrence.
The 1→0 input (I) signal transition signifies event disappearance.
The simple panel display may use e.g. the following presentation
form:
CONTACTOR FAILURE
1998 01 08 11:25:31,0571
EVPRTY (2)
Summary EVPRTY PC element provides means for F=50-F1 REFCYCLE OLDPRI 2
changing the priority of an event driven 1 EVPRI NEWPRI 3
CONTRM. (By default such tasks have ERRC 10
higher priority than any cyclic task.)
Figure 1.
Call EVPRTY (C1)
Connections Table 2.
No Name Type Description Values
F1 REFCYCLE II REFerence CYCLE time. (0...10000 ms)
1 EVPRI II Original event priority.
2 OLDPRI OI Original event priority.
3 NEWPRI OI NEW PRIority (after the
change)
10 ERRC OI ERRor Code.
Function EVPRTY can be used for lowering the task priority down to lower
level than the cyclic tasks of given reference cycle time REFCYCLE.
It is not necessary to have any CONTRMs exactly with that cycle
time. All CONTRMs with shorter cycle time will have higher priority
and all with longer cycle time will have lower priority. The new priority
after the change can be read from pin NEWPRI and original “event
priority” from pin OLDPRI.
The original high priority can be also restored with an other instance
EVPRTY. Then REFCYCLE must be = 0, and input pin EVPRI must
be connected to output pin OLDPRI of the first EVPRTY instance.
Such arrangement is planned / recommended for those cases, where
the first actions within the tasks are time critical, but most of the
actions are not. In such a case the event driven CONTRM should
contain
• first the “real time critical” PC elements,
• then EVPRTY, which lowers the priority
• then the other PC elements
• and finally EVPRTY which restores the original high priority.
EVT
Summary EVT element is used to detect boolean events F1 LOGNR ERR 10
and to write the event name and event time into 1 I O 11
the selected event logger. 2 TEXT
3 ACK
Call EVT
Figure 1.
Connections Table 1.
No Name Type Description Values
F1 LOGNR II The NumbeR of the Event 1...8
LOGger to be used.
1 I IB Control Input for event
recording.
2 TEXT IA20 Event description TEXT. max 20
char
3 ACK B Event ACKnowledgement 0=>1 = true
10 ERR OB ERRor 1 = true
11 O OB Copy of the input pin 1.
Function The 0→1 input (I) signal transition signifies event occurrence.
The 1→0 input (I) signal transition signifies event disappearance.
Event occurrence causes the EVT element to read the current date
and time and write this information along with the descriptive text
string into the event logger as a new event. The descriptive text string
is plus (+) character and the first 19 characters from the text in the
TEXT input.
The simple panel display may use eg the following presentation form:
+CONTACTOR FAILURE
1998 01 08 11:25:31,0571
The 0→1 ACK signal transition acknowledges the last event created
by this element (and all older unacknowledged events, if any).
EVTLOG
Summary EVTLOG element is used to create and F1 LOGNR
manage an event logger. Up to 8 such F2 RECMAX
loggers (numbered respectively from 1...8) F3 NOTCLEAR
can be declared. The EVENT, EVT and 1 ENABLE ERR 10
2 CNTRL STAT 11
ERROR PC elements are used to source
RECCNT 12
different classes of events that can be written ERRC 99
into the event logger. The event logger can be
accessed by PC Tool services and special Figure 1.
panel PC elements.
Call EVTLOG
Connections Table 1.
No Name Type Description Values
F1 LOGNR II Event LOGger NumbeR 1...8
F2 RECMAX II MAXimum number of event
RECords.
F3 NOTCLEAR IB During system start: 1=>0 = true
0= Clear to logger
1= Do not clear the logger
On-line change:
Clear to logger
(note: the direction 1=>0)
1 ENABLE IB ENABLE recording of new 0=>1 = true
events.
2 CNTRL II Operation CoNTRoL 1 = true
10 ERR OB ERRor 1 = true
11 STAT OI Logger STATus see Table 3
12 RECCNT OI Current event RECord CouNT 0...RECMAX
99 ERRC OI ERRor Code
Event Logger EVTLOG writes events into consecutive record locations of the logger
in a cyclic manner. It means that after filling the last location (=
Operation RECMAX) in the logger it moves back to the first location.
A new event can be written in only if the next record location is empty
or acknowledged or if the OWR (= overwrite permission ) bit of the
CNTRL input is set to 1.
An Event Record contains event's type, status, code, date, time and
a descriptive text (max 20 characters).
Use of Event Event logger(s) in the application program are used by the application
program, the PC Tool, and the (operator or door) panels. There
Loggers
should be only one main user for each event logger. The main user of
a logger can control the operation of the logger. Other users should
only read the contents of the logger.
Error Handling In an error situation the ERR output is set to 1 and the ERRC output
indicates the applicable error code (see Table 4).
Table 4.
Bit # Description
0 Function parameter F1 (LOGNR) is not in the range 1...8
11 Function parameter F2 (RECMAX) is too big.
16 Multiple EVTLOG elements use the same LOGNR.
Connections Table 2.
No Name Type Description
1 IN IB Dynamic INput for entering of data in the
queues. Data is read from the inputs 11 to
IC2.
2 >OUT IB Dynamic input for reading data from the
queues.
3 R IB Reset. Input which clears the queue
register and prevents all further entry.
8 FULL OB Output which is set when the queue
register is FULL.
9 OCC OI OCCupied. Output which specifies how
many queue places are occupied.
Table 2 continued
No Name Type Description
10 EMPTY OB Output which is set when the queue
register is EMPTY.
11 I1 IC1 Input 1. Input data to queue no. 1.
12 O1 OC1 Output 1. Output data from queue no. 1
21 I2 IC1 Input 2. Input data to queue no. 2.
22 O2 OC1 Output 2. Output data from queue no. 2.
.
.
10x0C2+1 IC2 IC1 Input C2. Input data to queue no. C2.
10xC2+2 OC2 OC1 Output C2. Output data from queue no. C2.
Function Each queue has a data input I. It is used to enter data at the end of
the queue. Each queue has a data output O. Data from place 1 in
each queue is continuously available at the outputsO1 to OC2. If both
dynamic inputs (IN and OUT) are set during the same program cycle,
data entry is performed first and then the output is read.
Entry of Data Data at the I inputs are placed last in the queues when input IN is set.
When the queue register is empty, data is stored at queue place 1,
then at queue place 2, etc.
Output of Data When input OUT goes to 1, data at each occupied place in all queues
are moved forward one place. Data that occupied queue place 2 now
occupies queue place 1, and can be read at outputs O1 to OC2. The
value 0 is entered at the previous last occupied place.
Clearing of the When the input R is set, the complete contents the queues are
cleared. All further entry is blocked.
Complete Register
Supervision The number of occupied queue places is indicated continously by the
output OCC. When the queue register is full, the output FULL is set
and when the queue register is empty, the output EMPTY, the output
EMPTY is set.
FIFO
1 8
> IN FULL
2 9
> OUT OCC
3 10
R EMPTY
11 I1 O1 12
21 I2 O2 22
Queue 31 I3 O3 32 Queue
inputs outputs
10 x C2 + 1 IC2 OC2 10 x C2 + 2
C3 - 8 7 6 5 4 3 2 1
Queue place
Filter FILT-1P
G
Limitation Function The limitation function limits the
Ig ω
output signal to the limit values at 45••
the inputs OHL for upper limit value
-90
and OLL for the lower limit value. If
the actual value exceeds the upper Figure 3. Bode Diagram
limit value, the output O = HL is set
to 1. If it falls below the lower limit
value, the output O = LL is set to 1.
When the limitation status has been detected, a check is made each
time the element is executed to determine whether K x I(t) exceeds
the output signal limitations. If so, the limitation status remains. If not,
the calculation of the output signal is performed by the algorithm in
the normal way. Return from limitation to a dynamic state is
bumpless. The element checks that the upper limit value the is
greater that the lower limit value OLL. if not, the output ERR is set to
1. While the error status persists, the outputs O = HL, O = LL and O
retain the values they had in the sample before the error occurred.
After an error the return to a dynamic state is bumpless, in the same
way as in the case of tracking above.
7 OHL
8 OLL
I1
I1 < I2 1 &
I2
I1 1
I1 < I2 ACT
I2 O 10
4 BA L
ACT
5 B A LR E F
I1 O =H L 11
I1 > I2
I2
I1 O = LI 1 2
I1 < I2
I2
I1 ERR 13
ACT I1 < I2
I2
X
1 I F I LT -1 P
2 K
3 TI
t
1
P re se t
Connections Table 1.
No Name Type Description Values
1 I IIL Input. Input for actual value.
2 T1 IIL Filter Time constant. 0...8388607 (ms)
10 O OIL Output. Filtered actual value.
Function The step response in the time plane for a single low pass filter is:
O(t) = I(t)(1 - e-t/T1)
I + (T1 TS) × O n −1
O=
T1 TS+ 1
Figure 1.
Call FUNG-1V (C1)
Connections Table 2.
No Name Type Description
1 X IR X-value. Input for X-value.
2 BAL IB BALance. Input for activation of balancing.
3 BALREF IR BALance REFerence. Value which the Y-
output is to adopt with balancing.
4 XTAB IGC1R X TABle. Group data for the X-table with C1
values.
5 YTAB IGC1R Y TABle. Group data for the Y-table with C1
values.
10 Y OR Y-value. Output for Y-value.
11 ERR OB ERRor. Output set (to 1) if X outside the value
of XTAB or if Y, on balancing, is outside the
YTAB values.
12 BALREFO OR BALance REFerence Output. Output for
calculated X-value with balancing.
Balancing If BAL is set to 1, the value at Y is set to the value of the input
BALREF. The X-value which corresponds to this Y-value is obtained
at the output BALREFO. On balancing, the X-value is calculated by
interpolation in the same way the Y-value is calculated during normal
operation. To permit the balancing, the values in YTAB must increase
from low to high serial numbers in the table.
If the input signal X is outside the range defined by XTAB, the ERR
Error Signal output is set to 1. The Y-value is then set to the highest or lowest
value in YTAB. ERR is also set to 1 if BALREF is outside the YTAB
value range when BAL is set to 1. The value at Y is then set to the
value at the input BALREF and BALREFO is set to the highest or
lowest value in XTAB.
Yc1
Yk+1
Y
Yk
Y2
Y1
X1 X 2 Xk Xk+1 Xc1 X
X
Call IIL
Figure 1.
Connections Table 1.
No Name Type Description
1 L II Input for the 16 less significant bits of the Integer
Long output.
2 H II Input for the 16 most significant bits of the Integer
long output.
10 O OIL Integer long Output.
Function The IIL PC element ignores the sign of the Integer Inputs. The
element simply writes the L input to the 16 less significant bits and
the H to the 16 most significant bits to the Integer long output O.
Call ILI
Figure 1.
Connections Table 1.
No Name Type Description
1 I ILI Integer long input.
11 L II Output for the 16 less significant bits of the Integer
Long input.
12 H II Output for the 16 most significant bits of the
Integer long input.
Function The ILI PC element ignores the sign of the Integer outputs. The
element simply writes to the L output the 16 less significant bits and
to the H output the 16 most significant bits of the Integer long input I.
Integrator INT
Figure 1.
Call INT
Connections Table 1.
No Name Type Description
1 I IR Input. Input for actual value.
2 K IR Input for setting gain.
3 TI ITR Time Integration. Input for time constant for
integration.
4 RINT IB Reset INTegrator. Input for clearing integrator.
5 BAL IB BALance. Input for activation of tracking.
6 BALREF IR BALance REFerence. Input for reference value
when tracking.
7 OHL IR Output High Limit. Input for upper limit value.
8 OLL IR Output Low Limit. Input for lower limit value.
10 O OR Output. Output signal.
11 O=HL OB Output = High Limit. Output which is set to 1 if the
output reaches to the higher limit value.
12 O=LL OB Output = Low Limit. Output which is set to 1 if the
output reaches to the lower limit value.
13 ERR OB ERRor is set to 1 if OHL is less than OLL.
O(t) = k*I(t)*t/T1.
G(s) = K(1/sTI).
Tracking If BAL is set to 1, the integrator immediately goes into tracking mode
and the output O is set to the value of the input BALREF. If the value
at BALREF exceeds the output signal limits, the output is set to the
applicable limit value. On return to normal operation from tracking
mode, the value of the output O is maintained for one cycle, after
which integration will continue from this value.
Limitation The output value is limited between OHL and OLL. If the actual value
Function exceeds the upper limit, the output O = HL is set to 1. If it falls below
the lower limit, the output O = LL is set to 1. The element checks that
the value OHL is greater than the value OLL. If not, the output ERR is
set to 1. While the error status persists, the outputs O = HL, O = LL
and O retain the values they had before the error occurred. After the
limitation or error status has ceased, normal integration will continue
using the old value.
7 OHL
8 OLL
ACT
O 10
4 BAL ACT
5 BALREF
I1 O =HL 11
I1 > I2
I2
I1 O = LI 12
I1 < I2
I2
I1 ERR 13
I1 < I2
I2
1 I INT
2 K
3 TI
t
4 RINT Reset
Inverter INV
Call INV
Connections Table 1.
No Name Type Description
1 - IB Input.
5 - OB Output of the inverted input value.
Function The output signal from the INV element is set (to 1) if the input signal
to the element is 0, and reset (to 0) when the input signal is 1. See
the truth table below.
1 0
0 1
IOBUSRD
Summary IOBUSRD PC element makes possible to (2,3,0,0)
F=1-F1
read contents of Dual Port Memory of NCB- BOARD ERR 10
F=0-F2 SPEC
board. However the user must give the
1 EN
absolute addresses of the interesting
locations. It is intended for debugging new 11 AIB1 IB1 51
NCB specific PC elements and functions 12 AIB2 IB2 52
21 AI1 I1 61
during their development phase. (But it could
22 AI2 I2 62
be used for some special purposes as well.
23 AI3 I3 63
E.g. when used together with IOBUSWR for
HW testing DPM itself.) IOBUSRD is available Figure 1.
only if you have enabled “Toolbox option” of
AC80.
Connections Table 2.
No Name Type Description Values
F1 BOARD II No meaning
F2 SPEC II No meaning
1 EN IB ENable
11 AIB1 II Address offset of first data byte.
.
.
.
10+C1 AIBC1 II Address offset of last data byte.
21 AI1 II Address offset of first data word.
.
.
.
20+C2 AIC2 II Address offset of last data word.
51 IB1 OI First red data byte.
.
.
.
50+C1 IBC1 OI Last red data byte.
Table 2 continued
No Name Type Description Values
Function The PC element reads the values from specified DPM locations to
respective output pins. The values can be either words (=16 bits) or
bytes (=8 bits), but in both cases the respective output pins of
IOBUSRD are type (I) i.e.16 bits wide.
The addresses of bytes in pins AIB... (and of words in pins AI...) are
interpreted as offsets from the beginning of Dual Port Memory. The
user does not need to know the base address of DPM.
In other words you typically must convert a DPM address, which you
get from NCB software listings according following rules:
The ERR output is set only if the NCB board is completely missing
(and there is no DPM available). In other words, the offset values in
input pins of IOBUSRD may refer “over DPM area”, but such an error
is not detected by the PC element .
IOBUSWR
Summary IOBUSWR PC element makes it possible to (2,3,0,0)
F=1-F1
write data into absolute addresses of Dual BOARD ERR 10
F=0-F2 SPEC
Port Memory of NCB board. It is intended for
1 EN
debugging new NCB specific PC elements
and functions during their development phase. 11 AIB1
Connections Table 2.
No Name Type Description Values
F1 BOARD II No meaning
F2 SPEC II No meaning
1 EN IB ENable
11 AIB1 II Address offset of first data byte.
.
.
.
10+C1 AIBC1 II Address offset of last data byte.
21 AI1 II Address offset of first data word.
.
.
.
20+C2 AIC2 II Address offset of last data word.
51 IB1 OI First data byte to be written.
.
.
.
50+C1 IBC1 OI Last data word to be written.
Table 2 continued
No Name Type Description Values
Function The PC element writes the specified data values from input pins into
specified DPM locations. The values can be either words (= 16 bits)
or bytes (= 8 bits), but in both cases the respective input pins of
IOBUSWR are type (I) i.e. 16 bits wide.
The addresses of bytes in pins AIB... (and of words in pins AI...) are
interpreted as offsets from the beginning of Dual Port Memory. The
user does not need to know the base address of DPM.
In other words you typically must convert a DPM address, which you
get from NCB software listings according following rules:
• subtract the base address of DPM of NCB side (=0x2000)
• multiply the result by 2
• convert the result to decimal representation.
The ERR output is set only if the NCB board is completely missing
(and there is no DPM available). In other words, the offset values in
input pins of IOBUSRD may refer “over DPM area”, but such an error
is not detected by the PC element .
IORX
Summary The IORX (Input/Output Receive Xmit) element is (C1,C2,C3)
used to transmit and/or receive datasets to/from F1 NODE ERR 4
an I/O device. 1 EN RDY 5
2 >RESET LINK 6
3 CNTRL
21 DS1
22 WR1
23 I11 O11 26
24 I12 O21 27
25 I31 O31 28
31 DS*C2
32 WR*C2
33 I1*C2 OI*C2 36
34 I2*C2 O2*C2 37
35 I3*C2 O3*C2 38
Figure 1.
Table 1.
Parameter Description Permissible values
C1 Block number 1...8
C2 Number of datasets 1...2 (Note: 1 recommended for NDCS)
C3 Data type I,IL (Note: I only for NDSC)
Connections Table 2.
No Name Type Description Values
Table 2 continued
No Name Type Description Values
Initialisation of the Before IORX PC elements can be executed you must declare and
initialise (with the DB element NCBIO) the communication links to the
I/O Communication
I/O-modules, that are used in the application program.
Links
Use of a IORX The physical target device address of a IORX block is defined with
the function parameter NODE (the address of this target device is
Block also defined in the DB element NCBIO).
Call parameter C1 defines the identitity and type of this IORX block.
Each IORX instance with same NODE-parameter must have unique
value for C1 in range 1...8.
Call parameter C3 defines the type of input and output data used by
the function block:
• I: the 6 bytes of data are represented as 3 integers, each
consisting of two bytes
• IL: the 6 bytes of data are represented as 2 long integers, each
consisting of 3 bytes (the most significant byte of the long integer
is ignored and contains value 0 when read).
The values of the transmit datasets are in the I11...I3*C2 inputs. If the
WR input of a transmit dataset is set to 1 then the IORX block
transmits the values of this dataset to the target device and
automatically receives the values returned by the target (an IORX
block only starts this transmit/receive process during its execution
and the actual transmitting/receiving is done as a background
operation while the other blocks are executing). The MAFR code of
the transmitted DDCS message is set to 00h (ddcs_to_dset).
If the WR input of a transmit dataset is set to 0 then the IORX block
does not transmit the values of this dataset to the target device but
only receives the values returned by the target device. The MAFR
code of the transmitted DDCS message is set to 01h
(ddcs_from_dset).
The receipt of new valid values from all receive datasets of the IORX
block is acknowledged by setting the RDY output to 1 for one
execution cycle of this block. This output is set to 0 if new valid
dataset values have not been received since the last execution of this
block (either the cycle time of this block is too short or the I/O-
communication link is invalid).
Table 4.
Bit# Value Description
0 0x1 This is a synchronizing IORX (only one such IORX is allowed
in whole application (this function is not implemented in current
NCB).
1 0x2 This I/O-module should cause interrupts (this option is possible
only for NODE=1).
2 0x4 If C3 = IL, the most significant byte of output data is filled
according bit #23 of received data.
3 0 Read dataset number is = given number +1 (= read and write
dataset indentifiers are alternating).
0x8 Read dataset number is = given number (= read and write
dataset indentifiers are overlapping).
4..5 0 If C3=IL, do not update 3rd. output pin at all.
0x10 If C3=IL, do update 3rd. output pin with 4 first bytes of read 6
bytes data.
0x20 If C3=IL, do update 3rd. output pin with 4 middle bytes of read
6 bytes data.
0x30 If C3=IL, do update 3rd. output pin with 4 last bytes of read 6
bytes data.
Error Handling In an error situation the ERR output is set to 1 and the ERRC output
indicates the applicable error code (see Table 4).
Errors are originated either from the execution of the IORX block
itself (error codes 70nn...78nn) or from the DB element NCBIO that
defines the target device of the IORX block (error codes 89nn).
The ERRC output retains the code of the last occurred error. A 0->1
transition in the RESET input clears the ERRC output if the error
situation is no more in effect.
Error # Description
1 Invalid I/O device type definition (IOTYPE pin value in DB
element NCBIO).
4 The NCB communication board is missing.
5 Invalid NCB communication board.
8 The AC80 expansion module is other than the NCB
communication board.
16 Initialization error in NCB communication board
31 Call parameter C1 is not in range 1...8
32 Call parameter C2 is not in the range 1...2
33 I/O link timeout
34 I/O device address (NODE) is not in the range 1...8
35 DB element NCBIO does not exist in the application
38 NCBIO with same NODE and C1 definitions exists already
39 Dataset number (DSn) is not in the range 1...254
40...49 Communication error in NCB communication board
Limiter LIM-N
LIM-N (C1,C2)
Summary LIM-N (LIMiter-1-of-N address) is used for 1 A1 AERR 10
limitation of integers, real numbers or time 2 A2T ERR 11
values. Several limit values can be C2 AC2
selected. I 22
21 O
31 HLA1 >HLA 40
32 HLA2 HLA 41
50+C2 LLAC2
Figure 1.
Call LIM-N (C1,C2)
Connections Table 2.
No Name Type Description
Table 2 continued
No Name Type Description
Selection of Limit The limit value inputs HLA1 to HLAC2 or LLA1 to LLAC2 that will limit
the value at output O are selected with the inputs A1 to AC2. If the
Value
input A1 is 1, the output is limited by HLA1 and LLA1, if A2 is 1, the
output is limited by HLA2 and LLA2, etc. if none of the inputs A1 to
AC2 is 1, O is limited to the data value 0. If 2 or more of the inputs A1
to AC2 are set at the same time, the output is limited by the limit
values corresponding to the lowest numbered set input. The error
signal output AERR is set at the same time.
Limiting When the input I exceeds the selected limit, the output O is limited to
the limit value. One of the outputs |> HLA or |< LLA will then be set
depending on which limit was exceeded. The value of the current
limits for high and low level where limiting begins can be read at the
outputs HLA and LLA.
Supervision of The element checks that the limit value HLA is greater than the limit
LLA. If HLA is less than LLA, the error signal output ERR is set. The
Limit Values
output O and the limit value outputs |> HLA and |< HLL are retained
from the sample before the error status developed.
LIM-N
1 A1
2 A2 2 AERR 10
test
C2 AC2
COMP
I1 ERR 11
I1 > I2
AO I2
(0)
31 HLA1
COMP
32 HLA2 I1 I > HLA 40
I1 > I2
I2
30 + C2 HLAC2 HLA 41
AO
(0)
51 LLA1
COMP
I1
I < LLA 60
52 LLA2 I1 > I2
I2
50 + C2 LLAC2 LLA 61
21 I O 22
Figure 1.
Call MASTER (C1, C2)
Connections Table 2.
No Name Type Description
1 ON IB Currently not used. Should be connected to
constant value 1.
2 SINGLE IB Currently not used. Should be connected to
constant value 0.
3 R IB Currently not used. Should be connected to
constant value 0
5 RUN OB Currently not used. Value is always zero.
6 MODP OB Currently not used. Value is always zero.
Normal Execution The order in which the subordinate slave modules are executed is
determined by their order in the documentation.
10+C2 IAC2
Connections Table 2.
No Name Type Description
1 DEADB IC1 DEADBand. Input for deadband.
11 IA1 IC1 Input Address 1. Input which is compared
with the other inputs
12 IA2 IC1 Input Address 2. Input which is compared
with the other inputs
.
.
.
10 + C2 IAC2 IC1 Input Address C2 Input which is compared
with the other inputs
30 A OI Address. Output for the number of the input
having the highest value.
31 O OC1 Output. Output for the highest value.
Function The values at the inputs IA1 .. IAC2 are compared and the greatest
value is written to the output O. The number of the input with the
highest value is written to the output A. If the two highest signal
values are equal when the element is executed for the first time, the
signal with the lowest input number is treated as having the highest
output value.
1 2 3 4
Signal 4 = highest
Sample n
2 4 1 3
Signal 4 is still
Sample n + 1 seen as highest
DEADB
2 4 1 3
Signal 3 = highest
Sample n + 2
DEADB
2 3 4 1
Signal 1 = highest
Sample n + 3
DEADB
2 1 3 4
MB90REC
Summary A receiving function block, which is used to F1 IDENT ERR 10
receive cyclic dataset (=CDPs) from the F2 STATION
Advant Field Bus AF100 (old name of the 1 ACT RDY 11
bus was sometimes MB90, that is I1 21
explanation for the name). Data types I... 20+...
within the packet are indicated by the call I*C1 20+C1
parameters and can be I, IL, or R, and IL1 51
IL...
should equal the call parameters of the 50+...
IL*C2 50+C2
respective transmitting MB90TRA PC
R1 71
element (or DSP DB element if the R... 70+...
transmitting station is not APC or AC80). RC3 70+C3
MB90REC element should be always ERRC 99
accompanied with respective DSP in DB
part of the application (in order to specify
Figure 1.
assumed CDP transfer interval and to
enable AF100 BusConfiguration tools to
summarize various CDPs in each station). The MB90REC PC
element can be used to trigger execution of event driven task
CONTRM (2,255,0). The main (and only) difference of MB90REC
and AFREC is in the way, they deal with short integer data. (see
below)
Connections Table 2.
No Name Type Description Values
F1 IDENT II Dataset IDENTity number. 1...50
F2 STATION II Node number of the sender. 1...79
1 ACT IB Input. ACTivates dataset 1 = active
reception.
Table 2 continued
No Name Type Description Values
10 ERR OB Communication ERRor.
11 RDY OB Output data has been
updated
21 I1 OI Output. I value number 1.
.
.
.
20+C1 IC1 OI Output. I value number C1.
51 IL1 OIL Output. IL value number 1.
.
.
50+C2 ILC2 OIL Output. IL value number
C2.
71 R1 OR Output. R value number 1.
.
.
.
70+C3 RC3 OR Output. R value number C1.
99 ERRC OI ERRor Code. see Table 3.
Table 3 continued
Error # Description
When recorded in the error logs, the first two digits of an error
code (above) are translated to texts:
3000...3099 MB90 START FAILED
3100...3199 MB90 DATASET REJ.
3200...3299 MB90 FULL (LOCAL)
3400...3499 MB90 PARTNER FAIL
3500...3599 MB90 DISTURBANCE
MB90REC captures from AF100 the CDP telegrams tagged with the
specified signal address. The signal address is computed using the
STATION and IDENT parameters.
RDY is set (to 1) if a new CDP telegram was transferred after the
previous execution, and the output terminals were updated. Updating
of output data (and all other output pins as well) can be temporarily or
permanently disabled by clearing the input ACT = 0. Error code
ERRC, if set for any reason, can be cleared only by a rising edge
(=transition 0 -> 1) at ACT pin.
Fault Handling The ERR output is set (to 1) when a new reception does not occur
within 4 receiving intervals (or within 4 execution intervals, if the
respective DSP is missing from the DB-part). A diagnostic error code
is loaded to output ERRC (see table 3). The ERR output will reset (to
0) or set (to 1) depending on the communication status, but the last
error code will always remain at the ERRC output even when ERR is
reset (ERRC is assumed to be cleared during the next restart of the
station, or by a 0-pulse in the ACT-pin.)
Event Triggering In each AC80 station there can be one (and only one) AFREC,
AFTRA, MB90REC, or MB90TRA PC elements that specifies an
interrupting CDP. A negative value on the IDENT input is used to
denote that the transfer of the CDP should cause an interrupt and
start an event driven application task in the station. A MB90REC or
MB90TRA PC element with a negative IDENT input will operate, with
respect to data transfer, exactly the same as if the IDENT was
positive. The bus administrator does not know of the existence of
CDP interrupts.
In each AC80 station there can be only one control module CONTRM
that is executed due to interrupts from AF100. This CONTRM must
have C2 defined as 255 (denotes event driven task) and C1 defined
as 2 (AF100 interrupts).
It is not necessary that the interrupting CDP is the same in all AC80
stations.
Type Circuits AF_INW type circuits are available to make it easier to insert both
MB90REC and respective DSP into AC80 application.
Note: If you need such a CDP, which has dedicated DATs for each
contained data items, you shall build it from elementary blocks, or
use type circuit AFIN, which however always uses PC element
AFREC (and never MB90REC).
MB90TRA
Summary MB90TRA element is used to send cyclic F1 IDENT ERR 10
dataset (=CDPs) to the Advant Field Bus F2 SCAN
AF100 (old name of the bus was sometimes 1 ACT
Connections Table 2.
No Name Type Description Values
F1 IDENT II Data packets IDENTity 1...50
number.
F2 SCAN II Transmission interval. 1 = active
Table 2 continued
No Name Type Description Values
1 ACT IB Input. ACTivates dataset 1 = active
transmission.
10 ERR OB Communication ERRor.
21 I1 II Input. I value number 1.
.
.
.
20+C1 IC1 II Input. I value number C1.
.
.
.
51 IL1 IIL Input. IL value number 1.
.
.
.
50+C2 ILC2 IIL Input. IL value number C2.
71 R1 IR Input. R value number 1.
.
.
.
70+C3 RC3 IR Input. R value number C3.
99 ERRC OI ERRor Code. see Table 4.
Table 4 continued
Error # Description
3004 AF100 bus coupler not configured by PM825 DB element.
3005 Station address in the hardware is equal to the STNNO value of
PM825 AF100 part.
3101 Signal address already reserved (by another PC element in the
same AC80).
3103 Illegal IDENT value.
3104 Illegal length or SCAN value of CDP.
3105 Multiple interrupting CDPs specified.
3106 Respective DSP missing from DB part.
3107 Respective DSP specified different scan time.
3108 Respective DSP specified different CDP length.
3109 Respective DSP specified different transfer direction.
3201 Too many CDPs used in this station.
3301 Time slots cannot be allocated for the CDP.
3302 CDP identifier reserved by another station.
3401 Time-out waiting for a BA to request or to confirm the CDP
configuration.
Run time errors (may occur even after successful start-up):
3402 Time-out waiting for address frames from the BA.
When recorded in the error logs, the first two digits of an error code
(above) are translated to text:
3000...3099 MB90 START FAILED
3100...3199 MB90 DATASET REJ.
3200...3299 MB90 FULL (LOCAL)
3300...3399 MB90 FULL (GLOBAL)
3400...3499 MB90 PARTNER FAIL
3500...3599 MB90 DISTURBANCE
Fault Handling The ERR output is set (to 1) when a transmission does not occur
within 4 sending intervals as defined by SCAN pin of the PC element.
A diagnostic error code is loaded to output ERRC (see table 4). The
ERR output will reset (to 0) or set (to 1) depending on the
communication status, but the last error code will always remain at
the ERRC output even when ERR is reset (ERRC is assumed to be
cleared during the next restart of the station or by a zero-pulse in the
ACT-pin).
Event Triggering In each AC80 station there can be one (and only one) AFREC,
AFTRA, MB90REC, or MB90TRA PC element that specifies an
interrupting CDP. A negative value on the IDENT input is used to
denote that the transfer of the CDP should cause an interrupt and
start an event driven application task in the station. A MB90REC or
MB90TRA PC element with a negative IDENT input will operate, with
respect to data transfer, exactly the same as if the IDENT was
positive. The bus administrator does not know of the existence of
CDP interrupts.
In each AC80 station there can be only one control module CONTRM
that is executed due to interrupts from AF100. This CONTRM must
have C2 defined as 255 (denotes event driven task) and C1 defined
as 2 (AF100 event task).
Note: that the first event caused by the MB90TRA is generated after
the configuration message is received from the Bus Administrator.
This first event does not signify that actual data has been sent from
this MB90TRA by the AF100 bus coupler.
It is not necessary that the interrupting CDP is the same in all AC80
stations.
Type Circuits AF_OUTW type circuit is available to make it easier to insert both
MB90TRA and respective DSP into AC80 application.
Note: If you need such a CDP, which has dedicated DATs for each
contained data items, you shall build it from elementary blocks, or
use type circuit AFOUT, which however always uses PC element
AFTRA (and never MB90TRA).
10+C2 IAC2
Connections Table 2.
No Name Type Description
1 DEADB IC1 DEADBand. Input for deadband.
11 IA1 IC1 Input Address 1. Input which is compared with
the other inputs.
12 IA2 IC1 Input Address 2. Input which is compared with
the other inputs.
.
.
.
10 + C2 IAC2 IC1 Input Address C2 Input which is compared
with the other inputs.
30 A OI Address. Output for the number of the input
having the lowest value.
31 O OC1 Output. Output for the least value.
Function The values at the inputs IA1 .. IAC2 are compared and the lowest
value is written to the output O. The number of the input with the
lowest value is written to the output A. If the two lowest signal values
are equal when the element is executed for the first time, the signal
with the lowest input number is selected.
1 2 3 4
Signal 1 = lowest
Sample n
2 4 1 3
Signal 1 is still
Sample n + 1
seen as lowest
DEADB
2 4 1 3
Signal 2 = lowest
Sample n + 2
DEADB
4 1 2 3
Signal 4 = lowest
Sample n + 3
DEADB
Call MODR(C1)
Connections Table 2.
No Name Type Description
F1 STATION II STATION number of the remote device on
ModBus..
F2 REGADDR II Internal REGister ADDress in Remote
station, from where the data should be red
(0...9998 if large address mode, otherwise
0...998).
1 ACTIVE IB 1 = Enables operations
2 RESET IB 1 = Clear ERRC
10 ERR OB ERRor
21 OUT1 OI First data OUTput pin
.
.
.
20+C1 OUTC1 OI Last data OUTput pin.
99 ERRC OI ERRor Code.
Function The PC element can read data from the remote device using ModBus
function code 03 (= Read Output Registers).
The station address of the remote device is given in pin F1
(=STATION).
Note that all MODR and MODW elements must use same Address
Mode (Small or Large, but not mixed). This restriction comes from
fact, that it is possible to have only one PANBUS instance in the
system, and it has only one PARAM1 pin.
ACTIVE input pin selects whether new inquiries are sent or not (and
whether new responses are used to update the output pins.) ACTIVE
= 0 will disable all functions of MODR.
RESET input pin is used for clearing the error code in ERRC output
pin.
Error Codes The error codes for station #1 are 25100..., for station number #2
they are 25200... etc. The last two digits indicate the found error type:
Table 3.
Error # Description
1 DB element PANBUS missing from application.
2 Too many different STATIONs accessed (=no control blocks
available any more).
3 Too many elements per STATION (= no buffers available any
more).
4 Attempted to delete nonexisting buffer (this error should never
occur).
10 ModBus handler not found (this error should never occur).
11 Illegal size of ModBus buffer.
12 Access to ModBus block denied.
13 Error response from the remote device.
14 No response from the remote device.
15 Remote station too busy to handle msg. (Cannot detect).
Connections Table 2.
No Name Type Description
F1 STATION II STATION number of the remote device on
ModBus.
F2 REGADDR II Internal REGister ADDress in Remote
station, from where the data should be red.
(0...9998 if large address mode, otherwise
0...998).
1 ACTIVE IB 1 = Enables operations
2 RESET IB 1 = Clear ERRC
10 ERR OB ERRor
21 IN1 OI First data INput pin.
.
.
.
20+C1 INC1 OI Last data INput pin.
99 ERRC OI ERRor Code.
Function The PC element can write data to the remote device using ModBus
function code 16 (= Preset Multiple Registers).
Note that all MODR and MODW blocks must use same Address
Mode (Small or Large, but not mixed). This restriction comes from the
fact that it is possible to have only one PANBUS instance in the
system, and it has only one PARAM1 pin.
ACTIVE input pin selects whether new update messages are sent or
not. ACTIVE = 0 will disable all functions of MODW.
RESET input pin is used for clearing the error code in ERRC output
pin.
Error Codes The error codes for station #1 are 25100..., for station number #2
they are 25200... etc.
The last two digits indicate the found error type:
Table 3.
Error # Description
1 DB element PANBUS missing from application.
2 Too many different STATIONs accessed (=no control blocks
available any more).
3 Too many elements per STATION (= no buffers available any
more).
4 Attempted to delete nonexisting buffer (this error should never
occur).
10 ModBus handler not found (this error should never occur).
11 Illegal size of ModBus buffer.
12 Access to ModBus block denied.
13 Error response from the remote device.
14 No response from the remote device.
15 Remote station too busy to handle msg. (Cannot detect).
MONO
Summary The MONO element can be used for limiting or 1 RTG O 5
extending of the time for which a Boolean value is 2 I TE 6
set (time for which the Boolean value is 1). 3 TP
Figure 1.
Call MONO
Connections Table 1.
No Name Type Description
1 RTG IB ReTrigG. Input to select whether or not the
MONO function is to be retriggerable. If RTG is
set, a retriggerable function is selected.
2 I IN Input. Input for starting the MONO function when
the input changes from 0 to 1.
3 TP IT Time Pulse. Input for setting the pulse time.
5 O OB Output. Output which is set when the MONO
function starts and resets (to 0) when the time TP
has elapsed.
6 TE OT Time Elapsed. Output for time elapsed when O is
set. When the set time (TP) has elapsed, TE will
stop.
Function When the value of input I is changed from 0 to 1, the output O is set
(to 1) and a timer is started. The output O is reset (to 0) when the
time TP has elapsed.
2 I O 5
S
T R
1 &
TP TE TE 6
1
>1
1 RTG
3 TP
MONO Function, If the input RTG is reset (value is 0), the MONO function is not
retriggerable. If a new pulse occurs at the input I before the time TP
Not Retriggerable has elapsed, it does not affect the timer. Only after the time TP has
elapsed and the output O is reset can the MONO function be
restarted.
MONO Function, If RTG is set (value is 1), a retriggerable MONO function is selected,
i.e. the timer starts from 0 each time a new pulse occurs at the input
Retriggerable
I.
0 1 2 3 5 10
TP = 4 s
RTG = 0
Figure 3. Time Diagram for the MONO Function, not Retriggerable.
0 1 2 3 5 10
TP = 2 s
RTG = 1
Figure 4. Time Diagram for the MONO Function, Retriggerable.
Connections Table 2.
No Name Type Description
1 - IC1 Input for value 1.
2 - IC1 Input for value 2.
.
.
.
C2 - IC1 Input for value C2
21 - OC1 Output for value 1.
22 - OC1 Output for value 2.
.
.
.
20+C2 OC1 Output for value C2.
Function The element copies the values at the inputs to the respective outputs.
The type of data to be moved is determined by the call parameter C1.
The number of values moved is determined by the call parameter C2.
Multiplier MUL
C2
Figure 1.
Call MUL (C1,C2)
Connections Table 2.
No Name Type Description
1 - IC1 Input for multiplicand.
2 - IC1 Input for multiplier
:
.
.
C2 - IC1 Input for multiplier.
20 - OC1 Output for product.
Function The values at the inputs 1 ... C2 are multiplied and the product is
stored at the output 20.
Figure 1.
Call MULDIV
Connections Table 1.
No Name Type Description
1 I IIL Input for multiplicand
2 MUL IIL Input for MULtiplier.
3 DIV IIL Input for DIVisor
10 O OIL Output for quotient.
11 REM OIL Output for REMainder.
Function The product of inputs I and MUL is divided by the input DIV. The
quotient is loaded to the output O and the remainder to the output
REM. The element uses internal 32-bit accuracy.
Connections Table 2.
No Name Type Description
5 AERR OB Address ERRor. Set (to 1) when input A is
greater than call parameter C1 or a negative
value.
11 A II Address. Selection of which input value
should be stored at the output O. If the value
is 0 a blank text is stored at the output.
31 IA1 IAC2 Input Address 1. The first input in the
selector.
32 IA2 IAC2 Input Address 2. The second input in the
selector.
. IAx IAC2 Input Address x...
.
30+ IAC1 IAC” Input Address C1. The last input in the
C1 selector.
50 O OAC2 Output. Output from the selector.
Function The text string at the input (IA1...IAC1), specified by the input
address A (1...C1), is stored at the output O. If A is 0, then a blank
text string is loaded at O.
Supervision The value of the input address A is checked each execution of the
PC element. If it is greater than the number of outputs specified by
the call parameter C1 or it is a negative number, then the AERR
output is set (to 1). A blank text string is loaded at output O.
30+C2 IAC2
Call MUX-I (C1,C2)
Figure 1.
Call Parameters Table 1.
Parameter Description Permissible values
C1 Data type B, I, IL, R, T, TR
C2 Number of inputs 1...19
Connections Table 2.
No Name Type Description
5 AERR OB Address ERRor. Output which is set to 1 when
the address value is greater than the number
of outputs, or negative.
11 A IIL Address. Input for address value that specifies
which input is to be connected to the output O.
When A = 0, the output is set to 0.
31 IA1 IC1 Input Address 1. Input number 1 to the
selector.
32 IA2 IC1 Input Address 2. Input number 2 to the
selector.
.
.
.
30 +C2 IAC2 IC1 Input Address C2. Input number C2 to the
selector.
50 O OC1 Output. Data output from the selector.
Function
Addressing The input data value (IA1 .. IAC2) connected to the output O is
specified with an address (integer 1 .. C2) at the input A. If the
address is 0, the data value 0 is connected to the output O.
Supervision The address A is monitored and if its value is greater than the
number of inputs or negative, the error output AERR is set. The data
value 0 is then written to the output O.
11 A1 A > C2
AERR 5
or
A<0
test
D =0 A0
31 IA1
32 IA2 O 50
30 + C2 IAC2
31 IA1 O 50
32 IA2
Connections Table 2.
No Name Type Description
1 S IB Set. Input for loading of new values each time
the element is executed. When the input S is
reset, the last value loaded will remain at the
output.
2 L IB Load. Dynamic input for loading of the data
addressed.
3 R IB Reset. Input for resetting the output. This input
overrides inputs S and L.
5 AERR OB Address ERRor. Output which is set to 1 when
the address value is greater than the number of
outputs, or negative.
11 A II Address. Input for address value which
specifies from which input data is to be loaded
to the output O. When A = 0, the output is set to
0.
31 IA1 IC1 Input Address 1. Input number 1 to the selector.
32 IA2 IC1 Input Address 2. Input number 2 to the selector.
.
.
.
30 + C2 IAC2 IC1 Input Address C2. Input number C2 to the
selector.
50 O OC1 Output. Data output from the selector.
Function
Addressing The input data value (IA1 .. IAC2) stored to the output O is specified
with an address (integer 1 .. C2) at the input A. If the address is 0,
the data value 0 is stored to the output O.
Loading The value is loaded when the input L is set. If input S is set, new data
is loaded each time the element is executed. When S is reset after
having been set, the data most recently loaded remains until the
element is executed with one of the inputs S, L or R set. The input S
overrides the input L, i.e. when S is set, L has no effect.
Clearing Setting the input R clears the data output and prevents further
storage of data.
Supervision The address A is monitored and if its value is greater than the
number of inputs, or negative, the error signal output AERR is set.
The data value 0 is then stored to the output.
11 A1 AERR 5
D =0 A0
31 IA1
32 IA2
30 + C2 IAC2
O 50
1 S
≥
2 L
3 R R
10+C2 AC2
31 IA1 O 50
32 IA2
30+C2 IAC2
Call MUX-MN (C1,C2)
Figure 1.
Call Parameters Table 1.
Parameter Description Permissible values
C1 Data type B, I, IL, R, T, TR
C2 Number of inputs 1...16
Connections Table 2.
No Name Type Description
1 S IB Set. Input for loading of new values each time
the element is executed. When the input S is
reset, the last value loaded will remain at the
output.
2 L IB Load. Dynamic input for loading of the data
addressed.
3 R IB Reset. Input for resetting the output. This input
overrides inputs S and L.
5 AERR OB Address ERRor. Output which is set to 1 when
two or more of the inputs A1...AC2 are set.
11 A1 IB Address 1. Input to store data from the input IA1
to the output O.
12 A2 IB Address 2. Input to store data from the input IA2
to the output O.
.
.
.
10 + C2 AC2 IB Address C2 Input to store data from the input
IAC2 to the output O.
31 IA1 IC1 Input Address 1. Input number 1 to the selector.
Table 2 continued
No Name Type Description
32 IA2 IC1 Input Address 2. Input number 2 to the selector.
.
.
.
30 + C2 IAC2 IC1 Input Address C2. Input number C2 to the
selector.
50 O OC1 Output. Data output from the selector.
Function
Addressing The input data value (IA1 .. IAC2) stored at the output is specified
with the inputs A1 .. AC2. If the input A1 is 1, the value from input IA1
is stored to the output. If A2 is 1, the value from input IA2, etc. If none
of the inputs A1 .. AC2 is set to 1, the data value 0 is stored to the
output O.
Loading The value is loaded when the input L is set. If input S is set, new data
is loaded each time the element is executed. When S is reset after
having been set, the data most recently loaded remains until the
element is executed with one of the input S, L or R set. The input S
overrides the input L, i.e. when S is set, L has no effect.
Clearing Setting the input R clears the data output and prevents further
storage of data.
Supervision If two or more of the inputs A1 .. AC2 are set simultaneously, the
output AERR is set and the value from the input which corresponds
to the address input set with the lowest number is stored at the output
O.
11 A1
12 A2
2 AERR 5
test
10 + C2 AC2
D =0 A0
31 IA1
32 IA2
30 + C2 IAC2
I O 50
1 S
1 C
2 L
1
3 R R
31 IA1 O 50
32 IA2
30+C2 IAC2
Connections Table 2.
No Name Type Description
5 AERR OB Address ERRor. Output which is set to 1 when
two or more of the inputs A1...AC2 are set.
11 A1 IB Address 1. Input to store data from the input IA1
to the output O.
12 A2 IB Address 2. Input to store data from the input IA2
to the output O.
.
.
.
10 + C2 AC2 IB Address C2 Input to store data from the input
IAC2 to the output O.
31 IA1 IC1 Input Address 1. Input number 1 to the selector.
32 IA2 IC1 Input Address 2. Input number 2 to the selector.
.
.
.
30 + C2 IAC2 IC1 Input Address C2. Input number C2 to the
selector.
50 O OC1 Output. Data output from the selector.
Function
Addressing The value of the input address IA1 ... IAC2, which corresponds to the
lowest address A1 ... AC2 that is set (to 1), is connected to the output
O.
If none of the inputs A1 ... AC2 is set, then the data value 0 is written
to the output O.
Supervision If two or more of the inputs A1 .. AC2 are set simultaneously, the
output AERR is set and the value from the input which corresponds
to the lowest address is stored to the output O.
11 A1
12 A2
2 AERR 5
test
10 + C2 AC2
D =0 A0
31 IA1
32 IA2
30 + C2 IAC2
O 50
Or Gate OR
C1
Figure 1.
Call OR (C1)
Connections Table 2.
No Name Type Description
1 - IB Input
2 - IB Input
. . . .
. . . .
C1 - IB Input
20 - OB Output
Function The output signal is set to 1 if any of the inputs 1..C1 is 1. See the
truth table below.
0 0 0 0
0 0 1 1
0 1 0 1
0 1 1 1
1 0 0 1
1 0 1 1
1 1 0 1
1 1 1 1
Or Gate OR-A
51
- &
50+C6
Call OR-A (C1,C2,C3...Cn)
Figure 1.
Call Parameters Table 1.
Parameter Description Permissible values
C1 Number of inputs in the OR part of the 0...9
element.
C2 Number of inputs in the first AND gate of 0...9
the element.
C3 Number of inputs in the second AND 0...9
gate of the element.
.
.
.
Cn Number of inputs in the last AND gate of 0...9
the element.
Where: 1 n 6
1 C1 C 2 ... Cn 40
Connections Table 2.
No Name Type Description
1 IB Input direct to the OR gate in the element.
2 IB Input direct to the OR gate in the element.
. Input direct to the OR gate in the element.
.
.
C1 IB Input direct to the OR gate in the element
11 IB Input to the first AND gate in the element.
12 IB Input to the first AND gate in the element.
Table 2 continued
No Name Type Description
. IB
.
.
10+C2 IB Input to the first AND gate in the element.
21 IB Input to the second AND gate in the
element.
22 IB Input to the second AND gate in the
element.
. IB Input to the second AND gate in the
. element.
.
10*(n-1)+1 IB Input to the last AND gate in the element.
10*(n-1)+2 IB Input to the last AND gate in the element.
. IB Input to the last AND gate in the element
.
.
10*(n-1)+Cn IB Input to the last AND gate in the element.
60 OB Output
Function This function provides faster execution than if separate elements are
used. The inputs only need to be tested until the value of the output
can be determined. If input 1 is 1 then the output can be set (to 1)
irrespective of all other inputs.
See the example of OR-A (3,3,3) as shown in figure 1 and in table 3.
x indicates that the input has no effect on the value of the output or
the execution time of the PC element.
Oscillator OSC-B
OSC-B
Summary Oscillator OSC-B (OSCillator -Boolean variables) 1 EN
with variable frequency and pulse time is used 2 TP O 5
when pulse trains with periods from 2 x cycle time 3 TC
up to 14 hours are needed.
Figure 1.
Call OSC-B
Connections Table 1.
Function The oscillator starts when the input EN is set (to 1).
Figure 1.
Call OSC-SIN
Connections Table 1.
No Name Type Description
1 EN IB ENable. Input for activation of sine wave
generation.
2 TC ITR Time Cycle. Input for period.
3 AMP IR AMPlitude. Input for amplitude.
5 O OR Output. Output for sine wave.
6 ERR OB ERRor. Output which is set (to 1) if the period
TC is undersized.
period.
If EN is reset (to 0) the output O is Figure 2. General Waveform.
cleared.
When EN is set to 1 after having been 0, the sine wave begins from
t=0.
If the cycle time is less than the period TC, the output O is cleared (to
0).
PANC (10,10)
Summary PANC controls one CDP80 panel. CDP80 F=1-F1 PAN_ID ERR 10
has 16 push buttons and a display with F=1-F2 LOGNR BUTTONS 11
four 20 character lines. PANC reads the 1 RESET STATUS 12
pressing of the panel push buttons and 2 CNTRL DATSTAT 30
20 DAT DATNAME 31
builds four text lines. The panel operator
21 PAR DATVALI 32
can switch between 4 operation modes: DATVALR 33
PARSTAT 40
1. In internal mode CDP80 parameters
PARNAME 41
can be set, e.g. the node number of PARVALI 42
the panel. PARVALR 43
ERRC 99
2. In event mode two events from one
event logger are displayed. Figure 1.
3. In signal mode two DATs from a list of
DATs are displayed.
4. In parameter mode two PARDATs from a list of PARDATs are
displayed.
Connections Table 2.
No Name Type Description Values
F1 PAN_ID II Station address of control panel. 1...15
F2 LOGNR II ID NumbeR of event LOGger. 1...8
1 RESET IB RESETs the error code, initializes 0 or 1
the pointers.
2 CNTRL II Specify optional modes PANC
operation.
Table 2 continued
No Name Type Description
20 DAT IA20 String mask for DAT elements.
21 PAR IA20 String mask for PARDAT elements.
10 ERR OB ERRor indication outputs.
11 BUTTONS OI Pressed push BUTTONS code.
12 STATUS OI PANC operation STATUS.
30 DATSTAT OI STATus of current DAT.
31 DATNAME OA20 NAME of current DAT.
32 DATVAL1 OIL VALue of current DAT, if integer.
33 DATVALR OR VALue of current DAT, if Real
40 PARSTAT OI STATus of current PARDAT
41 PARNAME OB NAMEof current PARDAT.
42 PARVAL1 OIL VALue of current PARDAT, if integer.
43 PARVALR OR VALue of current PARDAT, if Real.
99 ERRC OI ERRor Code.
Cycle Time of PANC generates a panel link message every time it is executed.
The panel/printer link ModBus-protocol software operates cyclically at
PANC
100ms intervals. One panel is served during one transmission cycle.
The cycle time of PANC should not be less than 200ms in order to
avoid panel link overload. The cycle time can be 400ms without
decline of panel performance.
Call Parameters C1 defines the number of DATs that can be handled in signal mode.
The DATs are fetched from the symbol table
Control Terminal Terminal F1 (PAN_ID) should match the node number (1 to 15) set
on CDP80 in internal mode.
Functions
• In case no panel with corresponding station number is active on
the panel link, ERR is set and the error code 2xx05 (no response
from panel) is output on ERRC.
Terminal 3 ( DAT ) defines the DAT: NAME mask used at look up.
• DATs are fetched in alphabetical order from the symbol table
• If more than C1 symbols exist DATSTAT displays 100
(= C1_TOO_SMALL).
Panel Push Button Push button states are returned from CDP80 in the Button Status
Word of an inquiry message. Bits PB1 to PB16 on output terminal
Functions BUTTONS indicates the pressing of push buttons 1..16. The pushing
of a button generates a pulse at the corresponding bit. Terminal
BUTTONS is updated every time PANC is executed.
IN T PA R DAT EV T
EN T
A CK
F1 F2 F7 REST
F3 SA V E
Figure 2. CDP80.
Function of PB1..PB4 are used to change operational mode and switch display:
Buttons • PB1/DAT selects DAT mode (=signal mode)
• PB2/PAR selects PARDAT mode (=parameter mode)
• PB3/INT selects internal mode
• PB4/EVT selects event mode.
Pushing a mode button may change the current mode. The new
mode is activated on the display after PANC has detected that
operator pressed such button, and sent a message for the first
display in the new mode. PANC sends messages for on display mode
only. (= for current mode). While switching modes PANC saves
position data of the old mode. When the old mode is reentered PANC
restores the display according saved data.
PB9/ENTER/ACK is used
• In internal mode to enter the value of the current configuration
parameter
• In parameter mode to enter the parameter edit mode
• In parameter edit mode to enter the displayed value into the
current PARDAT
• In event mode to acknowlefge the current event, and all older
events.
PB15/RESTORE is used
• In parameter mode to restore old parameter values from FPROM.
(however this function is not yet implemented)
• In signal and event mode for application programming.
PB16/SAVE is used
• In parameter mode to write changed PARDAT values to FPROM
• In signal and event mode for application programming.
The entered station number must match the value of PAN_ID pin to
enable PANC to communicate with the panel.
Parameter Mode Parameter mode is enter by PB2. Parameter mode is exited by PB1
or PB3 or PB4 (or ENTER/ACK).
While in parameter edit mode, the PANC does not update the
displayed parameter values at all, but allows you to increase or
decrease it is value with PB8/UP and PB9/DOWN buttons. The speed
of change increases gradually if you press the button continuously.
So you can make big changes with good accuracy and within
reasonable time, even if the parameter is a real number.
Signal Mode In Signal mode two variables (= contents of DAT elements) are
displayed. The upper line is the DAT:
NAME (text string with up to 20 characters).
The signal mode display can be scrolled with 2up / 2down buttons.
The DATs are automatically sorted in alphabetical order, and can be
scrolled only in such order. By planning suitable prefixes into DAT
names, the AC80 application designer can arrange the scrolling order
of DATs. The DAT pin of PANC can be used to make a certain group
of DATs scrollable. In such case DAT text must end with an asterisk
*. All those DATs, whose name up to asterrisk match with DAT are
then possible to display. (It is also possible to see other DATs on the
panel display, but then you need to have bit #1 set in PANC CNTRL
pin.)
DAT:
NAME underscores have been replaced by spaces on panel display.
Call PARSAVE
Connections Table 1.
No Name Type Description
1 TRIG IB TRIGger next save action (0 −> 1 sensitive).
2 CNTRL II Options how to save parameters.
3 BUSY OB Is save session active.
4 RDY OB Has save session become ReaDY.
5 SWAPS OIL How many times active and passive
Segments are SWAPped.
6 SAVED OI How many PARDATs were SAVED this time.
99 ERRC OI ERRor Code.
BUSY = 1 indicates, that saving has started, but not yet ended.
Connections Table 2.
No Name Type Description Values
1 ON IB CONtrol input which is set (to 1) with
normal execution.
2 R IB Reset Input for clearing execution units
in the PC program.
5 RUN OB RUN indidates that the execution units
in the PC program may be executed.
Function The PC program is the highest level in the PC program structure. The
program is intended to perform a complete control function. The
program header PCPGM is used to control the enabling, disabling
and resetting of the complete PC program, irrespective of
subordinate execution units. The parameter C1 (see table 1)
specifies how often the program header is to be executed.
RUN Output RUN is set only if normal execution is permitted, i.e. if the ON
input is set and the R input is reset (to 0).
1 ON RUN 5
2 R &
Supervisory control
of execution units
PDP-Function PDP
Call PDP
Connections Table 1.
No Name Type Description
1 I IR Input. Input for actual value.
2 K IR Input for setting gain.
3 T1 ITR Time 1. Input for time constant for lead.
4 T2 ITR Time 2. Input for time constant for lag.
5 BAL IB BALance. Input for activation of tracking.
6 BALREF IR BALance REFerence. Input for reference value
when tracking.
7 OHL IR Output High Limit.Input for lower limit value.
8 OLL IR Output Low Limit.
10 O OR Output. Output signal.
11 O=HL OB Output=High Limit. Output which is set to 1 if the
output O reaches the upper limit value.
12 O=LL OB Output = Low Limit. Output which is set to 1 if the
output O reaches the lower limit value.
13 ERR OB ERRor. Output which is set to 1 if OHL is less than
OLL.
T1
K
T2
T2<T1 Ig ω
1 1
This has been implemented in the PDP T1 T2
element as a recursive algorithm. The G
design of this algorithm is such that -90
normal functioning is maintained even
during limiting. This ensures a Ig ω
controlled return to a dynamic state.
Figure 3. Bode Diagram.
Gain, Time Certain constants are precalculated to
make the execution time of the element as short as possible. The
Constants and
results are stored internally in the element. These constants are
Sampling Time recalculated if T1, T2 or K are changed by more than 1/128 of their
previous value, or if the sampling time TS is changed. When
recalculating, a test is performed to check whether T1 and T2 > 2 x
TS. If not, T1 or T2 respectively is set
equal to 2 x TS.
Tracking
If BAL is set to 1, the regulator
immediately goes into tracking and the OHL
Limitation Function The limitation function limits the output signal to the limit values at the
inputs OHL for the upper limit and OLL for the lower limit. If the actual
value exceeds the upper limit, the output O = HL is set to 1. If it falls
below the lower limit, the output O = LL is set to 1. The element
checks that the upper limit value OHL is greater than the lower limit
value OLL. If not, the output ERR is set to 1. While the error status
persists, the outputs O = HL, O = LL and O retain the value they had
in the sample before the error occurred. After an error, the return to a
dynamic state is bumpless, as in the case of tracking.
PI-Function PI
Call PI
Clearing of The integration section of the algorithm is cleared when RINT goes to
Integrator 1. If the proportional section of the algorithm exceeds the limits of the
output signal, the limit status remains and the internal status is
updated in accordance with the section "Bumpless transfer from
tracking or limitation". When RINT is set permanently to 1, the
element functions as a P-regulator.
Clearing of The integration section of the algorithm is cleared when RINT goes to
Integrator 1. If the proportional section of the algorithm exceeds the limits of the
output signal, the limit status remains and the internal status is
updated in accordance with the section "Bumpless transfer from
tracking or limitation". When RINT is set permanently to 1, the
element functions as a P-regulator.
Tracking If BAL is set to 1, the regulator immediately goes into tracking and the
output O follows the value of the input BALREF. If the value at
BALREF exceeds the output signal limits, the output is set to the
applicable limit value. On return to a normal function the value to the
output O during the last sample in tracking remains during one
sample time. See below under "Bumpless transfer from tracking or
limiting".
Limitation The limitation function limits the output signal to the limit values at the
Function inputs OHL for upper limit value and OLL for the lower limit value. If
the actual value exceeds the upper limit value, the output O = HL is
set to 1. If it falls below the lower limit value, the output O = LL is set
to 1. The element checks that the upper limit value OHL is greater
than the lower limit value OLL. If not, the output ERR is set to 1.
While the error status persists, the outputs O = HL. O = LL and O
retain the values they had in the sample before the error occurred.
8 O HL
9 OLL
A CT
O 10
6 BA L
A CT
7 B AL RE F
I1 O = HL 11
I1 > I2
F1 REVACT I2
A CT + I1 O = LL 12
1 R E FV P I1 < I2
+ I2
2 I
I1 E RR 13
3 K t I I1 < I2
I2
4 TI t Lim iting
5 R IN T 1
A CT
R e se t
Pr es et
Alg orit hm
D E V 14
Call PII
Connections Table 1.
No Name Type Description Values
2 I II Input deviation. -32767...+32767
3 KI II Proportional gain 0...+32767(%)
4 TI II Time Integration constant 0...32767 (ms)
5 RESET IB RESET the regulator outputs
OPI and O to “0”.
6 BAL IB BALance. Forcing the output
OPI to follow the input
reference
7 BALREF II BALance REFerence input 32767...+32767
8 OHL II Output High Limit. -32767...+32767
9 OLL II Output Low Limit. -32767...+32767
10 O OI Regulator Output signal. -32767...+32767
11 O=OHL OB Output signal On High Limit
12 O=OLL OB Output signal On Low Limit.
13 ERR OB ERRor. OHL is less than OLL .
14 OPI OI Output of PI controller before -32767...+32767
limits.
Gain and The calibration of the Proportional Gain KI is in "%". It means that
value KI = 100 corresponds to a multiplication factor of 1.0 (100%).
Integration Time
The calibration of the Integration Time Constant TI is directly in
Constant millisecond.
Calibration
K
The PI function can be written in the time
plane as: t
T1
t Figure 2. Step
O(t) = KI ∗[ I(t)+ò(1/TI) ∗I(t)∗dt]
Response.
0
The transfer function of the PI function is:
G(s) = KI∗[1+1/(s∗TI)]
This has been implemented in the PII IgIGI
where: G
Ig ω
• TS is an execution interval of the 45
controller
-90
• INT is the integral component.
Figure 3. Bode Diagram.
Clearing the When the RESET input signal is set to 1
he output of controller is reset to 0 if. The Integrator part of regulator
Requlator Output
can be cleared by setting input TI to 0. When TI is set again to value
other than 0 is transfer bumpless.
Limitation Function The OLL and OHL inputs provide the minimum and maximum limit
values for the controller output signal. If the actual value exceeds the
maximum limit value, then output "O=HL" is set to 1 and if it falls
below the minimum limit value,then output "O=LL" is set to 1. The
Element also compares OHL with OLL. If OLL value is greater then
OHL then the ERR output is set to 1. While the error status persists,
the output limits "O=HL", "O=LL" retain the previously accepted
values .
Tracking When BAL input is set to "1" the regulator "O" output is forced to
follow the REFerence value from the BALREF input. If the BALREF
signal exceeds the output limits, the output is set to the applicable
limit value.
Bumpless Transfer The transfer from Tracking mode is bumpless. This is achieved by
internal recalculation of the integration part in the tracking mode
between Tracking
according to:
and Normal Mode
INT(k) = O(k)- KI∗I(k)
There is no explicit feature in the regulator to support directly the
bumpless transfer to the tracking mode. However such function can
be easily implemented, by using the external FB (like e.g. RAMP
element) to back feed the "O "output of the controller to its BALREF
input.
PIP-Function PIP
Call PIP
Connections Table 1.
No Name Type Description
1 I II Input. Input for actual value.
2 K II Input for setting gain.
3 T1 II Time 1. Input for time constant for lead.
4 T2 IB Time 2. Input for time constant for lag.
5 BAL IB BALance. Input for activation of following.
6 BALREF II BALance REFerence. Input for reference value
when following.
7 OHL II Output High Limit. Input for upper limit value.
8 OLL II Output Low Limit. Input for lower limit value.
10 O OI Output. Output signal.
11 O=HL OB Output=High Limit. Output which is set to 1 if the
output O is limited to the upper limit value.
12 O=LL OB Output=Low Limit. Output which is set to 1 if the
output O is limited to the lower limit value.
13 ERR OB ERRor. Output set to 1 if OHL is less than OLL.
Function
Transfer The step response in the time plane for the PIP function is:
Function The transfer function for a PIP function is:
This has been implemented in the PIP element as a recursive
function.
Gain, Time Certain constants are precalculated to make the execution time of the
elements as short as possible. The result is stored internally in the
Constant and
element. These constants are recalculated if T1, T2 or K are changed
Sampling Time by more than 1/128 of their previous value or if the sampling time TS
is changed. When recalculating a test is performed to check if T1 and
T2 ≥ 2 x TS. If this is not the case, T1 or T2 respectively is set equal
to 2 x TS.
Following If BAL is set to 1, the regulator immediately goes into following and
the output O is set to the value of the input BALREF. If the value at
BALREF exceeds the output signal limits, the output is set to the limit
value concerned. Return to dynamic state is bumpless.
Limitation Function The limitation functions limits the output signal to the values at the
inputs OHL for the upper limit and OLL for the lower limit. If the actual
value exceeds the upper limit, the output O = HL is set to 1 and if it
falls below the lower limit, the output O = LL is set to 1.
When the limitation status has been detected, a check is made each
time the element is executed to determine whether K x I (t) exceeds
the output signal limitations. Is such is the case, the limitation status
remains. If not, the calculated of the output signal is performed by the
algorithm in the normal way.
Call POINT
Connections Table 1.
No Name Type Description
1 USE_DPM IB Are the result stored in DPM or not.
2 IDENT II Index, where to store the results (1...15)
3 PODEP IL The absolute start address of next PC element
instance.
4 POLOP IL The absolute start address of POLO for these
PC elements.
99 ERRC I EERor Code.
Function The PC element shows currently used absolute addresses of the next
PC element in the output pins and additionally may store these
results DualPortMemory area (starting from DPM offset 0x7F80 = 64
bytes from the bottom of DPM).
If the result values are stored in DPM, you may have 15 POINT
blocks in various places of your application program without results
overwriting. This is accomplished with specifying unique IDENT value
for each POINT instance.
The DPM contents (which may be read from NCB side with
appropriate tools (e.g.DriveDebug) are:
Offset # Content
0x7F80 PODEP of POINT(ident = 1)
0x7F84 POLOP of POINT(ident = 1)
0x7F88 PODEP of POINT(ident = 2)
0x7F8C POLOP of POINT(ident = 2)
0x7F90 PODEP of POINT(ident = 3)
0x7F94 POLOP of POINT(ident = 3)
0x7F98 PODEP of POINT(ident = 4)
0x7F9C POLOP of POINT(ident = 4)
0x7FA0 PODEP of POINT(ident = 5)
0x7FA4 POLOP of POINT(ident = 5)
0x7FA8 PODEP of POINT(ident = 6)
0x7FAC POLOP of POINT(ident = 6)
0x7FB0 PODEP of POINT(ident = 7)
0x7FB4 POLOP of POINT(ident = 7)
0x7FB8 PODEP of POINT(ident = 8)
0x7FBC POLOP of POINT(ident = 8)
0x7FC0 PODEP of POINT(ident = 9)
0x7FC4 POLOP of POINT(ident = 9)
0x7FC8 PODEP of POINT(ident = 10)
0x7FCC POLOP of POINT(ident = 10)
0x7FD0 PODEP of POINT(ident = 11)
0x7FD4 POLOP of POINT(ident = 11)
0x7FD8 PODEP of POINT(ident = 12)
0x7FDC POLOP of POINT(ident = 12)
0x7FE0 PODEP of POINT(ident = 13)
0x7FE4 POLOP of POINT(ident = 13)
0x7FE8 PODEP of POINT(ident = 14)
0x7FEC POLOP of POINT(ident = 14)
0x7FF0 PODEP of POINT(ident = 15)
0x7FF4 POLOP of POINT(ident = 15)
0x7FF8 not used
0x7FFC interrupt handshaking locations
If USE_DPM = 0, the results are not stored to DPM, but available
only in output pins PODEP and POLOP. However, even then IDENT
must be in range 1...15.
Typical usage of POINT is such, that the result values of POINT can
be entered as input values to some other debugging tools. E.g. XRAY
or DriveDebug. In case of DriveDebug, the values may be read by
the tool itself from the DPM (see the address list above, and
remember conversion rules:
Event data consists of date, time, event type, code and text ( max 20
characters ). The printer interface converts event data to one row of
printout characters.
Call PRTCON
Connections Table 1.
No Name Type Description Values
F1 PRT_ID II Station number of the printer. 1...15
F2 LOGNR II LOGger NumbeR. 1...8
1 RESET IB Clear the error code. 0...1
2 CNTRL II CoNTRoL of PRTCON operation.
10 ERR OB ERRor indication output.
11 BUTTONS OI Feedback from the printer.
12 STATUS OI PRTCON opeation STATUS.
99 ERRC OI ERRor Code.
Control Terminal Terminal F1 (PRT_ID) is the node number on ModBus of the printer
interface module.
Functions
PRT_ID should match the node number (1 to 15) set on the module.
In case no printer with corresponding station number is active on the
panel link, ERR is set and the error code 2xx05 (no response from
printer) is output on ERRC.
Note: Printer interface units are delivered with default station address
= 15.
Terminal 1 (RESET) resets on 0 ->1 the error code and the ModBus
driver interface.
Bit #0
• 0 => normal operation, messages are generated for new events
• 1 => reprint operation, send logger messages to the printer from
the oldest (LAST+1) to the newest (LAST) when changed ->1.
Bit #1
Printer Messages PRTCON transfers following data to the printer interface module.
Event type:
• 1 = system error (originated by system SW)
• 2 = boolean (change) event (originated by PC element EVT or
EVENT)
• 3 = error coded event (originated by PC element ERROR)
• 4 = drive event (not implemented)
Drive number:
• drive ID, where the event occurred (with drive events only)
Text:
• application specific descriptive text (max. 20 characters)
Code:
• original error code (in case of “error” type event)
EVENT and EVT events are thus typically different so that EVENT
text is without leading + or - sign, but EVT text has always a leading +
or - (Note that if the programmer has put + character in the beginning
of his text, which he assigned to EVENT- element, it will be printed as
if the same same text came from EVT without “+” character in the
programmed text.
Note also that only 19 first characters of the EVT text will be shown
on panels and printed by PRTCON. The reason is, that the text in
event logger may be only 20 characters long, and the leading + or -
takes one character position.
Function The main property of the RAMP element is that the output signal
tracks the input signal, while the input signal is not changed more
than the value specified at the step inputs.
If the input signal change is greater than the specified step changes,
the output signal is first changed by STEP+ or STEP- depending on
the direction of change, and then by SLOPE+ or SLOPE- per second,
until the values at the input and output are equal. This means that if
STEP- = STEP+ = 0, a pure ramp function i.e. SLOPE/sec is
obtained at the output. The greatest step change allowed at the
output O is specified with the inputs STEP+ and STEP- for the
respective direction of change. The ramp which the output signal is to
track, if the change at the input I exceeds STEP+ or STEP-, is
specified with the inputs SLOPE+ and SLOPE-.
All parameters are specified as absolute values with the same unit as
input I. The values of the parameters are stored internally in the
element. New values are only entered under stationary conditions,
i.e. when I(t) = O(t). Certain constants are precalculated to make the
execution time of the element as short as possible. The results are
stored internally in the element. These constants are recalculated if
SLOPE+ or SLOPE- values are changed or if the cycle time TS is
changed. Figure 3 shows the relationship between input, output and
internal auxiliary variables when the element functions normally.
An internal auxiliary variable VPOS follows the input I value with the
maximum rate of change defined by SLOPE+. If the input I value is
greater than VPOS + STEP+, the output O value is limited to the
value VPOS + STEP+. If the input I value is less than VPOS +
STEP+ the output O value is set to be equal to I.
• If I(t) < O(t-TS), then the change of the output O value is limited
as follows:
An internal auxiliary variable VNEG follows the input I value, with the
maximum rate of change defined by SLOPE-. If the input I value is
less than VNEG - STEP-, the output O value is limited to the value
VPOS - STEP-. If the input I value is greater than VNEG - STEP- the
output O value is set to be equal to I.
VNEG(t) = O(t)
STEP-
SLOPE+ * TS SLOPE- * TS
I(t)
VNEG(t)
STEP+
O(t)
O(t)
TS
Tracking Mode If the input BAL is set to 1, the filter immediately goes into tracking
mode and the output O is set to the value of the input BALREF. If the
value at BALREF exceeds the output signal limits, the output is set to
the applicable limit value. During tracking mode VPOS = VNEG = O =
BALREF. Return to normal operation is done as if an unit step had
occurred at the input.
Limitation The limitation function limits the output signal to the limit values at the
Function inputs OHL for upper limit and OLL for the lower limit. If the actual
value exceeds the upper limit, the output O = HL is set to 1. If it falls
below the lower limit, the output O = LL is set to 1. In the limiting
state, VPOS(t), VNEG(t) and O(t) are set to the applicable limit value.
The element checks that upper limit value OHL is greater than the
lower limit value OLL. If not, the output ERR is set to 1. While the
error status persists, the outputs O = HL, O = LL and O retain the
values they had in the execution cycle before the error occurred.
8 OHL
9 OLL
ACT
O 10
7 BAL ACT
6 BALREF
I1 O =HL 11
I 1 > I2
I2
I1 O = LI 12
I 1 < I2
I2
I1 ERR 13
I 1 < I2
I2
1 I
2 ST EP+ SLOPE+
3 ST EP- VPOS
1 sec
4 SLOPE+ STEP+
5 SLOPE- t
STEP- VNEG
1 sec
SLOPE-
Table 1 continued
No Name Type Description
10 HYST OR HYSTeresis. The Hysteresis for the stationary
state of the ramp. The Ramp function is not
activated as long as the "DIFF" output value is
within the Hysteresis value.
11 OHL OB Output High Limit. Affects the "I", "O" and
"BALREF " signals.
12 OLL OB Output Low Limit. Affects the "I","O" and
"BALREF " signals.
21 ERR OB ERRor. Set to "1" when the OHL ≤ OLL.
22 O OR S-Ramp Generator Output signal.
23 DIFF OR The DIFFerence between the input "I" and
output "O" signals.
24 DVDT OR DVDT. The actual value of the output signal
first derivative*TS.
(The step of the S-Ramp output per execution
cycle).
25 START OB START. Indication that the Ramp function is
activated.
26 ENDSEC OB END SECtor. Indication of the active end S-
phase of the ramp.
Function The S-ramp function is activated when the absolute value of "DIFF" is
greater then the absolute value of "HYST". The second derivative of
the signal (or in other words the first derivatives rate of change) is
calculated from the parameter "TMSTRTS" and is constant until the
end S-phase is entered. The calculated second derivative is
integrated (accumulated) to a first derivative (DVDT) which is limited
by a parameter MAXSLOPE. DVDT is then integrated (accumulated)
to the output signal "O".
The "HOLD" input overrides the normal ramp operation and freezes
the value of the output "O" signal. The "HOLDS" input overrides the
"normal ramping" by forcing the end S-phase. The overriding does
not disturb the end S-phase that had been already in progress when
"HOLDS" input became active.
With the "BAL" input set to "1" the output signal "O" is immediately
forced to follow the signal value from the "BALREF" input. In that
case the "DVDT", "DIFF", "START" and "ENDSEC" outputs are all set
to "0" and the Hold and Hold_S functions blocked. The value of
"BAL" returning to "0" state reactivates the normal ramp function.
"I" (Input signal)
"TMEENDS" "TMEENDS"
"TMESTRTS" "TMESTRTS"
"DVDT" "MAXSLOPE"TS"
"MAXSLOPE"TS"
"O"(Output signal)
"BALREF"
"DV/DT"
"HOLD" t
"HOLD" t
"BAL" t
Connections Table 1.
Figure 1.
HOLD and HOLDS is used to stop the s-ramp generator. HOLD stop
the s-ramp momentarily without any s-function and HOLDS stops the
s-ramp with an s-function.
When the input BAL is set to true the s-ramp generator is activated
until the output signal O has reached the level of the input signal
BALREF. Then the output signal is following BALREF. The s-ramp
generator is activated when BAL is set to false. It is recommended
that the function which generate the BALREF input signal is executed
with the same cyclicity as RAMP-SSH.
O I BALREF
OHL
OLL
DVDT
ENDSPH
HOLD
HOLDS
FASTSTOP
EMSTOP
BAL
O I BALREF
OHL
OLL
DVDT
ENDSPH
HOLD
HOLDS
FASTSTOP
EMSTOP
BAL
Register REG
REG (C1,C2)
Summary REG (REGister) is used as a 1 S
memory element. The value of 2 > L
the data can be integer, real 3 R
numbers, Boolean or time.
11 I1 12
13 I2 14
Connections Table 2.
No Name Type Description
1 S IB Set. Input for loading of new data each time
the element is executed. When S is set to 0,
the last data loaded remains.
2 L IB Load. Dynamic input for loading of data to the
register. Loading is performed when L goes
to 1.
3 R IB Reset. Input for clearing the register. R
prevents all further entry while it is 1.
11 I1 IC1 Input 1. Input data to position 1.
12 O1 OC1 Output 1. Output data from position 1.
13 I2 IC1 Input 2. Input data to position 2.
14 O2 OC1 Output 2. Output data from position 2.
9+2∗C2 IC2 IC1 Input C2. Input data to position C2.
10+2∗C2 OC2 OC1 Output C2. Output data from position C2.
Function When input L becomes 1, the register is loaded with data from inputs
I1 .. IC2. Data previously in the register is owerwritten. If input S is
set, loading is performed each time the element REG is executed.
When S is reset, the data most recently loaded remains until the
element is executed again, with input S, L or R set. Input S overrides
L so that when input S is set, L has no effect.
Clearing When input R is set, the register is cleared and all further entry is
prevented. R overrides both S and L.
REG
11 I1 O1 12
I1 O1
1 S 1
L
2 L >1
>1 R
13 I2 O2 14
I2 O2
L 2
R
11 I1 O 50
12 I2
10+C2 IC2
Connections Table 2.
No Name Type Description
1 S IB Set. Input for loading new data each time the
element is executed. When S is set to 0, the last
data loaded remains.
2 L IB Load. Dynamic input for loading data to the
register. Loading is performed when L goes to 1.
3 WR IB WRite. Dynamic input for changing data at the
place specified by AWR.
4 AWR IIL Address WRite. Input for address to the data to
be changed according to WR.
5 R IB Reset. Input for clearing the register. R prevents
entry further all while its 1.
6 EXP IGC4 EXPander input. Input for group data to be linked
with data at inputs I1...IC2.
7 AERR OB Address ERRor. Output which is set (to 1) if the
address at AWR is greater than the number of
inputs or is negative.
Table 2 continued
No Name Type Description
11 I1 IC1 Input 1. Input data to position 1.
12 I2 IC1 Input 2. Input data to position 2.
.
.
.
10 + C2 IC2 IC1 Input C2 Input data to position C2.
50 O OGC1 Output. Output for group data.
Function REG-G combines individual variables of the same data type into a
single group variable. The element has an expander input EXP for a
group variable, which can be used when more than C2 variables are
to be linked together.
Normal Assembly When input S is set, data is continuously assembled at the group
variable of the output. The group variable of the output consists firstly
of group data from the input EXP, and then of the values from the
inputs I1 ... IC2. The element acts as a latch when the input S is
reset. The latest data assembled then remains at the output.
Changing of Data One of the ordinary data inputs I1...IC2 is used for changing data at a
specified place in REG-G. The address (integer 1...C2.) of the place
at an Optional at which data is to be changed is stated at the input AWR. The new
Place data value is entered from the input to the specified place when the
input WR goes to 1. If AWR = 0 and the input WR goes to 1, group
data is read from the input EXP to their different places. Places
corresponding to the ordinary inputs are not affected.
Clearing When input R is set, data at all places in the group register are
cleared and all further entry is prevented. R overrides both S and L.
Supervision The address at the input AWR is checked and if its value is greater
than the number of inputs, or is negative, the error signal output
AERR is set. When an error is detected, AERR is set during one
cycle if input WR is set. No place in the register is affected when an
error occurs.
REG-G REG
1
1 S C 1
2 L 1
R
> 1
6 EXP 2
C 2
C4
C 3
R
11 I1
I1 O 50
C I1
1
R
12 I2
I2
C I2
1
R
10 + C2 IC2
IC2
C IC2
1
R
5 R
0
1
3 WR 2
> 1
C2
A > C2
4 AWR ERR 7
or &
A<0
RWM
Summary RWM (Read-Write Memory monitoring) fetches 1 SEL SIZE 11
information about the APC memory usage. It is AFREE 12
used to reveal memory overrun situations before MFREE 13
SQSTAT 14
they occur.
SYSRWM 20
Figure 1.
Call RWM
Connections Table 1.
No Name Type Description Values
1 SEL IB SELection of data to output See table 2.
terminal SIZE.
11 SIZE IB SIZE of data selected by input. Bytes or
Fractions
12 AFREE IB Size of the contiguous Area in Fractions
memory that is FREE.
13 MFREE IIL Total number of Memory Fractions
Fractions that is FREE.
14 SQSTAT IB Memory SQueeze (i.e. 0: squeeze
reorganising the memory to ready
maximise the contiguous free <>0: squeeze
area) STATus. requested or
active (internal
squeeze flags)
20 SYSRWM IGC4 Size of the free SYStem Read- Bytes
Write Memory area for DB
elements.
Function The PC element fetches information about the usage of the AC80
memory. The value in output terminal SIZE depends on the value
connected to the input terminal SEL.
Examples:
• 30 = size of task 3 (TADE+PODE+POLO)
• 152 = SIZE OF PODE of task 15.
SAVE
Summary SAVE PC element provides means for the 1 EN ERR 10
application program to save reference values or 2 I O 11
other semipermanent values to battery secured 3 DEF ERRC 99
Connections Table 1.
No Name Type Description
1 EN IB ENable recording of present input value.
2 I IC1 Input value to be stored.
3 DEF IC1 DEFault value (in case stored value is lost, and
EN=1)
10 ERR OB ERRor indicator.
11 O OC1 Output value (=saved value)
99 ERRC I ERRor Code.
Function The SAVE PC-element reads the value saved in battery backup RAM
to the output O, if the input EN = 0. If the input EN = 1, SAVE writes
the input value from I to battery backup RAM and copies it also to
output O.
The other possible reason for ERR = 1 is such case, there are too
many SAVE instances. The battery backup area in RWM is sufficient
for 100 SAVE blocks (= for 100 saved values)
Note: Using SAVE blocks in AC80 does not require any DB element
for specifying the SAVE area. In fact, there is no such DB element
available.
SHIFT (C1,C2)
Summary Shift register SHIFT is used as a shift register of 2 F/B-N
up to 250 positions. Data can be integers, real 3 > C
numbers, Boolean or time. 4 R
11 IF OB 12
13 IB OF 14
Table 2.
Connections
No Name Type Description
2 F/B-N IB Forward/Backward-N. Input for selection of shift
direction. Shifting is forward when F/B-N=1 and
backward when F/B-N=0.
3 C IB Control. Dynamic input for shifting.
4 R IB Reset. Input for clearing the sift register. All further
shifting is prevented when R=1.
11 IF IC1 Input Forward. Input data with forward shift.
12 OB OC1 Output Backward. Output data with backward shift.
13 IB IC1 Input Backward. Input data with backward shift.
14 OF OC1 Output Forward. Output data with forward shift.
Function
Forward Shift When input C goes to 1 and the input F/B-N is 1, data is shifted
forward in the register and data is read into position 1 from input IF.
Data which was located at output OF before the shifting, is replaced
at the shift forward by data at the next to last position.
Backward Shift When input C goes to 1 and the input F/B-N is 0, data is shifted
backwards in the register and data is read into position C2 from input
IB. Data which was located at output OB before the shifting, is
replaced at the shift backward by data from position 2.
Clearing The input R clears the shift register and prevents all further reading
into the shift register.
2 F/B-N
FORWARD
&
BACKWARD
3 C &
> 1
11 IF OB 12
1 O
1
R
R 2 BACKWARD
FORWARD
13 IB OF 14
1 O
4 R C2
R
Function The slave header SLAVEM is an element header for a slave module.
The numerical identity of the master header associated with the slave
module is specified with the call parameter C1. Numerical identity of a
master header is the second part of its item designation (e.g. if
master header item designation is PC1.4, the identity number is 4).
The cycle time and the priority of the slave module in relation to other
execution units is determined by the master header (see element
MASTER).
The slave modules within the same master are executed in the order
of the documentation.
Reading variables
from the I/O devices
N orm al execution of
F or all slave m odules
elem ents in all slave
of the rela ted M aster.
m odules.
Writing variables to
the I/O dev ices
SQRT
Summary SQRT (SQuare RooT) is used to calculate the square
1 I O 5
root of a real number. The result can be multiplied by 2 K ERR 6
an optional value.
Figure 1.
Call SQRT
Connections Table 1.
No Name Type Description
1 I IR Input. Input for number whose square root is to be
calculated.
2 K IR Input for multiplication factor K.
5 O OR Output. Output for the product of the value at
input K and the square root of the value at input I.
6 ERR OB ERRor. Output which is set if the value at input is
negative.
Function The square root of the value at input I is calculated. The result is
multiplied by the value at input K. The product is stored at the output
O.
Supervision If the value at the input I is negative, the error output ERR is set to 1
and value 0 is stored at the output O.
Memory Element SR
SR
Summary The memory element SR (Set Reset memory) is used as 1 I 5
a memory for Boolean variables. 2 K
Call SR Figure 1.
Connections Table 1.
No Name Type Description
1 S IB Set input
2 R IB Reset input which overrides the set input.
5 - OB Output from the memory element.
Function The element output is set (to 1) if the set input is set at the same time
that the reset input is reset (to 0). If the reset input is set, the output is
unconditionally reset.
1 S 5
1 &
2 R
1 20
Summary Set Reset with AND set gate and AND reset & S
2
gate PC element is used as a memory element
for Boolean variables. C1
11
& R
12
10+C2
Call SR-AA (C1,C2)
Figure 1.
Call Parameters Table 1.
Parameter Description Permissible values
C1 Number of inputs in the set gate. 1...9
C2 Number of inputs in the reset gate. 1...9
Connections Table 2.
No Name Type Description
1 IB Input to the set function.
2 IB Input to the set function.
.
.
.
C1 IB Input to the set function.
11 IB Input to the set function.
12 IB Input to the reset function.
.
.
.
10+C2 IB Input to the reset function.
20 OB Memory element output.
Function The element output O is set to 1 if all the conditions (1...C1) for the
AND set gate are satisfied (set to 1) at the same time at least one of
the conditions (11...C2) for the AND reset gate is not set. If all
conditions for the reset gate are satisfied (all of 11 ...C2 are 1) then
the output is unconditionally reset (to 0). The reset function overrides
the set function.
1 20
> 1
& &
2
C!
11
12 &
10+C2
1 20
Summary Set Reset with AND set gate and OR reset gate & S
2
PC element is used as a memory element for
Boolean variables. C1
11
>1 R
12
10+C2
Call SR-AO (C1,C2)
Figure 1.
Call Parameters Table 1.
Parameter Description Permissible values
C1 Number of inputs in the set gate. 1...9
C2 Number of inputs in the reset gate. 1...9
Connections Table 2.
No Name Type Description
1 IB Input to the set function.
2 IB Input to the set function.
.
.
.
C1 IB Input to the set function.
11 IB Input to the set function.
12 IB Input to the reset function.
.
.
.
10+C2 IB Input to the reset function.
20 OB Memory element output.
Function The element output O is set to 1 if all the conditions (1...C1) for the
AND set gate are satisfied (set to 1) at the same time none of the
conditions (11...C2) for the OR reset gate is set. If any condition for
the reset gate is satisfied (any of 11 ...C2 is 1) then the output is
unconditionally reset (to 0). The reset function overrides the set
function.
1 20
> 1
& &
2
C!
11
12 1
10+C2
Figure 1.
Call SR-D
Connections Table 1.
No Name Type Description
1 S IB Set input
2 D IB Data input
3 C IB Clock. Dynamic input for entry of data from the D-
input.
4 R IB Reset input which overrides all other inputs.
5 - OB Output from the memory element.
Function If only the S and R inputs are used, SR-D functions as an ordinary
SR element. When the input R is reset and the input C goes to 1, the
value at the input D is stored at the output 5. When the input R is set,
the output 5 is unconditionally reset, i.e. R overrides the other inputs.
1 S 5
1 S
2 D
&
3 C
> 1
& 1 R
4 R
1 20
Summary Set Reset with OR set gate and AND reset gate >1 S
2
PC element is used as a memory element for ...
Boolean variables. C1
11
& R
12
...
10+C2
Call SR-OA (C1,C2)
Figure 1.
Call Parameters Table 1.
Parameter Description Permissible values
C1 Number of inputs in the set gate. 1...9
C2 Number of inputs in the reset 1...9
gate.
Connections Table 2.
No Name Type Description
1 IB Input to the Set function.
2 IB Input to the Set function.
.
.
.
C1 IB Input to the set function.
11 IB Input to the reset function.
12 IB Input to the reset function.
.
.
.
10+C2 IB Input to the reset function.
20 OB Memory element output.
1 20
1 > 1
&
2
C!
11
&
12
10+C2
1 20
Summary Set Reset with OR set gate and OR reset gate >1 S
2
PC element is used as a memory element for ...
Boolean variables. C1
11
>1 R
12
...
10+C2
Call SR-OA (C1,C2)
Figure 1.
Call Parameters Table 1.
Parameter Description Permissible values
C1 Number of inputs in the set gate. 1...9
C2 Number of inputs in the reset gate. 1...9
Connections Table 2.
No Name Type Description
1 IB Input to the Set function.
2 IB Input to the Set function.
.
.
.
C1 IB Input to the set function.
11 IB Input to the reset function.
12 IB Input to the reset function.
.
.
.
10+C2 IB Input to the reset function.
20 OB Memory element output.
1 20
1 > 1
&
2
C!
11
1
12
10+C2
Subtractor SUB
Figure 1.
Connections Table 2.
No Name Type Description
1 - IC1 Input for minuend.
2 - IC1 Input for subtrahend.
20 - OC1 Output for difference.
Function The value at input 2 is subtracted from value at input 1 and the result
is stored at output 20.
Overflow If the maximum positive or negative values are exceeded, the output
is limited to the highest or lowest allowable value for the data type.
Switch SW
Figure 1.
Call SW (C1,C2)
Connections Table 2.
No Name Type Description
1 ACT IB ACTivate. Input for activation of the switch.
When the input is set to 1 the switch is activated.
11 - IC1 Input to channel 1 which is connected to the
output for channel 1 when the switch is
activated.
12 - OC1 Output from channel 1.
21 - IC1 Input to channel 2 which is connected to the
output for channel 2 when the switch is
activated.
22 - OC1 Output from channel 2.
.
.
.
10∗C2+1 - IC1 Input to channel C2 which is connected to the
output for channel C2 when the switch is
activated.
10∗C2+2 - OC1 Output from channel C2.
Function When the control input ACT is 0, the output data is 0 according to the
data type. When ACT is set, data comes from the inputs 11 ..
(10*C2 + 1)
Connections Table 2.
No Name Type Description
1 ACT IB ACTivate. Input for activation of the switch.
When the input is set to 1 the switch is
activated.
11 - IC1 Input to channel 1 which is connected to the
output for channel 1 when the switch is
activated.
12 - IC1 Input to channel 1 which is connected to the
output for channel 1 when the switch is not
activated.
13 - IC1 Output from channel 1.
21 - IC1 Input to channel 2 which is connected to the
output for channel 2 when the switch is
activated.
22 - IC1 Input to channel 2 which is connected to the
output for channel 2 when the switch is not
activated.
23 OC1 Output from channel 2.
.
.
.
10xC2+1 IC1 Input to channel C2 which is connected to the
output for channel C2 when the switch is
activated.
Table 2 continued
No Name Type Description
10∗C2+2 - IC1 Input to channel C2 which is connected to the
output for channel C2 when the switch is not
activated.
10∗C2+3 - OC1 Output from channel C2.
Function When the control input ACT is 0, the data from the inputs 12 to
10*C2+2 are connected to the appropriate outputs. When ACT is set,
data comes from the inputs 11 to 10*C2+1.
SYSL (C1)
Summary SYSL (SYStem Load) calculates the system
1 MAXL LOAD 5
load. If the system is overloaded this is
2 HYS OVERL 6
indicated. Inputs and outputs for handling of L>ML 7
maximum load may be selected with a call
parameter. Figure 1.
Connection Table 2.
No Name Type Description
1* MAXL IR MAXimum Load. Input for maximum system
load.
2* HYS IS HYSteris. Input for hysteresis for maximum
system load.
5 LOAD OR Output for system LOAD in percent.
6 OVERL OB OVERLoad. Output that is set to 1 when the
system is fully loaded.
7* L>ML OB Load>Maximum Load. Input that is set to 1
when the load exceeds the value specified the
input MAXL.
*These connections are only included if the call parameter C1 = 1.
Function If the system is fully loaded the output OVERL is set to 1. The system
load in percent (%) is given at the output LOAD. If the call parameter
C1 has been set to 1 the element will have inputs MAXL and HYS, for
maximum load and hysteresis respectively. When the load MAXL is
exceeded the output L>ML is set to one. L>ML is reset when the load
lowers to below MAXL-HYS. If MAXL the MAXL is used. If MAXL or
HYS is negative the value 0 is used.
SYSTIME
Summary SYSTIME is used to get actual time and date. MILLI 5
SECOND 6
MINUTE 7
HOUR 8
DAY 11
MONTH 12
YEAR 13
Call SYSTIME WEEKDAY 16
Table 2. Figure 1.
Connections
No Name Type Description
5 MILLI OI Output for MILLIsecond (0...999).
6 SECOND OI Output for SECOND (0...59).
7 MINUTE OI Output for MINUTE (0...59).
8 HOUR OI Output for HOUR (0...23).
11 DAY OI Output for DAY of month (1...31).
12 MONTH OI Output for MONTH (1...12).
13 YEAR OI Output for YEAR (>=1990).
16 WEEKDAY OI Output for DAY of WEEK (1...7):
Monday = 1,...,
Sunday = 7
Function Actual system time and date are output at the terminals of the PC
element.
Connections Table 2.
No Name Type Description
1 - IB Input for the first Boolean value.
2 - IB Input for the second Boolean value.
.
.
.
C2 - IB Input for the last Boolean value.
20 - OB Output which is set to 1 if C1 or more of the inputs
1...C2 are set.
Figure 1.
Call TOFF
Connections Table 1.
No Name Type Description
1 I IB Input for start of time delay.
2 TD IT Time Delay. Input for preset time. Max 23h 59m
59.999s.
5 O OB Output. Output which is reset when the preset
time (TD) has elapsed.
6 TE OT Time Elapsed. Output which specifies how long I
has been reset. When the preset time (TD) has
elapsed, TE stops.
Function The value at the input I is delayed at the output O when the input
value changes from 1...0 in accordance with the time pulse diagram,
figure 2. The output value returns to 1 when the input value changes
from 0 to 1.
Figure 2. Example of Time Diagram for TOFF with Preset Time 3s.
Figure 1.
Call TON
Connections Table 1.
No Name Type Description
1 I IB Input for start of time delay.
2 TD IT Time Delay. Input for preset time. Max 23h 59m
59.999s.
5 O OB Output. Output which is set when the preset time
(TD) has elapsed.
6 TE OT Time Elapsed. Output which specifies how long I
has been set. When the preset time (TD) has
elapsed, TE stops.
Function The value at the input I is delayed at the output O when the input I
value changes from 0...1 in accordance with the time pulse diagram,
figure 2. The output value returns to 0 when the input value changes
from 1...0.
Figure 2. Example of Time Diagram for TON with Preset Time 3s.
Call TON-RET
Connections Table 1.
No Name Type Description
1 I IB Input for start of time delay when the input changes
from 0 to 1. The time circuit maintains its status
even when the input returns to 0.
2 R IB Reset. Input which resets the timer. R must be reset
(to 0) for the timer to function.
3 TD IT Time Delay. Input for preset time. Max 23h 59m
59.999s.
5 O OB Output. Output which is set when the preset time
(TD) has elapsed.
6 TE OT Time Elapsed. Output which specifies how long I
has been set to 1. When the preset time (TD) has
elapsed, TE stops.
Function The value of the input I is delayed at the output O when the input I
value changes from 0 to 1 in accordance with the time pulse diagram
(figure 2). If the input I value returns to 0, the time which has elapsed
remains in the timer and when the value returns to 1, the time
continues from the value which applied when the input I variable went
to 0. The input R must be reset (to 0) when the timer functions. If R is
set (to 1) both outputs O and TE are reset.
1s
= 3s
I
0
1
R
0
1
O
0
0 1 2 3 4 5 6 7 8 9 10
Call TRIGG
Connections Table 1.
No Name Type Description
1 - IB Input for start of trigger pulse.
5 - OB Output for trigger pulse.
Function When the input signal is set, the output signal is also set. The output
signal is cleared at the next program cycle, irrespective of the value
of the input signal. For the output signal to be set, the input signal
must have been 0 for the duration of one program cycle. The output
signal from the element may only be used within its own execution
unit, otherwise, detection of it cannot be guaranteed.
WDOG80
Summary WDOG80 PC element provides means for the ALIVE 1
application program to be continuously aware of COUNTER 2
running status (=health) of NCB board.
Figure 1.
Call WDOG80
Connections Table 1.
No Name Type Description
1 ALIVE OB NCB board ALIVE or not.
2 COUNTER OI Contents of NCB watchdog COUNTER in
Dualport Memory.
Figure 1.
Call XOR
Connections Table 1.
No Name Type Description
1 - IB Input.
2 - IB Input.
5 - OB Output.
Function The output signal from the XOR element is 1 if the input signals are
different and 0 if they are equal, see table 2 below.
AI Module AI810,AI820
AI Module:
AI800_1 NAME WARNING
0 BUS ERR
0 STATION DIAG
0 POSITION
1 IMPL
AI810 TYPE
50Hz GRIDFREQ
4...20mA CONV_PAR
Figure 1.
Terminal Table 1.
Description 1 = Terminal Name, 2 = Value Entered by, 3 = Default Value
4 = PC Connection Data Type, 5 = Description, 6 = Remarks
1 2 3 4 5 6
NAME user AI800_x - Unique NAME of the I/O Max 20
module. characters
BUS predef 0 - BUS number. Part of -
address.
Table 1 continued
1 = Terminal Name, 2 = Value Entered by, 3 = Default Value
4 = PC Connection Data Type, 5 = Description, 6 = Remarks
1 2 3 4 5 6
STATION predef STATION number. Part of
address.
POSITION user POSITION. Part of
address.
IMPL user 1 B(r) IMPLemented.
0 = the module is spare
1 = the module is
implemented
TYPE predef AI810/ Module TYPE designation.
AI820
GRIDFREQ user 50Hz GRIDFREQuency.
Values: 16 2/3Hz,
50Hz, 60Hz.
CONV_PAR user 4-20mA - CONVersion PARameter. The comma
Default value for the I/O before “LL”
signal elements: in some of
0...20mA, the values
4...20mA, is part of the
0...10V, string value.
2...10V,
0...20mA,LL,
4...20mA,LL,
0...10V,LL,
2...10V,LL.
WARNING system - B(r) WARNING indicates a -
non-fatal error.
ERR system - B(r) ERRor indicates fatal -
errors, such as
configuration errors or
hardware error.
DIAG system - I(r) DIAGnostics.
Summary The RTD Module Data Base element specifies an Analog Input RTD
hardware module of type AI830 contained in an Advant FieldBus 100
I/O station. The data base element is superior to the signal elements
associated to the RTD input channels in the module and contais
diagnostic information of the I/O module:
RTD Module:
AI800_2 NAME WARNING
0 BUS ERR
0 STATION DIAG
0 POSITION
1 IMPL
AI830 TYPE
50Hz GRIDFREQ
Pt100,850C CONV_PAR
Figure 1.
Terminal Table 1.
Description 1 = Terminal Name, 2 = Value Entered by, 3 = Default Value
4 = PC Connection Data Type, 5 = Description, 6 = Remarks
1 2 3 4 5 6
NAME user AI800_x - Unique NAME of the I/O Max 20
module. characters
BUS predef 0 - BUS number. Part of -
address.
STATION predef 0 - STATION number. Part of -
address.
POSITION user 0 - POSITION. Part of -
address.
Table 1 continued
1 = Terminal Name, 2 = Value Entered by, 3 = Default Value
4 = PC Connection Data Type, 5 = Description, 6 = Remarks
1 2 3 4 5 6
IMPL user 1 B(r) IMPLemented.
0 = the module is spare
1 = the module is
implemented
TYPE predef AI810/ Module TYPE designation.
AI820
GRIDFREQ user 50Hz GRIDFREQuency.
Values: 50Hz, 60Hz.
CONV_PAR user 4-20mA - CONVersion PARameter. Modification
Default value for the I/O denied after
signal elements: See the creation.
table “Conversion
Parameters” below.
WARNING system - B(r) WARNING indicates a non -
fatal error.
ERR system - B(r) ERRor indicates fatal
error, such as
configuration errors or
hardware errors.
DIAG system - I(r) DIAGnostics.
Conversion Table 2.
Parameters Value
1
Range Value
1
Range
Pt100,80C -80...80°C Pt100,176F -112...176°F
Pt100,250C -112...250°C Pt100,482F -328...482°F
Pt100,850C -200...850°C Pt100,1562F -328...1562°F
Ni100,180C -60...180°C Ni100,356F -76...356°F
Ni120,260C -80..260°C Ni120,500F -112...500°F
Cu10,260C -100...260°C Cu10,500F -142...500°F
Resistor,400 0...400Ω
1
( ) All values include a comma.
TC Module AI835
TC Module:
AI800_3 NAME WARNING
0 BUS ERR
0 STATION DIAG
0 POSITION
1 IMPL
AI835 TYPE
50Hz GRIDFREQ
J,C TC_TYPE
0 CJC
30.0C FJT
Figure 1.
Terminal Table 1.
Description 1 = Terminal Name, 2 = Value Entered by, 3 = Default Value
4 = PC Connection Data Type, 5 = Description, 6 = Remarks
1 2 3 4 5 6
NAME user AI800_x - Unique NAME of the I/O Max 20
module. characters
BUS predef 0 - BUS number. Part of -
address.
STATION predef 0 - STATION number. Part of -
address.
POSITION user 0 - POSITION. Part of -
address.
Table 1 continued
1 = Terminal Name, 2 = Value Entered by, 3 = Default Value
4 = PC Connection Data Type, 5 = Description, 6 = Remarks
1 2 3 4 5 6
IMPL user 1 B(r) IMPLemented.
0=the module is spare
Module TYPE designation
1=the module is implemented
TYPE prefed AI835 Module TYPE designation
GRIDFREQ user 50Hz GRIDFREQuency.
Values: 50Hz, 60Hz.
TC_TYPE user J,C - ThermoCouple TYPE. Both for
Default value for the I/O Celsius and
signal elements. Values: See Fahrenheit.
the table “TC-Types” below. Modification
denied after
creation.
CJC user 0 Cold Junction Compensation Modification
Values 0=Cold Junction: denied after
Compensation =Fixed creation.
Junction Compensation
FJT user 30.0C Fixed Junction Temperature.
Values:
-40.0C to 100.0C or
-40.0F to 212.0F.
WARNING system - B(r) WARNING indicates a non -
fatal error.
ERR system - B(r) ERRor indicates fatal errors,
such as configuration errors
or hardware errors.
DIAG system - I(r) DIAGnostics.
TC-Types Table 2.
1 1
Value Range Value Range
B,C 0...1820°C B,F 32...3308°F
C,C 0...2300°C C,F 32...4172°F
E,C -270...1000°C E,F -454...1832°F
J,C -210...1200°C J,F -346...2192°F
K,C -270...1372°C K,F -454...2501.6°F
N,C -270...1300°C N,F -454...2372°F
R,C -50...1769°C R,F -58...3216.2°F
S,C -50...1769°C S,F -60...3216.2°F
T,C -270...400°C T,F -454...752°F
Pt100,C -40...100°C Pt100,F -40...212°F
Linear -75...75mV
Overview
AI Calculated: Base Part Limit Check
Figure 1.
Figure 2.
Terminal Table 1.
Description, 1 = Terminal Name, 2 = Value Entered by, 3 = Default Value
4 = PC Connection Data Type, 5 = Description, 6 = Remarks
Base Part
1 2 3 4 5 6
NAME user AICx Unique module NAME. Max 20 characters.
ACT user 1 The element is: Element must be
0 = spare referenced by an EVS(S)
1 = ACTive when ACT=1.
Table 1 continued
1 = Terminal Name, 2 = Value Entered by, 3 = Default Value
4 = PC Connection Data Type, 5 = Description, 6 = Remarks
1 2 3 4 5 6
NORM_TR user/ 0 B(r/w) NORMal TReatment. Not allowed
PC 0=event detection to change
disabled on-line.
1=event detection enabled
AL_DIAL user 0 DIAL the master on RCOM
ALarm. only.
0=no dial on alarm
1=dial on alarm
SCANT user 640ms SCAN Time for event
recording. Values: 10ms,
20ms, 40ms, 80ms,
160ms, 320ms,
640ms,1280ms, 2560ms,
5120ms, 10240ms,
20480ms,40960ms,
81920ms, 163840ms,
327680ms.
ERR system B(r) ERRor flag indicating fatal
errors.
VALUE PC 0 R(r/w) Signal VALUE (is watched
for events).
0 EN_HI2
90.0 HI_LIM2
0 EN_HI1
80.0 HI_LIM1
0 EN_LO1
-80.0 LO_LIM1
0 EN_LO2
-90.0 LO_LIM2
5.0 HYST
Figure 3.
Terminal Table 2.
Description, 1 = Terminal Name, 2 = Value Entered by, 3 = Default Value
4 = PC Connection Data Type, 5 = Description, 6 = Remarks
Limit Check
1 2 3 4 5 6
EN_HI2 user/ 0x B(r/w) ENables High limit no. 2 for Not allowed
PC event generation. to change
0=disable on-line.
1=enable
HI_LIM2 user/ 90.0 R(r/w) HIgh LIMit no.2 for event Not allowed
PC generation of VALUE. to change
on-line.
EN_HI1 user/ 0 B(r/w) ENables HIgh limit no. 1 for Not allowed
PC event generation. to change
0=disable on-line.
1=enable
HI_LIM1 user/ 80.0 R(r/w) HIgh LIMit no. 1 for event Not allowed
PC generation of VALUE. to change
on-line.
EN_LO1 user/ 0 B(r/w) ENables LOw limit no. 1 for Not allowed
PC event generation of VALUE. to change
on-line.
LO_LIM1 user/ -80.0 R(r/w) LOw LIMit no.1 for event Not allowed
PC generation of VALUE. to change
on-line.
EN_LO2 user/ 0 B(r/w) ENables LOw limit no. 2 for Not allowed
PC event generation. to change
0=disable on-line.
1=enable
LO_LIM2 user/ -90.0 R(r/w) LOw LIMit no.2 for event Not allowed
PC generation of VALUE. to change
on-line.
HYST user/ 5.0 R(r/w) HYSTeresis for limit check. ≥0.0
PC Not allowed
to change
on-line.
AO Module AO810,AO820
AI Module:
AI800_1 NAME WARNING
0 BUS ERR
0 STATION DIAG
0 POSITION
1 IMPL
AI810 TYPE
50Hz GRIDFREQ
4...20mA CONV_PAR
Figure 1.
Terminal Table 1.
Description 1 = Terminal Name, 2 = Value Entered by, 3 = Default Value
4 = PC Connection Data Type, 5 = Description, 6 = Remarks
1 2 3 4 5 6
NAME user AI800_x - Unique NAME of the I/O Max 20
module. characters
BUS predef 0 - BUS number. Part of -
address.
STATION predef 0 - STATION number. Part of
address.
POSITION user 0 - POSITION. Part of
address.
IMPL user 1 IMPLemented.
0 = the module is spare
1 = the module is
implemented
Table 1 continued
1 = Terminal Name, 2 = Value Entered by, 3 = Default Value
4 = PC Connection Data Type, 5 = Description, 6 = Remarks
1 2 3 4 5 6
TYPE predef AO810/ Module TYPE See call
AO820 designation. name
CONV_PAR user 4-20mA - CONVersion PARameter. Modification
Default value for the I/O denied after
signal elements: creation.
0...20mA,
4...20mA,
WARNING system - B(r) WARNING indicates a -
non-fatal error.
ERR system - B(r) ERRor indicates fatal
errors, such as
configuration errors or
hardware errors.
DIAG system - I(r) DIAGnostics.
Summary The DAT(B) Data Base element holds 32 packed Boolean Data
values. The data values are given a name and a valid flag. By means
of the call name DAT(B) the Engineering Station will create 1 data
base element of type Boolean Data.
Overview
Boolean Base Part VALUE11-VALUE20 VALUE21-VALUE32
Data:
NAME VALID VALUE11 VALUE21
VALUE VALUE12 VALUE22
VALUE2 VALUE13 VALUE23
VALUE3 VALUE14 VALUE24
VALUE4 VALUE15 VALUE25
VALUE5 VALUE16 VALUE26
VALUE6 VALUE17 VALUE27
VALUE7 VALUE18 VALUE28
VALUE8 VALUE19 VALUE29
VALUE9 VALUE20 VALUE30
VALUE10 VALUE31
VALUE32
Figure 1.
Figure 2.
Table 1.
Terminal
1 = Terminal Name, 2 = Value Entered by, 3 = Default Value
Description, 4 = PC Connection Data Type, 5 = Description, 6 = Remarks
Base Part
1 2 3 4 5 6
NAME user * B(r/w) Unique element NAME. Max 20
Default name from superior characters.
Data Set element. When Example if DSP
created independently is named
default name is DATx. SET1:SET1.B1
VALID PC 0 B(r/w) VALID. Can be set by PC
element (or MMI,...).
VALUE system B(r/w) Boolean VALUE.
VALUE2 system B( r ) Boolean VALUE.
.
.
.
VALUE10 system B(r/w) Boolean VALUE.
Figure 3.
Figure 4.
Table 2.
Terminal
1 = Terminal Name, 2 = Value Entered by, 3 = Default Value
Description, 4 = PC Connection Data Type, 5 = Description, 6 = Remarks
VALUE11-
1 2 3 4 5 6
VALUE32 VALUE11 system - B(r/w) Boolean VALUE.
VALUE12 system - B(r/w) Boolean VALUE.
.
.
.
VALUE32 system - B(r/w) Boolean VALUE.
Summary The DAT(I) Data Base element holds one 16 bit integer data value.
The data value is given a name and a valid flag. By means of the call
name DAT(I) the Engineering Station will create 1 data base element
of type Integer Data.
Integer Data:
SET1.14 NAME VALID
VALUE
Figure 1.
Terminal Table 1.
Description 1 = Terminal Name, 2 = Value Entered by, 3 = Default Value
4 = PC Connection Data Type, 5 = Description, 6 = Remarks
1 2 3 4 5 6
NAME user * Unique element NAME. Max 20
Default name from superior characters.
Data Set element. When Example if DSP
created independently is named
default name is DATx. SET1:SET1.B1
VALID PC 0 B(r/w) VALID flag. Can be set by
PC element (or MMI,...).
VALUE system I(r/w) VALUE of type Integer.
Summary The DAT(II) Data Base element holds two 16 bit integer values. The
data values are given a name and a valid flag. The element can not
be created automatically by a DSP. By means of the call name
DAT(II) the Engineering Station will create 1 data base element of
type Packed Integer Data.
Figure 1.
Terminal Table 1.
Description 1 = Terminal Name, 2 = Value Entered by, 3 = Default Value
4 = PC Connection Data Type, 5 = Description, 6 = Remarks
1 2 3 4 5 6
NAME user DATx Unique element NAME. Max 19
characters.
SCA_FTR user 1 SCAling FacTorR for
VALUE. Allowed values:
0.001, 0.01, 0.1, 1, 10,
100, 1000.
SCA_FTR2 system 1 SCAling FacTorR for
VALUE2. Allowed values:
0.001, 0.01, 0.1, 1, 10,
100, 1000.
VALID PC 0 B(r/w) VALID flag. Can be set
by PC element (or MMI).
VALUE system - I(r/w) VALUE of type Integer.
VALUE2 system - I(r/w) VALUE number 2 of type
Integer.
Summary The DAT(IL) Data Base element contains one 32 bit integer data
value. The data value is given a name and a valid flag. By means of
the call name DAT(IL) the Engineering Station will create 1 data base
element of type IntegerLong Data.
IntegerLong Data:
SET1.IL7 NAME VALID
VALUE
Figure 1.
Terminal Table 1.
Description 1 = Terminal Name, 2 = Value Entered by, 3 = Default Value
4 = PC Connection Data Type, 5 = Description, 6 = Remarks
1 2 3 4 5 6
NAME user * Unique element NAME. Max 20
Default name from superior characters.
Data Set element. When Example if DSP
created independently is named SET1:
default name is DATx. SET1.IL1
VALID PC 0 B(r/w) VALID flag. Can be set by
PC element (or MMI):
VALUE system IL(r/w) VALUE of type
IntegerLong.
Summary The DAT(R) Data Base element holds one real dat value. The data
value is given a name and a valid flag. By means of the call name
DAT(R) the Engineering Station will create 1 data base element of
type Real Data.
Real Data:
SET1.R2 NAME VALID
VALUE
Figure 1.
Terminal Table 1.
Description 1 = Terminal Name, 2 = Value Entered by, 3 = Default Value
4 = PC Connection Data Type, 5 = Description, 6 = Remarks
1 2 3 4 5 6
NAME user * Unique element NAME. Max 20
Default name from superior characters.
Data Set element. When Example if DSP
created independently is named SET1:
default name is DATx. SET1.R1
VALID PC 0 B(r/w) VALID flag. Can be set by
PC element (or MMI):
VALUE system R(r/w) VALUE of type Real..
Summary The DCB01 Data Base element is necessary for initialization and
usage of an optional FBA module of AC80. (FBA acronym comes
from FieldBus Adapter. The name DCB01 comes from former APC-
systems, where respective boards were called DCB boards = Drive
Communication Boards.)
Most of the FBA modules will be "single channel" type (= use channel
#1). But it is possible to specify also the second channel (with same
or different VCI size) with DCB01 (if the FBA module supports 2
channels).
Overview
DCB Link: Base Part Channels Par.Adjustments 1..
Figure 1.
Figure 2.
Terminal Table 1.
Description, 1 = Terminal Name, 2 = Value Entered by, 3 = Default Value
4 = PC Connection Data Type, 5 = Description, 6 = Remarks
Base Part
1 2 3 4 5 6
NAME user DCB Unique element NAME. Max 20
characters.
FBATYPE user NFBA_xx TYPE of the FBA module
(a string converted to a
number).
PROTOCOL user 10 A code number to specify
the desired PROTOCOL.
Figure 3.
Terminal Table 2.
Description, 1 = Terminal Name, 2 = Value Entered by, 3 = Default Value
4 = PC Connection Data Type, 5 = Description, 6 = Remarks
Channels
1 2 3 4 5 6
RECS1 user 0 Number of data buffers (1)
(VCIs) for channel #1.
RECSIZE1 user 12 Size of a data buffer (VCI) for channel #1 (1)
(in bytes).
RECS2 user 0 Number of data buffers (VCIs) for channel (1)
#2.
RECSIZE2 user 0 Size of a data buffer (VCI) for channel #2 (1)
(in bytes).
(Note, that RECS2 > 0 or RECSIZE2 > 0 are allowed values with
dual channel FBAs only).
Table 3. Valid strings for the protocol and respective integer codes in
DCBAID.
String Code
NFBA_xx 0
NPBA_80 141
1.. 0 IND1
0 VAL1
0 IND2
0 VAL2
0 IND3
0 VAL3
0 IND4
0 VAL4
0 IND5
0 VAL5
0 IND6
0 VAL6
0 IND7
0 VAL7
0 IND8
0 VAL8
0 IND9
0 VAL9
Figure 4.
Terminal Table 4.
Description, Par. 1 = Terminal Name, 2 = Value Entered by, 3 = Default Value
4 = PC Connection Data Type, 5 = Description, 6 = Remarks
Adjustments 1..
1 2 3 4 5 6
IND1 user 0 INDx = index of the parameter to By means of
be changed. INDx…VALx
0…40 combinations
some default
values of DCB
parameters can
be changed.
VAL1 user 0 VALx = new value for the
parameter.
IND2 user 0
VAL2 user 0
IND3 user 0
VAL3 user 0
IND4 user 0
VAL4. user 0
.
.
.
IND30 user 0
VAL30 user 0
DI Module DI810,DI811,DI820,DI821
Summary The DI module Data Base element specifies a Digital Input hardware
module of type DI810, DI811, DI820 or DI821 contained in an Advant
FieldBus 100 I/O station. The data base element is superior to the
siganal elements associated to the digital input channels in the
module and contains diagnostic information of the I/O module.
DI Module:
DI800_1 NAME WARNING
0 BUS ERR
0 STATION DIAG
0 POSITION
1 IMPL
DI810 TYPE
8 FILT
NO SUP
64 INSCANT
Figure 1.
Terminal Table 1.
Description 1 = Terminal Name, 2 = Value Entered by, 3 = Default Value
4 = PC Connection Data Type, 5 = Description, 6 = Remarks
1 2 3 4 5 6
NAME user DI800_x Unique NAME of the I/O Max 20
module. characters.
BUS predef 0 BUS number. Part of
address.
STATION predef 0 STATION number. Part
of address.
POSITION user 0 POSITION. Part of
address.
IMPL user 1 B(r) IMPLemented.
0=the module is spare
1=the module is
implemented
Table 1 continued
1 = Terminal Name, 2 = Value Entered by, 3 = Default Value
4 = PC Connection Data Type, 5 = Description, 6 = Remarks
1 2 3 4 5 6
TYPE predef DI810/ Module TYPE
DI811/ designation.
DI820/
DI821
FILT user 8 On/off delay FILTer time The actual
in ms. Values: 2,4,8 and filter time may
16. vary in the
following
intervals:
2…3 ms,
4…6 ms,
8…12 ms and
16…24 ms.
SUP user NO Sensor power
SUPervision of channel
group 1 and 2. Values:
YES=enabled
NO= not enabled
INSCANT user 64 SCANner cycle time on
AF 100 for INcoming
values. Allowed
values:1,2,4,8,16,32,64,
128,256,512,1024,2048,
4096.
WARNING system B(r) WARNING indicates a
non-fatal error.
ERR system B(r) ERRor indicates fatal
errors, such as
configuration errors or
hardware errors.
DIAG system I(r) DIAGnostics.
Figure 1.
Terminal Table 1.
Description 1 = Terminal Name, 2 = Value Entered by, 3 = Default Value
4 = PC Connection Data Type, 5 = Description, 6 = Remarks
1 2 3 4 5 6
NAME user DICx Unique NAME of the Max 20
event channel. characters.
ACT user 1 B(r/w) Element is: Element must
0= not ACTive be referenced
1=ACTive by an EVS(S)
when ACT=1.
NORM_TR user/ 0 NORMal TReatment. Not allowed to
PC 0=event detection change on-
disabled line.
1=event detection
enabled
NORM_POS user 0 NORMal POSition for
this channel.
AL_DIAL user 0 B(r) DIAL the master on RCOM only.
ALarm.
0=no dial on alarm
1=dial on alarm
Table 1 continued.
1 = Terminal Name, 2 = Value Entered by, 3 = Default Value
4 = PC Connection Data Type, 5 = Description, 6 = Remarks
1 2 3 4 5 6
SCANT user 640ms SCAN Time for event
detection. Values: 10ms,
20ms, 40ms, 80ms, 160ms,
320ms, 640ms, 1280ms,
2560ms, 5120ms, 10240ms,
20480ms, 40960ms,
81920ms, 163840ms,
327680ms.
FILT_FTR user 0 FILTer time FacToR. 0…32
The filter time = FILT_FTR x
SCANT is the duration of a
value change before the
change is accepted as event.
VALUE PC 0 B(r/w) Signal VALUE (is watched for
events).
ERR system B(r)
DO Module:
DO800_1 NAME WARNING
0 BUS ERR
0 STATION DIAG
0 POSITION
1 IMPL
DO810 TYPE
NO SUP
Figure 1.
Terminal Table 1.
Description 1 = Terminal Name, 2 = Value Entered by, 3 = Default Value
4 = PC Connection Data Type, 5 = Description, 6 = Remarks
1 2 3 4 5 6
NAME user DO800_x Unique NAME of the I/O Max 20
module. characters.
BUS predef 0 BUS number. Part of
address.
STATION predef 0 STATION number. Part
of address.
POSITION user 0 POSITION. Part of
address.
IMPL user 1 B(r) IMPLemented.
0=the module is spare
1=the module is
implemented
TYPE predef DO810 Module TYPE
designation: DO810 or
Do820
Table 1 continued
1 = Terminal Name, 2 = Value Entered by, 3 = Default Value
4 = PC Connection Data Type, 5 = Description, 6 = Remarks
1 2 3 4 5 6
SUP user NO Sensor power
SUPervision of channel
group 1 and 2. Values:
YES=enabled
NO=not enabled
WARNING system B(r) WARNING indicates a
non-fatal error.
ERR system B(r) ERRor indicates fatal
errors, such as
configuration errors or
hardware errors.
DIAG system I(r) DIAGnostics.
DRB00
DRNR5 DRNR9
DRTYPE5 DRTYPE9
APPID5 APPID9
DRNR6 DRNR10
DRTYPE6 DRTYPE10
APPID6 APPID10
DRNR7 DRNR11
DRTYPE7 DRTYPE11
APPID7 APPID11
DRNR8 DRNR12
DRTYPE8 DRTYPE12
APPID8 APPID12
Figure 1.
Terminal Table 1.
Description 1 = Terminal Name, 2 = Value Entered by, 3 = Default Value
4 = PC Connection Data Type, 5 = Description, 6 = Remarks
1 2 3 4 5 6
DRNR1 system 1 Physical DRive NumbeR of the
first drive
(this number must be set in the
drive)
DRTYPE1 user NO_DRIVE DRive TYPE of the first drive
(NO_DRIVE or ACS600)
Table 1 continued
1 = Terminal Name, 2 = Value Entered by, 3 = Default Value
4 = PC Connection Data Type, 5 = Description, 6 = Remarks
1 2 3 4 5 6
APPID1 user 0 APPlication IDentification
number of the first drive
(see section "Application
Identifiers").
DRNR2 system 2 Physical DRive NumbeR
of the second drive.
DRTYPE2 user NO_DRIVE DRive TYPE of the
second drive.
APPID2 user 0 APPlication IDentification
number of the second
drive.
.
.
.
DRNR12 system 12
DRTYPE12 user NO_DRIVE DRive TYPE of the 12th
drive.
APPID12 user 0 APPlication IDentification
number of the 12th drive.
Note: The terminals indicated as “Entered by the system” are not
modifiable by the USER.
Note: Application Identifiers are not currently used (the only legal
value of an APPIDn input is the default value 0).
Summary The Drive Data Set element is referenced by the Engineered drive
Data Base element. It specifies a data package to be exchanged
cyclicly with the drive.
Figure 1.
Terminal Table 1.
Description 1 = Terminal Name, 2 = Value Entered by, 3 = Default Value
4 = PC Connection Data Type, 5 = Description, 6 = Remarks
1 2 3 4 5 6
NAME user DRIDSx Unique NAME of the data Max 20
set. characters.
ACT user 1 Element is: Element must
0 = not ACTive be referenced
1 = ACTive by an EVS(S)
when ACT=1.
DS_NO user 1 I(r) Data Set Number. 1…255
WR_ENA system B(r/w) WRiting ENAbled.
Enables writing the Drive
Data Set.
I1 system I(r/w) Integer 1 of the data set
transmitted.
I2 system I(r/w) Integer 2 of the data set
transmitted.
I3 system I(r/w) Integer 3 of the data set
transmitted.
O1 system I(r/w) Integer 1 of the data set
received.
O2 system I(r/w) Integer 2 of the data set
received.
O3 system I(r/w) Integer 3 of the data set
received.
Overview
Engineered Base Part Parameter Part Reference Part
Drive:
NAME WARNING APPID SPEEDSF REF1
BUS ERR NOMSPEED REF2
STATION DIAG NOMVOLT REF3
POSITION NOMPOWER REF4
IMPL REF5
TYPE REF6
REF7
REF8
REF9
REF10
Figure 1.
Figure 2.
Terminal Table 1.
Description, 1 = Terminal Name, 2 = Value Entered by, 3 = Default Value
4 = PC Connection Data Type, 5 = Description, 6 = Remarks
Base Part
1 2 3 4 5 6
NAME user DRIENGx Unique NAME of the Max 20
drive. characters.
BUS predef 0 BUS number.Part of
address.
STATION predef 0 STATION number. Part of
address.
POSITION user 0 POSITION. Part of
address.
Table 1 continued
1 = Terminal Name, 2 = Value Entered by, 3 = Default Value
4 = PC Connection Data Type, 5 = Description, 6 = Remarks
1 2 3 4 5 6
IMPL user 1 IMPLemented.
0=the drive is spare
1=the drive is
implemented
TYPE user ACS600 I(r/w) Module TYPE. Max. 10
ENG characters.
WARNING system B(r) WARNING flag indicating
non-fatal errors.
ERR system B(r) ERRor flag indicating fatal
errors.
DIAG system I(r) DIAGnostics.
0 APPID SPEEDSF
NOMSPEED
NOMVOLT
NOMPOWER
Figure 3.
Terminal Table 2.
Description, 1 = Terminal Name, 2 = Value Entered by, 3 = Default Value
4 = PC Connection Data Type, 5 = Description, 6 = Remarks
Parameter Part
1 2 3 4 5 6
APPID user 0 APPlication IDentity which
has to match with the
application identity in the
drive.
0:no match is required
>0: match is required
SPEEDSF system I(r) SPEED Scale Factor is Updated from
used in calculations to get drive when
the rpm of the motor. IMPL=1 during
configuration.
NOMSPEED NOMinal SPEED of motor. Updated from
This value can be used by drive when
the application in IMPL=1 during
calculations of the actual configuration.
speed.
Table 2 continued
1 = Terminal Name, 2 = Value Entered by, 3 = Default Value
4 = PC Connection Data Type, 5 = Description, 6 = Remarks
1 2 3 4 5 6
NOMSPEED system I(r) NOMinal SPEED of Updated from
motor. This value can be drive when
used by the application in IMPL=1 during
calculations of the actual configuration.
speed.
NOMVOLT system I(r) NOMinal VOLTage of the Updated from
motor. This value can be drive when
used by the application in IMPL=1 during
calculations of the actual configuration.
voltage.
NOMPOWER system R(r) NOMinal POWER of the Updated from
motor. This value can be drive when
used by the application in IMPL=1 during
calculationsof the actual configuration.
power.
REF1
REF2
REF3
REF4
REF5
REF6
REF7
REF8
REF9
REF10
Figure 4.
Terminal Table 3.
Description, 1 = Terminal Name, 2 = Value Entered by, 3 = Default Value
4 = PC Connection Data Type, 5 = Description, 6 = Remarks
Reference Part
1 2 3 4 5 6
REF1 user REFerence 1 to a DRIDS Maximum 20
element. characters.
REF2 user REFerence 2 to a DRIDS Maximum 20
element. characters
.
.
.
REF10 user REFerence 10 to a DRIDS Maximum 20
element. characters.
Summary The DRISTD Data Base element specifies a Standard drive hardware
module on the module bus. By means of the call name DRISTD an
Engineering Station will create 1 data base element of type Standard
drive.
Overview
Standard Base Part Parameter Part Reference Part
Drive:
NAME WARNING SPEEDSF REF1
BUS ERR NOMSPEED REF2
STATION DIAG NOMVOLT
POSITION NOMPOWER
IMPL
TYPE
Figure 1.
Figure 2.
Terminal Table 1.
Description, 1 = Terminal Name, 2 = Value Entered by, 3 = Default Value
4 = PC Connection Data Type, 5 = Description, 6 = Remarks
Base Part
1 2 3 4 5 6
NAME user DRISTDx Unique NAME of the Max. 20
drive. characters
BUS predef 0 BUS number. Part of
address.
STATION predef 0 STATION number. Part of
address.
POSITION user 0 POSITION. Part of
address.
IMPL user 1 IMPLemented.
0=the drive is spare
1=the drive is
implemented
Table 1 continued
1 = Terminal Name, 2 = Value Entered by, 3 = Default Value
4 = PC Connection Data Type, 5 = Description, 6 = Remarks
1 2 3 4 5 6
TYPE user ACS600 Module TYPE. Max. 10
STD characters.
WARNING system B(r) WARNING flag indicating
non-fatal errors.
ERR system B(r) ERRor flag indicating fatal
error.
DIAG system I(r) DIAGnostics.
SPEEDSF
NOMSPEED
NOMVOLT
NOMPOWER
Figure 3.
Terminal Table 2.
Description, 1 = Terminal Name, 2 = Value Entered by, 3 = Default Value
4 = PC Connection Data Type, 5 = Description, 6 = Remarks
Parameter Part
1 2 3 4 5 6
SPEEDSF system I(r) SPEED Scale Factor is Updated from
used in calculations to get drive when
the rpm of the motor. IMPL=1 during
configuration
NOMSPEED system I(r) NOMinal SPEED of motor. Updated from
This value can be used by drive when
the application in IMPL=1 during
calculations of the actual configuration.
speed.
NOMVOLT system I(r) NOMinal VOLTage of the Updated from
motor. This value can be drive when
used by the application in IMPL=1 during
calculations of the actual configuration.
voltage.
NOMPOWER system R(r) NOMinal POWER of the Updated from
motor. This value can be drive when
used by the application in IMPL=1 during
calculations of the actual configuration.
power.
REF1
REF2
Figure 4.
Terminal Table 3.
Description, 1 = Terminal Name, 2 = Value Entered by, 3 = Default Value
4 = PC Connection Data Type, 5 = Description, 6 = Remarks
Reference Part
1 2 3 4 5 6
REF1 user REFerence 1 to a DRIDS element. Maximum 20
characters.
REF2 user REFerence 2 to a DRIDS element. Maximum 20
characters.
By means of the call name DSP the Engineering Station will create 1
data base element of type DataSet Peripheral.
Overview DSPx
DataSet
NAME VALID Peripheral
ACT ERR Base Part
BUS Value
references
IDENT
NO_BREC
NO_INT
NO_INTL
NO_REAL
USER
SOURCE
BLOCKED
STATION
CYCLETIM
SORT_REF
REF1
REF2
REF3
REF4
REF5
REF6
REF7
REF8
Figure 1.
DSPx
Base Part DSP1 NAME VALID
DataSet
Peripheral
1 ACT ERR Base Part
0 BUS Value
references
1 IDENT
0 NO_BREC
0 NO_INT
0 NO_INTL
0 NO_REAL
0 USER
RECEIVE SOURCE
0 BLOCKED
1 STATION
512 CYCLETIM
YES SORT_REF
Figure 2.
Terminal Table 1.
Description, Base 1 = Terminal Name, 2 = Value Entered by, 3 = Default Value
4 = PC Connection Data Type, 5 = Description, 6 = Remarks
Part
1 2 3 4 5 6
NAME user DSPx Each Data Set must have Max 20
a unique NAME characters.
ACT PC 1 The element is:
0 = spare
1 = ACTive
BUS user 0 BUS number of related Treated as
bus. comment.
IDENT user 1 IDENTifies the Data Set 1…50
on the Advant Fielbus
100.
NO_BREC user 0 Number of Boolean 0…8
RECords in the set.
NO_INIT user 0 Number of INTeger 0…8
regords in the set.
NO_INTL user 0 Number of INTegerLong 0…8
records in the set
NO_REAL user 0 Number of REAL records 0…8
in the set.
USER predef 0 USER
0 = Advant Fieldbus 100
communication
1 = not yet defined
2 = not yet defined
SOURCE user RECEIVE SOURCE, defines the
direction of the
communication,
RECEIVE, SEND
Table 1 continued
1 = Terminal Name, 2 = Value Entered by, 3 = Default Value
4 = PC Connection Data Type, 5 = Description, 6 = Remarks
1 2 3 4 5 6
BLOCKED predef 0 For compatibility reason.
STATION user 1 STATION number of opposite 1…80
target.
CYCLETIM user 512 CYCLETIMe, transmission
interval in milliseconds.
1, 2, 4, 8, 16, 32, 64, 128, 256,
512, 1024, 2048, 4096.
SORT_REF user YES SORT REFerences, if YES
then all DAT refs are sorted in
order: B, I, IL, R.
VALID system B(r) VALID.
Not updated in AC80.
ERR system B(r) ERRor.
Not updated in AC80
Figure 3.
Terminal Table 2.
Description, Value 1 = Terminal Name, 2 = Value Entered by, 3 = Default Value
4 = PC Connection Data Type, 5 = Description, 6 = Remarks
References
1 2 3 4 5 6
REF1 user REFerence: Name of a DAT
element.
REF2 user REFerence: Name of a DAT
element.
.
.
.
REF8 user REFerence: Name of a DAT
element.
Summary Event Set (EVS) element are used for transport of time-tagged
events from Advant Controller 110 to Advant Controller 400 Series.
An Event Set element groups a set of Event Channels for sending or
receiving of events.
The Event Set (Send) element collects events from referenced Event
Channel elements and sends them to the event receiver when
requested.
Overview
Event Set Base Part Ev en t Ch an .1- 16 Ev en t Ch an .17 -3 2
(Send):
NAME CLEAR_Q REF1 REF17
ACT Q_EMPTY REF2 REF18
IDENT WARNING REF3 REF19
QUEUE ERR REF4 REF20
ERRTYPE REF5 REF21
REF6 REF22
REF7 REF23
REF8 REF24
REF9 REF25
REF10 REF26
REF11 REF27
REF12 REF28
REF13 REF29
REF14 REF30
REF15 REF31
REF16 REF32
Figure 1.
Figure 2.
Table 1.
Terminal
1 = Terminal Name, 2 = Value Entered by, 3 = Default Value
Description, 4 = PC Connection Data Type, 5 = Description, 6 = Remarks
Base Part
1 2 3 4 5 6
NAME user EVSx Unique NAME of the Max 20
Event Set. characters.
ACT user 1 The element is:
0 = spare
1 = ACTive
IDENT user 1 IDENTifies the Event Set 1…65535
element in the node. Not allowed
to change
on-line.
QUEUE user NORMAL Specifies the size of the Not allowed
event QUEUE. Values: to change
NORMAL (100 ENTRIES) on-line.
EXTENDED (500 entries)
CLEAR_Q system 0 B(r/w) CLEAR event Queue.
0=no action
1=clear event queue
Q_EMPTY system 0 B(r) Flag indicating:
0=Event Queue is not
EMPTY
1=Event Queue is EMPTY
WARNING system 0 B(r) WARNING flag indicating
non-fatal errors.
ERR system B(r) ERRor flag indicating fatal
errors.
ERRTYPE system I(r) Indicating ERRor TYPE.
REF1
REF2
REF3
REF4
REF5
REF6
REF7
REF8
REF9
REF10
REF11
REF12
REF13
REF14
REF15
REF16
Figure 3.
REF17
REF18
REF19
REF20
REF21
REF22
REF23
REF24
REF25
REF26
REF27
REF28
REF29
REF30
REF31
REF32
Figure 4.
Terminal Table 2.
Description, Event 1 = Terminal Name, 2 = Value Entered by, 3 = Default Value
4 = PC Connection Data Type, 5 = Description, 6 = Remarks
Chan. 1-32
1 2 3 4 5 6
REF1 user EVSx REFerence: Name of an Event Channel (1)
element.
REF2 user 1 REFerence: Name of an Event Channel (1)
element.
.
.
.
REF32 user REFerence: Name of an Event Channel (1)
element.
(1) The REF1 to REF16 terminals are used to fill in the reference to
the event channels. References can be made to the AIC and DIC
elements generating events.
Overview
MVI Data Block: Ba se Part Value ref.1-16
Va lu e re f. 11 3- 12 8
Value ref.49-64
REF118
REF119
REF120
Value ref.65-80
REF121
REF122
REF123
Value ref.81-96
REF124
REF125
REF126
Value ref.97-112 REF127
REF128
Figure 1.
Figure 2.
Terminal Table 1.
Description, 1 = Terminal Name, 2 = Value Entered by, 3 = Default Value
4 = PC Connection Data Type, 5 = Description, 6 = Remarks
Base Part
1 2 3 4 5 6
NAME user MVBx Unique module NAME. Max 20
characters.
ACT user 1 The element is:
0 = spare
1 = ACTive
REGADDR user 0 REGister start ADDRess in ModBus:
external PLC/RTU. 3001...49999
CMDCODE user 110 CoMmand CODE to be 1…500
executed by the MVI
protocol handler, protocol
dependent.
AUXINFO1 user 0 AUXiliary INFOrmation 1,
protocol dependent.
AUXINFO2 user 0 AUXiliary INFOrmation 2,
protocol dependent.
NO_BREC user 0 Number of Boolean 0…128
RECords DAT(B).
NO_INT user 0 Number of INTeger records 0…128
DAT(I).
NO_INTL user 0 Number of INTegerLong 0...128
records DAT(IL).
NO_REAL user 0 Number of REAL records 0...128
DAT(R).
SOURCE user RECEIVE SOURCE. Defines the
direction of the data
transmission. Values:
RECEIVE, SEND
Table 1 continued.
1 = Terminal Name, 2 = Value Entered by, 3 = Default Value
4 = PC Connection Data Type, 5 = Description, 6 = Remarks
1 2 3 4 5 6
BLOCKED user/ 0 B(r/w) Cyclic data transmission. Not
PC 0=not BLOCKED allowed to
1=BLOCKED change on-
line.
NET user 1 MVI NETwork number Set to 1
used for Data Block
transmission.
REMNODE user 1 REMote NODE number. 1…240
In master mode: node no.
of slave.
In slave mode: node no.
of master
CYCLETIM user 512 Defines the CYCLE TIMe
of the protocol command
execution in multiples of
100 milliseconds. Values:
0(no cyclic execution),
4,8,16,32,64,128,256,512,
1024,2048,4096,8192,
16384,32768
SORT_REF user YES SORT REFerences.
Values:
NO=references not sorted
YES=references sorted in
the order B,I,IL,R.
EXECUTE system B(r/w) EXECUT invokes single
execution of the specified
protocol handler
command when changing
from 0 to 1.
EXECDONE system B(r) EXECDONE indicates that
the single execution
invoked by EXECUTE
was done.
VALID system system B(r/w) Boolean VALue (IDentity)
for handshaking between
MVI and appl. program.
- receiving MVB:
0=MVB has not been
received within
3XCYCLETIM.
1=MVB has been updated
-sending MVB:
0=MVB has not been sent
1=MVB has been sent
ERR system B(r) ERRor flag.
RE1
REF2
REF3
REF4
REF5
REF6
REF7
REF8
REF9
REF10
REF11
REF12
REF13
REF14
REF15
REF16
Figure 3.
Terminal Table 2.
Description, 1 = Terminal Name, 2 = Value Entered by, 3 = Default Value
4 = PC Connection Data Type, 5 = Description, 6 = Remarks
Value ref.1-128
1 2 3 4 5 6
REF1 user REFerence: Name of a DAT element.
REF2 user REFerence: Name of a DAT element.
.
.
.
REF128 user REFerence: Name of a DAT element.
Overview
MVI Channel: Base Part Co mmu nica tio n Parameters
Figure 1.
Figure 2.
Terminal Table 1.
Description, 1 = Terminal Name, 2 = Value Entered by, 3 = Default Value
4 = PC Connection Data Type, 5 = Description, 6 = Remarks
Base Part
1 2 3 4 5 6
NAME user MVCx Unique element NAME. Max 20
characters.
ACT user 1 The element is:
0 = spare
1 = ACTive
NET user 0 NETwork number of MVI Set to 1
channel. Not used.
Table 1 continued
1 = Terminal Name, 2 = Value Entered by, 3 = Default Value
4 = PC Connection Data Type, 5 = Description, 6 = Remarks
1 2 3 4 5 6
NODE user 1 Own NODE number of MVI 1…240
channel. Not allowed
to change on-
line.
MASTER user 0 MVI channel in: Not allowed
0=slave mode to change on-
1=MASTER mode line.
TIMESYNC user 0 TIME SYNChronization. Set to 0
Values: NONE, MASTER, Not used
SLAVE
ERR system 0 B(r) ERRor flag.
2 PROTTYPE CTRLERR
FULL DUPLEX DSR
0 DIAL DCD
9600 SPEED CTS
8 CHLEN RI
1 STOPBITS
ODD PARITY
1 LINESTAB
0 CARRDEL
2 MAXRETR
2 CHARTOUT
200 TURNTIME
1 UARTTOUT
10 POLLCYCL
Figure 3.
Terminal Table 2.
Description, 1 = Terminal Name, 2 = Value Entered by, 3 = Default Value
4 = PC Connection Data Type, 5 = Description, 6 = Remarks
Communication
1 2 3 4 5 6
PROTTYPE user 3 PROTocol TYPE Set to 3
3=ModBus RTU
DUPLEX user FULL DUPLEX mode, concerns modem Set to
signals between MVI channel and HALF
modem.
Values:FULL,HALF,HALF
(DCD IGNORED).
Table 2 continued
1 = Terminal Name, 2 = Value Entered by, 3 = Default Value
4 = PC Connection Data Type, 5 = Description, 6 = Remarks
1 2 3 4 5 6
DIAL user 0 DIALing. Set to 0
0=disabled Not used
1=enabled (for dialing)
SPEED user 9600 Transmission SPEED of 300 for testing
communication in only
bits/second. Values:
300,9600,19200
CHLEN user 8 CHaracter LENgth in bits. Set to 8
STOPBITS user 1 STOP BITS. Values:1,1.5,2 Set to 1
PARITY user ODD PARITY. Values: Use EVEN
NONE,ODD,EVEN
LINESTAB user 1 LINE STABilization time. ModBus:
Number of characters to 0…15,
allow the carrier wave to Set to 0
stabilize before transmission Not used
of the first character.
CARRDEL user 0 CARRier DELay. Number of ModBus:
characters to wait after 0…15,
transmission of the last Set to 0
character before Not used
deactivating RTS.
MAXRETR user 2 MAXimum number of ModBus:
RETRansmissions before 0…20
line is considered broken.
CHARTOUT user 2 CHARacter Time_OUT ModBus:
0...15
TURNTIME user 200 TURN around TIME in 10...20000 in
milliseconds. Assumed time steps of 10
for telegram processing in
slave mode depending only
on system load. Total time to
wait for response is:
TURNTIME + transmission
time.
UARTTOUT user 1 UART transmission 0...15
TIme_OUT. Maximum Set to 1
number of characters for the
to wait for a DCD before
aborting the transmission
(used if DUPLEX=HALF).
POLLCYCL user 10 Maximum time between two ModBus:
POLLing CYCLes in 0...255
seconds.
Table 2 continued
1 = Terminal Name, 2 = Value Entered by, 3 = Default Value
4 = PC Connection Data Type, 5 = Description, 6 = Remarks
1 2 3 4 5 6
CTRLERR system B(r) Indicating any (ConTRoL)
ERRor in the modem
interface.
DSR system B(r) Modem signal Data Set
Ready.
DCD system B(r) Modem signal Data Carrier
Detect.
CTS system B(r) Modem signal Clear To
Send.
RI system B(r) Modem signal Ring
Indicator.
1 PARAM1
0 PARAM2
0 PARAM3
0 PARAM4
0 PARAM5
0 PARAM6
0 PARAM7
0 PARAM8
Figure 4.
Terminal Table 3.
Description, 1 = Terminal Name, 2 = Value Entered by, 3 = Default Value
4 = PC Connection Data Type, 5 = Description, 6 = Remarks
Parameters
1 2 3 4 5 6
PARAM1 user 1 Protocol PARAMeter 1. ModBus: 0...1
PARAM2 user 0 Protocol PARAMeter 2. Set to 0
PARAM3 user 0 Protocol PARAMeter 3. Set to 0
PARAM4 user 0 Protocol PARAMeter 4. Set to 0.
PARAM5 user 0 Protocol PARAMeter 5. Set to 0
PARAM6 user 0 Protocol PARAMeter 6. Set to 0
PARAM7 user 0 Protocol PARAMeter 7. Set to 0
PARAM8 user 0 Protocol PARAMeter 8. Set to 0
1. In master mode
• One slave node connected to the MVI channel
• The status words 1-3 for this slave node.
2. In slave mode
• The own status in status word 1.
MVI Node:
MVN1 NAME STATUS1
1 ACT STATUS2
1 NET STATUS3
1 REMNODE ERR
DIALSTR1
PHONENO1
DIALSTR3
PHONENO2
DIALSTR3
PHONENO3
DIALSTR4
PHONENO4
Figure 1.
Terminal Table 1.
Description 1 = Terminal Name, 2 = Value Entered by, 3 = Default Value
4 = PC Connection Data Type, 5 = Description, 6 = Remarks
1 2 3 4 5 6
NAME user MVNx Unique element NAME. Max 20
characters.
ACT user 1 The element is:
0 = spare
1 = ACTive
NET user 1 MVI NETwork number Set to 1
Not used
REMNODE user 1 REMote NODE number. 1...240
In master mode: node
no. of slave.
In slave mode: node no.
of master.
Table 1 continued.
1 = Terminal Name, 2 = Value Entered by, 3 = Default Value
4 = PC Connection Data Type, 5 = Description, 6 = Remarks
1 2 3 4 5 6
DIALSTR1 user DIAL STRing 1 for modern. Max. 20
characters.
PHONENO1 user PHONE Number 1. Max. 20
characters.
DIALSTR2 user DIAL STRing 2 for modem. Max. 20
characters
PHONENO2 user PHONE Number 2. Max. 20
characters
DIALSTR3 user DIAL STRing 3 for modem. Max. 20
characters
PHONENO3 user PHONE Number 3. Max. 20
characters
DIALSTR4 user DIAL STRing 4 for modem. Max. 20
characters
PHONENO4 user PHONE Number 4. Max. 20
characters
STATUS1 system IL(r) MVI STATUS word 1.
STATUS2 system IL(r) MVI STATUS word 2.
STATUS3 system IL(r) MVI STATUS word 3.
ERR system B(r) ERRor flag.
Summary The DB element NCBIO is used to define the (physical) I/O device
numbers and types connected to AC80. The logical device numbers
of the connected I/O device are always in the range 1...8 and these
logical numbers are used in the NODE inputs of the IORX PC
element.
NCBIO
IOTYPE5
IOTYPE6
IOTYPE7
IOTYPE8
Figure 1.
Terminal Table 1.
Description 1 = Terminal Name, 2 = Value Entered by, 3 = Default Value
4 = PC Connection Data Type, 5 = Description, 6 = Remarks
1 2 3 4 5 6
IOTYPE1 user NO_DEVICE I/O TYPE of the first I/O module
(NO_DEVICE,DI/DO_DEVICE,
AI/AO_DEVICE,DSU_DEVICE,
COUNTER_DEVICE
IOTYPE2 user NO_DEVICE I/O TYPE of the second I/O
module
.
.
.
IOTYPE8 user NO_DEVICE I/O TYPE of the eighth I/O module.
Documents
Summary The PANBUS element specifies the configuration Panel Bus of AC80.
Panel Bus can consist of up to 16 nodes used PC elements type
PANC, PRTCON, MODR, MODW.
Overview
PanelBus Base Part Communication Parameters
master:
NAME ERR PROTTYPE PARAM1
ACT DUPLEX PARAM2
NET DIAL PARAM3
NODE SPEED PARAM4
MASTER CHLEN PARAM5
TIMESYNC STOPBITS PARAM6
PARITY PARAM7
LINESTAB PARAM8
CARRDEL
MAXRETR
CHARTOUT
TURNTIME
UARTTOUT
POLLCYCL
Figure 1.
Figure 2.
Table 1.
Terminal
1 = Terminal Name, 2 = Value Entered by, 3 = Default Value
Description, 4 = PC Connection Data Type, 5 = Description, 6 = Remarks
Base Part
1 2 3 4 5 6
NAME user PANBUSx - Unique element NAME. Max 20
characters
ACT user 1 - Element is: -
0 = spare
1 = ACTive
NET user 1 - NETwork number of -
Panel Bus.
NODE user 1 - Own NODE number of 1...254
Panel Bus. No effect
because AC80 is master.
MASTER user 0 - Panel Bus in: Must be
1 = MASTER mode master.
TIMESYNC user NONE - TIMESYNChronization. -
Values:
NONE
ERR system - B(r) ERRor flag. Not
updated.
3 PROTTYPE
HALF DUPLEX
0 DIAL
19200 SPEED
8 CHLEN
1 STOPBITS
NONE PARITY
1 LINESTAB
0 CARRDEL
2 MAXRETR
2 CHARTOUT
200 TURNTIME
1 UARTTOUT
10 POLLCYCL
Figure 3.
Table 2.
Terminal
1 = Terminal Name, 2 = Value Entered by, 3 = Default Value
Description, 4 = PC Connection Data Type, 5 = Description, 6 = Remarks
Communication
1 2 3 4 5 6
PROTTYPE user 3 - PROTocol TYPE (ASCII, 1...255
binary, checksum),
3 = ModBus RTU
DUPLEX user HALF - DUPLEX mode. -
Values: HALF
DIAL user 0 - DIALing. -
0 = disabled
SPEED user 19200 - Transmission SPEED of Normally
communication in used speed
bits/second. = 19200
Values: 9600, 19200
CHLEN user 8 - CHaracter LENgth in bits.
Values: 8
STOPBITS user 1 - STOP BITS. -
Values: 1, 1.5, 2
PARITY user NONE - PARITY. Values: Not updated
NONE,ODD,EVEN (for
RCOM, others), EVEN
(for Siemens 3964(R),
ModBus).
LINESTAB user 1 - LINE STABilization time. 0...15
Number of characters to
allow the carrier wave to
stabilize before transmission
of the first character.
CARRDEL user 0 - CARRier DELay. Number of 0...15
characters to wait after
transmission of the last
character before
deactivating RTS.
MAXRETR user 2 - MAXimum number of 0...20
RETRansmissions before
line is considered broken.
CHARTOUT user 2 - CHARacter Time-OUT 0...15
TURNTIME user 1000 TURN around TIME in 10...20000
milliseconds. Assumed time in steps of
for telegram processing in 10
slave mode depending only
on sytem load. Total time to
wait for response is:
TURNTIME + time for
telegram trasmission.
Table 2 continued
1 = Terminal Name, 2 = Value Entered by, 3 = Default Value
4 = PC Connection Data Type, 5 = Description, 6 = Remarks
1 2 3 4 5 6
TURNTIME user 1000 -
UARTTOUT user 1 - UART transmissin Time-OUT. 0...15
Maximum number of characters for
the controller to wait for a DCD
before abording the transmission
(only used if DUPLEX=HALF).
POLLCYCL user 10 - Maximum time between two 0...255
POLLing CYCLes in seconds.
1 PARAM1
0 PARAM2
0 PARAM3
0 PARAM4
0 PARAM5
0 PARAM6
0 PARAM7
0 PARAM8
Figure 4.
Terminal Table 3.
Description, 1 = Terminal Name, 2 = Value Entered by, 3 = Default Value
4 = PC Connection Data Type, 5 = Description, 6 = Remarks
Parameters
1 2 3 4 5 6
PARAM1 user 1 - Protocol PARAMeter 1. PANC and
(0 = large address model) PRTCON
1 = small address model assume small
address model.
PARAM1 user 1 -
PARAM2 user 0 - -
PARAM3 user 0 - -
PARAM4 user 0 -
PARAM5 user 0 -
PARAM6 user 0 - -
PARAM7 user 0 -
PARAM8 user 0 -
PARAM2...8 are used for nothing.
Summary The PARDAT(B) Data Base element holds 32 packed Boolean Data
values. Each data value is given an initial value. A name is given for
the complete element.
By means of the call name PARDAT(B) the engineering Station will
create 1 data base element of type Boolean Param.
Overview
Boolean Base Part VALUE11-VALUE20 VALUE21-VALUE32
Data:
NAME VALID INIVAL11 VALUE11 INIVAL21 VALUE21
INIVAL VALUE INIVAL12 VALUE12 INIVAL22 VALUE22
INIVAL2 VALUE2 INIVAL13 VALUE13 INIVAL23 VALUE23
INIVAL3 VALUE3 INIVAL14 VALUE14 INIVAL24 VALUE24
INIVAL4 VALUE4 INIVAL15 VALUE15 INIVAL25 VALUE25
INIVAL5 VALUE5 INIVAL16 VALUE16 INIVAL26 VALUE26
INIVAL6 VALUE6 INIVAL17 VALUE17 INIVAL27 VALUE27
INIVAL7 VALUE7 INIVAL18 VALUE18 INIVAL28 VALUE28
INIVAL8 VALUE8 INIVAL19 VALUE19 INIVAL29 VALUE29
INIVAL9 VALUE9 INIVAL20 VALUE20 INIVAL30 VALUE30
INIVAL10 VALUE10 INIVAL31 VALUE31
INIVAL32 VALUE32
Figure 1.
Figure 2.
Table 1.
Terminal
1 = Terminal Name, 2 = Value Entered by, 3 = Default Value
Description, 4 = PC Connection Data Type, 5 = Description, 6 = Remarks
Base Part
1 2 3 4 5 6
NAME user PDx - Unique element NAME. Max 20
characters
INIVAL user 0 - INItial VALue. -
VALUE system - B(r/w) Boolean VALUE -
INVAL2 user 0 INitial VALue. -
VALUE2 system - B(r/w) Boolean VALUE. -
.
.
.
INVAL10 user 0 -
VALUE10 system - B(r/w) Boolean VALUE. -
Figure 3.
Figure 4.
Table 2.
Terminal
1 = Terminal Name, 2 = Value Entered by, 3 = Default Value
Description, 4 = PC Connection Data Type, 5 = Description, 6 = Remarks
VALUE11-32
1 2 3 4 5 6
INIVAL11 user 0 - INItial VALue. Max. 20 characters
VALUE11 system - B(r/w) Boolean VALUE. -
INIVAL12 user 0 - INItial VALue. -
VALUE12 system - B(r/w) Boolean VALUE. -
.
.
.
INIVAL32 user 0 - INItial VALue. -
VALUE32 system - B(r/w) Boolean VALUE.
Summary The PARDAT(I) Data Base element holds one 16 bit integer data
value. The data value is given a name and an initial value. By means
of the call name PARDAT(I) the Engineering Station will create 1 data
base element of type Integer Param.
Integer Param:
PD1 NAME
0 INIT_VAL VALUE
Figure 1.
Terminal Table 1.
Description 1 = Terminal Name, 2 = Value Entered by, 3 = Default Value
4 = PC Connection Data Type, 5 = Description, 6 = Remarks
1 2 3 4 5 6
NAME user PDx - Unique element NAME. Max.20
characters
INIT_VAL user 0 INITial VALue.
VALUE system I(r/w) VALUE of type integer.
Summary The PARDAT(II) Data Base element holds two 16 bit integer data
values. The data values are given a name and an initial value. By
means of the call name PARDAT(II) the Engineering Station will
create 1 data base element of type Packed Int. Param.
Packed Int.Param:
PD1 NAME
0 INIT_VAL VALUE
0 INIT_VAL2 VALUE2
Figure 1.
Terminal Table 1.
Description 1 = Terminal Name, 2 = Value Entered by, 3 = Default Value
4 = PC Connection Data Type, 5 = Description, 6 = Remarks
1 2 3 4 5 6
NAME user PDx - Unique element NAME. Max.20
characters
INIT_VAL user 0 INITial VALue.
INIT_VAL2 user 0 INITial VALue 2.
VALUE system I(r/w) VALUE of type Integer.
VALUE2 system I(r/w) VALUE 2 of type Integer.
Summary The PARDAT(IL) Data Base element holds one 32 bit integer data
values. The data values is given a name and an initial value. By
means of the call name PARDAT(IL) the Engineering Station will
create 1 data base element of type IntegerLong Param.
IntegerLong Param:
PD1 NAME
0 INIT_VAL VALUE
Figure 1.
Terminal Table 1.
Description 1 = Terminal Name, 2 = Value Entered by, 3 = Default Value
4 = PC Connection Data Type, 5 = Description, 6 = Remarks
1 2 3 4 5 6
NAME user PDx - Unique element NAME. Max.20
characters
INIT_VAL user 0 INITial VALue.
VALUE system IL(r/w) VALUE of type
IntegerLong.
Packed Bool.Param:
PD1 NAME VALUE
Figure 1.
Terminal Table 1.
Description 1 = Terminal Name, 2 = Value Entered by, 3 = Default Value
4 = PC Connection Data Type, 5 = Description, 6 = Remarks
1 2 3 4 5 6
NAME user PDx - Unique element NAME. Max.20
characters
VALUE system IL(r/w) VALUE of type IntegerLong.
Summary The PARDAT(NI) Data Base element holds a data value representing
two 16 bit integer values. By means of the call name PARDAT(NI) the
Engineering Station will create.
Packed Int.Param:
PD1 NAME VALUE
Figure 1.
Terminal Table 1.
Description 1 = Terminal Name, 2 = Value Entered by, 3 = Default Value
4 = PC Connection Data Type, 5 = Description, 6 = Remarks
1 2 3 4 5 6
NAME user PDx - Unique element NAME. Max.20
characters
VALUE system IL(r/w) VALUE of type IntegerLong.
Summary The PARDAT(R) Data Base element holds one real data value. By
means of the call name PARDAT(R) the Engineering Station will
create 1 data base element of type Real Param.
Real Param:
PD1 NAME
0.0 INIT_VAL VALUE
Figure 1.
Terminal Table 1.
Description 1 = Terminal Name, 2 = Value Entered by, 3 = Default Value
4 = PC Connection Data Type, 5 = Description, 6 = Remarks
1 2 3 4 5 6
NAME user PDx - Unique element NAME. Max.20
characters
INIT_VAL user 0.0 INITial VALue.
VALUE system R(r/w) VALUE of type Real.
Summary PM825 is the Processor Module (CPU) of the AC80 Advant Controller
control system. By means of the call name PM825 an Engineering
Station will create 1 data base element of type Processor Module.
Overview
Processor Ba se Part AF100 Part Serial IF Part
Module:
NAME WARNING CABLE CH2TYP
BUS ERR EN_DTMO CH2
STATION DIAG TIMESYNC
POSITION ACTSCANT BUSNO
IMPL STNNO
TYPE
SUP_PS
SUP_PS_E
SUP_BAT
STARTMOD
IOSCANT
Figure 1.
Figure 2.
Terminal Table 1.
Description, 1 = Terminal Name, 2 = Value Entered by, 3 = Default Value
4 = PC Connection Data Type, 5 = Description, 6 = Remarks
Base Part
1 2 3 4 5 6
NAME user PM1 - Unique NAME of the Max 20
module. characters
BUS predef 0 - BUS number.
STATION predef 0 STATION number. Part of
address.
POSITION predef 0 POSITION. Part of
address.
IMPL predef 1 IMPLemented.
0=the module is spare
1=the module is
implemented
TYPE predef PM825 Station TYPE designation.
SUP_PS user NO Enable SUPervision of
redundant Power
Supplies. Values:
YES=enabled
NO=not enabled
SUP_PS_E user NO Enable SUPervision of
redundant Power
Supplies on the opto-fibre
Expansion. Values:
YES=enabled
NO=not enabled
SUP_BAT user NO Enable BATtery
SUPervision. Values:
YES=enabled
NO=not enabled
STARTMOD user CLEAR Define STARTMODe Default in
behaviour. Values: old
CLEAR, BLOCKED versions=
BLOCKED
IOSCANT user 0 Proposal for IOSCANner 0,2,4,6,8,
cycle Time in ms. 10,12…,
100
WARNING system B(r) WARNING indicates a
non-fatal error.
ERR system B(r) ERRor indicates fatal
errors, such as
configuration errors or
hardware errors.
DIAG system I(r) DIAGnostics.
ACTSCANT system I(r) ACTual SCANner cycle
Time.
S CABLE
NO EN_DTMO
NONE TIMESYNC
0 BUSNO
1 STNNO
Figure 3.
Terminal Table 2.
Description, 1 = Terminal Name, 2 = Value Entered by, 3 = Default Value
4 = PC Connection Data Type, 5 = Description, 6 = Remarks
AF 100 Part
1 2 3 4 5 6
CABLE user S CABLE connection. Values:
S=Single
R=Redundant
EN_DTMO user NO ENable Double TiMeOut. Values:
NO, YES
TIMESYNC user NONE TIME SYNChronization. Values:
NONE, MASTER, SLAVE
BUSNO user 0 BUS Number of the bus 0…255
connected to this processor
module.
STNNO user 0 STation Number of the current 0…80
station on the bus given by
BUSNO.
NONE CH2TYP
CH2
Figure 4.
Terminal Table 3.
Description, 1 = Terminal Name, 2 = Value Entered by, 3 = Default Value
4 = PC Connection Data Type, 5 = Description, 6 = Remarks
Serial IF Part
1 2 3 4 5 6
CH2TYP user NONE CH2TYPe. Values: The MVC
NONE, PANEL, MVC. alternative is
NONE if the RS485 interface possible only
of AC80 (=CH2) is not used att if Embedded
all. ModBus
PANEL if use it with PANBUS, Option is
PANC, PRTCON, MODW or selected and
MODR -elements. MVC if use installed in
with MVICHAN, MVINODE and AC80 target.
MVB -elements.
CH2 user CH2 pin is left unconnected if
CH2TYP=NONE or PANEL. If
CH2TYP=MVC must assign
the name of MVICHAN
element into CH-2pin.
ABB Industry Oy
Drives
P.O.Box 184
FIN-00381 Helsinki
FINLAND
Telephone + 358 10 22 2000
Telefax + 358 10 22 22681