SolidRio

MrPLC Member
  • Content count

    44
  • Joined

  • Last visited

Everything posted by SolidRio

  1. Special function module convert FX2 > FX3

    This can be empty and your program will work with only FROM instructions.
  2. FX5U Modbus communication

    You can use 1 channel as a modbus master with 32 slaves and other as a Mitsu Inverter Communication with 16 slaves. I didnt test that, but you can.
  3. FX5U Modbus communication

    What inverters do have? Asking because if its mitsu - you can manage them via mitsu invertor communication and divide them between 2 channels (or use cc-link ie basis if inverters have ethernet).
  4. IEC 60870-5-103 protocol

    Hello everyone.  I have 11 Siemens Overcurrent Relay Modules that only can be communicated via IEC 60870-5-103 protocol. I need to make a system that will be gathering information from them (Currents, Voltages, Some discrete signals, etc.). On mitsubishi site i've only found information about 101/104 protocols. Does Mitsubishi have a plc that can be connected via IEC 60870-5-103 protocol? If not, maybe someone knows another plcs that can be connected to those modules (I am already looking on siemens site, but its seems not quite cheap).
  5. IEC 60870-5-103 protocol

    I understand that. This system only provide parameters indication and failure of equipment will not hurt anything, but its undesirable of course. I would be happy if mitsu have something with 103 protocol, but they dont. Maybe you can advice something? We cant afford Siemens (quite high price for such small system). And i dont know anything about writing of communication drivers. 
  6. IEC 60870-5-103 protocol

    Its seems not quite easy... Meanwhile i found cheap plc from russian company "OWEN" (i think you know them) with support of 103 protocol, but i've never worked with them before. i should check compatibility with GOT (which we already have) and their software. 
  7. FX Invertor communication

    Little update on this old topic. Project ended up with CC-Link IE Basis (Thanks to someone in our office who bought FR-A840-E by mistake). In the manual was written that only 6 inverters  can be connected to 1 plc. But accidentally i faced on mitsubishi site notes to new firmware of fx5u (FX5 Firmware 1.110): "Expanded number of CC-Link IE Field Basic slaves (6->16)". I updated plc firmware and CC-Link IE basis inverter connection works flawless. 
  8. FX Invertor communication

    Hello everyone. When i was working with FX3U and did Inverter communication (Mitsubishi) by 485 (485-BD and 485-ADP) i've faced really slow connection when there was many Inverters (2-3+). Then i was thinking its because low speed of connection 19200 or 38400. Right now i am making project with 9 Inverters and FX5U. Speed 115,200. And still connection really slow (about 2-3 seconds on refresh data from FR). I divided inverters on 2 groups (5 on CPU's-485 and 4 on 485-ADP) - connection improved, but still about 1 sec. In the program i am only taking data (FREQ/CURRENT/VOLTAGE and DIGITAL OUTPUTS) so there is not so many operators that load connection. I need your advice. Can i improve speed of taking data? 
  9. FX Invertor communication

    So, i tested MODBUS. First, my previous problem was only when some of inverters is offline. I think i have some problem with program sequence or with response time waiting, i will find out. Second, Its seems when you use small amount of commands (IVCK/IVDR etc) - mitsubishi inverter protocol is winning at speed.  I dont know who will win in case full control of inverter (full monitor and control), i will try it when i will have time. MODBUS (in case of Mitsubishi inverters) not so good as i thought at start. Inverters data divided between many ranges of memory and you cant cover that by 1-2 ADPRWs which can only cover 125 points of memory. Because of this amount of telegrams between plc and inverters not that small. And MODBUS master can be only one in one PLC, so you cant divide your Inverters between 485-modules (like mitsubishi protocol).   
  10. FX Invertor communication

    I really misscounted number of telegrams (forgot about PU/EXT/NET and Special monitor, and in last version i deleted Voltage part). There is now need to make sequence over them, they are working one after another. Like this - https://prnt.sc/mcrlp1 But i get your point, there is still to many telegram (even if they working) to inverters. With the one or two inverters its works really well, but if its 2+ inverters.... So i will tryout Modbus and will write results here.  Thanks for your response.
  11. FX Invertor communication

    I will share FB that i using in this project in this post. I dont need control in this application, only monitoring.  I will try ModbusRTU next week.  List of equipment: nine FR-A840 inverters and FX5U with 2 485 channels. I am using IVDR for writing special monitor parameter type. I want to monitor Temperature in inverter (HF3 - 96). Thanks for your response. FR_BLOCK.gx3
  12. FX Invertor communication

    Sorry but i dont fully understand you. As i said, I am using multiple IVCK (read) for each inverter and one IVDR (send). Can you describe it with example? 
  13. FX Invertor communication

    I am using the old versions of A/F-800 without Ethernet port.
  14. FX5U - High-speed counter+encoder

    I've found the problem.  i was using this scheme - https://prnt.sc/m7rckj . So i've removed resistors from circuit and it start to work well even if i turn it by fast moves. 
  15. Hello everyone.   I found a cheap encoder S48-8-1000ZT (1000 pulses) and connect him to FX5U's X0 and X1 (2 phase - 1 edge mode, if i can trust manual - it allows me detect all pulses below 200 kHZ frequency). Changed input response time to 10micro-s. I created a program that simply look at this counting and make some math. If i am rotating encoder with fingers slowly - all works great (my mark matches at encoder and 1000 pulses in program), but if i turn it by 1 sharp fast move and then again and again - marks move by half turn at for example at 10000 pulses.  So i need your experience. Whats going wrong? Is plc dont have enough response speed? Or something wrong with encoder? Or with my configuration? I need to use FX5U and encoder at 1500 r/min motor (with another encoder), so i need to test it before going on object.
  16. Hello everyone.  I am trying to cheat GX IEC Developer and set up 38400 baud communication between FX3U and FR-F700 via Inverter communication. In GX IEC Developer you can only set 19200 as max, but 485 communication in FX3U can be set up on 38400 and that works perfectly in GX Works 2. So, i unchecked setting in PLC parameters and using M8002 to write communication setting in D8120 (using CH1 485-BD) but that doesnt work. I tried many ways before writing this and i need some help.   
  17. 485 settings in a sequence program

    I've checked convert future, never heard about it before, seems interesting. And backing to the start of the story - there is no way to make setting by sequence program for invertor communication? Its is not working even for 19200 baud (but working when im making setting download). I did it before for RS2 instruction and it works well.
  18. 485 settings in a sequence program

    Yes, because its old big working project. It isnt worth time to rewrite project on GX Works 2.  v7.04.
  19. Maps alarm management

    Hello everyone.  In a previous thread MAPS was recommended as a best SCADA for Mitsubishi plcs. So i've started to trying it. I've faced problem. I am trying to create log of alarms (which is common in HMIs/SCADAs and i never had trouble in other products). As i understood from help menu (maybe i am wrong) - you need to create SQL server data base, after this create AlarmManagement agent and connect him to this SQL database. I did all of this but there is nothing in "Category" list. For once there was "Root" word for 1 second and then still nothing. I cant add category or something else and dont know what should i do next. For additional information: Maps 4.0.1.0 x32 (saw in designer window). Unlicensed.  My OS Win 7 x64 SQL Server Express 2014 x64 Have created database via SQL Server 2014 Management Studio I checked the boxes Start Alarm Management agent and history alarm mode. (But i tried other combinations of active boxes, with the reboot of agent server). In just Alarm Viewer (which only show as current alarms) all work without any problem.
  20. GX works program read in a structured project?

    I always thought it something for protection data from uploading. You must have Structured Project if you working with this PLC or you should write your own project.
  21. Maps alarm management

    Hi JanHrust.  Sorry for late answer. Provider=SQLOLEDB.1;Integrated Security=SSPI;Persist Security Info=False;Initial Catalog=AMDATA;Data Source=PC_NAME\SQLEXPRESS
  22. Maps alarm management

     
  23. Maps alarm management

    Hello everyone.  Was trying to reproduce process of creating History Alarm Log via SQL. And have failed. I've already mentioned that process before in this thread. I am using  SQL Server Express 2014 x64  and  SQL Server 2014 Management Studio.  What i do: 1. Create SQL Database (for example) "123" with no changes in settings, all by default. 2. Create Alarm Management agent "AM". Box History mode, and Start have checked. In connection SQL database 123 added and connection test ok. 3. Create Alarm for bit M 0 in PLC on ON and OFF conditions. Route 2. In output AM agent added. 4. In SQL Server 2014 Management Studio i already see that MAPS have already added tables in database, "Adr_AM_CurrentIncidents" for example. 5. Create a project. Add AdroitHistoticalAlarmViewer(connect to SQL Database 123), AlarmViewer and button that toogles bit M 0. Alarm is working fine (i can see it in AlarmViewer and even acknowledge) but there are nothing in SQL database and as result in AdroitHistoticalAlarmViewer. Only thing is adding in SQL database table "Adr_AM_Incidents" -  Idx    CategoryId    Name    Agent    AgentType    AlarmType    AliasName    Document    Delay    Condition    ReasonRequired    NotesRequired    AssociatedTags 0               0             M_0.On    M_0    Digital                On                     M_0.On      NULL                0          NULL                   0                               0                          NULL   I tried everything. Only think i found its in Agent Adroit.AlarmManagement.AM.lastQueryError - error 80040e07 Conversion failed when converting the varchar value to data type datetime.  The thing is - I have created working History Alarm in SQL with MAPS before (which i mentioned in earlier posts here) and was doing same things, but month after - i cant. I need your help. Maybe i missed something. 
  24. FX3U-ENET connections

    Hi JanHrust. I did all the setting you have said. But without Fixed Buffer Communication: Procedure Exist (MC) it doesn't work (Connections are blinking and SCADA doesnt have connection to the PLC).  But in my efforts i've found that SCADA (MAPS and CITECT) only need 1 connection: TCP Unpassive Send OR Receive  Procedure Exist (MC) Disable Confirm and port. Before that i have been thinking SEND - for SCADA writing in PLC, and Receive for PLC giving data to SCADA. So i was wrong. If only 1 connection need - there is no need to go 2 SCADAs via same connection. Thank you for your advice.
  25. FX3U-ENET connections

    Hello everyone.  I've faced problem with the FX3U-ENET configuration. Enet module only have 4 MC connection at once. So i already have 2 Melsoft connection (GOT Panels) and 2 MC unpassive(read/send) for SCADA (Citect). Right now i need to add MAPS to this, but via connection that had given for Citect isnt working (Only one of them working at once). So is there any chance to connect 2 SCADA (Citect/Maps) via 1 connection (with read/send)?