Search the Community

Showing results for tags 'omron plc analog value read with vb with fins udp ethernet connection'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Found 854 results

  1. Hi there! I'm dealing with some ActiveX object issues in a CX-Supervisor SCADA project. The thing is that the computer where the runtime was running failed and was replaced. The project used a couple of dropdown list objects that worked in the older PC, but now everytime it access or calls the ActiveX object in some way, an error saying the object couldn't be found appears in the error register and the runtime stops working. I've been reading about Activex and Cx-Supervisor and I tried installing NI Measurement Studio, as it appears to be the software related to the objects in the project, but this didn't fix it. I see in the 'Csutomize Toolbox' window near activex objects, that there are plenty of options to choose, but I got no information about this window online. So my question here is: is there any 'standard' ActiveX object type that works on any PC, or am I missing something?   Thanks in advance!    
  2. problems with CP1H analog input

    i am new to cp1h and have problems with getting analogs signals inn from input 200
  3. Hello,   I'm currently working with a 1769-L19ER-BB1B CompactLogix controller connected to 7 1734-IE8C analog input cards. Into these cards I have about 14 Setra 269 Differential Pressure Transducers, all of which have their own individual display. Our goal is to capture and record the data from the Setras in the PLC, but I am struggling to scale it correctly. I currently am running a series of SCL function blocks to change the raw inputs (3277 - 16383) to the Engineering range (-0.25 - 0.25). The Setras have a standard output range of 4-20 mA and the calibration sheet I have for it matches that (4 mA = -0.25, 20 mA = 0.25 etc.) My issue is the SCL function block outputs are not matching the displays that the Setras have on the sensors. The difference can be somewhat staggering (largest one ive seen is PLC - > 0.045 , Sensor - > 0.003. Any ideas on what I can try to fine tune this scaling? 
  4. Hello everyone, I want to use my own computer as plc. I have a molex brand SST-PB3-PCU SST card. I will connect my I/O modules to the profibus adapter, then I will connect the adapter to the SST card. Can Codesys see this SST card and if so how do I make the connection. I can connect this type of connection in the InControl (an old software) program that I used before.  Please Help Me!! The Board I use to connect the I/Os to the computer: SST-PB3-PCU  Profibus Adapter to which I connect I/Os: 1794-APB | Allen Bradley PROFIBUS Adapter Module My I/O Modules: Allen Bradley 1794-IB16 and 1794-OB16 My OS: Win10 64 bit Codesys Version: CODESYS V3.5 SP18 Patch 3
  5. Hello, I have a question about AlarmViewer in NA HMI panels. I found that I can't control what type of messages to show. I have a user information messages showed on one of the screens and I would liike to illuminate one of the events that cause the event to appear. I can't find how can I show raised or cleared user alarms only. It always shows me when it was raised and when it was cleared. In example when I have auto-clear (impulse of added condition into alarm event). Any solution how to create a log for events without showing raised/cleared/acknowledge? Thanks, Scotty
  6. I have been trying to connect to my nt21 hmi and I keep getting timeout error. I am able to connect to the plc with the same driver. So I know my cable is connected fine. I set the settings of the driver to match the hmi settings and still times out. Can someone please share the steps to take to send an application to this hmi?
  7. I have been trying to connect to my nt21 hmi and I keep getting timeout error. I am able to connect to the plc with the same driver. So I know my cable is connected fine. I set the settings of the driver to match the hmi settings and still times out. Can someone please share the steps to take to send an application to this hmi?
  8. Dear all, I'd like to get your support on the issue with OPC UA certificate. My OPC UA server has been built with Node.js. The PLC S7-1500 (firmware v2.9) acts as OPC UA client. It's working well without certificate but when I use certificate, there are 2 situations: 1. When connecting using "Online access" (as attachment) in the "OPCUA Communication >> Client interfaces", I can connect with certificate (after I export and copy the PLC's certificate to the trusted folder of the server). --> server is ok. 2. When coding and running with real PLC: can't connect, there is even no PLC's certificate on the rejected folder of the server and there is no any error, the Status of block "OPC UA Connect DB" is still 16#0000_0000. So, what I did with certificate in TIA Portal (V17) are: - Enable the Global security setting for certificate manager - Created (and tested) with both self-signed certificate and CA certificate for PLC - Added server's certificate to trusted list in "Certificate manager" of TIA Portal (also added to the "Certificate of the partner devices" in  Device config) - In "OPCUA Communication >> Client interfaces", chose the Security Mode/Policy and PLC's certificate (already tried with and without this setting) In my point of view, the problem is that the PLC received the certificate but somehow it didn't read correctly or didn't compare with the certificate in the trusted list because if the PLC does this step, it should send its certificate to (the rejected folder of) server. Could anyone help me to solve this issue? Thank you in advance.   [Update] 1.The PLC throw the error code 16#8016_0000 (BadCertificateHostNameInvalid/The HostName used to connect to a Server does not match a HostName in the Certificate - as I searched in google) but it's very quick so I could not see this behavior at the beginning. 2. I have tested with UA Expert, I can connect without any problem/warning. So, the high confidence that problem comes from PLC. ----------  Best regards, Danh Vo
  9. View File NJ/NX Get IP Address A Library containing a function Block that can be run on any Omron NJ or NX PLC. The Function Block will retrieve the host PLC's IP address, Subnet Mask, Gateway, and MAC Address. The Port Details are presented through 2 structures , 1 per-port. In the event the PLC only has one port the structure for Port 2 will be blank. Submitter photovoltaic Submitted 12/12/22 Category PLC Sample Code
  10. NJ/NX Get IP Address

    Version 1.0.0

    76 downloads

    A Library containing a function Block that can be run on any Omron NJ or NX PLC. The Function Block will retrieve the host PLC's IP address, Subnet Mask, Gateway, and MAC Address. The Port Details are displayed through 2 structures , 1 per-port. In the event you only have 1 Ethernet port then the structure for the 2nd port will contain all 0s. Data Format: IP Address - USINT[4] Subnet - USINT[4] Gateway - USINT[4] MAC - BYTE[6]  (hex value) Access the retrieved details by the typical parent-child tag structure. ex. Port_1_Detals.IP_Address[0] will get the first octet of Port 1's IP. Tested on: NX1P2, NX102, NX502, NX7, and NJ301 IMPORTANT: This Function Block should not be run immediately after startup. Allow the PLC a few seconds to establish a connection with the Ethernet network.
  11. Hi,   I'm developing an application in C# and need to communicate with a plc omron NX1P2. How can i do it? With cx-compolet? Or is there another way?  
  12. Hi. what i've gathered, i need an EDS-file for the siemens s7-1200-system to be able to specify an ethernet connection in sysmac from the omron plc side to connect to the siemens ethernet/ip server. Anyone know where or how to get an EDS file for the siemens plc so i can import it into EIPprofiles in sysmac?
  13. Is there an efficient tool to manage and validate CX-Programmer addressing. Requirements: - Highlight Duplicate Address allocation - Compact/Defrag address range to avoid wasting memory space. Note: - Any FINS addressing will have to be reconfigured - This approach assumes symbol use rather than direct addressing in the logic.
  14. GOT2000 <-> Omron CJ PLC

    I have an application where I'm using GOT2000 to read data from the weighing unit using RS232 and I send this value to Omron CJ2M through Ethernet/IP. Some variables from that PLC are connected to the elements of the HMI. The problem is when writing the weight value to the PLC through script or Data Transfer is disabled, the RS232 reading works fine, it's fast, etc. However, when I enable the script which writes data to the PLC, the RS232 slows down by a lot, like it refreshes every 2-3 seconds. If i set the script to execute like every 1-2 seconds, it is working better (still slower compared to when the script is disabled) but I cannot leave it like this, because the weight is used to control some valves, pumps, etc. Enabling script doesn't slow down normal communication with PLC, because I tried to test it by displaying the value of seconds from PLC on the HMI and it refreshes every second. Does anyone have idea why such tiny script causes so many problems with RS232?
  15. I'm trying to exchange some data between two controllers. I've used a manual which describes Tag Datalink communication. Everything works fine on the Bradley side, which means I can read values from Omron without problems. However, on the CJ it isn't working. In the Network Configurator I get error every 10 sec (Tag data ling error, code 03D5) and cannot read any data from AB. When I open Connection Structure Tree I see that the input tagset from AB has 'Broken path (0000000000000)' and Unknown Device right next to IP address. I've tried using EDS from the Rockwell as well as uploading it from AB PLC directly - I don't know if it might be EDS issue. The only thing I noticed that inside CJ2M-EIP21 EDS it says that Ethernet/IP is Class 1 connection, however in the 1769-L35E EDS Ethernet/IP is Class 2 connection. Have anyone ever had such a problem?
  16. I am trying to use Reusable files, but it is greyed out. Is there a setting that needs to be enabled to activate it? I am using CX-Programmer v 9.74 Update 1: Apparently, when you create a data structure this gets greyed out  
  17. Hi all,  I am trying to modify the date and time of several PLCs from other PLC. Them are all CJ2M, and they are all in the same ethernet network (192.168.100.xx) and in the same FINS network (#1). I am doing it using the FINS command 07 02 ("CLOCK WRITE") with the CMND2 instruction. It is not working entirely: the clock time is being modified at the specified node; however, I do not get the FINS response (expected 07 02 00 00). If I modify the number of retries of the CMND2, the command is repeated all the specified retries though the clock was already written on the first try.  The D+0 and D+1 (response channels) are always #0; nevertheless, the I+1 ("Communication Completion Code" channel) allways receives #205. Acording to the manuals, this code is for "Response Timeout". I have tested it with 10 retries and with 10.0 seconds of monitoring response time, but it is working in the same way: the clock is modified fast enough, but I am not getting the FINS Response and the I+0.00 bit is ON after 100 seconds...  I have been also doing tests with the OMRON's Etherway Software, sending the same FINS command, and here I am getting the response properly. (???) I would say the FINS network was set-up correctly. All the PLC were set in network #1 with Cx-Integrator. In fact, they are currently sharing several channels using the SEND command on this network #1. I don't know what I am not doing right... Any idea?  The ladder is attached as .cxp and as .png. Thanks a lot.  Best regards.  CLOCK_WRITE.cxp
  18. Array A INT[32] Array Index B INT Destination C INT I am trying to move an Array (A) Element (A[2]) using a symbol (B) in ladder into a destination symbol (C) C = A [ B ] Result: ERROR: Array Index of Operand 1 out of range at rung 1 ( 6, 0 ).  The documentation suggests that it is possible, but I am unsure if there is something I am doing incorrectly. Note* Fixed indexing works with no errors Is there another method to accomplish this?   PLC : CJ2M CPU31 CX- Programmer: Verion 9.74 Update 1: If I go online to the PLC It does look like the array look up is working. Is the issue with the mov block? Update 2: I changed the memory locations which has caused a different error to appear. This error is clearer but does not explain the manual excerpt I posted further up ERROR: Only the constant can be specified for the index of the array.  at rung 5 ( 6, 0 ).  Update 3: Solution 1 I managed to hack together a proof of concept using pointers and indirect offsets  Update 4: Solution 2 For some strange reason things work as expected inside of the function blocks so I made one where the array is In-Out and with an input and output respectively. Note* External reference to pointers inside of the function block produced an error. Function block Logic     Update 5: Solution 3 Now I feel like I am going crazy, I tried just the original code again and it works... I have no idea why and if it was not for all the documentation I would be lost as to why it works now... Update 6: Conclusion It seems to have array indexing work the array index must exist in the D Memory Block. The reason it did not work above is because I somehow had a MOVR block when I tested after moving all the variables to the D Memory Block. I hope this journey helps someone else :)
  19. Has anyone have any experience getting a Wieland Safety plc (SP-COP1-ENI) communicate with an Omron Plc (NX102) via Ethernet/IP? EDS file installed, connection is set as per the documentation yet  I cannot get it connected.  
  20. Error **03 Special Parameter Error

    Hello I have a problem whit PLC mitsubishi FX3U thernet communication, we have a module  FX3u-ENET-ADP. and we have the error "**03 Special Parameter Error".  
  21. "PLC No Response" NB HMI Omron

    Hello Everybody, I continued to work on project this morning but I seem to be plagued with the "PLC No Response" error. This error will only come up when I assign a PLC address to a particular object.  I have followed the steps in the post(https://forums.mrplc.com/index.php?/topic/39885-nb-designer-hmi-plc-no-response-error-solved/) to try and clear the error but am having no luck. In the screenshot I have assigned the large "Start Process" as a bit button with the write address being W50.00. When the button is pressed it should trigger a bit in the PLC but this is when the error appears. During this test I am connected to the PLC and in run mode with the PLC and HMI address assigned correctly. I have read and followed the section in the manual regarding "PLC No Response" but still no positive results.  I just want to check that there is nothing I have done at a programmer end that could cause these issues. I am happy to provide files. Thanks, Ryan  
  22. NB to CP1L-EM

    Has anyone connected a NB HMI to a CP1L-EM via ETHERNET NB = Node 2 IP 192.168.1.152 PLC = Node 1 IP 192.168.151 Using my Network Switch/HUB NB works fine when setup to com 1 on the PLC (Wrote the PRG using serial) NB says no response from PLC Is there a secret setting in the PLC i need ? ? Rob  
  23. Hello All, I would like to control Powerflex 525 drive with Omron NJ301-1200 PLC via Ethernet/IP (Set speed, start, stop). I've gotten until the part where I downloaded the necessary .eds files of the drive and imported into my Sysmac studio. However, I'm stuck after this point while assigning target variables and Originator variables and eventually setting speed and controlling the vfd. I've attached images for your reference.
  24. Hi All, I have a tiny Chinese controller all in one with 2 line text display. The documentation is not proper. GX Developer supports to program the devise. The devise is compatible to FX2N(C). Have any one in the forum used this type? I am not able to read its analog inputs AD0 and AD1 channels since I do not know which instruction I should use. I tries RD3A instruction but the PLC does not start. I attach a picture of the devise. Request support, Regards PLC-All-in-One-Text-Display-Domestic-Compatible-Mitsubishi-Op320-Industrial-Control-Board-10mt-Programmable-Controller.jpg_Q90.jpg_.webp
  25. GX Developer project does not open

    Hello All, I have a GX Developer project folder file sent by the client. I am not able to open. It opens the GX Developer and says Failed to read the project file. The screen shot is attached. Also the  the project is attached. Please help me to open the project. I am using GX Developer version 8.91V 显示器 综合测试.rar