Search the Community

Showing results for tags 'omron modbus'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Found 709 results

  1. Dear all. I have the issued with Sysmac Studio 1.30. it can not show the Library setting and Library create. just show the reference only. can you pls help me this issued. Many thanks.
  2. Hello Everyone, I am writing one logic and need some help regarding that logic.   CURRENT LOGIC -  -There are two timers TON_1 and TON_2. -TON_1 timer will start as soon as PLC turns on. -After the done bit of TON_1 timer, the TON_2 timer goes on. -After the done bit of TON_2 timer, again the TON_1 timer will start. -This logic cycle will run continuously, both timers will run turn by turn. Code (Codesys/Schneider Eco Structure Machine Expert)- PROGRAM POU_1 VAR      TON_1: TON;     TON_2: TON; END_VAR TON_1(IN:=(NOT(TON_2.Q)) , PT:= T#100S); TON_2(IN:=(TON_1.Q) AND (NOT(TON_2.Q)) , PT:= T#20S);   Actual Requirement -  -There is a BOOL tag. -If the BOOL tag gets high during the TON_1 running, the logic should move to the TON_2 immediately. -If the BOOL tag does not get high during the TON_1 running, the logic should move to the TON_2 after completion of TON_1. -after the completion of TON_2, again restart TON_1. -Logic Runs continuously in a cyclic mode.   Give me your valuable idea to fulfill the logic requirement.
  3. Hi everyone, To explain the problem a little bit: I have 2 systems that are equal, they have 1 PLC, 1 Inverter and 1 Servo Axis (Image01). The devices are connected via EtherCat. The thing here is tht in these systems the PLC and Servo Axis is the same but the inverter is different. My goal is to have the same project on both systems and depending on the inverter detected use the correct program. What worked: If I add the 2 Inverters and 2 Servo Axis on the project on different nodes (Image02), I can detect which is present using the variable _EC_EntrySlavTb[n]. My issue is that if I want to make more replicas of the systems using different inverters I will eventually hit the Axis Number limit for the PLC while in reality I am only using on Servo Axis at a time. What I wanted: I would like to be able to control 1 Servo Axis with 2 different inverters (only one active per PLC) (Image03). What I tried: The axis parameters can be set using a variable of the type _sAXIS_PARAM, however it seems that the option to change the axis basic settings is not available (Manual: NJ/NX-series Motion Control Instructions Reference Manual (W508) page 5-58) (Image04). The axis basic settings is where the definition of the output device plus control words are set (Image05). Is there a work around to solve this issue? I would really like to avoid having to manually change the output device for the Servo Axis every time I make an update on all the systems.   Best Regards, BR  
  4. Hi All,  I am trying to limit the number of character for user to key in data edit . However, I put numbers inside it shows me invalid number of character. Anyone know how to solve it ? Note; My variable is in String Type   
  5. Hello, I'd like to ask for a technical confirmation on using MODBUS TCP in a M340 + Fiber Converter Card (BMXNRP0200C) or Switch (ADAM 6521) + Fiber Optic patch cords and cable topology to communicate with a SCADA system. The main objective is to provide a fiber optic connection point inside a control panel because it is located in a area prone to electrical interference. The protocol to be used would be MODBUS TCP. We have two simple topologies in mind but we are not sure if they are feasible. So i'm asking for a little support about it. Considering the attached simplified topologies (Drawing1.jpg), am I able to use MODBUS TCP to communicate a M340 with a SCADA workstation with no problem? I'm not sure if the protocol allows this kind of change on the physical medium like if it was pure Ethernet.    
  6. Hi there I am working on a project where Omron servo drags a part to a certain position using belt mechanism, But to avoid any slippage we decided to put an external encoder directly on the part. I was wondering what is the best to approach to drive the servo using the position of this external encoder. Is there any way that it can be configured directly with the servo? I am fairly new to coordinated motions, any help will be appreciated. Thanks
  7. Good Afternoon, I am wanting to do two things with and ORMON PLC and HMI with CX-Programmer and NB-Designer. 1. I want to display the current time from PLC on HMI with the real time clock. 2. I want to be able to enter a time on the HMI which will be compared to the PLC time and will stop a process when when the entered time is equal to the actual PLC time.  If I can have some help with this that would be a great help. Thanks,
  8. How to use NB Data Logging

    Good Afternoon All, Just wondering if anyone would have any example code of using the Data Logging on NB designer? I am wanting to use a PID controller and display set point and process variable etc. I have looked in the manual but a coded example would be extremely helpful.    Hope you have a good weekend. Thanks
  9. hello Every one,    I am using a CP1-L PLC and want to communicate to domino ax350i printer over TCP/IP socket programming. For socket programming, I used Omron Function Block CPU012_SendCommand.  I defined network ID and node address. However, I am getting 0502 error which means routing table is not set yes. So, how can I set routing table for both devices?. my PLC on 192.168.250.1 and Printer is on 192.168.250.123 node 7000.    Can any one suggest me best way to do.  Thank you   attached file is for what I did in setting and program for the communication.      
  10. Good Afternoon, I am new to CX-Programmer so excuse this question.  I have written a FB in ST to trigger BOOL and Integer variables. Within the FB I have written ST with a case statement which is working correctly. The issue I am having is that It seems the integer variables in the FB (HMI_Q_FAN_STATUS) are not being passed to the assigned global variable (assigned to D register) on the output of the FB.  In the attached screen shot, the FB is in case 3 therefore the integer variable should display HMI_Q_FAN_STATUS=3, however is still displaying 0. Any help with this would be great. Thanks and have a good day.  
  11. Hi all, currently I'm using NX1P2 PLC for my project. So I'm just using it to transfer data from PLC to my PC but I faced 1 major problem right now which is the connection. I have few experience working on PLC but this time I faced an issue which I don't know how to solve it. So the problem here is, my NX1P2 can't connect stable to my my PLC, initially I thought it was the cable problem, after I changed several cable it's still the same, so I thought it was my ethernet port problem but I can connect it to the internet and also Delta PLC, at last I thought it was PLC problem so I connected it to my colleague PC, they got a stable connection and able to program it. My ethernet keep on displaying "Enabled > Identifying > Unplugged", I check my Ethernet port, it using Intel(R) Ethernet Connection (6) I219-V. Tried to solve it for few days already, anyone faced this problem before? 
  12. How to enable modbus in mitsubishi plc

    hello there, I have Mitsubishi FX3G 24m PLc which has an ethernet port for communication port. how to enable Modbus TCP/IP for data collection of sensor values and sending it to a 3rd party. If this has been answered pls link to the thread.
  13. Hello everyone! I am quite new to communications between different brands of PLC's. As I have mentioned in the title, machine has a siemens s7-300 series pn/dp PLC with no CP modules (programmed in Simatic Manager). And they are adding an another machine with an OMRON NX102-9000 model PLC (Sysmac Studio). Siemens side also has PC connection over winCC flexible. Somehow i need to communicate between these two devices. Now, I have been looking into this for a while. There are mentions of sockets, but i have no prior experience with them. From what i ve researched omron has "Send" and "Rcv" blocks, but i cant find my way through on how to use them. For example, i dont know "where" to write in the siemens plc. I feel lost to be honest. Can anyone point me to the right direction? Sample program snippets, documents ?
  14. Hello guys, I experience interesting behavior on NX102 PLC. I have an application with NX102-1200 v1.41 and 7 R88*-1S servos in total. All axes were added as a single-axis position. During servo set-up and tuning we periodically experience a communication error. Connection between laptop and PLC over ethernet. Did anybody have similar problem?  Error message #1: -MC Test Mode was interrupted in the controller. The MC test run is terminated. Error message #2 following error: -A communication error has occurred. 
  15. CP1L-EM40DT-D

    Hi there... I'm working on my final project using PLC CP1L-EM40DT-D. I want to set the stepper motor output pulse to match the 3 types of height I want. I used the PLS2 instruction but the simulation results showed the stepper motor rotation did not match the number of pulses and also the frequency I entered. Has anyone here ever used a stepper motor before? If yes, please help by sharing the exact pulse calculation formula on a stepper motor with a load. I really had a hard time finishing my final project because of this. I beg your help. Thank you
  16. plc-plc via internet

    Hello all, I wonder that is it possible to communicate 2 CJ2M plcs or 2 NJ controllers via internet? Those are far from each other. There is WE70 wirelles unit however distance between them more than 5 km. Any idea how can i solve this issue? Thanks in advance. Have a nice day.
  17. Hello, Has anyone got an Omron PLC NX1P2-1140DT1 running with Modbus TCP/IP? I tried to reach Schneider several times, but there is "live" or email to discuss or get help, has to go to thru someone from Mexico then he will email to France. All of my attempts was lost, I can establish a "CONNECTION" but I can't READ the Coil - I got the error "Gateway Path Unavailable" (that means  "Used alongside gateways. Basically, this code means the gateway couldn’t allocate an internal path to process the request. Therefore, the gateway could probably be misconfigured or overloaded") My program is based on the MTCP_Client_NJ_E (Revision 2.3 date 23/07/2021 - JP Viskovic from France) I can read the coils using MODBUX Doctor (France) but I can't make work with Etherway. Any advice is welcome. Thanks   MTCP_Client_NJ.slr MTCP_Client_NJ_E.pdf
  18. Hey Guys,  So i am working with Omron software to integrate it with the HMI screen.  Whenever I receive a user alarm, I have an acknowledge button on the screen, but when I click on it,  the alarm does not go away from the screen,  it is acknowledged though.    Can anyone please guide me to what changes I have to make in the system to make the alarm notification go away, or is this any sort of a bug in the Omron software ??   Please help guys !!!
  19. If this has been asked and answered already, please point me in the right direction. I have a production line that uses Gefran Geflex temperature controllers on a Modbus and Machine Net communication system. The main control panel (MCP) is the master on the Modbus and communicates directly with 3 slave Geflex units (Group Leaders?) which then communicate with the others in that group via a Gefran Machine Net type interface (ribbon cable daisy chained from one unit to the next). The issue is twofold: These temperature controllers are slowly becoming harder to find AND they are a PITA to change out because they have to be put in place and then properly addressed using software on a laptop. This means more downtime waiting for someone who knows how to set these up to get there to do it say on a weekend/middle of the night type situation. (I do like my beauty sleep). I'm looking to replace these units with standard SSRs and control them with a PLC (P-2000 most likely). What I would need to be able to do is interface between the MCP and PLC in some way that the MCP still believes it is controlling 24 units (24 Modbus IDs) and have the PLC receive the reads and writes from the MCP and know which ID it was meant for in order to set the SV and respond with the PV and/or alarm codes as that ID. I hope that all makes sense. Basically I need a way for a PLC to act as if it were 24 separate Modbus slave units. Could I just use a separate HMI next to the MCP? Yes, but there are temperature dependent routines in the main operation of the line (extruder run inhibit, etc.) that requires the information reported back on the Modbus. I've looked into Modbus Gateways but the MGs I've found so far don't seem to be capable of assuming the role of 24 different slaves and interfacing with the PLC in a way that would allow the individual control.  Any ideas would be greatly appreciated.
  20. EEPROM Error

    Hello,I am Danneil. I had a problem with 1s EEPROM. I used the TWINCAT 3  online mode to control 1s Ready,JOG,MoveAbs all are ok. But I made a silly operation that I press the "update the EEPROM" function ,after that I can't control by TwinCAT3. Even I used the SysmacStudio ,there was an error 88 03 on 1s.  The ESI  files    From: https://www.fa.omron.co.jp/member/product/tool/23/esi/download.htm Is there a good way to solve?     Thank you!
  21. Hi every one. I have strange problem with Modbus communication in Citect 2018. I am communicating to the site switches through Modbus TCP protocol using MODNET driver and reading its sates. I am reading data from Input registers (registers addresses starts from 3x). In default, MODNET driver initializes communication trying conecting to holding register 40001 so I changed initialization in citect.ini to address 30001 because driver didn't want to establish connection because switches don't support holding registers. Now, connection to switches is working but only when page is open where I showing data from them. When I change the page, Citect loses communication and inform this showing alarm on HW alarm page. When I again open page where I show read data, communication back again. Where could be a problem? I will mention that I have more different Modbus TCP devices in project configured and with them don't have such problem. The only difference is that I am reading from holding registers and initialize parameter in citect.ini is not defined for them as for switches.
  22. CP1L PLC network communication error

    Hello all,   I have a master PLC(CJ2M) which is communicating with slave 4 slave PLCs(CP1L). one of the PLC have communication error, upon checking in cx-intergrator it shows that all the other slave PLCs and other components are connected to network-1 and faulty PLC is connected to network-0. Unfortunately, I couldn't change it as cx-intergrator doesn't allow me to change download the changes. So anyone can please help me with this issue. If you know the troubleshooting way then please reply.    Thanks in advance.    -Yash
  23. Hi All, I am totally new for sysmac studio and using NA5. Currently I am using standard recipe layout of NA5 I wish to search recipe by using keyword function.By using keyword, the target recipe is highlighted.  However, I cant find the variable of recipe that I can control.  Does anyone can help ?  
  24. INDIRECT REGISTER

    i want to use indirect register, but why contact 100,IR0 is not ON, is it my program correct?
  25. Hello All, Please Help Me.. How I can to connect Omron CP1L-M + CP1W-Cif11 with Mitsubishi Inverter D700? Thank you. Omron modbus belum fix.cxp