beautypg.com

General operation, 1 general operation – Micromod MOD: 1800P - MOD 30ML Identity Module (Version 2) System, I/O and Communications Functions User Manual

Page 146

background image

Logic Functions - Book 1

ANALOG INPUT MODULE BLOCKS (VCIM, TIM, RIM, WRIM)

5-26

5.4.1

General Operation

These blocks are data repositories for the instrument. One module block services one module
and as many other analog input function blocks as required can receive signals from these
blocks. All input values are buffered in one of five possible state tables. Process input and
output routines use these tables to pass data between the module blocks which get data every
150 milliseconds and the analog input function blocks which run at the configured scan group
interval.

For analog inputs, all valid data for a single instrument (up to 32 analog input modules) is read
and stored in these blocks in a three phased scan cycle. This cycle is shown in Figure 5-12.
The analog input function block connected to the module block latches the data according to
the parameters found in the analog input block’s configuration.

Activity

Transfer Analog I/O Data (Modules 1, 4, 7, ... 31) (buffers to module block)
Broadcast ‘Get Data’ (Modules 1, 4, 7, ... 31 perform 100 ms A/D conversion)
Read Analog I/O Data (Modules 2, 5, ... 32)
Write Analog Output Data (Modules 1, 4, 7, ... 31)

Transfer Analog I/O Data (Modules 2, 5, ... 32) (buffers to module block)
Broadcast ‘Get Data’ (Modules 2, 5, ... 32 perform 100 ms A/D conversion)
Read Analog I/O Data (Modules 3, ... 30)
Write Analog Output Data (Modules 2, 5, ... 32)

Transfer Analog I/O Data (Modules 3, ... 30) (buffers to module block)
Broadcast ‘Get Data’ (Modules 3, ... 30 perform 100 ms A/D conversion)
Read Analog I/O Data (Modules 1, 4, 7, ... 31)
Write Analog Output Data (Modules 3, ... 30)

Repeat scan cycle

milliseconds

0

50

100

150

Figure 5-12. Analog Input/Output Type Module Phased Scan Cycle

Analog input module blocks can generate diagnostic errors based upon the
following possible conditions:

Module mismatch error

Module communications error

Module status Error