Search the Community

Showing results for tags 'sysmac studio encoder'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Found 314 results

  1. I want  increase the length of string from 82 to 150. By default it comes 82 is it possible to do so in Studio 5000
  2. I have an Omron NX PLC  NX1p2 which Supports EtherCAT . also I have Balluff BNI00HA Ecat Block(IOlink Master). I have setup communications and connected a BNI004K balluff I/O device. I managed to get inputs and i can read it as well. but to set the pins of BNI004K as outputs i have to configure the module by accessing its Index and Subindex. I tried with IOLwrite Block but it says 16#4802 error. Also an Engineer from balluff suggested me to use CoE block but while reading the description is said CAN over EThercat. WHile my devices are IOLINK.. If Anyone can Help.Please. SS1 - Is the error I am getting on IOLink instruction SS2 - Is what i did. which is an IOlink Write block from Omron SS3 - is what balluff Engineer suggested.
  3. 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
  4. Hi all and good day, I'm working through my workflows with Sysmac studio.  I think I have a grasp on the PLC side, now I'm trying to foucs on the HMI side.  I have setup some data types on the PLC to store booleans, integers, etc. I am trying to pull the data from those data structures into a value display on the HMI however it is being most difficult.  This brought me to two immediate questions. 1. Can you display the value of a local variable on the PLC from the HMI or does it need to be a Global variable?  I'm familiar with Java so I do understand the concept of public versus private variables.  I'm just not sure if that is what is going on here or if I am just not querying the variable correctly.  2. How would you go about setting up a variable display of a variable that is part of a data structure?  I have my structure setup as well as the variable in the table to USE that data type however it is just giving me an error when trying to look at it from the HMI. Any help would be very much appreciated.  My apologies in advance if this is a repetitive question. Thanks, Red
  5. We are working with two VFDs FR-A820 Series, each of them driving a motor that obey a master-slave relationship. One of them is in speed control, while the other is in torque control. Each of the VFDs has one of the Mitsubishi FR-A8AP encoder reading cards that collect the data from an Avtron A56 encoder. While testing our system it came our realization that, if one measures the resistance across the terminals of the encoder cards mounted on the VFD these are not the same. Concretely, this is the reading we get: (see attached)   We noticed that this difference in the resistance causes a voltage drop in the encoder signal when looked over a oscilloscope. We are surprised that this resistance is different: a) between the cards, b) between the terminals A and B in the VFD. We wanted to ask: Is this behavior expected? Should the resistances in both cases be different? Is this something we should be concerned about? So far our application works and our motor turns as they should, but we are quite surprised that this is the case.
  6. Hello Guys, I have a Mitsubishi A8000 series vfd with an encoder card and also encoder. With analog (0-10V) signal i can read back the current speed. The conveyor convey paper sheets. Occasionally they change the width of the paper but the the two type of paper is connected. We have a camera on the begging of the conveyor, and we would like to lets say cut it 2 meter later. But the position should be very precise otherwise we are not cut it in the good position. The cutting procedure would happen also an asynchronous motor or with servo motor.  Is it possible to write a tracking program and cut paper sheet in a good position ? My plane is to stop the CV in the position and waiting for the cut and go on.  The plc is Allen Bradley, control logix 5580. Any tip would be appreciated. Thank you so much. 
  7. Positioning and speed control

    Hello Guys. Is it possible to use an fr-a840 to use in the same time positioning control and also in speed control mode ? In the moment the vfd is in speed control mode. But now i also have to need to stop the conveyor in certain position. It will be a new feature. If its not possible, do i need a hsc ?  The speed of the conveyor is 20 m/min and the accuracy should be within 3 mm.  Could anybody help me with this.  Thanks ahead.
  8. Positioning and speed control

    Hello Guys. Is it possible to use an fr-a840 to use in the same time positioning control and also in speed control mode ? In the moment the vfd is in speed control mode. But now i also have to need to stop the conveyor in certain position. It will be a new feature. If its not possible, do i need a hsc ?  The speed of the conveyor is 20 m/min and the accuracy should be within 3 mm.  Could anybody help me with this.  Thanks ahead.
  9. Good morning I have a problem with communication with a Yaskawa inverter, specifically GA500. The device communicates via the EtherCat network. Communication works, but when I want to change my PDO, I have a problem as shown in the screenshot in attachment. The problem occurs when I add the "Operation Command" variable. I have no idea what the problem is. I did not find a library on the Omron website that could support this inverter. thank you in advance for your help.  
  10. Hello, I have problem with Import and Export data from PLC to USB drivers. I want to write script in Subroutine and I have working script in VB language from the Tia portal, Script is in the attachment but when I want to copy the script to Sysmac it gives many errors. Please give me some advice, how to write such a script.       CsvToDB.txt DbToCsv.txt
  11. Good morning, I'd like to start by saying that I am new to programming, so please bare with my very simple questions. I'm having issues trying to get a DataLamp on the HMI screen to change its behavior from lamp Off to lamp On after a specific process has been completed (not operated by a button). Is this possible or do lamps strictly operate by using a Button?
  12. Hi All, I need access to a the Safety function blocks within a safety CPU using sysmac studio on a machine we are upgrading.. Is there a generic password available to gain access? Best Regards, Paul  
  13. MOVE data

    Hello,   Seeking for assistance on how to program the below conditions, If I wanted to see the history of the total numbers per hour, like it will be displayed in my HMI Events Screen. How will I do it? Attached image is the one I am trying to work on, but still not working. Do you have any other suggestions what to use in the program for me to be able to display the logs per hour? Thank you for any help you may give.
  14. Hi all, I'm working on my migration from CJ series to Sysmac (NJ/NX).  I've encountered something I think is  a simple answer but I just can't find anything in the documentation or forums that has gave me a concrete answer. I want to increment a variable by one.  Is it not possible to insert a raw integer into the value field of the function?  (Please ignore the P_Off as this is only for test purposes only) I know I can create a variable and make it a constant of one but that just seems odd to have to go through that many steps to do so.     EDIT:  I should add the variable I'm trying to increment is a UINT (Unsigned Integer) The error I get is:   EDIT2: While I solved my problem with this instance by using the Increment function, my root question still remains.  How do you supply a value of a number to a parameter of a function without creating a symbol for that parameter?   Thank you all for your time,
  15. Hi, I'm working on a projects where i need the button text to be dynamic.(assigned by a string variable) i have not been able to figure out how to accomplish this easily. I made a workaround with placing a label over the button and have the label refer to a string, but it would be soo much easier and smoother to just have the button text assigned a variable. I would think i could access the the text field through code ,like: Btn_1.Text=My_Btn_String_1, but have had no luck with this. Would Greatly appreciate any help. Thanks, Frank.  
  16. Hi, we have one PLC that throws many errors on task period exceeded. checking the status, this warning have come over 15000 times since when ever it started couting it. Max cycle time is 2.83ms while max allowed task is the default(?) 2ms. We think it has something to do with the block for the barcode scanning. this blockas around 134ns cycle time when it seems normal, all other blocks is around 4-8 ns. How can we make sure what part that sometimes exceeds the 2 ms execution time?
  17. In the last update of Sysmac Studio (1.55) I would like to turn off the feature, see image. Can you help me?
  18. Hi All, I'm looking to setup communications between a digital force gauge and an Omron NX-CIF1010 RS232 serial communication interface.  Here is the Output Protocol from the Force Gauges Manual: Output Protocol RS-232 Parameter - Baudrate: 9600 - Data-Bit: 8 - Parity: none - Stop-bit: 1 The measured value is requested by the PC by the ASCII Sign “9”. I've tried to follow the youtube video, "How to communicate via RS 232 using an NX CIF to a PC" however setting up communication between the force gauge instead of a PC is proving difficult. How to communicate via RS 232 using an NX CIF to a PC - YouTube This is quite new to me so I'm trying to get my head around it at the moment so please correct me if I'm wrong. I'm reading values from the Force gauge in ASCII and I need to convert those values into another numerical value data type. I've seen in CX-Programmer, ASCII values being converted into Floating Point values using the "FVAL" instruction using Data registers however I can't use the same approach in Sysmac Studio. Do I need to clear the serial buffer everytime before I look to receive a numerical value from the force gauge? Here are details regarding the screenshots I've included below: 1) CIF101 Parameters to read Force Gauge Output Protcol in Sysmac Studio which should be matching the force gauges output protocol. 2) CIF101 IO Map in Sysmac Studio - ** I'm unsure if this is where I need to be linking the "RcvDat" input of the "NX_SerialRcv" function block? 3) CIF101 Sending Data Function Block - "NX_SerialBufClear" function block setup - "port_id" data type has been changed to "_sDevice_Port". 4) CIF101 Receiving Data Function Block - "NX_SerialRcv" function block setup 5) Global Variable - Array [0..3] OF BYTE - used in "RcvDat" input of "NX_SerialRcv" function block  6) Internal Variables Created  to send and receive data 7) Force Gauge RS232 Configuration 8) Force Gauge Output Protocol   Any help would be greatly appreciated. Paul  
  19. Hello everyone, I'm facing an issue while trying to go online with a PLC. The firmware revision of the controller is 34.011, but the offline project I have is showing a firmware revision of 33.xx. Due to this mismatch, I'm unable to establish a connection. I'm relatively new to this company and recently learned that the program on my computer may have been modified by a contractor company, which might explain the version difference. I suspect they may have used a higher version of RsLogix when making the changes. I'm looking for guidance on how to proceed in this situation. Is there a way to update the offline project's firmware revision to match the controller's firmware revision? Or is there another solution to resolve this compatibility issue? Any help or insights would be greatly appreciated. Thank you!
  20. I am trying to create an Alarm handler for an NA5 HMI that can tell the end-user the 1SAN Drive AL Status code and an Annunciation according to the manual: I621. I already am using a similar method to use MFaultLvl.Codes in a Case statement that creates a message found in motion controller manuals. Ie. 16#6449: Fault_Axis0 := '1S Axis Immediate Stop Input'; I want to use the AL Status to create messages based on the Hex Code generated by the Alarm ie 16#20: DriveAlarm_Axis1 := '1S Overload Error'; 20hex being the AL Status from the Drive. However I  cannot find how to access AL Status from the Troubleshooter.   Thanks
  21. Hi! I want to change the keyboard shortcut of bookmarks function in Sysmac Studio, but I can't found any way to do that. On the windows "Shortcut key customization" on Bookmarks section I see some dark grey rectangle on "ShortcutKey" column, and I can't edit or add key. On the Sysmac manual on the section A-5-7 - "changing shortcut keys" I read that Bookmarks shortcut keys can't changed if "Controller" is selected from the Setting Target Drop-down List. But I haven't any other option on the drop-down list, and I don't understand how to change that. How can I change Bookmarks shortcut keys? Sorry but I can't upload image on this topic, the forum tell me that there is a problem on upload and contact the administrator.   Andrea.
  22. I recently had surgery on my arm. I'm in a cast from finger tips to shoulder.  I have a major Logix 5000 program to write. Has anyone used Win10 Speech Recognition to operate Studio 5000? I tried today and it didn't work out well! Any suggestions?
  23. Hello, has anyone had success in creating a wedge with borders that change due to its assigned tags? Attempting to create a range on a gauge using wedge, but am unsure how to approach this considering it wouldn't be rotating the wedge around a point but rather changing the size of the wedge. 
  24. Hi everyone! I am attempting to read EIP tags from an Allen-Bradley ControlLogix from an Omron NX1P2 using the Sysmac Studio function block "CIPUCMMRead." I have been successful in reading arrays and single variables no problem. However, when I want to read arrays from a structure in the Allen-Bradley PLC, I always get an error code in the CIPUCMMRead ErrorID of either 0400 or 1C00 for ErrorID and ErrorIDEx is FF00 2105 depending on what I enter in for Size on the function block (attaching screenshots with both error codes).   The errors show on multiple "read" function blocks at once but it only affects data coming out of the function block where I try to read in a BOOL array from a structure in the ControlLogix PLC. If I enter a UINT#1 for the Size, I get ErrorID 0400. If I enter UINT#2, 3, or 4, I get ErrorID 1C00 with ErrorIDEx being FF00 2105. I've been digging for a while and can't find that specific combo of codes, but it looks like it's a size issue. From what I can tell, the Size is in Bytes. So if I have 32 Bools it should be a Size of UINT#4 max, right? Any help would be greatly appreciated! The function block having issues is setup the exact same as the other two that read from the same structure; I even copied and pasted them from each other and just changed the FB name and the postfix in the SrcDat string (from MyBools to MyDints/MyReals). Here are the screenshot: 1. Allen-Bradley Structure 2. CIPUCMMRead Function Block with size 4 3. CIPUCMMRead Function Block with size 1
  25. Hello,   I'm seeking some guidance and assistance regarding an issue I've encountered while configuring a Proline Promag W 400 flow meter module in Logix Designer. I'm experiencing the following error:   Error Code: 16#0009 Fault Additional Code: 16#0000 Fault Description: Module Configuration Rejected: Parameter Error   I've carefully reviewed the module documentation, verified the wiring connections, and ensured compatibility between the flow meter module (Serial Number: T711F49000) and Studio 5000 Logix Designer (Version 33.00.00 Full Edition). However, I'm still facing this parameter error during the configuration process.   I've also attempted to access the web service provided by the flow meter module to view its configuration and parameter settings, but I haven't been able to identify the specific cause of the error.   I would greatly appreciate any insights or suggestions from the forum members who might have encountered a similar issue or have expertise with the Proline Promag W 400 flow meter module and Logix Designer. Specifically, I'm interested in any troubleshooting steps or guidance that could help resolve the parameter error and successfully configure the module.   https://files.fm/u/brm2ebkry