L9_DIOH: Distributed I/O Health
(Original Document)
Naming
Name in LL984 Editor
Function Block Name
name of legacy 984 instruction
name in other tools and editors like:
  • Type Library Browser
  • Data Editor
  • Animation Tables
  • Search Results
Function Description
The L9_DIOH EFB lets you retrieve health data from a specified group of drops on the distributed I/O network. It accesses the DIO health status table, where health data for modules in up to 189 distributed drops is stored.
Representation
Parameters
Input Pin
Name
Data Type
Address Range
Meaning
Top
IN
ON = initiates the retrieval of the specified status words from the DIO health table into the destination table
Node
Node Type
Name
Data Type
Address Range
Meaning
Top
IN
SOURCE
UINT
source
The source value entered in SOURCE is a four-digit constant in the form xxyy, where:
  • xx is a decimal value in the range 00 ... 16, indicating the slot number in which the relevant DIO processor resides. The value 00 can always be used to indicate the Modbus Plus ports on the PLC, regardless of the slot in which it resides.
  • yy is a decimal value in the range 1 ... 64, indicating the drop number on the appropriate token ring.
For example, if you are interested in retrieving drop status starting at distributed drop #1 on a network being handled by a DIO processor in slot 3, enter 0301 in SOURCE.
Middle
IN/OUT
DEST
ANY_ARRAY_UINT
%MW
destination
first %MW word in the destination table, i.e. in a block of contiguous words where the retrieved health status information is stored
Bottom
IN
LENGTH
UINT
1...64
length
The integer value entered in LENGTH specifies the length, i.e. the number of %MW words, in the destination table. The length is in the range 1 ... 64.
Note: If you specify a length that exceeds the number of drops available, the function block will return status information only for the drops available. For example, if you specify the 63rd drop number (yy) in SOURCE and then request a length of 5, the function block will give you only two words (the 63rd and 64th drop status words) in the destination table.
Output Pin
Name
Data Type
Address Range
Meaning
Top
OUT
BOOL
ON = retrieval succeeded
(Echoes the status of the IN input).
Bottom
ERR
BOOL
ON = invalid source entry