Search the Community

Showing results for tags 's7-1200 modbus tcp/ip'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Found 282 results

  1. 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.
  2. 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.
  3. 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
  4. 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
  5. Hello All I am new to sysmac studio, i am using a NJ301-1200  and R88M-KN10H servo drive , i connected the servo to the NJ using ethercat. I was able to write a program where i was able to activate the servo from the NJ using the mc_Power instruction . My question is , i am not able to run the servo using the mc_movevelocity and mc_moverelative . Do any one have any suggestion to how to go from here ..  
  6. 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
  7. S7-1200 timer

    Hi All I am struggling to get a TON in TIA v15 to work properly (s7_1212). I have tried reading what i can but still dont understand why what i have is not working.  I have attached a screen shot. I am trying to achieve a bit that is active for 1 scan cycle and resets every second. Coil1 is just staying active however and not resetting the timer.  What i have written works in Connected Components Workbench and other plc software i have used. What am i doing wrong? Thank you in advance. Trevor  
  8. 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!
  9. Hello! I am beginner in PLC world, also in SIEMENS PLCs. I managed communication over private network. Now I have a problem that I get same values on all inputs. Picture below shows my configuration of driver and data monitor. First picture shows values when input I0.0 is in state 0. Second picture shows values when input I0.0 is in state 1. Physically on PLC only input I0.0 is forced to 1, input I0.1 stays 0. But data monitor shows both inputs as state 1. Where is problem? Is problem in PLC program, TIA portal? I saw some guys using DataBlocks but I am not skilled enough to use it. Third picture shows simple PLC program on my PLC. Please help. Thanks in advance!
  10. Hello! I am trying to connect my PLC with SCADA. I am using S7-1200 1212C CPU (RELAY outputs). My SCADA system is iFIX 5.8 with driver S7A. I am trying to establish connection via GPRS router (TCP/IP). Port being used is 102 (default by S7A driver). In my company we have private network, SIM card in GPRS router gets static IP (set by RADIUS server)  which is 10.247.XXX.XXX. My PLC has IP 192.168.0.10 set in Project. I am not sure what am I doing wrong. How to correctly set IP address in PLC to communicate in private network via GPRS router with static IP? I already enabled TCP port 102 in my router but I am not sure to which IP should I enable it because I am not sure if IP address set in PLC is correct. Should I use some communication blocks in program? I also enabled PUT/GET function (see attached pictures). Please help. Thanks in advance! :)  
  11. 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.
  12. Have a micrologix 1200R 1762-L40BWAR.  If anyone could help with providing the following information: Need a communication port with single receptacle that will mount through the door of electrical enclosure and then the communication cable (6 to 10') that will go from the com. port to the micrologix. Thanks
  13. 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?          
  14. 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,
  15. 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
  16. PLC as Modbus Slave

    Is there any function for Mitsubishi PLC to perform as a Modbus Slave?
  17. 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
  18. 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.
  19. 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.
  20. 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. 
  21. 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?
  22. 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.  
  23. 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
  24. Hi, I want to sent simply frame using FB mady by JPV from Omron France. It should send just frame  01030FA60002273C  to slave #1 When I check Multiway - it seems that frame is OK, but slave no reply. I checked different soft to monitor serial port and frame looks different - some bytes are sent twice.  I attached   screenshot and you can see the difference - Can you explain why it happened. Both frame I got when I set W30.0 in PLC and I saw just one blink LED Hmm I also attached screenshot from my serail port configuration. I tried also diiferent set of CP1W-CIF11 dip switches, but the same effect. Any clue??? thanks in advance                 
  25. MODBUS Newbie!

    Hi Guys just a quick one before I begin thinking about a new project using MODBUS RTU i want to have a MODBUS network over RS485 consisting of a HMI (Master) FX3G (Slave1) and a remote IO unit (Slave2)    obviously  i I know the master can request information and send commands to slaves, but can Slave1 send outputs/commands to Slave2? Or can only the master communicates to each slave?