horvatmiha

MrPLC Member
  • Content count

    13
  • Joined

  • Last visited

Community Reputation

0 Neutral

About horvatmiha

  • Rank
    Sparky

Profile Information

  • Country Slovenia
  1. MBE Driver can't save config file

    Hello!I am using MBE Driver v7.46b on Windows Server 2012 R2. Problem is that I can't save config file. I can edit Channels, devices and data blocks, I can see incomming values, I save a file without any message. But config file is not saved. In Event viewer I get error as you can see on picture. It says: Error writing to system registry: Driver App 00000001 \Driver defaults. Other error says: Error writing to system registry: ServerMsg 00C54BB8 \Driver defaults.Is it server or driver problem? Please help. At the moment I can't edit anything in driver so I can't configure it to use it with my SCADA iFIX 5.8
  2. 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!
  3. 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!
  4. S7-1200 with SCADA driver S7A not working

    I solved my issue. For further users: in S7A driver Dest. IP Address must be static IP set by RADIUS server fot private network. In TIA portal configuration is fine as it shows picture 1 (IP set in project). In router there must be port mapping configured: open TCP port 102 for IP address which you set in TIA portal.
  5. 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! :)  
  6. Thanks a lot for your replies. @Wasan, scale equations work great, also your program example is perfect. It's all clear to me. Thanks!
  7. Hello! I am new at PLC programming. I am using TM221CE16R PLC with TM3AI8 analog input module and SoMachine Basic v1.6. I am trying to scale analog input value. I am using 4-20 mA pressure sensor. I managed my wiring so that I get raw values in SoMachine Basic. But I don't know how to scale these values to usable values. My sensor works in range 0 - 16 bar. What is best way to get values? Is it PID function block or multioperand function block using equations to get range 0 - 16? I will appreciate your help.   Thanks in advance!
  8. M221

    Hello jem233, I am also new to PLC programming. I am using TM221CE16R and SoMachine Basic v1.6. I am trying to get analog measurements into PLC. I downloaded your project and I see you used PID. Was this working OK for you? Could you also send me wiring you did on your analog input module? I would appreciate it. Thanks!
  9. After a month and with help of technical support we figured out that problem was with hardware on PLC. They sent me new PLC. Thanks for help!
  10. I already uploaded latest firmware (1.6.2.0), but error is still there. It's really weird that changing firmware doesn't clear this mistake. After uploading firmware I still got error light blinking and the same error message. I am afraid about hardware being corrupted. Is there any hardware reset? Or some hard reset for these Schneider M221 PLCs?? Thanks in advance.
  11. Thanks for reply! Expansion slot in program and attached to PLC have the same part numbers. Expansion slot plug is not damaged. Voltage to expansion slot is correct, also without any voltage it has PWR (power) LED on.  IF I configure program without any expansion slot, erase program in controller and upload new configuration, I got the same error. Really can't figure out what could be problem. My whole configuration worked fine for 2 hours. After NO CHANGES it stopped working, as I remember PLC got disconnected by itself and reconnected (USB, not physically), then suddenly everything stopped working and I got this message. Any ideas?
  12. Hello! I am using PLC TM221CE16R and SoMachine Basic v1.6. My PLC has firmware 1.6.0.1. I use analog expansion bus, input module TM3AI8. Everything was working fine for 2 hours until suddenly I got next message in SoMachine Basic: I/O expansion configured but is absent or inoperative. I/O expansion bus is not started. Since then ERR LED is always blinking. I already tried deleting program, updating firmware, removing expansion module in configuration page, removing/adding physical module, selected module as Optional, removing battery - nothing helped. If I try removing application, ERR LED is still blinking. Seems like I can't delete previous program, something like config file is burned into PLC.  On the other hand: if I write some simple program, PLC works fine. It turns on/off relays correctly. Just expansion bus is not working. It is not working even if it's not configured or attached physically to PLC.Can anybody please help me? It is really frustrating.