03-24-2021 09:41 AM
Bonjour et merci d'avance. J'ai un problème pour lire ou écrire un bit depuis ou vers un API schneider.
J'utilise Modbus comme protocole de communication.
Pourriez vous m'orientez vers une solution.
Hello and thanks by advance. I have a problem to read or writ a bit from or to(towards) a schneider PLC.
I used Modbus protocol of communication.
Could you point me to a solution.
Solved! Go to Solution.
03-24-2021 09:47 AM
Hi David,
@DavidFrance44 wrote:
Hello and thanks by advance. I have a problem to read or writ a bit from or to(towards) a schneider PLC.
I used Modbus protocol of communication.
Could you point me to a solution.
Which problem do you have?
What have you tried?
Which Modbus library do you use?
Which "bit" do you want to access?
Mind to attach a manual for the specific register you want to access?
Point to solution: read the manual of your PLC…
03-24-2021 09:58 AM - edited 03-24-2021 09:59 AM
Here's some reading to get you started:
The Modbus Organization homepage has lots of information
The LabVIEW Modbus API discussion group
You will also need the proper manual for your device as it will have all the Modbus register information and details.
03-24-2021 10:32 AM
Hello, i would like read or write in the bit of word.
I used NI Modbus Library 1.2.1.42 .
For exemple if i have in Schneider PLC an address of registers for a word at @ %MW2245, i would like read a bit as that 2245.0 or 2245.1 or 2245.2 or .......
I don't know how to do for this.
03-24-2021 10:48 AM - edited 03-24-2021 10:51 AM
@DavidFrance44 wrote:
Hello, i would like read or write in the bit of word.
I used NI Modbus Library 1.2.1.42 .
For exemple if i have in Schneider PLC an address of registers for a word at @ %MW2245, i would like read a bit as that 2245.0 or 2245.1 or 2245.2 or .......
That notation (2245.0 or 2245.1) means Holding Register 2245 Bit 0 or 2245 Bit 1
Read the holding register and convert the (Unsigned Integer) output to a Boolean Array
03-24-2021 11:07 AM
Thank you i see this , in this evening.
Have a good Day.