beautypg.com

Optional customization steps – Yaskawa MotionWorks IEC Toolboxes User Manual

Page 210

background image

Communications Toolbox: Function Blocks

MotionWorks IEC61131-3 Toolboxes: 2013-09-13

197

d.

Use the GetParameter function block to separate command parameters. The example

below uses GetParameter with “Method#Character?

Optional Customization Steps

The CommandProcessor can process one or many commands per scan. This is a performance tuning issue. If
the host device must send several setting at once, the MPiec controller may seem slow to process all the
commands based on the Task interval. If the Task Interval and priority are set such that the
CommandProcessor will have time to continue scanning the CircularByteBuffer in one scan until ALL bytes have
been processed, performance will be improved by changing the following CommandProcessor code:

1.

Remove AND NOT(CommandCreated) from main WHILE loop as shown

none