最新文章专题视频专题问答1问答10问答100问答1000问答2000关键字专题1关键字专题50关键字专题500关键字专题1500TAG最新视频文章推荐1 推荐3 推荐5 推荐7 推荐9 推荐11 推荐13 推荐15 推荐17 推荐19 推荐21 推荐23 推荐25 推荐27 推荐29 推荐31 推荐33 推荐35 推荐37视频文章20视频文章30视频文章40视频文章50视频文章60 视频文章70视频文章80视频文章90视频文章100视频文章120视频文章140 视频2关键字专题关键字专题tag2tag3文章专题文章专题2文章索引1文章索引2文章索引3文章索引4文章索引5123456789101112131415文章专题3
当前位置: 首页 - 正文

欧姆龙协议宏

来源:动视网 责编:小OO 时间:2025-09-26 00:24:20
文档

欧姆龙协议宏

序列00DATA:+$(R(1),16)+DATA:+&~(W(1),8)+PLC程序问题1:通信序列明明是00,而PLC程序中控制字2怎么是#1呢?问题2:PLC程序中MOV&5D250这是用来做什么呀?问题3:上面的发送和接收数中为什么只有帧头,data,帧毛,而没有数据长度,和接收地址呢?问题4:+$(R(1),16)+,+&~(W(1),8)+怎么和PLC程序对应上来?问题5:这个S00030200E怎么跟D260联系起来?R0001000001990200E怎么跟D250联系起来?上
推荐度:
导读序列00DATA:+$(R(1),16)+DATA:+&~(W(1),8)+PLC程序问题1:通信序列明明是00,而PLC程序中控制字2怎么是#1呢?问题2:PLC程序中MOV&5D250这是用来做什么呀?问题3:上面的发送和接收数中为什么只有帧头,data,帧毛,而没有数据长度,和接收地址呢?问题4:+$(R(1),16)+,+&~(W(1),8)+怎么和PLC程序对应上来?问题5:这个S00030200E怎么跟D260联系起来?R0001000001990200E怎么跟D250联系起来?上
序列00

DATA:+$(R(1),16)+

DATA :+&~(W(1),8)+

PLC程序

问题1:通信序列明明是00,而PLC程序中控制字2怎么是#1呢?

问题2:PLC程序中MOV &5 D250 这是用来做什么呀?

问题3:上面的发送和接收数中为什么只有帧头,data,帧毛,而没有数据长度,和接收地址呢?

问题4:+$(R(1),16)++&~(W(1),8)+怎么和PLC程序对应上来?

问题5:这个S0003 0200E怎么跟D260联系起来?R0001 0000 0199 0200E怎么跟D250联系起来?

上位机 = > PLC

1.Bit command word

2.Setpoint word to pump 0 ~ 1000 = (0% ~ 100.0%)

Example setpoint string; [xx]  is ASCII Code Value

S0003 0200E    S[53]     = start command for setpoints

    Bin   Bcd

        Bit command word

        0003[30303033] 

     0 bit : 1 = Switch pump ON

            1 bit : 1 = Switch cycle ON

            2 bit : 0 =  no reset

            ~

            13 bit : system 1 sec clock to  the communication confirm

        Pressure value command word

        0200[30323030]

            0200     = 20.0 %

        E[45]    = end command

PLC = > 上位机

a.Current pump status(Bit) word

b.Set pressure word 0 ~ 1000 = (0% ~ 100.0%)

c.Current pressure word 0 ~ 1000 = (0% ~ 100.0%)

d.Current HP status word 0 ~ 65535

Example readback string; [xx]  is ASCII Code Value

R0001 0000 0199 0200E    

    Bin   Bcd  Bcd   Bcd

R[52]    = start command for readbacks

            Bit status word

                   0001[30303031]

0 bit : 1 = Pump is ON

1 bit : 0 = Cycle is OFF

2 bit : 0 = no reset

3 bit : 1 = HP rinse pressure OK to Belt drive run

0 = HP rinse pressure NG

                ~

                                               R2000

                                                ↑    

13 bit : system clock 2 second to communication check

            Set pressure value

            0199[30313939]

0199    = Current pressure 19.9% If not same with set, error

            Current pressure value

            0200[30323030]

0200    = Current pressure 20.0%

R0001000001990200E

Error code

01= No error  in HP system

E[45]    = end command

Proposed COM settings;

Baudrate    9600

Parity        non

Start        1

Databits    8

Stopbits    1

Communication period is 0.3 second

文档

欧姆龙协议宏

序列00DATA:+$(R(1),16)+DATA:+&~(W(1),8)+PLC程序问题1:通信序列明明是00,而PLC程序中控制字2怎么是#1呢?问题2:PLC程序中MOV&5D250这是用来做什么呀?问题3:上面的发送和接收数中为什么只有帧头,data,帧毛,而没有数据长度,和接收地址呢?问题4:+$(R(1),16)+,+&~(W(1),8)+怎么和PLC程序对应上来?问题5:这个S00030200E怎么跟D260联系起来?R0001000001990200E怎么跟D250联系起来?上
推荐度:
  • 热门焦点

最新推荐

猜你喜欢

热门推荐

专题
Top