贝加莱PCC梯形图编程 点击:2224 | 回复:7



zkaikely

    
  • 精华:0帖
  • 求助:1帖
  • 帖子:4帖 | 2回
  • 年度积分:0
  • 历史总积分:20
  • 注册:2008年11月18日
发表于:2012-10-13 22:18:56
楼主
贝加莱PCC用梯形图编程的时候定时器的定时值怎么输入啊,谢谢大侠了。



shiny

  • 精华:0帖
  • 求助:0帖
  • 帖子:6帖 | 94回
  • 年度积分:0
  • 历史总积分:340
  • 注册:2003年6月14日
发表于:2012-10-21 21:27:03
1楼

MOVE 指令  用于赋值

 

如果是ST 就容易很多

 

STANDARD - TON_10ms Example in Structured Text

Description of Example

The following example shows how the TON_10ms function is used in Structured Text.

The ‘output‘ variable is controlled by the ‘input‘ variable. The positive edge of ‘output‘ has a switch-on delay of approximately 1.2 seconds in relation to the positive edge of ‘input‘. The time which has passed since the positive edge of ‘input‘ can be read from the ‘elapsedTime‘ variable as long as this delay still occurs.

Example Code (cyclic)

(* cyclic program *) (* call function block *) (* Time is measured in ticks of 10 milliseconds, so 120 equals to 1.2 seconds *) TON_10ms_01( IN:=input, PT:=120 );(* assign results to variables *) output := TON_10ms_01.Q;elapsedTime := TON_10ms_01.ET;

hys8023

  • 精华:0帖
  • 求助:3帖
  • 帖子:4帖 | 32回
  • 年度积分:0
  • 历史总积分:0
  • 注册:2015年5月30日
发表于:2015-08-05 15:55:26
2楼

在功能块那个图标那一排后面一点的,有一个写的像gg的图标

hys8023

  • 精华:0帖
  • 求助:3帖
  • 帖子:4帖 | 32回
  • 年度积分:0
  • 历史总积分:0
  • 注册:2015年5月30日
发表于:2015-08-05 15:56:36
3楼

还有就是时间输入格式是 T#xxx

例如1分20秒30毫秒  T#1M20S30MS

gongkong小王

  • 精华:0帖
  • 求助:0帖
  • 帖子:6帖 | 78回
  • 年度积分:0
  • 历史总积分:1206
  • 注册:2014年8月08日
发表于:2016-03-27 17:57:32
4楼

贝加莱(B&R)PLC

lyp6415237

  • 精华:0帖
  • 求助:0帖
  • 帖子:0帖 | 40回
  • 年度积分:0
  • 历史总积分:101
  • 注册:2018年1月30日
发表于:2018-02-08 10:05:19
5楼

贝加莱(B&R)PLC


lzzcym

  • 精华:0帖
  • 求助:0帖
  • 帖子:1帖 | 69回
  • 年度积分:0
  • 历史总积分:94
  • 注册:2004年7月31日
发表于:2018-03-29 08:55:35
6楼

很好的资料   下载学习   

chendl66369723

  • 精华:0帖
  • 求助:0帖
  • 帖子:0帖 | 10回
  • 年度积分:0
  • 历史总积分:10
  • 注册:2011年12月23日
发表于:2018-04-02 17:30:04
7楼

贝加莱(B&R)PLC



热门招聘
相关主题

官方公众号

智造工程师