COM_SENDΒΆ

../_images/b981cf93e38964b20a33139000eba54e
Parameter Value
Library_File_Name ASCII_AC500_V10.lib
Firmware V1.0
Type Type_Function_Block_History
Group ASCII communication

The Function Block COM_SEND is used for sending data via a serial interface. The number of COM_SEND Function Blocks in a project as well as their usage in (i.e. assignment to) different user tasks is not restricted. Transmission is triggered by a FALSE > TRUE edge at input EN. By specifying the length of the memory address for the data to be transmitted, the format of the telegram is not restricted in any way.

The length of the data block to be transmitted is not limited. It is recommended to write only data blocks up to a maximal size of 256 bytes into the transmit buffer, since data can only be transmitted if enough free memory space is available for the transmit buffer. If required, longer telegrams can be generated by using several COM_SEND Function Blocks following each other immediately without considering their individual DONE outputs.

The inputs can neither be duplicated nor negated/inverted.

Telegram length

The maximum length of a transmit telegram can be controlled by evaluating the output DONE. DONE = TRUE indicates an empty transmit buffer. If a transmission is only triggered if DONE = TRUE, one single telegram will be sent per COM_SEND. Theoretically, endless data streams can be generated by ignoring DONE.