全球FlexSim系统仿真中文论坛
标题:
生产看板指示
[打印本页]
作者:
4a415007
时间:
2017-2-9 14:09
标题:
生产看板指示
如何在队列或是处理器使用生产看板指示物料需求量要50个。
想請問在队列與处理器使用拉式系統,才是符合拉式作業。來假設一次拉動50個物料進行加工。
作者:
liuzhifan
时间:
2017-2-9 21:25
你好,你的看板指示需求量50个,这个数字是固定的,还是随着仿真而变动的,如果是固定的,直接使用“文本”这个控件。一次加工50个零件,直接在触发器里编写代码。
重置触发代码:
/**Custom Code*/
treenode current = ownerobject(c);
closeoutput(current);
进入触发代码:
/**Custom Code*/
treenode item = param(1);
treenode current = ownerobject(c);
int port = param(2);
if(content(current)>=50)
{
openoutput(current);
closeinput(current);
}
else
{
openinput(current);
}
离开触发代码:
/**Custom Code*/
treenode item = param(1);
treenode current = ownerobject(c);
int port = param(2);
if(content(current)<=1)
{openinput(current);closeoutput(current);}
作者:
liuzhifan
时间:
2017-2-9 21:27
文件
作者:
4a415007
时间:
2017-2-9 22:21
非常感谢。如果是随着仿真而变动的那需要如何编写呢?
作者:
liuzhifan
时间:
2017-2-10 19:53
不太懂你的意思,关键是哪里会引发看板的变动
作者:
liuzhifan
时间:
2017-2-10 20:29
我现在能够实现动态显示处理器还需要进入的零部件数量。处理器处理50的零部件,如果进入了6个,就会显示还需进入部件数量44.选用“文本”控件。
作者:
liuzhifan
时间:
2017-2-10 20:30
treenode current = ownerobject(c);
treenode textnode = param(1);
/***popup:DisplayPerTime*/
/**显示还需要进入零部件数量**/
string starttext = /** \n文本: *//***tag:text*//**/"还需进入部件数:"/**/;
treenode involved = node(/** \n实体: *//***tag:object*//**/"处理器6"/**/,model());;
double t=50-content(involved);
setnodestr(textnode, concat(starttext, numtostring(t,0,1)));
复制代码
作者:
4a415007
时间:
2017-2-10 20:31
在队列的生产看板情况下,需求数量会变动,如何编写呢?
作者:
liuzhifan
时间:
2017-2-10 20:32
7#
liuzhifan
作者:
4a415007
时间:
2017-2-23 20:08
请问大家拉式作业是在Queue还是Processor作业,因为我有做例子,但是看不出有什么差别,结果看不出拉式作业的变化模式。
作者:
liuzhifan
时间:
2017-2-27 16:47
拉动式生产?
作者:
liuzhifan
时间:
2017-2-27 16:47
10#
4a415007
拉动式生产
欢迎光临 全球FlexSim系统仿真中文论坛 (http://www.flexsimasia.com/)
Powered by Discuz! X3.3