Parameter Description
(Original Document)
Overview
This topic provides detailed information relevant to the middle node. There are 5 units in this topic.
Port Status Display Table
This table represents the first in a group of seven contiguous memory words that comprise the L9_XMIT function block in port status mode.
Memory Word
Name
Description
No Valid Entries
%MWx
Revision Number
Displays the current revision number of L9_XMIT function block.
This number is automatically loaded by the block and the block overwrites any other number entered into this word.
Read Only
%MWx + 1
Event Status
This field displays an event code generated by the L9_XMIT function block port status block.
(For expanded and detailed information please see the Event Code Generation Table below.)
Read Only
%MWx + 2
Slave login status/
Slave port active status
not available
%MWx + 3
Slave transaction counter
not available
%MWx + 4
Port State
not available
%MWx + 5
Input FIFO status bits
The word displays the status of seven items related to the input FIFO. It is generated by the L9_XMIT function block in port status mode.
(For expanded and detailed information please see the Input FIFO Table below.)
Read Only
%MWx + 6
Input FIFO length
This word displays the current number of characters present in the ASCII input FIFO. The word may contain other values based on the state of the input FIFO and if the length is empty or overflowing. It is generated by the L9_XMIT function block port status.
(For expanded and detailed information please see the Input FIFO Length Table below.
Read Only
Event Code Generation Table
This table describes the event codes generated by the L9_XMIT function block in port status mode in the (%MWx + 1) word.
Event Code
Event Description
118
L9_XMIT function block could not gain access to PLC communications port #1 or port #2.
122
Top node of the L9_XMIT function block not equal to zero, one or two.
123
Bottom node of the L9_XMIT function block is not equal to seven, eight or sixteen.
150
Unavailable port
154
Wrong HSBY mode for XMIT
156
Unsupported PLC type
Status Generation Table
This table describes the slave login status and the slave port active status generated by the L9_XMIT function block in port status mode for the (%MWx + 2) word.
(%MWx + 2 high byte)
Slave Login Status
(%MWx + 2 low byte)
Slave Port Active Status
Yes - When a programming device is currently logged ON to this PLC slave port.
Yes - When observed port is owned by the PLC and currently receiving a Modbus command or transmitting a Modbus response.
No - When a programming device is currently NOT logged ON to this PLC slave port.
Note: A Modbus master can send commands but not be logged ON.
No - When observed port is NOT owned by the PLC and currently receiving Modbus command or transmitting a Modbus response.
Input FIFO Status Table
This table describes the status bits related to the input FIFO for the (%MWx + 5) word.
Control Expert-IEC bits
Definition
Yes / 1
No / 0
0
ASCII input reception ...
L9_XMIT blocked sending device
L9_XMIT unblocked sending device
1 - 3
Reserved
4
ASCII input FIFO is ...
On
Off
5
ASCII input FIFO is ...
Overflowing (event)
Not overflowing (event)
6
ASCII input FIFO is ...
Empty
Not empty
7
ASCII input received ...
New character
No new character
8
ASCII output transmission ...
Blocked by receiving device
Unblocked by receiving device
9 - 11
Reserved
12
Port owned by ...
L9_XMIT
PLC
13 - 15
Reserved
Input FIFO Length Table
This table describes the current number of characters present in the ASCII input FIFO for the (%MWx + 6) word.
WHEN Input FIFO
THEN Length
= OFF
= 0
= ON and Empty
= 0
= ON and Overflowing
= 512