Luka0204
MrPLC Member-
Content count
26 -
Joined
-
Last visited
Content Type
Profiles
Forums
Downloads
Calendar
Everything posted by Luka0204
-
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
-
Yes, via ABB CI867 module (which I don't have it), but I have existing CI853 modbus module and that's why I need to have modbus rtu communication.
-
Hi, I am using PID function (PID operation instruction) from GX Works 3 library but it doesn't work. I set all necessary parameters (sampling time, direction and upper/lower limit values + KP, TI). My input PID_Par is array of 25 points (in manual is written: "*1When auto tuning is not used, the same number of points are occupied as when the step response method is used."). For example, in GX Works 2, PID function works ok. Did someone have similar problem? Does someone have mitsubishi library (GW Works 3) with PID function that works correctly? Regards Luka
-
It is the same, using GX Works 2 or GX Works 3 (Q/L/FX Series Compatible Mode) if you are programming Q-series PLC.
-
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
-
Hi once again, communication between QJ71MT91 and R04 is solved in the following way: - R04 = in GX Works 3 install library MEU_RCPU_ModbusTCP_00B and program R04 as TCP Server - QJ71MT91 = set parameters in GX Works 2 under Intelligent Function Module I have 1 question regarding the GX Works 3: In Module Parameter setting I needed to set Open by Program in Opening Method setting to work this communication. I also found in manual the following thing: "When changing the operating status of the CPU module from external devices (such as the remote RUN/STOP functions), select "Do Not Open by Program" for "Opening Method" of "Module Parameter". If "Open by Program" is selected, an execution of the remote STOP function causes the communication line to close. Consequently, the CPU module cannot reopen the line, and external devices cannot execute the remote RUN function." Does someone encounter with possible problem from the quote or it works just fine with choosing Open by Program setting? Regards Luka
-
Hi, does anyone has program example of ethernet communication between FX5U (GX Works 3) and A1SJ71QE71N3-T (GX IEC Developer). I need to read and write in both directions. Thanks
- 3 replies
-
- fx5u
- a1sj71qe71n3-t
-
(and 1 more)
Tagged with:
-
As far as I understand, A1SJ71QE71N3-T module doesn't support QnA Compatible 3E Frame (i think that is for Qna built-in ethernet CPUs)??! (CPU is Q2ASHcpu-S1, doesn't have built-in ETH port.) For A1SJ71QE71N3-T, I am using Fixed buffer protocol (library Eth_QE71_IEC_6)--pic in attachment.
-
Hi, how to make PT1 term in GX Works 3? I want to simulate PID loop Regards Luka
-
PT1 or PT2 term = transfer function 1st or 2nd order . My aim is to simulate closed PID loop..something like an attached picture (matlab).
-
Hi, i have excel file with 2 columns and cc 300 rows (saturation curve). How to import excel file in GX works 3 (R04CPU) and use data as two array variables [0..300]? I want to avoid manual writing around 600 values. Thanks
-
Problem is that I need to have an array of 300 constants (real numbers). I can program 300 times like this: DataArr_1[0]:=0.1; DataArr_1[1]:=0.5 etc, but that's not an aim. Another solution is that I copy all data from excel in Device Memory then write on PLC.
-
Hi, when I download on PLC (R04), sometimes for example. TON timer's output .Q is automatically set to true even though input is false (also on .ET time is 4h ...??). Also, sometimes some bool variables are also set to true even though they are not set by any kind of logic. However, when I physical reset the PLC (power cycle), mentioned problems don't exist. Does it mean that software reset isn't working entirely correct and I need to reset physical PLC (power cycle) every time after I download on PLC? Regards Luka
-
Hi, solution lies in special register SD 792 where for loop 1 I needed to activated bit b0 to set 'No limit restriction'. Regards Luka
-
Hi, once again question regarding the PID control. When I am using PID Control Instructions (Exact Differential) and I am limiting Manipulated Value (MVLL, MVHL), from 0 to 32000. But, when I run a PLC with these limits, I can't get MV more than 2050. In manual is mentioned that PID limit can be restricted (-50, 2500) or not (-32768, 32767). How to disable PID limit restriction to get limit range (-32768, 32767)? Regards Luka p.s. Thanks to Clear Mind for previous answer
-
Sorry, I forgot to mentioned--- iQ-R (RO4 CPU)
-
Thanks for your answers. I already have QJ71MT91 acting as a Master (to another PLC) and I am going to set QJ71MT91 also as a slave (if I am correct, QJ71MT91 can be a master and a slave at the same time). Then I will set built-in eth port on R04CPU to act as a Modbus TCP/IP master and hopefully that will work. Regards
-
Hi, I have LJ71C24 modbus module as a master and slave device with the RS-485 Half-Duplex (Modbus RTU). If someone could tell me what is the correct wiring and what are the correct parameters for such communication (Transmission control, do I use echo back parameter..???). Right now, I short-wired SDA-RDA (with A of slave) and SDB-RDB (with B of slave). Also, I am trying with the predefined protocol using Schneider Modbus protocol. Is this ok? Best regards
-
I found a solution. In Predefined protocol support function (see Tools), when you set a communication protocol (for me it's Schneider Modbus), click on the protocol and it will pop-up window 'Protocol Detailed Setting'. There I disabled 'Clear OS area', and it worked. Also, I prohibited Echo back option to receive normal answer to my query. Regards
-
Hi, I have variable (named var1) with data type 'Word[Unsigned]/Bit String [16-bit]' with Array [0..7]. I want to put 16 variables with data type 'bit' in var1. Is there function for that? Also is it possible to put 16 variables (bit) like this: var1[0].0:=bit1; var1[0].1:=bit2 etc. I'm using GX Works 2 with CPU L02 Best Regards
-
16 bits into unsigned word/Bit String [16-bit] array
Luka0204 replied to Luka0204's topic in Mitsubishi
Thanks for the reply. I used 'SET_BIT_OF_INT' with 'INT_TO_WORD' for my program and it is a good solution. Once again, thank you! -
Hi, I have variable (named var1) with data type 'Word[Unsigned]/Bit String [16-bit]' with Array [0..7]. I want to put 16 variables with data type 'bit' in var1. Is there function for that? Also is it possible to put 16 variables (bit) like this: var1[0].0:=bit1; var1[0].1:=bit2 etc. I'm using GX Works 2 with CPU L02 Best Regards
-
Hi, i want to make a function block which will contain a block GP.CPRTCL (for predefined comm protocol). GP.CPRTCL has an input "Un" who only receives constant (H,K). On input of my own function block i can set a constant variable, but inside block that variable isn't a constant anymore (GP.CPRTCL doesn't recognize a variable). Is there a way for receiving constant variable in GP.CPRTCL block ("Un") if it is in another block. Regards
-
I used Modbus from Schneider for predefined protocol and it worked. Gambit, thanks for the help.
-
Greetings, I have L02CPU and LJ71C24 (for serial comm) and they act as a master. For slave I have some energy analyzer device. Device has a Half-duplex RS-485 serial interface (Modbus RTU protocol). Master only needs to read some data from slave. My question is: What protocol should I use for mentioned communication (MC, Predefined, Nonprocedural, Bidirectional)? I saw that if I use Predefined protocol I can select in Predefined Protocol Library, under the Manufacturer, Schneider Electric - MODBUS - 03: RD holding Registers. Is this OK for my type of communication? I will try to do some testing between LJ71C24 and QJ71MB91 (who will act as a slave), this or next week, but it would be helpful if someone can tell me correct protocol for my type of communication? P.s. I am using GX Works 2. Best regards, Luka