RCOM_TRANSMITΒΆ

../_images/b2ccc9dbe38af53d0a33139000eba54e1
Parameter Value
Library_File_Name RCOM_AC500_V13.lib
Firmware V1.3.1
Type Type_Function_Block_History
Group RCOM/RCOM+ communication

This Function Block transmits a data record to an RCOM communication partner.

If used in an RCOM master, a send job including the user data is sent to the called slave. As a result, the slave sends an acknowledgement.

If the Function Block is used in a slave, the data record is transferred to the event queue and transmitted to the master with the next event poll.

At the receiver, the transmitted data appear at an accordingly programmed RCOM_REC Function Block.

Once a job has been started (FALSE/TRUE edge at input EN), the data at the inputs NODE, ID, LEN and DATA must not be changed until the job is completed (DONE = TRUE).

Data transmission using the RCOM_TRANSMIT Function Block is only possible, if the CM574-RCOM has been initialized (RCOM Function Block) and if normalization has been performed previously.

With each FALSE/TRUE edge at input EN, transmission is performed once. With this edge, the outputs DONE, ERR and ERNO are also set to zero.

Further FALSE/TRUE edges at input EN are ignored until transmission is completed (i.e. until DONE = TRUE). When transmission is completed, the outputs DONE, ERR and ERNO are set. DONE, ERR and ERNO are reset with a falling edge at input EN.

Input NODE specifies the RCOM subscriber that should receive the data. ID specifies the data record number within this subscriber, LEN has to be even-numbered and specifies the number of transmitted words. If the Function Block is used in a slave (event transmission), NODE has to be set to zero. LEN can be max. 14, because the timing mark is stored in addition to the user data.

Transmission was successful, if DONE = TRUE and ERR = FALSE. If DONE = TRUE and ERR = TRUE, an error occurred and the error type is indicated at output ERNO.