Search found 5 matches

by 99bobster99
Thu Mar 01, 2018 11:02 am
Forum: Scripting
Topic: Writing Continuous Modbus Registers
Replies: 7
Views: 14035

Re: Writing Continuous Modbus Registers

Thank you for the excellent information Adam!

Your assistance is greatly appreciated!

I am working on this now, I will let you know if I get stuck along the way.
by 99bobster99
Thu Mar 01, 2018 8:29 am
Forum: Scripting
Topic: Writing Continuous Modbus Registers
Replies: 7
Views: 14035

Re: Writing Continuous Modbus Registers

Adam, Ah, sneaky! :) I started looking at all the driver logic and got a bit dizzy ... :) Excellent, thank you for the feedback, I will give this a try now!! Question, the driver code you mentioned, does this read and write all (8) modbus registers at the same time? If so, what do I need to do to im...
by 99bobster99
Wed Feb 28, 2018 1:49 pm
Forum: Scripting
Topic: Writing Continuous Modbus Registers
Replies: 7
Views: 14035

Re: Writing Continuous Modbus Registers

Adam, Thank you for the code snippet. At this point I think mine is working well enough to not need a complete driver. But I am missing the details on the fundamental ability to copy from one variable format to another; -> How do you copy a BYTE variable to any location within an INT16 variable? -> ...
by 99bobster99
Wed Feb 28, 2018 8:12 am
Forum: Scripting
Topic: Writing Continuous Modbus Registers
Replies: 7
Views: 14035

Re: Writing Continuous Modbus Registers

It looks like I can do this a simpler way, by moving bytes and/or words into each of the (8) INT16 registers. Unfortunately, I am new at doing this within the IX development and C# world. I know how to trigger a bit, within the IX scripting language (^1 = << bitnumber), but how do you move a Byte in...
by 99bobster99
Mon Feb 26, 2018 11:04 am
Forum: Scripting
Topic: Writing Continuous Modbus Registers
Replies: 7
Views: 14035

Writing Continuous Modbus Registers

Hello, I would like to do the following, but so far have not had any success (using scripting); -> I am communicating to a servo controller, over modbus tcp. The trick is, I need to be able to write all (8) INT16 modbus registers at once (within the same modbus packet). The device requires all (8) r...