Name in LL984 Editor
|
Function Block Name
|
---|---|
name of legacy 984 instruction
|
name in other tools and editors like:
|
![]() |
![]() |
Input Pin
|
Name
|
Data Type
|
Address Range
|
Meaning
|
---|---|---|---|---|
Top
|
IN
|
–
|
ON = enables the immediate I/O access
|
Node
|
Node Type
|
Name
|
Data Type
|
Address Range
|
Meaning
|
---|---|---|---|---|---|
Top
|
IN
|
CONTREG
|
ArrUInt2
|
%MW
|
physical address of the I/O module (CONTREG[1]) and detected error status (CONTREG[2])
For more information see tables below.
|
Bottom
|
IN
|
IOFUN
|
UINT
|
1...3
|
type of operation (constant integer in the range of 1...3)
For more information see tables below.
|
Output Pin
|
Name
|
Data Type
|
Address Range
|
Meaning
|
---|---|---|---|---|
Top
|
OUT
|
BOOL
|
–
|
ON = I/O access succeeded
(Echoes the status of the IN input).
|
Bottom
|
ERR
|
BOOL
|
–
|
ON = detected error
|
Word
|
Content
|
---|---|
CONTREG[1]
|
This word specifies the physical address of the I/O module to be accessed.
For more information see tables below.
|
CONTREG[2]
|
This word logs the detected error status, which is maintained by L9_IMIO.
For more information see tables below.
|
Control Expert-IEC bits
|
Function
|
|||||
---|---|---|---|---|---|---|
0...4 (LSB)
|
Bit 4
|
Bit 3
|
Bit 2
|
Bit 1
|
Bit 0
|
Slot number:
|
0
|
0
|
0
|
0
|
1
|
slot 1
|
|
0
|
0
|
0
|
1
|
0
|
slot 2
|
|
0
|
0
|
0
|
1
|
1
|
slot 3
|
|
0
|
0
|
1
|
0
|
0
|
slot 4
|
|
0
|
0
|
1
|
0
|
1
|
slot 5
|
|
0
|
0
|
1
|
1
|
0
|
slot 6
|
|
0
|
0
|
1
|
1
|
1
|
slot 7
|
|
0
|
1
|
0
|
0
|
0
|
slot 8
|
|
0
|
1
|
0
|
0
|
1
|
slot 9
|
|
0
|
1
|
0
|
1
|
0
|
slot 10
|
|
0
|
1
|
0
|
1
|
1
|
slot 11
|
|
0
|
1
|
1
|
0
|
0
|
slot 12
|
|
0
|
1
|
1
|
0
|
1
|
slot 13
|
|
0
|
1
|
1
|
1
|
0
|
slot 14
|
|
0
|
1
|
1
|
1
|
1
|
slot 15
|
|
1
|
0
|
0
|
0
|
0
|
slot 16
|
|
5...7 (LSB)
|
not used
|
|||||
8...10 (MSB)
|
Bit 10
|
Bit 9
|
Bit 8
|
Rack number:
rack 1 only for Quantum
racks 1 through 4 can be used for 32-bit Compact
|
||
0
|
0
|
1
|
rack 1
|
|||
0
|
1
|
0
|
rack 2
|
|||
0
|
1
|
1
|
rack 3
|
|||
1
|
0
|
0
|
rack 4
|
|||
11...15 (MSB)
|
not used
|
Detected Error Code
|
Meaning
|
---|---|
2001
|
invalid type specified in the bottom node
|
2002
|
detected error with the specified I/O slot
Either an invalid slot number entered in CONTREG[1] or the I/O Map does not contain the correct module definition for this slot.
|
2003
|
A type 3 operation is specified in IOFUN, and the module is not bidirectional.
|
F001
|
specified I/O module is not healthy
|
Integer Value
|
Type of Immediate Access
|
---|---|
1
|
input operation: transfers data from the specified module to state RAM
|
2
|
output operation: transfers data from state RAM to the specified module
|
3
|
I/O operation: does both input and output if the specified module is bidirectional
|