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 purpose of the L9_XMIT function block in communication mode is to receive and transmit ASCII messages and Modbus Master messages using your PLC ports.
For an overview of the L9_XMIT function block please see Description.
Representation
Parameter Description
Input Pin
Name
Data Type
Address Range
Meaning
Top
ENABLE
BOOL
ON begins an L9_XMIT operation and ENABLE should remain ON until the operation has completed successfully or an event has occurred.
Middle
STOP
BOOL
ON aborts any active L9_XMIT operation and forces the port to slave mode. The abort code (121) is placed into the event status word. The port remains closed as long as this input is ON.
NOTE: To reset an L9_XMIT event and clear the event word, the top input must go OFF for at least one PLC scan.
Node
Node Type
Name
Data Type
Address Range
Meaning
Top
port #0000, #0001, or #0002
PORTNO
IN
UINT
0...2
The top node contains one of the following constants: (#0000) to select PLC port #0, (#0001) to select PLC port #1, or (#0002) to select PLC port #2.
Middle
CONTROL
IN/OUT
ARRAY[1..16] OF UINT
%MW
The %MW entered in the middle node is the first in a group of sixteen (16) contiguous memory words that comprise the control block, as shown in the Communication Control Table.
(For expanded and detailed information on this node please see the Communication Control Table.)
Important: DO NOT modify the address in the middle node of the L9_XMIT function block or delete the address from the function block while the program is active. This action locks up the port preventing communications.
Bottom
#0016
LENGTH
IN
UINT
16
The bottom node must contain a constant equal to (#0016). This is the number of memory words used by the L9_XMIT function block.
Output Pin
Name
Data Type
Address Range
Meaning
Top
ACTIVE
BOOL
ON while an L9_XMIT operation in progress.
Passes power while an L9_XMIT operation is in progress.
Middle
STOPPED
BOOL
ON when L9_XMIT has detected an event or was issued an abort.
Passes power when L9_XMIT has detected an event or when an L9_XMIT operation was aborted.
Bottom
SUCCESS
BOOL
ON for one scan only when an L9_XMIT operation has been successfully completed.
Passes power when an L9_XMIT operation has been successfully completed.
NOTE: The ENABLE input must remain ON until SUCCESS has turned OFF.