Search the Community

Showing results for tags 'status register'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Found 32 results

  1. Hi, Iam new to schneider electric PLC drive programming and also to canOpen communication. I have an LMC058 PLC and there are three Lexium 32A drives connected via canOpen which inturn controls three servomotors. My question is how to find/ read hardware limit status of the axis in which limit is connected to a digital input pin of the drive. Even though the axis is properly working by configuring the digital input pins we are unable to get the digital input status of the drive. In the drive manual its given that the digital input status can be read from canOpen address 3008:F(hex) we dont know how to read the status during run time in the program . Can any one advise me how to read that address. I tried SDO_read function but its giving me error(canOpen network id Unknown). Thanks in advance.
  2. Hello All! I am having difficulties mapping register values. In the TURCK register there are 24 unique register bytes corresponding to different value registers (8bit x 24). These 24(8bit) bytes were mapped into RSLOGIX 5000 as 12(16bit) INT words ....INT[12] .. This means there are 2 bytes (2 unique register values) inside each INT word. WHAT I NEED TO ACHIEVE: 1. (BLUE outline in drawing) Write/Map a value of "32" into byte 7 of the TURCK register so effectively starting at  INT[5].8 in RSLOGIX           Drawing1-Model.pdf This will enable the value of CNT1 (encoder count) to be registered in bytes 8-11... 2.  (PINK outline in drawing) READ/MAP the values registered in bytes8,9,10 and 11(4x8bits) into a SINGLE 32bit INT value which will tell me the CNT1 value of my encoder. I am having problems when ever I try to COP a value of 32 (no matter what kind of array it's sourced from) into INT[5].8 & I haven't tried to map/read the values of bytes 8-11 CAN SOMEONE PLEASE HELP EXPLAIN HOW TO ACHIEVE THIS?! Thanks for your input EVERYONE! :D Drawing1-Model.pdf
  3. E1151 New Display Register

    Hi all, I wonder if anyone can help me. I have 4 test rigs setup with E1151 HMIs and FX3U PLCs (with two ADCs and one DAC).  They are running pretty well, and the HMI changes block fine when using Jump to Block, but when I try to get the PLC to change the HMI's block using the New Display Reg it becomes very temperamental. For automatic testing I want the PLC to prompt the HMI to change block, so I set it up with a PLC register, then set the HMI to use this register for the New display reg.  When I turn the PLC and HMI on I can run through the test, and at the end it changes screen perfectly.  However if I run the test again the HMI appears to "forget" to change screen.  I have checked the new display register and It lists the correct screen, but the HMI doesn't change. So far I have tried adding "SCRR" too the command list to use short recipe names (saw this on a previous post), and tried reducing the amount to data transfer between the HMI and PLC to see if it was a latency issue, but neither have worked. Has anyone else witnessed problems like this?
  4. IR register operation

    Hello, Can I add an offset value to IR register? for example, MOVR D0, IR0 and I have an offset value stored in D1, for example, &100, could I add the offset of D1 into IR0, to get IR0 pointing to D100? I know I can just do MOVR D100, IR0, but for purpose of versatility, I want an offset to be added in such a way. Thanks in advance. Xing
  5. S7-300/400 Status to Wonderware

    I've been tasked with building several "maintenance" related HMI screens in our Wonderware application for systems running on S7-300 and S7-400 PLCs. I'd like to provide an overview of general PLC status for all PLCs, displaying this type of information: LED StatusStatus of Communication to WonderwareI/O FaultsModule faultsetcFirst on my list was LED Status. I found a Siemens tech document describing how to determine the status of each LED on the processor via PLC programming, but it occurs to me that it's pointless to do so for the Run or Stop LED's - if it's not in the Run state, then the code will not execute, therefor the HMI will always display a healthy status for those two LED's. I'm referring to a Siemens document entitled "Programming Example in Ladder Logic, Getting the Status for the CPU LED Indicators." It would be nice to be able to indicate if a PLC was faulted/stopped. Does anybody out there know of a way to do this with Wonderware? I'm fairly new to Siemens and Wonderware (mostly AB and iFix experience), so detailed answers will be much appreciated!
  6. I have had a GE 90-30 CPU331 in my house for 17 years with no trouble at all. I have a problem that I have never seen before. I was editing the program using LM90. I don't know what I could have done in the program to disable an output. Just 1. All the rest of the points in that group on that card still work. I swapped cards with no difference. All of the elements of the rung are true (highlighted). The output is not on or highlighted. The nickname over the output has ONE letter highlighted. The bit in the reference is "0" and is highlighted or "grayed out" (the cursor is not on it). I searched for coil conflicts. I am using this output contact lots of places but only one output. The logic is working correctly when I use another output or %M. This is an isolated output which needs to be in this group (moving it would be awkward). What does a "grayed out" reference bit mean?