Search found 882 matches: modbus readcoil

Searched query: modbus readcoil

by AbhijitR
Thu Dec 15, 2022 11:03 am
Forum: Flowcode V8
Topic: Change UART Properties
Replies: 4
Views: 20644

Re: Change UART Properties

Hello! Finally, the Modbus is working now, the change in the UART properties, i.e., Parity and Stop Bit, is achieved, as per what Ben mentioned in his previous post about using the C blocks to change the functions. One will need to ...
by AbhijitR
Wed Oct 12, 2022 7:18 pm
Forum: Flowcode V8
Topic: Change UART Properties
Replies: 4
Views: 20644

Re: Change UART Properties

Hello! Ben Good evening If you want to do the fix using C code then you can add this line to a C-icon after initializing the Modbus component. I tried one setting at a time in the C block, no doubt as you said after initializing the Modbus, also made necessary changes in the MODSCAN32 ...
by Benj
Wed Oct 12, 2022 12:00 pm
Forum: Flowcode V8
Topic: Change UART Properties
Replies: 4
Views: 20644

Re: Change UART Properties

Hello Abhi, If you want to do the fix using C code then you can add this line to a C-icon after initialising the Modbus component. Odd parity on UART channel 1 U1CON0 = U1CON0 | 0x02; Even parity on UART channel 1 U1CON0 = U1CON0 | 0x03; Two Stop bits on UART channel 1 U1CON2 = ...
by AbhijitR
Tue Oct 11, 2022 12:35 pm
Forum: Flowcode V8
Topic: Change UART Properties
Replies: 4
Views: 20644

Change UART Properties

Hello! I am using the MODBUS Slave component, the PIC chip is 18F26K42 running @16Mhz, everything is working good for the moment when communicating with MODSCAN32 or RADZIO on computer, but i am facing problem while communicating with ...
by AbhijitR
Thu Jun 09, 2022 7:01 am
Forum: Flowcode V8
Topic: MODBUS Slave
Replies: 12
Views: 10867

Re: MODBUS Slave

... with all kinds of equipment. I'll add it to the list and see how complex it would be to add to the base UART comms. From there adding it to the Modbus component etc should be a doddle. My customer is using 17 odd number of slaves in one loop of Modbus master (Computer in this case) and the parameters ...
by viktor_au
Mon May 16, 2022 7:20 am
Forum: Flowcode V8
Topic: Send Data on email using GPRS
Replies: 60
Views: 59677

Re: Send Data on email using GPRS

... I want to use the GSM module to help me to monitor the home security by sending me the SMS only. I thought about the next model: Arduino Mega is a Modbus Master with up to 32 slaves/nodes. Modbus allow you to use the long wire/cable with good results. Each slave (based on Nano/Uno) can have up ...
by Benj
Wed Jan 19, 2022 11:20 am
Forum: Flowcode V8
Topic: MODBUS Slave Holding Registers
Replies: 2
Views: 2402

Re: MODBUS Slave Holding Registers

Hello, The problem is that a number starting with a 0 is interpreted as an octal number in C. Hence the problems with addresses 8 and 9 which are outside the range of an octal digit. Try just using the values 8 and 9 instead of 0008 and 0009, hopefully they will work correctly for you. More info her...
by chipfryer27
Tue Jan 18, 2022 11:09 pm
Forum: Flowcode V8
Topic: MODBUS Slave Holding Registers
Replies: 2
Views: 2402

Re: MODBUS Slave Holding Registers

... just specific to the one you are using? Initially it does perhaps sound like a bug somewhere especially if your PC shows correct. Not an expert in MODBUS but I do have Master/Slave emulators and some basic hardware that I can use to perhaps replicate issue if it helps. Bit busy just now but happy ...
by AbhijitR
Tue Jan 18, 2022 9:39 am
Forum: Flowcode V8
Topic: MODBUS Slave Holding Registers
Replies: 2
Views: 2402

MODBUS Slave Holding Registers

Hello! I am working on MODBUS Slave and i noticed one problem (i am not sure if this is a problem or it is like that only), when i assign SetHoldingRegister or ReadHoldingRegister in a sequence all goes well till i assign Coil Address ...
by fixstuff
Tue Aug 31, 2021 1:55 pm
Forum: General Programming
Topic: OPC UA status and subscription pricing
Replies: 1
Views: 5156

OPC UA status and subscription pricing

Hello, I looked in the drivers available for Flowcode, and didn't see anything for OPC UA. One of the positives of Flowcode is the Modbus Client/Server modules, but I'd prefer OPC UA since it can pull a tag direct out of either SCADA systems or PLC's directly. That being said, is there ...
by viktor_au
Fri Aug 27, 2021 9:20 pm
Forum: Flowcode V8
Topic: Modbus Slave Starting Addresses
Replies: 11
Views: 4323

Re: Modbus Slave Starting Addresses

Thank you Simon.
by Simon-ST
Thu Aug 26, 2021 9:42 am
Forum: Flowcode V8
Topic: Modbus Slave Starting Addresses
Replies: 11
Views: 4323

Re: Modbus Slave Starting Addresses

Hi Viktor, Modbus Poll is $129, I purchased Poll and Slave together and it was £167.40 UK all in. The website is https://www.modbustools.com/order.html As I said, I have it working now but I can't set it up so that I can look at ...
by viktor_au
Wed Aug 25, 2021 10:29 pm
Forum: Flowcode V8
Topic: Modbus Slave Starting Addresses
Replies: 11
Views: 4323

Re: Modbus Slave Starting Addresses

What is the cost of Modbus Poll license?
by AbhijitR
Wed Aug 25, 2021 2:38 pm
Forum: Flowcode V8
Topic: Modbus Slave Starting Addresses
Replies: 11
Views: 4323

Re: Modbus Slave Starting Addresses

Hello! Simon

I am happy to hear your project is working, thank you.

Abhi
by Simon-ST
Wed Aug 25, 2021 2:01 pm
Forum: Flowcode V8
Topic: Modbus Slave Starting Addresses
Replies: 11
Views: 4323

Re: Modbus Slave Starting Addresses

Thanks again for your help Abhi, I have this working now. I can't display all of the slaves on the PC screen, using Modbus Poll, at the same time, but I can look at each slave individually, which I think will work with the PLC as the program can just call each slave individually. ...
by Simon-ST
Tue Aug 24, 2021 9:21 pm
Forum: Flowcode V8
Topic: Modbus Slave Starting Addresses
Replies: 11
Views: 4323

Re: Modbus Slave Starting Addresses

Hi Abhi, Thanks very much for your reply, OK on the start addresses, I will give that another go, I have brought a Modbus Poll licence and I am wondering if thats whats causing my problem, it seems that I should be able to open several windows in it and look at different registers ...
by AbhijitR
Tue Aug 24, 2021 7:03 pm
Forum: Flowcode V8
Topic: Modbus Slave Starting Addresses
Replies: 11
Views: 4323

Re: Modbus Slave Starting Addresses

... remain same by mistake then the master do some error in reading the values from 2 same slave address. I always use the ADAM -4561 to test the modbus slave working on computer, i use MODSCAN-32 on computer. I notice in your chart, you have mentioned 8 addresses for input and coil 1 for analog ...
by Simon-ST
Tue Aug 24, 2021 8:38 am
Forum: Flowcode V8
Topic: Modbus Slave Starting Addresses
Replies: 11
Views: 4323

Re: Modbus Slave Starting Addresses

... that this is just a master talking to one slave. I have that working fine, it's adding additional slaves to the mix that is causing me the issue. Modbus Poll flags up an error if you re-use the same addresses for additional slaves. I am sure that if I can change the starting addresses from the ...
by AbhijitR
Tue Aug 24, 2021 6:21 am
Forum: Flowcode V8
Topic: Modbus Slave Starting Addresses
Replies: 11
Views: 4323

Re: Modbus Slave Starting Addresses

Hello! Simon

I will check your chat once i get free, can you check the below link, if it is of any help.

viewtopic.php?p=101424#p101424

Abhi
by Simon-ST
Mon Aug 23, 2021 8:11 pm
Forum: Flowcode V8
Topic: Modbus Slave Starting Addresses
Replies: 11
Views: 4323

Re: Modbus Slave Starting Addresses

... your help with this. I have attached the code I have working as a master- single slave setup, not that there is much of it at the moment, the Modbus part is the bit that's new to me, so I thought I would get that working first. I know that the code isn't quite correct to eliminate time out ...
by AbhijitR
Mon Aug 23, 2021 6:54 pm
Forum: Flowcode V8
Topic: Modbus Slave Starting Addresses
Replies: 11
Views: 4323

Re: Modbus Slave Starting Addresses

Hello! Simon

Is it possible for you to post the chart to understand better, i have worked on RS485 slave, i will try my best to help/explain.

Abhi
by Simon-ST
Mon Aug 23, 2021 2:45 pm
Forum: Flowcode V8
Topic: Modbus Slave Starting Addresses
Replies: 11
Views: 4323

Modbus Slave Starting Addresses

... posts and help pages but can find no help or instructions on this. I am making a device that uses 10 identical PCB's that collect data and using Modbus RTU over RS422 send the data to a PLC for distribution on to a company network. I am using MAX 491 RS422 transceivers and I have the hardware ...
by Mim
Wed Jul 21, 2021 8:05 pm
Forum: Bug Reports
Topic: Re: Help regarding compilation error and existing mistakes in my MODBUS programming
Replies: -1
Views: 5088

Re: Help regarding compilation error and existing mistakes in my MODBUS programming

Good evening.
Help solve the problem with Modbus RTU.
The master sends the request, the slave receives it correctly and executes it.
The slave sends a response is not correct. (Only the low byte)
by Emadex3
Thu Jul 08, 2021 4:48 pm
Forum: Flowcode V8
Topic: problem with "Nodemcu" Esp8266 component macro {solved}
Replies: 6
Views: 2638

Re: Super cofused about Esp8266 component macro {solved}

... ---> save sensors data in multiple variables in Arduino mega ---> send all sensors data from arduino to esp2866 ----> send said data from esp to modbus Master (wincc program in my case) all the while I have the ability to send data in reverse , say from "wincc" program to esp to arduino I've ...
by Emadex3
Thu Jul 08, 2021 2:44 pm
Forum: Flowcode V8
Topic: problem with "Nodemcu" Esp8266 component macro {solved}
Replies: 6
Views: 2638

Re: Super cofused about Esp8266 component macro

... now with flowcode. :D :D - now I want to transfer variable values from arduino to esp8266 and make them available for "wincc" program "through MODBUS TCP/IP" protocol. is that altogether possible with flowcode 8 ? or even v9 should I open a new thread for that ? sorry for inconvenience :oops: