Search the Community
Showing results for tags 'holding register'.
Found 4 results
KCRP posted a topic in MitsubishiHai i want to know how to save and retain the values of the program even in Emergency power off the PLC and on again? can any one help me?
jake4eng posted a topic in Allen BradleyHello 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 .. 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.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.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
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?
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