Search the Community

Showing results for tags 'nj301-1200'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Found 51 results

  1. Tia Portal Program Upload Error

    Dear All i got this error when i upload program from plc to PC  then this error is shown. if i continue then TIA Portal Crashes. Kindly suggest me a solution .    PLC : Siemens 1200 Cable : MPI
  2. NX102 SSI encoder problem

    hi have a good time i have a nx102-1200 and a nx-ecs212 module. I connected an SSI encoder to the card and read the position value in the software. The encoder counts 360 pulses in each round and then it goes to zero. I want to use GearIn function and have the encoder as the master and a servo motor as the slave. In each revolution, the encoder pulse becomes zero, and as a result, the servo motor movement is not continuous!!! I want the servo motor to be continuous! In fact, I don't want the encoder pulse to zero every time. What should I do? Is there a solution? please help me thank you so much
  3. Hi I am new in Omron, most of time I spend with Siemens products so that's why I shyly want to ask about communication over EthernetIP in the case of PLC Omron. I am working with not my machine with PLC NJ301-1100 where are 3 axes on EtherCat, no nodes on Ethernet/IP, only HMI NA5. Primary task with cycle 500us (and additional periodic task 10ms but it is not important). I want to add Cognex scaner on EthernetIP. I use SysmacStudio. In first step I add EDS file and two structures IN (80bytes)/OUT(80bytes) to PLC, no algorythms. After downloading changes to machine in a while it stops with PRIMARY TASK TIMEOUT. With original program the task execution is ave 394us, max 467us. For NJ301 adding 160bytes is additional around 100us to communication cycle. Is that cycle part of each task (primary and others) or it is parallel proces? I am little confused. Additional communication time is 160*0,0015 + 160*0,56 + 2,15 + 7,5 = 99,49us. Am I correct? And this is the problem, I am out of the range of WatchDog? For now I didnt add any algorythms. In the future I will add new periodic task to PLC and this new InOuts will not be used in primary task. Thank You for any advice. ps I have found option for my inputs/outputs REGISTER TO SETTINGS FOR EXCLUSIVE CONTROL OF VARIABLES IN TASK. I created and chose new periodic task for them. Will it helps? I won't be able to check it until Monday so if You have any advices I will be gratefull ;) Best regars!  
  4. Following my post from yesterday and the fix proposed by @chelton, I went ahead and expanded the solution to multiple PLCs in the shop. Now I'm stumbling on another layer of difficulty : I have to RECV in a CP1L-E (10.1.14.214) from a NJ-301 (10.1.46.118). Both PLC's are physically connected to the same Ethernet Switch in the shop, but the IT guys decided to add a new subnet for PLCs and equipment some time ago. I read Michael Walsh's answer on this post but I couldn't figure out how to set things up properly with 2 subnets that are not consecutive. What do I need to setup in the CP1L-E to be able to RECV properly? There is certainly a routing table setup that I need to add but I cannot figure it out by myself. Here is the current setup : In the NJ, I have a UINT variable mapped At %W0, Network Publish set to "Output" The RECV command in the CP1L-E is as follows: C0 = 0001 (1 word) C1 = 0001 (Port 0, network 1) C2 = 7600 (node 118, unit address 0) C3 = 0203 (port 2, 3 retries) C4 = 0032 (5 sec timeout) The Built-in Ethernet parameters in the CP1L-E are attached Thanks !
  5. Hello everyone,   I'm working on a project where I'm using Vtscada Light to communicate with a MicroLogix 1200 PLC. Currently, I can read values from the PLC without any issues. However, I'm facing difficulties when attempting to write values back to the PLC.   Setup: PLC: MicroLogix 1200 SCADA Software: Vtscada Light Communication: Rockwell Driver with a serial port and serial-to-ethernet converter   I'm looking for guidance on the proper method to write values to the. If anyone has experience with this setup or similar, your insights would be much appreciated.   Thank you for your help!  
  6. 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
  7. 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.
  8. 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.
  9. Siemens and SCADA system

    Hello !  I have a problem. i'm new in tia portal and all siemens PLC. I woudl like to connect my Siemens s7-1200 CPU 1215DC/DC/DC and HMI KTP700 Basic PN to a SCADA system. Can someone give me some advice? Thank you in advance. i use tia portal v17
  10. Dear, I am trying to setup an UDP connection between my Omron NJ301 PLC & my LED power supply CCS PD3-10024-8-EI (https://www.ccs-grp.com/products/model/3329).   My setup: I Close all used sockets. I SktUDPCreate Socket 1 for sending messages. I Fill in DstAdr & DstPortNo to 192.168.000.002 & 40001 (I have pinged with cmd and the IP adress does respond). I Fill in the sendstring with "@00E01172.016.110.007A2CRLF" as per manual. I SktUDPSend this string. I clear the receive buffer to be sure it is empty. I Create socket 2 for receiving messages. I tried filling in only the Dst and filling in both Dst and Src but it has the same result. (DstAdr 192.168.000.016 & DstPortNo 30001) I SktUDPRcv without error then used a TON for 10ms before I check my buffer I Check my receive buffer and it is empty (Size 0) When trying to ping (by using laptop in same network) 192.168.000.016 it automaticly tries to ping 192.168.000.014 without succes.   So my question: Is there another way then using 2 sockets? And does anybody have any clue what I'm doing wrong?
  11. Siemens Simatic S7-1200 component selection

    Hi,  I am designing measurement devices and i intend to use Simatic S7-1200 as PLC for my new device. The problem is, my background is nothing close the electric and I am having quite a lot troubles when it comes to select components, I do not know how can I select components that are compatible with the PLC i am going to use.  Pressure sensor, humidity sensor shall be selected and which parameters I should be careful about? I read somewhere 24VDC supply voltage is needed. Is it needed even the device has digital output or is it for analog output only? How do I make sure about the communication interface? For some devices it says I2C, is that compatible with S7-1200? or do i need a special communication module for each component? Then it will be super expensive.  I would appreciate any answer. 
  12. I'm a Controls Engineer and have exclusively used Allen Bradley for 8 years. Outside of my job, I was asked by a new start up brewery if I could help with some PLC and HMI issues they are having.  I'm anxious to lend a hand, but unfortunately it's all Siemens and I don't have any experience with it.  I'm sure I'll be fine once I'm able to communication with the PLC, but the software and license are my concern. My biggest hurdle is determining what software I need and hopefully finding a free version I can use. The PLC is a Simatic S7-1200.  I found a link on Siemens for a free 21 day trial for TIA Portal and WinCC, but wanted to make sure that was my best option. If anyone could offer any advice, I would greatly appreciate it! 
  13. Mitsubishi & Siemens OPC connection

    Hi All,  I am undergoing a project that requires me to connect a siemens s7-1200 with a Mitsubishi FX-3GE PLC using OPC UA. I was under the impression that Kepserver ex could do this, you ca install a 'mitsubishi suite' and a 'siemens suite' which will allow the kepserverex server to choose the drivers and connect the two plcs. Siemen's support however have told me that the s7-1200 CPU cannot function as an OPC client, and just as a server? If true, I do not understand how to get the mitsubishi FX to be a client to the siemens server, as kepserverex seemed to provide a solution.   
  14. Sample blocks for S7 1200 plc's

    Hi experts, please share the sample blocks for the EDITABLE TIMER block it should be editable from HMI(Siemens). And also motor run hour block. Actually i am having all blocks in tia v12 version and sadly i dont have the old software to convert it again. So please share the blocks that it shoud be work in TIA V14 for s7 1200 plc's. Please note that the blocks should use add instructions to calculate the time because i don't have much memory.
  15. Hi, to start, I'm very new to Siemens PLCs, but quite experienced on others (mainly ABB). I'm looking to set up a profinet network between an ABB AC500 PLC and an S7-1200. The goal is to transfer variables from an existing S7-1200 (owned by the customer) to my new AC500. It is required that I do this without having to stop the S7-1200. I can set up the AC500 as a profinet device, and have the S7-1200 remain as the controller, but this requires a config change on the S7-1200, which means I'd have to stop the PLC. I tried setting up the ABB as a profinet controller, but I'm having trouble finding a GSDML for the S7-1200 to allow me to do this.  Can anyone advise me on the best route to take to solve this problem? Thanks in advance.
  16. Tia Portal Programming Help PLEASE

    Hello I am having some difficulty writing code for a specific function using Tia portal and a S7-1200. I 10 Digital inputs and 1 analogue output set for 0-10V. When 1 DI is high I need the AQ to be at 1V, when any 2 DIs are high I need the AQ to be at 2, When any 3 DIs are high I need the AQ to be at 3V and so on.... I just can't work out the best way to do achieve this.   For a bit more info the to what the project entails the digital inputs are all coming back from DOL starters for woodworking equipment at workstations. When one of these starters is turned on a signal is sent back to the PLC DI card, this open a solenoid in extraction pipework and also increases the frequency at a VSD to extract the dust. So when more workstations are in use the higher the frequency of the VSD will be and the faster the motor will run allowing adequate extraction at all stations
  17. Hello All I am new to sysmac studio, i am using a NJ301-1200  and R88M-KN10H servo drive , i connected the servo to the NJ using ethercat. I was able to write a program where i was able to activate the servo from the NJ using the mc_Power instruction . My question is , i am not able to run the servo using the mc_movevelocity and mc_moverelative . Do any one have any suggestion to how to go from here ..  
  18. S7-1200 timer

    Hi All I am struggling to get a TON in TIA v15 to work properly (s7_1212). I have tried reading what i can but still dont understand why what i have is not working.  I have attached a screen shot. I am trying to achieve a bit that is active for 1 scan cycle and resets every second. Coil1 is just staying active however and not resetting the timer.  What i have written works in Connected Components Workbench and other plc software i have used. What am i doing wrong? Thank you in advance. Trevor  
  19. Hello! I am using S7-1200 PLC 1212C AC/DC with configured Modbus TCP Server. I can already read/write Inputs/Outputs (Coils) and Memory Words. However I'd like to read/write Memory BITS. Is it possible? If so, how? What addresses should I use in TIA portal? And which function codes on client side? Thanks in advance!
  20. Hello! I am beginner in PLC world, also in SIEMENS PLCs. I managed communication over private network. Now I have a problem that I get same values on all inputs. Picture below shows my configuration of driver and data monitor. First picture shows values when input I0.0 is in state 0. Second picture shows values when input I0.0 is in state 1. Physically on PLC only input I0.0 is forced to 1, input I0.1 stays 0. But data monitor shows both inputs as state 1. Where is problem? Is problem in PLC program, TIA portal? I saw some guys using DataBlocks but I am not skilled enough to use it. Third picture shows simple PLC program on my PLC. Please help. Thanks in advance!
  21. Hello! I am trying to connect my PLC with SCADA. I am using S7-1200 1212C CPU (RELAY outputs). My SCADA system is iFIX 5.8 with driver S7A. I am trying to establish connection via GPRS router (TCP/IP). Port being used is 102 (default by S7A driver). In my company we have private network, SIM card in GPRS router gets static IP (set by RADIUS server)  which is 10.247.XXX.XXX. My PLC has IP 192.168.0.10 set in Project. I am not sure what am I doing wrong. How to correctly set IP address in PLC to communicate in private network via GPRS router with static IP? I already enabled TCP port 102 in my router but I am not sure to which IP should I enable it because I am not sure if IP address set in PLC is correct. Should I use some communication blocks in program? I also enabled PUT/GET function (see attached pictures). Please help. Thanks in advance! :)  
  22. Have a micrologix 1200R 1762-L40BWAR.  If anyone could help with providing the following information: Need a communication port with single receptacle that will mount through the door of electrical enclosure and then the communication cable (6 to 10') that will go from the com. port to the micrologix. Thanks
  23. Does anyone have an example piece of ladder logic, created on a Micrologix 1200, using ASCII to READ and Write to a serial device?  I am building a ladder on a Micrologix 1200 that will send data to an old CNC once a certain ASCII instruction is received on the PLC.  For example, when the machine spits out an ASCII "1", the PLC will see the "1" and send out a three digit number depending on a sequence of discrete inputs.   Thank you,
  24. S7-1214C All LED Blinking

    Hi everyone. Recently I get a S7-1214C ac/dc/rly plc, whenever i connect ac power all the indicating LED i.e 'Run/Stop , Error & Maint' start to blink. I can't upload or download any program. In TIA Portal V13 only accessible node is not shown. Anyone encountered the same problem? Please help me. Thanks in advance 
  25. hi there is a 1215c and a fatek B1 plc here. 1215c as master and fatek as slave. i want to read 10 16bit words from Fatek to 1215c and i use Modbus rtu 485. i have a problem with what comes from Fatek To 1215C. thx 2018-08-25_11-56-16.mp4