Characteristics of the Messaging Service Communication Functions
(Original Document)
At a Glance
These functions enable communication between one device and another. Certain functions are common to several types of communication channel. Others may be specific to one communication function.
NOTE: Processing of communication functions is asynchronous in relation to the processing of the application task, which allowed them to be activated. The send/receive telegram and stop operation functions are the only exceptions as their execution is synchronous with the execution of the activation task.
NOTE: It is recommended that asynchronous functions be triggered on edge and not on state to avoid sending several identical requests in quick succession, thus saturating the communication buffers.
Messaging Service Communication Functions on Modicon M340 Platform
The following table gives an overview of Modicon M340 platform messaging service functions:
Function
Role
Transmit or receive data.
Activate or deactivate a protocol.
Receive an array of bytes on a character mode link of a BMX NOM module in a local rack or linked to a CPU embedded communication channel.
Receive a character string on a character mode link of a BMX NOM module in a local rack or linked to a CPU embedded communication channel.
Send a character string on a character mode link of a BMX NOM module in a local rack or linked to a CPU embedded communication channel.
Read the value of one or more language objects via a communication module in a local rack or linked to a CPU embedded communication channel.
Send an email over an Ethernet port of a communication module plugged in a local rack.
Write the value of one or more language objects via a communication module in a local rack or linked to a CPU embedded communication channel.
Messaging Service Communication Functions on Modicon M580 Platform
The following table gives an overview of the Modicon M580 platform messaging service functions:
Function
Role
End any requests (Modbus, Umas …) to any Modbus slave via a communication module plugged in a local rack or in an EIO drop.
Get the time stamped data in a Modicon BMX ERT 1604T or BMX CRA ••••• module plugged in a local rack or in an EIO drop.
Receive an array of bytes on a character mode link of a BMX NOM module plugged in a local rack or in an EIO drop.
Receive a character string on a character mode link of a BMX NOM module plugged in a local rack or in an EIO drop.
Send a character string on a character mode link of a BMX NOM module plugged in a local rack or in an EIO drop.
Read the parameter words of an X80 I/O module plugged in a local rack by performing an explicit exchange.
Read the status words of an X80 I/O module plugged in a local rack or in an EIO drop by performing an explicit exchange.
Read the value of one or more language objects via a communication module plugged in a local rack or in an EIO drop.
Restore the parameter words of an X80 I/O module plugged in a local rack by performing an explicit exchange.
Save the parameter words of an X80 I/O module plugged in a local rack by performing an explicit exchange.
Send an email over an Ethernet port of a communication module plugged in a local rack (Ethernet modules cannot be plugged in an EIO drop).
Send a command to an X80 I/O module plugged in a local rack or in an EIO drop by performing an explicit exchange.
Write the parameter words of an X80 I/O module plugged in a local rack by performing an explicit exchange.
Write the value of one or more language objects via a communication module plugged in a local rack or in an EIO drop.
Messaging Service Communication Functions on Modicon Quantum Platform
The following table gives an overview of Modicon Quantum platform messaging service functions:
Function
Role
Continuously read a register area from a slave addressed via Modbus Plus, TCP/IP-Ethernet or SY/MAX-Ethernet
Continuously write a register area to a slave addressed via Modbus Plus, TCP/IP-Ethernet or SY/MAX-Ethernet
Perform data transfers through an EIO bus to and from Modbus slaves connected to a Modicon M340 rack
Receive a character string from a Modicon M340 serial communication module through an EIO bus
Perform various network communication operations on Modbus Plus, TCP/IP-Ethernet or SY/MAX-Ethernet
Send a character string of 1000 bytes maximum from a Modicon M340 Modbus master through an EIO bus
Read a register area from a slave addressed via Modbus Plus, TCP/IP-Ethernet or SY/MAX-Ethernet
Read registers in a Modbus slave connected to a Modicon M340 Modbus master through an EIO bus
Read the status words of a Modicon M340 Ethernet I/O module by performing an explicit exchange with the processor memory
Send a command to a Modicon M340 Ethernet I/O module with a command word by performing an explicit exchange
Write a register area to a slave addressed via Modbus Plus, TCP/IP-Ethernet or SY/MAX-Ethernet
Write registers in a Modbus slave connected to a Modicon M340 Modbus master through an EIO bus
Modbus messages from master PLC and ASCII input/output strings.
Messaging Service Communication Functions on Modicon Momentum Platform
The following table gives an overview of Modicon Momentum platform messaging service functions:
Function
Role
Perform various network communication operations on Modbus Plus, TCP/IP-Ethernet or SY/MAX-Ethernet.
Modbus messages from master PLC and ASCII input/output strings.
Modbus messages from master PLC and ASCII input/output strings.
Messaging Service Communication Functions on Modicon Premium Platform
The following table gives an overview of Modicon Premium platform messaging service functions:
Function
Role
Send/request receipt of data.
Read an array of bytes.
Read a character string.
Send a character string and wait for a response.
Emulate a Modbus master communication from a serial link configured in character mode.
Write a character string.
Receive a telegram.
Read 1 Kbyte of messaging.
Read common Modbus Plus data.
Read standard language objects: internal words and bits, system words and bits, timers, monostables, drums, registers, counters.
Send UNI-TE requests.
Send a telegram.
Process immediately READ_VAR and WRITE_VAR requests on Modbus (Immediate server).
Write 1 Kbytes of messaging.
Write common Modbus Plus data.
Write standard language objects: internal words and bits, system words and bits.
Availability of Functions According to Protocols
Protocols supported by the messaging service functions in a Modicon M340 platform:
Function
TCP/IP
ETHWAY
CANopen
Modbus serial
Modbus Plus
Fipway
Uni-Telway
Fipio
Character mode
DATA_EXCH
X
–
X
X
–
–
–
–
X
ETH_PORT_CTRL
X
–
–
–
–
–
–
–
–
INPUT_BYTE
–
–
–
–
–
–
–
–
X
INPUT_CHAR
–
–
–
–
–
–
–
–
X
PRINT_CHAR
–
–
–
–
–
–
–
–
X
READ_VAR
X
–
X
X
–
–
–
–
–
SEND_EMAIL
–
–
–
–
–
–
–
–
X
WRITE_VAR
X
–
X
X
–
–
–
–
–
X 
Yes
– 
No
Protocols supported by the messaging service functions in a Modicon M580 platform:
Function
TCP/IP
ETHWAY
CANopen
Modbus serial
Modbus Plus
Fipway
Uni-Telway
Fipio
Character mode
DATA_EXCH
X
–
–
X
–
–
–
–
–
GET_TS_EVENT_M
X
–
–
–
–
–
–
–
–
INPUT_BYTE
–
–
–
–
–
–
–
–
X
INPUT_CHAR
–
–
–
–
–
–
–
–
X
PRINT_CHAR
–
–
–
–
–
–
–
–
X
READ_PARAM_MX
X
–
–
–
–
–
–
–
–
READ_STS_MX
X
–
–
–
–
–
–
–
–
READ_VAR
X
–
–
X
–
–
–
–
–
RESTORE_PARAM_MX
X
–
–
–
–
–
–
–
–
SAVE_PARAM_MX
X
–
–
–
–
–
–
–
–
SEND_EMAIL
X
–
–
–
–
–
–
–
–
WRITE_CMD_MX
X
–
–
–
–
–
–
–
–
WRITE_PARAM_MX
X
–
–
–
–
–
–
–
–
WRITE_VAR
X
–
–
X
–
–
–
–
–
X 
Yes
– 
No
Protocols supported by the messaging service functions in a Modicon Quantum platform:
Function
TCP/IP
ETHWAY
CANopen
Modbus serial
Modbus Plus
Fipway
Uni-Telway
Fipio
Character mode
CREAD_REG
X
–
–
–
X
–
–
–
–
CWRITE_REG
X
–
–
–
X
–
–
–
–
EXCH_QX
X
–
–
X
–
–
–
–
–
INPUT_CHAR_QX
–
–
–
–
–
–
–
–
X
MBP_MSTR
X
–
–
–
X
–
–
–
–
PRINT_CHAR_QX
–
–
–
–
–
–
–
–
X
READ_REG
X
–
–
–
X
–
–
–
–
READ_REG_QX
–
–
–
X
–
–
–
–
–
READ_STS_QX
X
–
–
–
–
–
–
–
–
WRITE_CMD_QX
X
–
–
–
–
–
–
–
–
WRITE_REG
X
–
–
–
X
–
–
–
–
WRITE_REG_QX
–
–
–
X
–
–
–
–
–
XXMIT
–
–
–
X
–
–
–
–
X
X 
Yes
– 
No
Protocols supported by the messaging service functions in a Modicon Momentum platform:
Function
TCP/IP
ETHWAY
CANopen
Modbus serial
Modbus Plus
Fipway
Uni-Telway
Fipio
Character mode
MBP_MSTR
X
–
–
–
X
–
–
–
–
XMIT
–
–
–
X
–
–
–
–
X
XXMIT
–
–
–
X
–
–
–
–
X
X 
Yes
– 
No
Protocols supported by the messaging service functions in a Modicon Premium platform:
Function
TCP/IP
ETHWAY
CANopen
Modbus serial
Modbus Plus
Fipway
Uni-Telway
Fipio
Character mode
DATA_EXCH
(1)
X
–
–
–
X
X
–
–
INPUT_BYTE
–
–
–
–
–
–
–
–
X
INPUT_CHAR
X
X
–
–
–
X
–
–
X
OUT_IN_CHAR
X
X
–
–
–
X
–
–
X
OUT_IN_MBUS
–
–
–
X
–
–
–
–
–
PRINT_CHAR
X
X
–
–
–
X
–
–
X
RCV_TLG
–
–
–
–
–
X
–
–
–
READ_ASYN
X
–
–
–
–
–
–
–
–
READ_GDATA
–
–
–
–
X
–
–
–
–
READ_VAR
X
X
–
X
X
X
X
X
–
SEND_REQ
X
X
X
X
X
X
X
X
–
SEND_TLG
–
–
–
–
–
X
–
–
–
UNITE_SERVER
–
–
–
X
–
–
–
–
–
WRITE_ASYN
X
–
–
–
–
–
–
–
–
WRITE_GDATA
–
–
–
–
X
–
–
–
–
WRITE_VAR
X
X
–
X
X
X
X
X
–
X 
Yes
– 
No
(1) 
Exchanges between applications and UNI-TE requests are available but Modbus requests coding is not available with an ETY Premium module.