CM PtP RS232 HF (6ES7541‑1AD00‑0AB0) communication module
Manual, 01/2013, A5E03790665-01
19
Programming
5
Overview of the instructions
Communication between the CPU, the communication module and a communication partner
takes place by means of special instructions and protocols that support the corresponding
communication modules. The instructions process the exchange of data between the CPU
and the communication module. They must be called cyclically from the user program. Data
transmission takes place asynchronously across several cycles.
The transmission protocols are implemented on the communication module. The protocol is
used to adapt the interface of the communication module to the interface of the
communication partner.
Instruction
Meaning
Port_Config
You use the Port_Config instruction to dynamically assign basic interface
parameters.
Send_Config
You use the Send_Config (send configuration) instruction to dynamically
assign serial send parameters of a port.
Receive_Config
You use the Receive_Config (receive configuration) instruction to
dynamically assign serial receive parameters of a port.
P3964_Config
You use the P3964_Config (protocol configuration) instruction to
dynamically assign the parameters of the 3964(R) procedure.
Send_P2P
You use the Send_P2P instruction to send data to a communication partner.
Receive_P2P
You use the Receive_P2P instruction to receive data from a communication
partner.
Receive_Reset
You use the Receive_Reset instruction to delete the receive buffer of the
communication module.
Signal_Get
You use the Signal_Get instruction to read the RS232 accompanying
signals.
Signal_Set
You use the Signal_Set instruction to set the RS232 accompanying signals.
Get_Features
You use the Get_Features instruction to read expanded functions supported
by the communication module.
Set_Features
You use the Set_Features instruction to set expanded functions supported
by the communication module.
USS_Port_Scan
You use the USS_Port_Scan instruction to communicate via the USS
network.
USS_Drive_Control
You use the USS_Drive_Control instruction to exchange data with a drive.
USS_Read_Param
You use the USS_Read_Param instruction to read parameters from the
drive.
USS_Write_Param
You use the USS_Write_Param instruction to change parameters in the
drive.
Modbus_Comm_Load The instruction Modbus_Comm_Load allows you to configure the port of the
communication module for Modbus RTU.