Search the Community

Showing results for tags 'modbus ascii'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Found 279 results

  1. Need help in table scrolling

    Hi all, We have a DOP 107CV HMI we interface this HMI with microcontroller through RS485 Modbus protocol. I'm new to HMI and PLC's although we are successful in interfacing HMI with Controller(Communication Established successfully) We made a table in HMI and allotted some registers to Modbus address and data is transferred from controller to HMI up to this we are good in communicating Since the table created is static and we cannot scroll down from that table so, to overcome this problem we found History buffer and made PLC trigger and allotted address. In that History Buffer we created 7 rows and the data is sample whenever we triggered the PLC in that case scrolling is working fine, but the problem we are facing is whenever we update 3 rows out of 7 and triggered the PLC only 3 samples are updated in first column and in the next step we updated the other 4 rows and triggered the PLC the data is sampled on next column but we required it to be sample on first column instead of second.  
  2. Delta plc Communication Issue

    Dear allI have DVP14SS211R series Delta PLC Which is having 24V DC supply voltage. I am using PLC as master and My end device as slave. My slave device set device_iD=1I am using Modbus RTU protocol for Function code1baud rate =9600parity =noneStop bit=1data length=8I would like to know how to send request with Function code 1(Read coil Register). i have attached code reference. Communication block it wont give error it shows 0 .means No error
  3. Hi guys, so i'm trying to send data to plc omron cp2e-n40dra via RS232C, I use RXD and TXD but it looks like my programs are wrong, the indicator of RS232C are on everytime i send the data so it looks like PLC receive my data but when i see it in memory PLC D i can't find any data stored. Can anyone help me please? I attach my Gdrive for pictures since i can't upload pictures in here *The data that i sent is in ASCII https://drive.google.com/drive/folders/1GPXa1U1PLMU2WKmo4YRPe32wHHyVCGUv?usp=sharing
  4. I have been working on a PLC project that requires sending ASCII commands/queries to an external pressure transducer using the Micro 850 PLC (2080-SERIALISOL module) via serial port communication (ASCII protocol) and in response the PLC would read pressure readings from the transducer. I was able to write a ladder logic program that reads ASCII code from the transducer and converts it into string and inversely converts string output from the computer to ASCII and sends it to the transducer. However, I am uncertain as to how I should send the command string from my computer so that the external transducer receives it, recognizes it after the <cr><lf> is encountered and sends a pressure reading. Any suggestions as to how I can type in commands from my computer and receive responses from the transducer?
  5. modbus rs232 communication error

    hi I am traying to connect 10 plc's FX3U to a scada system, on the plc's there are a rs232db and FX3U-232ADP-MB cards. i have devices transmit the rs232 by lan or any thing I need (rut955) my problem is when i download the program on plc same times the communication go right , but if i powering pls off then on the communication fail down. I initialized the plc  like photo https://drive.google.com/file/d/1Tr367wfVCRG6vvKcsOFyTKG_FExAsnVy/view can any one help me? sorry for my English
  6. I have a function that reads ASCII code from a transducer, converts the code into characters and places the characters from the serial buffer into a string. Now, I am trying to convert the value in the string into a 64-bit float number. Any ideas on how to do that on the CCW? 
  7. CJ1M+ETN21 Modbus TCP

    Hello. I'm trying to use Omron ETN21 as master for ModbusTCP protocol. I can communicate with 1 SLAVE UNIT (standard modbusTCP slave) using FB MTCP_ETN_Client.zip  from https://www.myomron.com/index.php?action=kb&article=1245. It works perfectly. But I have three SLAVE UNITS to communicate to. I'm trying to do this using [524]Modbus_TCP_FB.zip sample. I have copied SECTION1 to SECTION2 and changed IP number and SOCKET number. But this doesn't work. I would realy appriciate a working sample where OMRON PLC is MASTER for THREE (or more) SLAVES. I'm attaching code file... Thanks. Best regards, Andrej. Modbus_TCP_FB.cxp Modbus_TCP_FB.opt
  8. Hello out there   I've searched for quite some time but unable to find any information helping me through this. I got a Omron PLC NX1P2 where im supposed to setup modbus communication over TCP/IP but so far i've only been able to find information regarding RTU setup. But seen forums mention its possible to setup via TCP/IP Anybody who can help. A program sample would be helpfull aswell. Im a trainee as automationengineer and this is my first encounter with Omron PLC and Modbus so quite new to the field.   kind regards Ivan T.
  9. Hello, I'm trying to connect a CJ1M-ETN21 as slave Modbus TCP with a Modbus/Dali Gateway. I download from Omron website some FB with ones should be possible.   https://www.myomron.com/index.php?action=kb&article=1245 The FB only can be used with the direction unit 0, but we can change some directions inside the FB and can be adjusted to other units. In the download I found this FB: MTCP_ETN_Connect, MTCP_ETN_Fn01, MTCP_ETN_Fn02, MTCP_ETN_Fn03 .... Supposed with connect we can establish the connection with the master, but the FB never make nothing. Should I make some special configurations to use this FB? I appreciate any help. Thanks
  10. Indusoft Web Studio

    i am using indusoft web studio for the modbus logging. program runs successfully but after a half day or a day it shows error " error initializing the driver modbu 10.10: invalid serial port "any suggestion will be appreciated.RegardsZubair Ahmed
  11. Modbus with CJ1W SCU31-V1

    Hi every one, I want communication Inverter mitsubishi D700 with module CJ1W SCU31-V1,  any one give me a correct solution and send any sample program. Thanks
  12. I'm trying to communicate with INVT PLC and DGM8002(grain moisture analyzer) via mobus RTU.   Can anyone explain about these Modbus address ? Please kindly see in picture . example working mode address K0 (0-stop ,1-manual,  2-Auto) Actual Moisture Address K6 What is meaning of K0,K1,K3,K6.  https://drive.google.com/file/d/1-mGzpEvw4UlewWhR9k3wOd1mO-uhsklL/view?usp=drivesdk Is that K0= 0000 K2 = 2000. K3=3000 ? Any suggestion please. I'm really appreciated your comments.❤️  
  13. - i'm from VietNam, Who can help me?? - I cannot communicate the RFID card reader with the FX3U PLC using the FX3U-485ADP-MB module; - register error D8438 = 3821; D8423 = 1025; D8422 = 212. - Here is the connection picture and my PLC code thanks !!!!
  14. Q03UDVCPU Modbus Setup

    Hi Guys, I need help to set up modbus tcp/ip parameter for Q03UDVCPU, i want to use the predifined protocol and built in ethernet port. do you guys have some usefull references how to setup modbus tcp/ip, or is there any example program from mitsubishi? Thanks
  15. Dear Engineerds,   My Master (non siemens) doesn't see the Holding Registers of the Slave (S7-1200) plc. However the Q coils are fine and all Diagnostics don't show errors. The Hardware: S7-1200 – CPU 1215C CM PtP – CB1241 RS485 (6ES7 241-1CH30-1XB0) - Half Duplex RS584   Firmware: Modbus_Comm_Load (V3.1) Modbus_Slave (V4.0)   I've tried with various DB, UDTs and manipulating HR_Start_offset parameter with no success. Could you advise what am I possibly missing? Modbus_Comm_Load_DB_Snapshot.xlsx Modbus_Slave_DB_Snapshot.xlsx
  16. From DM:   Hi; my name is Metin , I live in turkey. unfortunately I have a problem that I could not reach a conclusion here. I hope you can help. I need to communicate with CJ1W-ETN21 with a device via modbus tcp and read information. I downloaded ready-made protocols on omron site, connection is established but I cannot read. I tried the attached protocols. the device I am trying to communicate with :  https://www.gmweighing.com/products/weighing-indicator-m02  I will get the weight information from the weighing device. Thank you in advance for your help. MTCP_ETN_Client.zip
  17. Hi there, Im having issues controlling ATV 320 VSDs over Modbus RTU with a M221 plc, does anyone have any pointers for me to look at? I believe I Have set everything up correctly but when I run the program on the plc the atv's just stay in 'NST' state I have included screenshots if they are any use   My speed reference in this example is taken from the memory word %MW0 which I am inputting via a HMI   I have addressed all my ATVs accordingly in there setting with the correct Modbus parameters and selected Modbus under the FR1 configuration, am I missing anything?? Any help is appreciated as I am really struggling   Tom
  18. Hi everyone I'm new bie, I try to control VDF-M via fx1n-485-db. please help!! Thanks.
  19. Hi everyone I'm new bie, I try to control VDF-M via fx1n-485-db. please help!! Thanks.
  20. String to Hex

    i want to convert my ascii string to hex value. I used HEX function but result is not what i expected. My string: 'BD1' > expected converted result is 0BD1H .. however it return me 01DBH ... Value from Device Memory Batch Monitor: D40: 4442   ('DB') D41: 0031 ('1');   May i know how to convert string D40 to Hex? thank you for viewing.  
  21. hello expert i want ask some help So i tried to communicate my Omron PLC (cj2m cpu31) with SCADA from Schneider (power logic) on my omron side the comunnication on PLC already take to communication to NB so i add communication module CJ1W-SCU41-v1 I want asking how to open the communication if i want the scada become a master and my plc become slave i got this from omron website is that program compete for my case? i need configuration for scu41 module also to communicate or if you have suggestion i really open i just need to open port RS232c from scu41 so scada can read the data from my plc  tahnkyou for your help MRTU_CPU_Slave.zip
  22. Hi All need to convert a Decimal Value into Ascii code to send out on serial 485. eg. Weight comes in as Int 12345 i need to send it out in Ascii as 23 32 20 31 32 33 34 35. I have created an array 0 of 8 (Word) DB. Is there an easy way split the int into Digits convet in into HEX and slot the value into the various array positions? Array 0 of 8 = 23 means # Array 1 of 8 = 32 means 2 (Station ID) Array 2 of 8 = 20 means Space Array 3 of 8 = 31 means 1 Array 4 of 8  = 32 means 2 Array 5 of 8 = 33 means 3 Array 6 of 8 = 34 means 4 Array 7 of 8 = 35 means 5 Array 8 of 8 = D means CR    this sends the value of 12345 to Display ID 2 . need help to convert the decimal number in ascii. the decimal number will be max of 5 digits and less than 32000   any help will be greatly appreciated.
  23. CP1H Modbus issues

    From @Janaka Angampitiya: Hello, I have Three CP1H PLC with Cj1w scu31-v1. I need to send a Modbus command SCU unit through Modbus RTU compatible power meter. I use instruction TXDU and CMND but it's not working. My PLC Arrangement CP1H PLC  - CP1H-X40DT1-D    ver. 1.3 Option Board 1 mounted Cp1w-CI41   to NB HMI its work Option Board 2 Mounted CP1W-CIF12-V1 to PLC 1, PLC 2 and PLC 3 between communication Serial gateway mode it is work. CJ1W SCU31-V1  (ver.1.3) and Modbus compatible Power meter it's not working. Please help to how to connected and what is the use of instructions for this case. 
  24. Hello! I have one Controlllogix project that communicates with a modbus slave through modbus TCP, using a Prosoft module model MVI56-MNETR. Does anyone know what happens to the data polled in case the network fails? Do all variables go to zero or do they freeze in their last value (or something else entirely)? I couldn't find anything in the Prosoft manual. Thanks for any help!
  25. Hello There I need to set up communication PLC to PLC ( R08CPU to Fx5CPU) but i dont have the modbus library for  the R08  Does anyone have the library? or where can i get it? thank you.