Ascii character output function, Asciiout> function block summary, Asciiout> function block operation notes – Yaskawa MP2000 User Manual
Page 160: Asciiout

TECHNICAL NOTE
ASCII CHARACTER OUTPUT function
Function block for MP2000 series
This function block sends a sequence of 7-bit or 8-bit ASCII characters of a specified size through the
controllers serial port, RS232 or RS422/485 to a receiver device. This sequence of characters is stored
in table format at an offset global MW register location. A carriage return (CR) and line feed (LF) can be
added to the end of the table if needed.
Function Block Diagram
• Character transmission starts at positive edge of EXECUTE input .
• To use the function block, the EXECUTE input must be held ON.
• If a carriage return (CR) and line feed (LF) are needed on the end of the table the
CRLF
bit must be set high. Note that this will insert the Carriage Return and Line
Feed (which takes up 8 bits each) at the end of the table. The last 16 bit word
data-point in the table will be over written with this before it is sent out the serial
port. In this case SIZE indicates the total size of the data to be transmitted,
including CrLf.
• ERROR–ID output has been added to better troubleshoot communication
problems. A zero in the value means no errors or block disabled.
• Protocol settings must be configured in controller module setup and receiver
setup, and must match (baud rate, parity, stop bit, # data bits).
• This ASCIIout function block uses a MSG-SEND an embedded function. Since
the transmission protocol is set to none (version 3, unit is by byte), the
Master/Slave setting in module configuration is not necessary.
• Twenty-three words are used as working registers for this function, starting at the
address in Data23W.
File: MP2000_IndividualFunctionDocument_RevC 160/168
Doc Number: eng.MCD.05.101
11/17/2005