Search the Community

Showing results for tags 'Symbol table'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Found 18 results

  1. Array A INT[32] Array Index B INT Destination C INT I am trying to move an Array (A) Element (A[2]) using a symbol (B) in ladder into a destination symbol (C) C = A [ B ] Result: ERROR: Array Index of Operand 1 out of range at rung 1 ( 6, 0 ).  The documentation suggests that it is possible, but I am unsure if there is something I am doing incorrectly. Note* Fixed indexing works with no errors Is there another method to accomplish this?   PLC : CJ2M CPU31 CX- Programmer: Verion 9.74 Update 1: If I go online to the PLC It does look like the array look up is working. Is the issue with the mov block? Update 2: I changed the memory locations which has caused a different error to appear. This error is clearer but does not explain the manual excerpt I posted further up ERROR: Only the constant can be specified for the index of the array.  at rung 5 ( 6, 0 ).  Update 3: Solution 1 I managed to hack together a proof of concept using pointers and indirect offsets  Update 4: Solution 2 For some strange reason things work as expected inside of the function blocks so I made one where the array is In-Out and with an input and output respectively. Note* External reference to pointers inside of the function block produced an error. Function block Logic     Update 5: Solution 3 Now I feel like I am going crazy, I tried just the original code again and it works... I have no idea why and if it was not for all the documentation I would be lost as to why it works now... Update 6: Conclusion It seems to have array indexing work the array index must exist in the D Memory Block. The reason it did not work above is because I somehow had a MOVR block when I tested after moving all the variables to the D Memory Block. I hope this journey helps someone else :)
  2. GOT-Barcode reader

    Dear everyone, I would like connect Bar-code Reader to GOT that read Bar-code to input data on GOT 1575 VNTB Note: Barcode Reader is symbol model & I have use Power electric 5V to nourish And, I would like confirm that have conflict reverse electric  from Bar-code Reader to GOT or not? Thanks so much
  3. Hi friends, The scene is like this... I have some 200 energy meters whose readings are continuously logged at 15-min intervals into a logging table. The meter does not have any other value logged. Let's consider these readings as analog tags. However these tag values are continuously increasing to ever larger numbers. Thus we have a problem for display on trends. Customer now requires that the Citect shows usage trends for any meter for a specified period of the past. That is to say, the meter that he wishes to observe is selected - along with a period typically between 2 dates (perhaps also with a sampling period) - and the trend must appear. So in other words, given a single trend object, how do you make values appear for any selected tag on this trend. Perhaps this can be overcome by some genie/super-genie mechanism. My approach to this is...For the selected meter, I use SQL to query the 15 minute logged values (also taking into account the required sampling period) taking the reading on starting date as initial. All values thereafter are subtracted -within the SQL query- and the result of this query is kept in a 2 dimensional array(x for time, Y for value) or a new database table so that the trend displays values starting with zero. This much I can do with Cicode. After this, I need a method to display the values so obtained in a trend object. Essentially this is the same as feeding a trend object with a set of X & Y values that I have in the form of an array or in a database table. I shall greatly appreciate any help to meet the above objective. Thanks for looking in. With best wishes.
  4. Need help in table scrolling

    Hi all, We have a DOP 107CV HMI we interface this HMI with microcontroller through RS485 Modbus protocol. I'm new to HMI and PLC's although we are successful in interfacing HMI with Controller(Communication Established successfully) We made a table in HMI and allotted some registers to Modbus address and data is transferred from controller to HMI up to this we are good in communicating Since the table created is static and we cannot scroll down from that table so, to overcome this problem we found History buffer and made PLC trigger and allotted address. In that History Buffer we created 7 rows and the data is sample whenever we triggered the PLC in that case scrolling is working fine, but the problem we are facing is whenever we update 3 rows out of 7 and triggered the PLC only 3 samples are updated in first column and in the next step we updated the other 4 rows and triggered the PLC the data is sampled on next column but we required it to be sample on first column instead of second.  
  5. CS1D I/O Table

    Hi Dears, My project configuration is according to below picture in CX-Programmer i define I/O Table, but i do'nt know how to fill main rack modules like CPU,SCU,Ethernet, . . .  also in expansion racks we have slot 0~9 and in my rack first slot is I/O Interface, and second slot is empty. my I/O table Configuration is ok? can anybody check it? I want to fill I/O table manually and not automatic with upload from PLC.   Best Regards
  6. Hi, I'm using EA9 Software with a C-More HMI. I made 4 symbols in MS Paint then imported them as BMP's into the Symbol Factory. All 4 of them have bright yellow backgrounds. When I added them to my project (as animated Bitmaps), I selected the bright yellow color as my transparency color. When viewing the added bitmaps in the C-More Programming Software , they all appear transparent (as they should). HOWEVER.... Once I download and run my project, 2 out of the 4 lose their transparency and show up with the bright yellow background. Is this a known issue? Is there a fix, or workaround? Thanks in advance.
  7. Hello to All, I've installed the Sysmac software and the installation works fine, until I tried the ladder programming.  The % symbol is not working when I tried to use the internal memory addressing.  All I can use is the # symbol only.   I already looked into the options, to check if there are options to be selected to activate the % symbol, but unfortunately, there is none. Anybody who have experience this issue before? Or Is there any options / selections to be tick off during initial installation, that I have missed? Thanks for any suggestions / solutions. Regards. Leo
  8. CP1L connected with scanner symbol DS-4308 reading 2D data matrix,  with RS-232 on board CP1W-CIF01 Hi all, need some help because I can't read the information. Let me explain, I have a PLC, " CP1L-L14DR-D " with a RS-232 option borad " CP1W-CIF01 " , a scanner Symbol DS-4308, and I'm trying to read a data matrix 2d barcode (I don't know if that matters). so I build a cable with the next configuration, (one side male and the other female) PORT CONFIG PIN OUT SCANNER CABLE RJ-50 TO RS-232 PINOUT Maybe I'm missing a connection? a bridge? power supply ? ground?   in the program, I only have this to check the communication,       When my reception flag complete (A392.06), my instruction RXD is going to execcute, reading in D1500 the data. if is any error in communication (A392.04) or overflow (A392.07), my port is going to restart (A526.00) (ignore w0.03) with the followign config: (9600, 7,2,E, RS-232C, End code: Received Bytes 3       and I'm reading only, data on D1500 and D1501, and the data makes no sense.   with the configuration of End Code: CR, LF,          can't make it work, I read nothing. and if I change the END CODE: Received bytes to 4,      don't work. and my flag A392.04 go to ON.   PLC HAS 4 PIN SWITCH, ALL ARE OFF The configuration on the scanner is setting to default and then config to RS-232 Standard.   So, what I'm missing?  bad connections? plc don't support? scanner config? program?      
  9. Hello.   I'm trying to communicate between two PLC's  using FINS function block _CPU011:ReceiveData.   PLC1: IP 192.168.1.50 (MASTER)   PLC2:IP 192.168.1.51 (SLAVE)   If I don't use »IP Address Table« everything works using NODE number &51.       The problem is that on the real project these two PLC's will be on different subnet.   For example:   PLC1: IP 192.168.1.50   PLC2: IP 192.168.2.50   So I will have to use »IP Address Table« to achieve communication between these two PLC's.   I tried to sett IP Address Table on MASTER: Node 1=192.168.2.50   But If I try to communicate I see that packet is sended to network but I've got error #1005.   Do I have to sett the SLAVE IP Address Table?   Hoe to do this?   What are the right settings for MASTER and SLAVE IP Address Table?     I'm attaching pictures of CARD settings.  I don't want to use CX-Integrator because I would like to make project to UPLOAD and forget.       Thanks.  
  10. C500/C120 Support

    Hi Could anybody tell me if the C500/C120 support tool in CX Programmer uploads the I/O table when it uploads the program from a C500. I have already backed up a program from a C500 using SYSWIN but SYSWIN doesn't allow me to edit, create or generate an I/O table, so when the program is downloaded to a sister machine, I get I/O errors that can't be cleared. Any help grateully received
  11. Hi guys, I'm attempting to implement a fuzzy logic controller from scratch. I plan on using a lookup table to assist with retrieving the membership value. Does anyone know how to implement a lookup table. I know there is a L9P_LKUP block in the LL984 editor..except I'm not sure how to actually enter in the parameters or read from it.   Kind regards, Luchek
  12. Symbol editore doesn't exist

    Hi there, I'm just a beginner in PLC programing and I'm just installed siemens step7 latest version on my laptop... but I have an issue with this program after I created rack and insert my ps, cpu and DI/DO modules... when I want start insert Symbol tables; this symbol editor doesn't exist under option tab... so for now what can I do with this, maybe sth changed in this version, I don't know...  how can I fix this problem??     Thanks.
  13. connecting ixt4a to a cj1m/cp1l/ns network

    hi everybody i have a network with 2 pieces cj1m and 2 pieces cp1l communicating with a ns15 monitor. everything is fine. i need to connect an ixt4a monitor in that network. my question is : do i have to make new routing tables or it is not neccessary? my routing table for cj1m and cp1l cpus are attached. if then i have to make new routing table so that the cj1m will be able to communicate ixt4a monitor, how am i going to do it for both monitors? Any help will be mostly valuable and appreciated. thanks
  14. For some reason, some of the symbol names and comments in my symbol table in my project have disappeared. They are present in a previous version of my project. I would like to copy the symbol table from the old project version into the new project version. Can I do this by simply copying a few files from the old project folder into the new project folder? Which ones?
  15. I have a list of 100 faults for my machine. Each fault has an integer variable in the symbol table, containing an integer that matches its position in the list. Say I then want to add a fault in at position 12, I would then have to renumber all the following faults. Is there a built in way to do this automatically? Alternatively, if you have any other suggestions for achieving a similar thing, I would love hear them.
  16. 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?