
hukc
MrPLC Member-
Content count
14 -
Joined
-
Last visited
Community Reputation
1 NeutralAbout hukc
-
Rank
Sparky
Profile Information
- Country Hungary
-
Hi all, I use NX-CIF210 serial unit and NX_SerialSend function block. Has anyone idea why takes it 12 ms that I send 8 byte data on RS232 line? 115200 baud rate I measure the time between the function block execute and done.
-
hukc liked a post in a topic: Looking for NJ/NX Communication DLLs for Visual Studio
-
Looking for NJ/NX Communication DLLs for Visual Studio
hukc replied to FLAutomation's topic in NJ Series / Sysmac Studio
Hi JYG! How do you sent the structure from the PLC? Convert he stuct to array of byte? And in c# how can I convert the message to structure? -
hukc started following Looking for NJ/NX Communication DLLs for Visual Studio
-
Hi kckku, are you use the Beckhoff EtherCAT junction module? Is it working well with Omron?
-
Hi! You want to use direct FINS messages? Or you want to read and write the PLC memory via FINS? If the second you can use NX1P2. Enable the CJ memory and then you can read and write these memory area.
-
Hi! In first picture the timer isn't called. If you take a this row to your program then the timer is started: Password_RST_TTimer(); This timer is a funciton block, so must be call in the program. You only set the function block input parameter and not called. In second picture the timer is called, so it is working.
-
Which PLC you use? If it is allow motion control axis then you can create an axis group. With a group you can move syncronized the axises.
-
Temp := TimeToSec(yourTimerVariable); Hour := Temp / 3600; Min := (Temp MOD 3600) / 60; Sec := (Temp MOD 60); After that you can convert this 3 integer to string. Then concat with ":"
-
Thank you! I know the using CJ memory of NX1P2, my question is that memorys can be read in Supervisor? I cant add NX1P2 in CX-SUPERVISOR.
-
Hi all! Somebody make CX-Supervisor project with NX1P2 PLC? Is it possible to use CJ memory of NX1P2?
-
Change image on NA page with a subroutine
hukc replied to Danderson's topic in NJ Series / Sysmac Studio
Take the two image in same position and create animation on the image visiblity with a variabe or in subroutine you can set the images IsVisibe property. -
Michael Walsh liked a post in a topic: Edge Detection in Structure Text
-
simonongsk: in your code the rising and falling edge is increase the counter. One other solution: IF timeOut AND NOT PreviosState THEN Counter:=Counter+1; END_IF; PreviosState:=timeOut; Or in ST you can use R_TRIG variable: rtrigTimeout(Clk := timeOut); IF rtrigTimeout.Q THEN Counter := Counter + 1; END_IF; In that case declare rtrigTimeout with R_TRIG data type.
-
hukc started following NA HMI: Create Duplicate Objects
-
Hi, You can use it with controller variable too, but cant use an array inside a structure. Try it with a simle array in PLC and its work.
-
Hi, You can use tag data link, to cyclic communication. In this case you set up the controller to read the other device. See video: Another option to use CIP. CIPOpen, CIPRead, CIPWrite, CIPClose instuction see in instructions reference. With this function block you can make the communication in code. EthernetIP manual: https://www.google.com/url?sa=t&source=web&rct=j&url=https://assets.omron.eu/downloads/manual/en/w506_nx_nj-series_cpu_unit_built-in_ethernet_ip_port_users_manual_en.pdf&ved=2ahUKEwiKlJGdwq_nAhWFp4sKHciMA2wQFjAAegQIBxAC&usg=AOvVaw2XhTKQj0pL9-3V6WxJYhgB
-
hukc started following NX/NJ protocol structure for Ethernet IP
-
hukc started following Torque control mode
-
Which NX1P2 you use? If NX1P2-9.... then you can not use torque control. If NX1P2-1... then you can set in the Axis settings Control function to Motion control.