Modulus engine function, Mod_eng> function block summary, Mod_eng> function block operation notes – Yaskawa MP2000 User Manual
Page 78: Mod_eng

TECHNICAL NOTE
MODULUS ENGINE function
Function block for MP2000 series
The “MOD-ENG” block is used to modulate any counter (true encoder or virtual counter) into a saw tooth
shape pattern with a cycle equivalent to the machine cycle desired (see diagram below). The machine
cycle is the highest value the output can go before it returns to zero. This block stores its data in the RDA
based on its Master/Slave value. This block is required for the Cam function block to work.
Function Block Diagram
• This block should be used with CAM function block.
• To use the function block, the ENABLE bit must be held ON. The block will begin
to execute (output the modulated RAWDATA input) on a rising edge from the
EXECUTE
bit.
• If
the
ENABLE
bit goes off during operation, the Raw data as well as the
modulated data will stop being sent to the RDA and all outputs will go to zero.
• The
RESET
bit sets the modulated data to zero.
• Note that the master/slave pairs are separated by 50 words in the RDA(up to 10
pairs). Example: Master/Slave pair #1 starts at MW56000, Master/Slave
pair #2 starts at MW56050, Master/Slave pair #3 starts at MW56100, etc
• Fourteen words are used as working registers for this function, starting at the
address in Data14W.
File: MP2000_IndividualFunctionDocument_RevC 78/168
Doc Number: eng.MCD.05.101
11/17/2005