Search the Community

Showing results for tags 'modbus ascii'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Found 279 results

  1. Hi,  I have a problem with modbus communication. I set everything as shown in the pictures and I get a error 04. What is wrong ? program.bmp ustawienia.bmp
  2. I am new at PLC programming, I have tried some ways to convert a text into DINT and I haven't found the right way yet, maybe somebody can help me. I want to convert "Hello" to DINT, for example. I tried converting it on here  https://www.branah.com/ascii-converter  to decimal and then using it as an input for a ROUND, FLOOR, TRUNC blocks to get a DINT, but when I get the result and use as an input in a DI_R i block the output doesn't match with the first conversion of "Hello". Any tips on how do I get it to work, please? Thanks in advance. 
  3. RJ71C24

    Hi, I want to set communication between ABB CI853 Modbus Master module and Mitsubishi RJ71C24 module. I tried with predefined protocol (you need to set slave address, but ABB is master), also with non-procedural (with G_Output function block), but without success. I tried connect ABB with QJ71MB91, and it worked because you can then set slave address and a station number, and this can't be set with RJ71C24??? If someone had a similar problem, I'll be grateful for sharing a solution. Best regards
  4. Greetings, I'd like to know how I could configure 2 HMI Kinco with reference MT4434T. I have a PLC with modbus485, a PC with USB-RS485 conversor and 2 HMI Kinco. The PLC have 1 on modbus direction, PLC have 1 and I guess that HMIs  would be 3 and 4. When I work with PC +  PLC  + 1 HMI Kinco, everything its ok. When I tried to connect other Kinco HMI, the connection between all devices stuck. I'm tried many combinations on modbus configuration, station number but I cannot make the modbus net works. Thanks.
  5. Hello people, i need some help. I'm Trying to create a simple program that stores some input's such as Temperature,  Production and Velocity (amongst others) in a machine , so that later i can send them to labVIEW via MODBUS RTU, the problem is i can't send anyregister i want, there was an old program we saved from the PLC that does store them, but uses the registers 199, 519 and 999 (the program reads 50 registers and 20 registers respectively from each register. I then tried modyfing the old program due to my problem to communicate the new one, and out even modyfing the registers won't work,  i'm i missing something?, does the HE-XE102 Horner PLC have a specified number of registers that can be read or sent via MODBUS. Appreciate any answer you guys could give me, Thanks for your attention.
  6. MODBUS-RTU slave

    At this moment I was asked to change one CJ2M's program (in Ladder, and the PLC is the slave) in order to make a list of desired variables "readable" by the master (an host computer/ SCADA) wich is using the protocol MODBUS-RTU. I only have to work on the PLC' side and i only know the name of the variables and their corresponding address.I already read the "CS/CJ Serial Communication Unit Operation Manual" but i still have some doubts:- The only way to define my slave address is done by writing a code to put the value of the address on the corresponding bits of DM area? or can i define the address using some feature of CX-Programmer?- (A CJ1W-SCU41-V1 is already implemented in the field) on the slave'side i only have to make sure the variables are allocated on the right place, according to the master's commands and modbus' addresses, right?- I read something related to the frames sended by the slave as responses for each master's command, am I supposed to write some code to do this task or it is done automatically?- Imagine the master is using the "Read coils" command, in OMRON there are 4 memory area associated to this data model "Coil" by default it is associated to CIO area, can i switch in the slave to Holding area without problem?Sorry about my english and this extensive text. Thanks.
  7. Modbus TCP/IP iQ-R series

    Hi, I have R04CPU (iQ-R series) on one side and on the other side is QJ71MT91 (modbus tcp/ip module). Is it possible to make communication between them (QJ71MT91 is master and R04CPU is slave)? iQ-R series doesn't have Modbus TCP/IP module, but is it possible to set modbus tcp/ip on built-in ethernet port of R04CPU, and how? Best regards Luka
  8. FX3GA-60MT Modbus RS485 as Slave

    Can Mitsubishi FX3GA-60MT PLC be used as Modbus RS485 Slave? Any sample code or documentation would be very helpful. I am planning to communicate to Weintek HMI (Modbus RS485 master) to FX3GA-60MT PLC (Modbus RS485 Slave). Any other ideas would be nice. Thanks
  9. I am using PLC Modicon M221, I want to make communication between PLC Modicon M221 to OPC Kepware by modbus tcp/ip ethernet. In PLC, I use software somachine basic, I set digital input and digital output. And in OPC Kepware my address  00001, but when I switch turn On/Off in PLC, value in OPC Kepware doesnt change. Could you please correct me? Thank you   Bujang
  10. Hello All,                 I am in the process of installing a DPM Scanner to one of our machines.  I am trying to program an ASCII String Compare to compare the scanned part number, stored in a string as ST14:0, to a constant value stored in ST15:13.  I have used this tactic before in other applications and it has worked fine every time, except this time.  Am I doing something wrong?  Is there a setting I am not aware of?  Please see the attached image.  Thanks in advance!    
  11. Hi all, I have a micrologix 1400 plc and an SIC E10 engraving machine. the engraver requires its marking info ( day/year/random sequential number etc) to be sent to it via rs232 connection. the manuals have nearly melted my brain and I have no clue how to convert and send this type of info via rs232. please help.   thanks       NOTPROTOE10V6US-R04.pdf
  12. Hello! I am using S7-1200 PLC 1212C AC/DC with configured Modbus TCP Server. I can already read/write Inputs/Outputs (Coils) and Memory Words. However I'd like to read/write Memory BITS. Is it possible? If so, how? What addresses should I use in TIA portal? And which function codes on client side? Thanks in advance!
  13. Is it possible to use FX3U-485ADP-MB as a serial port to send and receive user defined string/data to and from a computer? I have a FX3U-32M PLC and two FX3U-485ADP-MB adapters. I have been using PLC with one adapter as Modbus Master. Now i want to use both adapters, where one will be Modbus Master as usual and the other I want to use to send and receive data to and from computer terminal (Example - Realterm). I have a third party 232/485 converter which works really well. Lets me just describe my requirement straight forward. I want to display process parameters on a windows computer based user interface (UI) and also set some variables in PLC from the same UI. The UI has access to serial ports of computer.
  14. hello everyone,, I use the QD03UDV PLC and the modbus QJ71MT91 module, I want to test the module using modbus poll but it fails continuously, and when I upload the program to the LED notification PLC "COM.ERR." the module is ON ... but in GX Works2 I have no errors .. why is it like that, can someone help me?          
  15. Does anyone have an example piece of ladder logic, created on a Micrologix 1200, using ASCII to READ and Write to a serial device?  I am building a ladder on a Micrologix 1200 that will send data to an old CNC once a certain ASCII instruction is received on the PLC.  For example, when the machine spits out an ASCII "1", the PLC will see the "1" and send out a three digit number depending on a sequence of discrete inputs.   Thank you,
  16. CJ2M-CPU35 and LS drives

    Hello, I want to do communication between CJ2M-CPU35 and LS drives. I am new to Omron.I searched the manuals regarding protocol macro.but it's bit confusing for me.please send if anybody have the sample program and document so that I can do it.Please support. Also I need to communicate Citect SCADA with CJ2M-CPU35 on Ethernet, please send me the documents if you have. Thanks
  17. PLC as Modbus Slave

    Is there any function for Mitsubishi PLC to perform as a Modbus Slave?
  18. hello.   I've been trying to communicate this omron plc CP1L-EM30DT1-D, with a yaskawa inverter cimr-vu4a0004faa. but i can't figure out how to make de correct mov or configuration in de DM. i need to run/stop, change frequency.    some help, please. :) 485PRUEBA.cxp 485PRUEBA.opt
  19. Hello, I have a fuel level reading system in a 2000 gallon diesel tank. the system has a slc 5 05 of rockwell. I need to connect the system to a printer located in an office 300 meters away from the tank. can someone give me lights about the type of printer I need and what communication technology to use, preferably wireless. Thanks.
  20. Hello. I have a communication problem between an L30ER and SM2 module. It gives me a message error 16#001e, extended err code: 16#0000_0002, Error Text :Embedded service resulted in error. I have a Lovato network analyzer connected to SM2 module via Modbus RTU, on channel 1. The setting in the MSG instruction are: Configuration:Service type - Custom, Message type - CIP generic, service code 4b, Class 33f, instance 0, attribute 0, Source CH1_REQ[0] - INT[10], CH1_RESP[0] - INT[10]; Communication: slot 4, port 2, channel 1,  Connected - not checked. baud rate is 9600, DSI/RTU is 5, format 8-N-1. the channel led from the SM2 module is flashing. I read the value at a 2s. The rung is: XIO.TON.EN+TON.2s.EN+MSG.EN. The Cable betweenSM2 and Net.Anal is a CAT5, pins 4(A) and 5(B) Maybe someone has a clue.
  21. Modbus Addressing in Weintek HMI

    Modbus addressing in Weintek HMI to poll data from Temperature sensor through RS485. In my system i have connected Temperature sensor to I/O Scanner has output in terms of RS-485 which directly connected to COM3 Port pin. No. 6 (as Negative) & 9 (as Positive) of HMI (Model No: MT8071iE) and HMI connected to PC via ETHERNET. I want to read temp on HMI screen via MODBUS protocol. So, can you please provide me instruction about addressing of MODBUS register in Easy-Builder Software so can read data of corresponding register. Because when i do compile i got an error like " Device no Response". I hope i will get reply from your side as Fast as possible to overcome this problem. Thank you.
  22. Hello I have a scenario that's been bugging me for some time now. The scenario consists of a Micrologix 1400 that I need to control it's output from modbus/tcp. In detail what I really need is to be able to manipulate the O0:0 through modbus/tcp. The PLC would be the master and I would be the slave that triggers the connection to the master. I'm using a Modbus-Client on my PC and that should be the slave. Any idea as to how I can manage that? Currently I can send data to the master but everything is "stored" on B10 and I have no idea how I could write directly on O0. Thanks a bunch guys. PS: I'm borderline noob. 
  23. hy everyone.. I want to communication inverter SJ700 to hmi mitsubishi GS2017 for read an code error in interface HMI? is it possible to communication between them?
  24. Hello everyone! Briefly introduction, I would like to communicate and test the following hardwares: 1- Omron CP1E (using an Option Port CP1W-CIF11) ; and 2- Arduino Nano using MAX485 RS485 transceiver. The CP1E will operate in "Modbus-RTU simple master" as illustrated in image 01. The arduino will be in slave mode address 1 and the library used is "SimpleModbus NG" ( https://github.com/angeloc/simplemodbusng/tree/master/SimpleModbusSlave ). Taking the sample in official manual ( https://industrial.omron.eu/en/services-support/technical-tools/downloads#cp1e ) , pages 248-253 in the "CP1E CPU Unit Software User's Manual" (Image 04) describes a sample communication to an "Inverter Slave". I want to use the Arduino Slave as the Inverter Slave just to be sure that all previous steps are correct. Therefore, I would like to know: 1- As illustrated in Image 02, Am I missing any resistors? 2- Should I connect the GND to the FG? 3- In this scenario, the DIP switch setup should be as illustrated in image 03? Only DIP4 is OFF. 4- Can I test it just forcing A641.00 and checking the DM Area Data, as shown in Image 05? The code used in it is the following: // Wiring: Arduino and MAX485 // RX0 - RO // TX1 - DI // D2 - DE/RE #include "SimpleModbusSlave.h" enum { REGISTER_0, REGISTER_1, REGISTER_2, REGISTER_3, REGISTER_4, REGISTER_5, REGISTER_6, REGISTER_7, REGISTER_8, TOTAL_REGS_SIZE }; unsigned int holdingRegs[TOTAL_REGS_SIZE] = { 0, 1, 2, 3, 4, 5, 6, 7, 8 }; void setup() { modbus_configure(&Serial, 9600, SERIAL_8N1, 1, 2, TOTAL_REGS_SIZE, holdingRegs); } void loop() { modbus_update(); }   Any answer can be helpful. Thank you for your time!   Regards, Jose.  
  25. I using easymodbus library to connect and read data from 3 PLCs CP1L but it run unstablely, sometime it disconnect and i cant re-connect PLC, it give error time out when i try to reconnect when it happen, i restart PLC and everything back to work. Someone please help me. I am new with modbus and omron