xLadder user manual-V2.0.0.6

Free port communication baud rate can be set to 1200, 2400, 4800, 9600, 19200,

38400, 57600 or 115200.Devices that meet the above conditions can communicate

with PLC.Free port mode has great flexibility.

Free port instructions:

UFP_RCV

UFP_RCV :Receive data instruction

 PORT: Communication port.

 TBL: Configuration table , If the input is MB200.

MB200 is the configuration byte:

( Instruction output ) M200.0 Communication

preparation

( Instruction output ) M200.1 Communication

completion

( Instruction output ) M200.2 Communication error

( Instruction input ) M200.3 Send CRC check

( Instruction input ) M200.4 Send CRC check

( Instruction input ) M200.5 Receive CRC check

( Instruction input ) M200.6 Receive CRC check

( Instruction output ) MB201 Error number : 0indicates

no error.

 RCV: receive data,If the input is MB400:

( Instruction input ) MW400: Receive data FIFO buffer

size (byte unit)

( Instruction output ) MW402:The size of the received

data (in bytes)

( Instruction output ) MB404 ~ … receive data.

224

Made with FlippingBook - Online magazine maker