Search the Community
Showing results for tags 'copy/paste sections'.
Found 11 results
Copy 1734-IB8S data
JJH posted a topic in Allen Bradley / Rockwell AutomationHello group, Is it possible to copy the data string from a 1734-IB8S to a datatype such as an INT or DINT? When setting up the I/O with a Safety PLC, the discrete I/O is setup within the Safety Program but it's contained within the program itself. To utilize the same I/O points in a Continuous task requires inserting and remapping the I/O points to essentially the same tags. If the I/O data could be moved/copied to a global datatype within the Safety Program, it seems like it would reduce any redundancy in the Continuous tasks. Anyone done anything like that/ Suggestions?
File Copy for NX/NJ
Graemek25 posted a topic in NJ Series / Sysmac StudioHello, I have used RSlogix5K for years and I am now creating NX/NJ PLC program. Is there a similar command to 'COP', which can copy ALL the data from a structured variable to either another equivalent structured variable or to a data array of some kind - e.g. a byte array? I thought the MemCopy command might do this but I believe it only handles arrays, not structured vars. Many Thanks Graeme
Simatic pc to simple pc with profibus card
UsmanAbdullah posted a topic in SiemensHi every one, One of my machine i have to fix , has simatic pc unit installed that causing too much trouble and client want to replace it with simple pc with additional profibus card installed in PCI slot, is there any way to configure image of simatic pc in new simple pc
MELSEC Q12PRHCPU MEMORY COPY RESULTED TO FILE DIFF. ERROR 6000
Ravi@aoa posted a topic in MitsubishiFolks, we have a set of Mitsubishi Q12PRHCPU (redundant) running effortless since many years. CPU-A as standby and CPU-B as Control. Recently we noticed BATT low alarm on CPU-B. So we arranged for a spare battery Q6BAT and started the procedure as per manual(attached procedure and flow chart). We did memory copy from Control to standby (as prescribed precaution) and did the Reset of Standby PLC CPU-A. Memory copy from B to A completed successfully 100%. But the BACKUP LED did not turn Green from Red & Error LED kept flickering on standby CPU-A. CPU-B remain in Control but backup LED turned RED. From system monitoring we found that there is a Error 6000 (FILE DIFF.) observed in One of the .QPG (program 00-MDBUS.QPG). We tried to reset it but were not successful. We are surprised that why does the program differs when it was copied from CPU-B to CPU-A using the memory copy. Still we did the VERIFY and found no difference between the programs in CPU-A & CPU-B. Can anyone explain the cause of this issue and the solution. Please note that the CPU-B is still in control and plant is running. Backup LED on both CPU are red which means (redundancy loss) and error LED on standby CPU-A is flickering RED. There is no error in the CPU-A (Control) -we checked this using the GX Developer. Also attached here are the image of the error and error help. Thanks in advance. Battery Replacement procedure.pdf Battery Replacement procedure-Flow Chart.pdf Error.pdf MELSEC QCPU ERROR CODE 6000 FILE DIFF.pdf
Copy array element to member of a structure
Famous_Fella posted a topic in NJ Series / Sysmac StudioHello, In my ladder program I have 7 different arrays (containing REAL values) all members of a structure and I wish to extract certain values from the arrays and put them on another structure consisting of REAL values (not arrays). Which is the best way to do that ? I tried AryMove command but I get an error "Conversion from REAL to ANY_ELEMENTARY, ENUM, STRUCT is impossible. To get a better understanding of my structures and arrays here is an example: Struct wheel_data Global variable SWheel of wheel_data rad[1...10] of real, vary[1...10] of real, varx[1...10] of real struct. 2 wheel Global variable Wheel1, .... , wheel10 of wheel rad REAL, vary REAL, varx REAL what I wish to do is to copy Swheel.rad to wheel1.rad, Swheel.vary to wheel1.vary, Swheel.varx to wheel1.varx 2nd structure Swheel.rad to wheel2.rad, Swheel.vary to wheel2.vary, Swheel.varx to wheel2.varx until I fill all 10 wheel structure instances with values Thanks in advance.
Sysmac Studio - Adress Incremential Copy
Megoof posted a topic in NJ Series / Sysmac StudioIn CX-Programmer software, we have the ability to make a bunch of copies of the same rung with the "Address Incrememntial Copy" Function. Does Sysmac Studio have a similar function?
Generating UDT Templates from Excel
ottomation posted a topic in Allen Bradley / Rockwell AutomationDoes anyone have any tips or tricks for generating UDT Templates from an excel spreadsheet? It says in the help files you can copy/paste from excel into the UDT Template, but it seems to only allow that cell by cell, instead of the whole table of data. This is painfully tedious when building larger interfaces. I've tried saving the spreadsheet in various formats (CSV, PRN, tab delimted txt) and I've tried various versions of RSLogix from 23 to 31. I can't seem to find any detailed info on how to do this. I've seen some other forum posts regarding using scripting to generate the XML to import the UDT, but I don't understand why I can't simply copy and paste the info in. Is this really that difficult? Any help would be greatly appreciated. Thanks Otto
CX-Programer Copy/Paste Sections
manowar posted a topic in CX-ProgrammerHello. How can I copy / paste more than one section from one CX-Programer Project to another project opened in another CX-Programer? Thanks.
Getting UDT to work with physical IO
electric101 posted a topic in Allen Bradley / Rockwell AutomationGreetings, I'm here in my home lab trying to acquire a working knowledge of UDT's. I've had to work with them in the past in large existing programs and they were a pain to track down and find out what IO they were really controlling. I have a decent understanding of what they are and I've created several to play with here using my softlogix processor and a digital flex IO rack. My issue starts when i'm trying connect my UDT's to the physical IO. it looks like I cant use a simple move instruction (which would be way too easy and exactly what I need) I have a flex IO 8 point output. Local:1:O.Data I have a UDT consisting of (see attachment) Valve001 Valve001.Out Valve001.Out.OPEN Valve001.Out.CLOSE Valve001.In Valve001.In.OPEN Valve001.In.CLOSED I have a copy instruction set to copy Valve001 to Local:1:O.Data Length 2 that allows the Out.Open and Out.Close UDT's to control bits 0 and 1 of the 8 bit output . .... great. Now I have another UDT setup to control lighting... Door Door.Out.OPEN Door.Out.CLOSE I want to control bits 2 and 3 I make another copy instruction in a line before the original copy instruction that states Copy Door to Local:1:O.Data Length 4 but i'm really just fighting for the same 2 bits that the valve controls.... how can I control bits 2 and 3 for the door/lighting logic using these UDT's? and that's not yet getting into having physical inputs moved/copied to the UDT input bits. thanks!!
CQM1 PRO01-E copy paste with CPM2B 60 CDR
erick mesmo posted a topic in Other Omron SoftwareHi, im from brazil and need some help, some days ago i buy a programmer CQM1-PRO01-E beacause one plc CPM2B are deceased, we have another equipaments with this one, but CX programmer not response and de are trying day after day, but with this programmer i want copy and paste the logic from other PLC. Can you help with copy and paste on programmer CQM1?
Copy Structure Members to Array of Bytes
innoaloe posted a topic in NJ Series / Sysmac StudioHello Everyone, haven't roamed here for a while. So I'm having a little trouble using the Structure Data Type in Sysmac Studio/NJ. As an independent tool, it is powerful to create user data types, such as Ethernet/IP Tag Link to V680S RFID or any other EIP equipments. And it is way more powerful than the CJ2, since it has the ability for user defined offset, which CJ2 can't do. But the problem is we cannot move/copy the content of the members to any other standard types. For example, I have a structure with 8 BYTE type members. Then I need to send those out via UDP or TCP/IP comms, which Function Block requires BYTE data type. Unfortunately data movement instructions such as MemCopy and AryMove didn't work at all to do the job. This was easily done in CJ2 since we can access each memory content directly. Currently I already resort to use customized Functions which will translates the Structure into BYTE, but that would mean for every different protocols, I need to create a different Function. I have seen this problem posted somewhere in the SS/NJ Improvement Request section, so I wonder has anyone know any update about this matter? Haven't checked the latest update yet (SS v1.14), but I'm certain that in SS v1.13 this feature is still unavailable. Thanks!!!