xLadder user manual-V2.0.0.6

UFP_QAR

UFP_QAR: Sending and receiving 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.

 XMT :Send data FIFO,If the input is MB300:

( Instruction input ) MW300 Sending data FIFO buffer

size (byte unit)

( Instruction input ) MW302 Sending data size (byte)

( Instruction input ) MB304 ~ … Send data.

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

( Instruction input ) MW400 Receive data FIFO buffer

size (byte unit)

( Instruction output ) MW402 The size of the received

data (byte unit)

( Instruction output ) MB404 ~ … Receive data.

UFP_RCV 、 UFP_XMT 、 UFP_QAR error numbers:

226

Made with FlippingBook - Online magazine maker