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. I'm a Controls Engineer and have exclusively used Allen Bradley for 8 years. Outside of my job, I was asked by a new start up brewery if I could help with some PLC and HMI issues they are having.  I'm anxious to lend a hand, but unfortunately it's all Siemens and I don't have any experience with it.  I'm sure I'll be fine once I'm able to communication with the PLC, but the software and license are my concern. My biggest hurdle is determining what software I need and hopefully finding a free version I can use. The PLC is a Simatic S7-1200.  I found a link on Siemens for a free 21 day trial for TIA Portal and WinCC, but wanted to make sure that was my best option. If anyone could offer any advice, I would greatly appreciate it! 
  2. Delta DVP12SE Modbus TCP Help

    I requested support on getting my DVP to talk to Factory IO for some cost-effective programming experience but the DVP is really poorly documented. The below wording and 2 pictures were all the support I got as I am not a business. The M codes are not listed in the ISPSoft help file and hard to track down, combined with things like "After the reception of the command is complete, bit8 in D1395 is ON" and then if I am reading input registers and holding coils but saving to a D word register how the heck do I convert the data into a useable boolean format for logic use??!! I have no been able to even get the DVP to read or write ANYTHING but I can use a modbus program to turn on the DVP's bits no problem so I know communication works. eg: F05 H500 will toggle coil Y0. The issue is when I try and use the DVP as the modbus client. From my laptop I can use these commands to modify Factory IO which is running as modbus server Slave ID 1: F02 H0000 H0009 (Read inputs 0 to 9) Tx: 00 02 00 00 00 06 01 02 00 00 00 0A, Rx: 00 02 00 00 00 05 01 02 02 C0 00 (In put 6 & 7 are on) F15 H0000 H0009 (force coils 0 to 9) Tx: 00 0F 00 00 00 09 01 0F 00 00 00 0A 02 00 00, Rx: 00 0F 00 00 00 06 01 0F 00 00 00 0A   But how the heck do I format the LD program to actually do those commands? IA PLC Modbus address_20160707.pdf SE-T001 Application Note Data Exchange SE PLC.pdf
  3. Omron rs485 communication

    I am using OMRON CJ2M-CPU15 with SCU41-V1 communication module I want to establish communication (rs485 modbus) between omron and Schneider device for reading out electrical parameters. How I can do this? I could not find any manuals and this is becoming very hard for me. I want simply to read few registers from Schneider. Where do I set unit number, starting register, ending register, number of data? I was recently using Siemens and Unitronix and started working with Omron recenlty. Do you have any examples or manuals for this? Thanks in advance
  4. Connect PLC to Kepserver

    I have Delta 12SA2 PLC it has RS232 port and I have connected it to kepserver (by Modbus serial) and then factory IO Now my problem is that when I connect my PLC to kepserver the RS232 port becomes busy with the kepserver and not available in the ISPSoft and therefore I could not demonstrate factory io and my logic in run mode in the isp soft together like you do in your videos. My PLC don't have ethernet port but is there an option in kepserver or any way by which i can use the same serial port of the PLC in isp soft run mode and kepserver+factory io together so that I can simultaneously show the logic running in isp soft and application working in factory io to my students. I googled a lot and found some softwares which make virtual serial ports for a given serial port but they don't work and soon hang Please help me I am in a great need of it. Thanks in advance.
  5. Hello, From modbus, Im reading a HEX variable in the data register D0, as it is a 32 bit variable, the second part is saved in D1, then I get: D0: BE62 D1: 31D7 The value that I should obtain in float is -0.2208932 as I obtained setting  BE6231D7 in online Hex to float converter and this agree with what I'm reading on the flowmeter.  The problem is that when I try to change the data type from channel to Real on CX programmer I obtain a different value, also the registers are not sort in the proper way, instead they are sort inversely 31D7BE62, and obviusly the obtained value is completely different. Also instead of Hex, I want to display the decimal, or floating value, is there a way to do this? I'll attach some captures.    
  6. Please could you assist with the software required to download data tables from 4 off DIRIS A10 Multifunction Meters into TM221CE40R Logic Controller via TMC2SL1 Comms Cartridge using Modbus Protocol over RS485. I have downloaded the Modbus tables from Socomec but not sure how to get these into the PLC. I would really appreciate your help in achieving this. I am using EcoStruxure Machine Expert - Basic to program the PLC & DAQ Factory Developer Release for my Touchscreen. Link to Socomec Modbus tables: https://www.socomec.com/files/live/sites/systemsite/files/SCP/6_gestion_energie/diris/diris_a10/DIRIS-A-10_COMMUNICATION-TABLE_2018-01_DCG01013_MULTI.html#General
  7. Hello, I have been so many days trying to comunicate the multiway software trought a serial usb converter with the SCU31 device, using a omron function block to read a holding register, but I can't achieved it. Now Im receiving some frames on multiway, but there is always some errors. I was wondering if somebody in here that have worked previously with modbus and omron can be able to help me in how to configure everything corectly to be able to read the value from multiway, on the plc, and where is this value saved.  I'll upload some captures to show what I have done till now.    
  8.  Hello, I have been reading some post on this forum about Modbus and omron, but it has been complicated for me communicate an Omron PLC and a computer just to test the Modbus communication. I have a PLC OMRON CJ2M-CPU32 20K  with a CJ1WSCU31-V1 that I want to communicate trough Modbus first with a computer just to test that is everything working ok.     How can I do that? How do I need to configure the units, switch? Nodes?   Im using multiway, and CX programmer, I already downloaded Macro Protocol to the PLC, but by now the only thing that I get is RD1 flashing when Modbus poll software is active on the computer, but this software says timeout, and don’t receive packets… I have used the easymodbus excel file to create the code to communicate the PLC, but as I see isn’t working.   Does somebody in here have got to connect a plc to the computer with this easy modbus file? How is the proper way to use it? Or there is a better way to use Modbus in Omron?   I’m really desperate.   
  9. Mitsubishi & Siemens OPC connection

    Hi All,  I am undergoing a project that requires me to connect a siemens s7-1200 with a Mitsubishi FX-3GE PLC using OPC UA. I was under the impression that Kepserver ex could do this, you ca install a 'mitsubishi suite' and a 'siemens suite' which will allow the kepserverex server to choose the drivers and connect the two plcs. Siemen's support however have told me that the s7-1200 CPU cannot function as an OPC client, and just as a server? If true, I do not understand how to get the mitsubishi FX to be a client to the siemens server, as kepserverex seemed to provide a solution.   
  10. Hello! I am new at programing PLCs. I am using TM241CE24R PLC with TM3AI4 analog input module. I can successfully read temperature from 4-20 mA sensor. I want to communicate with my PC (SCADA) via Modbus TCP. For testing purposes I am using CAS Modbus Scanner. I can read digital inputs, coils and holding registers successfully. Problem is that I can't read analog inputs (#300001 etc.).  I have nothing defined in GVL list. Is this causing problem? I also don't have any Modbus TCP Slave device in Ethernet_1. But how can be all the other registers read successfully?  Please take a look at screenshots below. Also check Error message from CAS Modbus Scanner. Where is problem? Please help. Thanks in advance!
  11. Modbus Addressing In Hmi Weintek

    HI all.  Am in some kind of trouble.. i have a sensor which has modbus RTU 485 . i want to connect it directly on weintek HMI ..    kindly help me out.. 
  12. Dear all; I can`t Write data configuration to CPU Q02HCPU.     
  13. FX3U-485ADP-MB Problem need help

    I have got a FX3U-16M and -32M PLC and trying to connect with Moxa NPort 5130A serial device server to work with a scada.  It seems that i dont get the modbus to communicate.  I have tried the 110 ohm, 330 ohm and open setting on the device.  I am making use of a 2 wire system. I have configured both the channel 1 and channel 2 of the PLC to work with MODBUS 485. i have written a program like follow M8411    ----------- Move H1087 D8400                  ----------- Move H1 D8401                  ----------- Move K2000 D8409                  ----------- Move K400 D8410                  ----------- Move K10 D8411                  ----------- Move K3 D8412                  ----------- Move H1 D8415                  ----------- Move K100 D8416 I just need to test if there is communication from these cards.  i have got 15 cards to test. Any other help will also be appreciated.
  14. hello I have been forced to replace a TWDLMDA20DRT with a Schneider TM221ME16R. the plc is a slave but I am having trouble getting the Modbus data exchange to work like it did with the old plc. I have setup the serial port to use Modbus etc etc and I played about with the read_var FB but this wasn't required in the old plc so im confused as to why I would need to use it on the replacement. I have come across another FB send receive message but again i'm not too sure if this is required.  the master plc uses the msg2 and exch2 command. I believe I am just missing something very simple here.   Lighting Panel - Old_PLC.twd Lighting Panel1 - Master -.twd Lighting Panel - Pillar5 -.smbp
  15. CIF11 Modbus Slave

    Hi dears  I have one CP1H CPU and CIF11 option port on it. CP1H will be slave and I want to use modbus slave function. (ABB is Master and CIF11 is slave) I check the logic with modbus poll and i didnt have any Receive from CIF11. I have some questions: 1- which terminal in CIF11 must be used? SDA+,SDA- or RDA+,RDA- ( I use Modbus RS485 two wire ) 2- I mounted CIF11 on port 2 and in setting of port 2 I Choose RS-232C in Mode, Stop bit=1, parity=none , Data bit=8. is there another settings? 3- I set CIF11 DIP switches ( ON,ON,ON,OFF,OFF,ON) is it OK? 4-I change 4,5 DIP Switches to ON in CP1H.   Thanks
  16. Version 1.0.0

    230 downloads

    This solution solves Modbus TCP Peer to Peer applications for CP1H / CP1L PLCs with CP1W-MODTCP61 adapter modules
  17. CP1 Modbus TCP Peer to Peer View File This solution solves Modbus TCP Peer to Peer applications for CP1H / CP1L PLCs with CP1W-MODTCP61 adapter modules Submitter PMCR Submitted 10/24/19 Category PLC Sample Code
  18. Modbus TCP with CP1H and CP1L from PM

    From @SamuelT Please, I want to know if you know how to communicate two plcs omron CP1H (master) and one CP1L (slave). The master CP1H will send 10 DM memories to slave CP1L. Now I have this configuration: CP1H MASTER PORT: CP1W-MODTCP61 MASTER IP: 10.150.1.5 SLOCK: 1, DIP SWITCH PLC # 4 = OFF CP1L SLAVE PORT: CP1W-MODTCP61 SLAVE IP: 10.150.1.1 SLOCK: 1, DIP SWITCH PLC # 4 = ON I use the modbus RTU function blocks, but the master PLC does not communicate or send the DM memory values to the slave PLC Thank you very much for your reply if you have any example program it helps me a lot MRTU_CP1L SLAVE.cxp MTCP CP1H_MASTER.cxp
  19. Sample blocks for S7 1200 plc's

    Hi experts, please share the sample blocks for the EDITABLE TIMER block it should be editable from HMI(Siemens). And also motor run hour block. Actually i am having all blocks in tia v12 version and sadly i dont have the old software to convert it again. So please share the blocks that it shoud be work in TIA V14 for s7 1200 plc's. Please note that the blocks should use add instructions to calculate the time because i don't have much memory.
  20. Has anyone connected a Swegon ventilation unit to QJ71MB91. At Swegon, Read Holding Registers is 03 and in GX 0500. 03 is not in GX. I can't make it work. modbuscomp.pdf
  21. 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
  22. Hi, to start, I'm very new to Siemens PLCs, but quite experienced on others (mainly ABB). I'm looking to set up a profinet network between an ABB AC500 PLC and an S7-1200. The goal is to transfer variables from an existing S7-1200 (owned by the customer) to my new AC500. It is required that I do this without having to stop the S7-1200. I can set up the AC500 as a profinet device, and have the S7-1200 remain as the controller, but this requires a config change on the S7-1200, which means I'd have to stop the PLC. I tried setting up the ABB as a profinet controller, but I'm having trouble finding a GSDML for the S7-1200 to allow me to do this.  Can anyone advise me on the best route to take to solve this problem? Thanks in advance.
  23. 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
  24. Tia Portal Programming Help PLEASE

    Hello I am having some difficulty writing code for a specific function using Tia portal and a S7-1200. I 10 Digital inputs and 1 analogue output set for 0-10V. When 1 DI is high I need the AQ to be at 1V, when any 2 DIs are high I need the AQ to be at 2, When any 3 DIs are high I need the AQ to be at 3V and so on.... I just can't work out the best way to do achieve this.   For a bit more info the to what the project entails the digital inputs are all coming back from DOL starters for woodworking equipment at workstations. When one of these starters is turned on a signal is sent back to the PLC DI card, this open a solenoid in extraction pipework and also increases the frequency at a VSD to extract the dust. So when more workstations are in use the higher the frequency of the VSD will be and the faster the motor will run allowing adequate extraction at all stations
  25. 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.