RS422 Engine Communication

Hello,

Could you comment for RS422 communication with X20-CS1030.

Serial communication (sending and receiving) is carried out cyclically in an infinite loop.
There are some blocks which have about 100 values (each value is about 24bytes).

Request block is as below . it is 16 byte…

As an example, some of received values for block 8 is as below. each value is about 24bytes…

Could you comment if which structures are able to be used?
As array, string etc.

Hi Sener,

Welcome to the Community!

The X20CS1030 transmits and receives serial frames. The actual data contained in the frames can be of any type and needs to be parsed by the receiver based on some predetermined definition.

Communication is typically done using the DVFrame library. In order to send a frame, you have to pass the FRM_write function block the address to a data buffer. The data buffer is an array of single byte characters, so you can just use a STRING for this. If you want to see an example, you can one to your project by selecting Library Samples in the Toolbox while in the Logical View.