Un-normal modbus for York FCU

11 Posts
3 Users
0 Likes
39 Views
(@sq.zheng@pcvue.com.cn)
Posts: 0
New Member Guest
 

Hello,

I got a customer who plans to integrate the York FCU into PcVue in one project. But the protocol for York FCU is not a standard modbus protocol.

1. For the read: the high 8 digits and the low 8 digits are reversed. I used scada basic to resemble the data, and it works.

2. But for write: I failed to use PcVue to write data to the FCU. If we used the modscan to write, it'll work as following:
a) use Holding register:

279=42 1

b)go to Setup-Extended-Preset Regs

279=43 2

c)in the popup dialog, input the address 2, length 3;

279=44 3

d)input the value for address '0002', and then click 'update'. That means, modscan needs to set the three addresses together.

279=45 4

In PcVue, i tried to send 3 register together in one frame or in three different frames, but it did not work.:(

Has somebody experience in this kind of issue?

Thanks in advance!

 
Posted : 07/12/2012 1:24 pm
n.kunzer
(@n-kunzerarcinfo-com)
Posts: 1236
Member Moderator
 

I suppose you have also to reverse your 8 digits before writing....

 
Posted : 07/12/2012 1:45 pm
(@sq.zheng@pcvue.com.cn)
Posts: 61
Trusted Member Guest
 

Yes, before we send, we calculated the value. 🙂

 
Posted : 07/12/2012 2:32 pm
ED
 ED
(@e-duvalarcinfo-com)
Posts: 138
Estimable Member
 

In you exemple you need to write the 3 values at the same time.
How did you do that in PcVue?
You must use
SET(var1,val)
SET(var2,val)
SET(var3,val)

SENDLIST("BLOC")

 
Posted : 10/12/2012 3:20 pm
n.kunzer
(@n-kunzerarcinfo-com)
Posts: 1236
Member Moderator
 

Obviously!!!

 
Posted : 10/12/2012 3:27 pm
(@sq.zheng@pcvue.com.cn)
Posts: 61
Trusted Member Guest
 

In you exemple you need to write the 3 values at the same time.
How did you do that in PcVue?
You must use
SET(var1,val)
SET(var2,val)
SET(var3,val)

SENDLIST("BLOC")

Yes, i tried. But it did not work neither. There are two results.

1. the frame is "Word out", then when set the values, it turned to be "?" from the "0". No response in the device side.

2. with other types of frame, then we set the values successfully, but no response in the device side.

Both the results, the cimway network.node.frame worked well, there is no error.

 
Posted : 10/12/2012 3:43 pm
(@sq.zheng@pcvue.com.cn)
Posts: 0
New Member Guest
 

Hello all,

I made a test again, with two protocol: one Modbus TCP simulated by Modsim, the other one is York Modbus RTU.

337=51 YORK MODBUS

I can use SCADA BASIC to set value to modsim, but failed for York device.

I use the CWAudit.exe to get the packages during the test. Could somebody help me to have a check?

Thanks in advance!

 
Posted : 07/01/2013 9:38 am
(@sq.zheng@pcvue.com.cn)
Posts: 61
Trusted Member Guest
 

We can not attach the file other than picture?

 
Posted : 07/01/2013 9:43 am
n.kunzer
(@n-kunzerarcinfo-com)
Posts: 1236
Member Moderator
 

(@sq.zheng@pcvue.com.cn)
Posts: 61
Trusted Member Guest
 


I try ...

Edit: Looks not working 🙁

Edit2: You must zip the file and it's ok :woohoo:

Thanks Nico.

It does not support Winrar. 🙁

 
Posted : 07/01/2013 10:55 am
(@sq.zheng@pcvue.com.cn)
Posts: 61
Trusted Member Guest
 

Yes, before we send, we calculated the value. 🙂

Hello,

I think I have found the reason, because that I succeeded without reversing value, and it works. 🙂

If reads address 1's value 36866 as temp 18C, then i write 36867 as temp 19C. together with the 0 for the other two registers. Then, the device changes the temp.

But i still don't know why we don't need to reverse the digital.

 
Posted : 07/01/2013 1:03 pm