Description
(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_STAT EFB accesses a specified number of words in a status table in the PLC system memory. Here vital diagnostic information regarding the health of the PLC and its remote I/O drops is posted.
This information includes:
With the L9_STAT EFB, you can copy some or all of the status words into a block of words or a block of contiguous discrete references.The copy to the L9_STAT block always begins with the first word in the table up to the last word of interest to you. For example, if the status table is 277 words long and you are interested only in the status provided in word 11, you need to copy only words 1...11 by specifying a length of 11 in the L9_STAT.
NOTE: In Control Expert, the Remote I/O Module Health Status word (word 1 for each configured Remote I/O drop) may contain a different value than in the LL984 legacy application. Control Expert has a health bit for the CRA Remote I/O adapter causing the Status value difference.
Representation
Parameters
Inputs:
Node
Name
Data Type
Address Range
Meaning
Top
IN
ON = copies specified number of words from the status table
Inputs-Outputs:
Node
Node Type
Name
Data Type
Address Range
Meaning
Top
IN/OUT
DEST
ANY_ARRAY_UINT or ANY_ARRAY_EBOOL
%M, %MW
destination: first position in the destination block
Refer also to Parameter DEST.
Bottom
IN
LENGTH
UINT
1...277
length: number of words or 16-bit sequences in the destination block. The length can range from 1 through 277.
NOTE: If %M references are used as the destination, they cannot be programmed as coils, only as contacts referencing those coil numbers.
Outputs:
Node
Name
Data Type
Address Range
Meaning
Top
OUT
BOOL
ON = operation successful
DEST (Destination Block)
The reference number entered in DEST is the first position in the destination block, i.e. the block where the current words of interest from the status table will be copied.
The number of holding words or 16-bit sequences in the destination block is specified in LENGTH.
NOTE: We recommend that you do not use discretes in the L9_STAT destination parameter because of the excessive number required to contain status information.
Parameter DEST
The values and meaning of the words/bits is depending on platform:
Controller Status Words 1 - 11
Word
Content
Format
1
controller status
UINT
2
hot standby status
UINT
3
controller status
UINT
4
remote I/O status (not used in Control Expert)
UINT
5
controller stop state
UINT
6
number of Ladder Logic segments (not used in Control Expert)
UINT
7
end of logic (not used in Control Expert)
UINT
8
remote I/O redundancy and timeout
UINT
9
ASCII message status (not used in Control Expert)
UINT
10
RUN/LOAD/DEBUG status (not used in Control Expert)
UINT
11
not used (not used in Control Expert)
UINT
I/O Module Health Status Words 12 - 171
Word
Content
Format
12...16
drop 1 (rack 1-5)
UINT
17...21
drop 2 (rack 1-5)
UINT
22...26
drop 3 (rack 1-5)
UINT
27...31
drop 4 (rack 1-5)
UINT
32...36
drop 5 (rack 1-5)
UINT
...
...
...
162...166
drop 31 (rack 1-5)
UINT
167...171
drop 32 (rack 1-5)
UINT
Communication Status Words 172 - 277
Word
Content
Format
172
S908 start-up detected error code
UINT
173...175
status of cable A (detected error word 1-3)
UINT
176...178
status of cable B (detected error word 1-3)
UINT
179...181
status of global communication (detected error word 1-3)
UINT
182...184
status of remote I/O words (detected error word 1-3)
UINT
185...187
status of remote I/O words (detected error word 1-3)
UINT
188...190
status of remote I/O words (detected error word 1-3)
UINT
...
...
...
272...274
status of remote I/O words (detected error word 1-3)
UINT
275...277
status of remote I/O words (detected error word 1-3)
UINT