Chapter 8 Logic Instructions
8-277
Message content: 01 10 15 00 00 01 02 00 08.
The checksum CF is calculated first. Then the message is converted into ASCll code.
Message content after conversion: 3A 30 31 31 30 31 35 30 30 30 30 30 31 30 32 30 30 30 38 43
46 0D 0A
b. If the parameters of RS232_RS instruction are configured based on variable table 2, the data in
%MB4000~%MB4022 are 3A 30 31 31 30 31 35 30 30 30 30 30 31 30 32 30 30 30 38 43 46 0D
0A
The message data on the bus: 3A 30 31 31 30 31 35 30 30 30 30 30 31 30 32 30 30 30 38 43 46 0D
0A.
 Variable table 2
RS RS232_RS
RS_Ex BOOL FALSE
RS_Abort BOOL FALSE
RS_CyRun BOOL TRUE
RS_SBA %MB4000 USINT 16#3A
RS_SL UINT 23
RS_RBA %MB5000 USINT
RS_RL UINT 23
RS_AddSE BOOL 0
RS_Tout UINT 500
RS_Done BOOL
RS_Bsy BOOL
RS_Abt BOOL
RS_Act
BOOL
RS_NCyc BOOL
RS_Rec BOOL
RS_RTO BOOL
RS_RLOM BOOL
RS_RAL UINT
RS_Err BOOL
RS_ErrID WORD