Ascii character input function block, Asciiin> function block summary, Asciiin> function block operation notes – Yaskawa MP2000 User Manual
Page 154: Asciiin

TECHNICAL NOTE
ASCII CHARACTER INPUT Function Block
Function block for MP2000 series
This function block receives a sequence of 7-bit or 8-bit ASCII characters of a specified size through the
controllers serial port, RS232 or RS422/485 from a transmitter device. This sequence of characters is
then stored in table format at an offset global MW register location.
Function Block Diagram
• To use the function block, the EXECUTE bit must be held ON.
• If
the
EXECUTE
bit goes off during operation, the block will stop receiving data.
• On the rising edge of the EXECUTE input, the following two are executed. The
EXECUTE input should be maintained ON while in operation.
o
The set value of START and SIZE are read.
o
The storage table is initialized by data H2020(Null).
• 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 transmitter
setup, and must match (baud rate, parity, stop bit, # data bits).
• This ASCIIin function block uses a MSG-RCV an embedded function. Since the
transmission protocol is set to none (internal setting =3(no procedure 2)(The data
of each byte is transferred according to a no procedure)), the Master/Slave
setting in module configuration is not necessary.
File: MP2000_IndividualFunctionDocument_RevC 154/168
Doc Number: eng.MCD.05.101
11/17/2005