SolidRio

MrPLC Member
  • Content count

    61
  • Joined

  • Last visited

Everything posted by SolidRio

  1. 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? 
  2. 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).   
  3. 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.
  4. 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
  5. 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? 
  6. FX Invertor communication

    I am using the old versions of A/F-800 without Ethernet port.
  7. 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. 
  8. 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.   
  9. 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.
  10. 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.
  11. 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.
  12. 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.
  13. 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
  14. Maps alarm management

     
  15. 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. 
  16. 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.
  17. 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)?
  18. Maps alarm management

    Alarm management i've already described in my first and second posts in this topic. Why i want "like GT Designer"? Cause all the factory working on the HMIs and if i want to implement MAPS here first words about new alarm system will be: We want the same way like its working on HMIs. Real time with all of alarms in one list on one screen. Alarm management got 1 minute refresh time. And this is not what i am looking for. I am still looking maybe i can it do with EventViewer.
  19. Maps alarm management

    Ok. I'm adding AlarmViewer and choosing  defaultAlarmAgent  as alarm agent.  Now i will show you example of difference with one digital bit in MAPS and HMI (GT Designer). HMI (Screen is refreshing in real time) : 1. Digital = 0. - No messages on Alarm Screen. 2. Digital = 1 - (Occurrence) 16/08/18 09.02.32      Some comment             (Restored) --/--/-- --.--.-- 3 Digital = 0 - (Occurrence) 16/08/18 09.02.32      Some comment             (Restored) 16/08/18 09.03.32 4. Digital = 1 - (Occurrence) 16/08/18 10.02.32      Some comment             (Restored) --/--/-- --.--.--                          (Occurrence) 16/08/18 09.02.32      Some comment             (Restored) 16/08/18 09.03.32                            <-------Old message of same bit alarm is still on screen.  MAPS (Without Global Acknowledgement function) :  1. Digital = 0. - No messages on Alarm Screen. 2. Digital = 1 - (Alarm Time) 16/08/18 09.02.32      Some comment             *Red background*  3 Digital = 0 - No messages on Alarm Screen. 4. Digital = 1 - (Alarm Time) 16/08/18 10.02.32      Some comment             *Red background*                <-------No old message of same bit alarm is on screen.    With Global Acknowledgement function will be only one another phase when will be *Green Background* I hope you will get my idea. 
  20. FX3U-ENET connections

    I have been thinking about using OPC, but i never used it before. So at first i am trying to do this without OPC only with drivers within SCADAs.
  21. Maps alarm management

    Yes. Added 1 digital signal in Alarming. Alarm agent: defaultAlarmAgent. Added Alarmlist in route 0 and in the Event Logs: LOCAL. Alarm types: ON (i want to see when this bit is on and when its gone in one message). Route 0.  
  22. Maps alarm management

    Hello. Yeah, i already have done it. They are changing values in real PLC.
  23. FX3U-ENET connections

    Hello. Thank for your advice, but i saw this manual when i have started set up connection between citect and fx3u and it cover only TCP/IP part of connection.
  24. FX3U-ENET connections

    Hi, no problem, better late than never. First question i already figured out from some of the manual.  Main problem with second question i hadnt find UDP driver in MAPS (4) and in Citect (7.10) as well. 
  25. Maps alarm management

    Hello everyone.  I finally had some time for MAPS. So i've tried what JanHrust said. Dropped the the Eventviewer and add the datasourse from the Events list - "Adroit". This show all the events from MAPS (i still didnt figure out how to show only needed events) and only with manual update or 30s auto refresh time. And this is still not that thing i want from it. I want to create same alarmview like in GT Designer. Real time simple alarm list that got in itself Occurrence/Restored time and comment with showing only alarms/operator actions i added.  Maybe im doing something wrong and i will try to do a research on achieving my desired alarmview list in free time, but maybe someone will advice me something.