Search the Community

Showing results for tags 'vijeo citect'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Found 59 results

  1. Hello, I need to replace an obsolete twido PLC to Modicon TM2221ME32TK and in the process would like to get the variables back into Citect SACDA V7.2 I have been reading up on REad_var and write_var but am seeking clarification on how to get the existing %MW, digital inputs %I0.0 etc and outputs  %Q0.0 mapped into modbus registers so SCADA can read them.  I intend to use modbus TCP/IP communcations with the ethernet/ip adaptor.  Do i need to use read and write_var to map into the addresses? Please find attached existing PLC code.   PLC.twd
  2. Vijeo Citect #com error

     I am facing a problem in Citect.After running the Citect project. Network connectivity, communication with SCADA and RTU are the same. kindly help me to resolve his error.
  3. Hi there! I'm trying to communicate HMIS5T HMI with a Modicon Micro TSX3722001 PLC. The communication is OK, but whenever I try to enter some data into a numeric display I get an error that says "Method or function in Communications System unsupported" and data won't change on PLC's Animation Table. Also, if I modify a variable's value in PL7 Pro, the value in the HMI numeric display won't change properly. It displays the last digit of the binary format of the number (let's say I write a "3" on PL7 Pro, then I get a "1" on the numeric display, despite all data types being UINT, and all ranges are OK. Then if I write any number which binary version ends in 0, I get that 0 on the numeric display, nothing else. Again, all data types and ranges are OK). Changing variables' source on Vijeo Designer to Internal doesn't seem to work. So I'm wondering what else must I do in order to send and receive data from/to HMI and PLC?    Thanks in advance and I hope you can help me! Update: Got this solved. For anyone wondering, Vijeo Designer 6.2 SP8 it's kinda buggy with Unitelway communication. There's a hotfix that solves this problem, provided free by Schneider.
  4. Hello, I am new to Scada Programming. I am using Citect scada V7.50. I have completed whole project, but I am unable to generate Excel report for Alarms generated during run time. Please help me for this issue. Thanks...
  5. Hi All, Have recently embarked on a project that has required me to change over to GX Works 3 in order to link an IQ-R120PCPU to a Citect 2018 SCADA package . In days gone by under IEC Developer and GX Works 2 it was quite easy to establish communications between the programming package running in simulation mode and a running Citect system using the MXCOMP driver via MX Components to perform offline testing. Can't seem to find a way to get it to work under GX Works 3 though, has anyone tried a similar setup Simulated logic in GX Works 3 is running fine and can modify the IO from inside MX Components "PLC Monitor Utility" program so there is no issues there, just cant get Citect to communicate. MX Component comm's has also been proven reading/writing variable to an excel sheet with GX Works 3 in simulation mode also. Attached are the files for getting GX Works 2 up and communicating to Citect 2018 via the same method i am trying to get working in GX Works 3 in case anyone ever needs to use that method. Any help would be appreciated.     GXWORKS 2 & CITECT 2018.zip
  6. Check serial connection to Omron PLC

    Hello, I am building an application in CitectSCADA and I want to communicate with an Omron Sysmac CS1G. The connection between the plc and the Citect computer is through an ethernet to serial adapter (the computer doesn't have com ports on board). I'm having some difficulty establishing the communication and I want to make sure that I can actually reach the plc. Is there a way to check that the computer can reach the plc over the serial connection without using CX programmer? Maybe using Hyper Terminal, Putty or something similar. Thank you, Liron
  7. Hi ya,  can someone please advise if it is possible to add a text box that the user can enter a name / description to.  I am hoping the user can select the text box and a pop up keyboard will appear for them to enter a description on a magelis hmi.  I look forward to your advise. 
  8. I am having a problem getting citect to write to my sql database.  Whilst it will write I am restricted by the length of a single cicode command. I think its 255 characters. For my problem I am trying to write 48 tags to the database in one write command to obtain 1 time stamp. Is it possible to write multiple times to the same tables row ? Currently when I write a new row is created at the given timestamp. the cicode is attached. A solution would be to do 4 writes of 12 tags at a time but all would need to go in the same MSSQL table row. I'm ok using the data instead of time and date as this write only happens once each day Any help would be awesome..   *********************************************************************************************************************************** /* **    FILE:        SpurLoad.CI ** * Load Tags from Citect in TO temp array */ STRING tagname[24]="M340_PwrCtrl_SLD0000","M340_PwrCtrl_SLD0030","M340_PwrCtrl_SLD0100","M340_PwrCtrl_SLD0130","M340_PwrCtrl_SLD0200","M340_PwrCtrl_SLD0230","M340_PwrCtrl_SLD0300","M340_PwrCtrl_SLD0330","M340_PwrCtrl_SLD0400","M340_PwrCtrl_SLD0430","M340_PwrCtrl_SLD0500","M340_PwrCtrl_SLD0530","M340_PwrCtrl_SLD0600","M340_PwrCtrl_SLD0630","M340_PwrCtrl_SLD0700","M340_PwrCtrl_SLD0730","M340_PwrCtrl_SLD0800","M340_PwrCtrl_SLD0830","M340_PwrCtrl_SLD0900","M340_PwrCtrl_SLD0930","M340_PwrCtrl_SLD1000","M340_PwrCtrl_SLD1030","M340_PwrCtrl_SLD1100"; /* add array TO hold values */ STRING tagval[24]; INT hSQL; FUNCTION SQL_INSERT_lds() /* Loop FOR number of tags (13 lots of 30 min) TO be read adding to array Variables */ INT i;     FOR i = 0 TO 21 DO              tagval = TagRead(tagname);              END      /* Open ODBC connection TO CitectDB configured in ODBC Manager with DSN_SQL */          hSQL = SQLConnect("DSN=DSN_SQL"); /* IF connection IS OK, insert in TO table "lds" the values */ IF hSQL <> -1 THEN     SQLExec(hSQL, "INSERT INTO lds (dateandtime,S0000,S0030,S0100,S0130,S0200,S0230,S0300,S0330,S0400,S0430,S0500,S0530,S0600,S0630,S0700,S0730,S0800,S0830,S0900,S0930,S1000,S1030) VALUES (SYSDATETIME(),'"+tagval[0]+"','"+tagval[1]+"','"+tagval[2]+"','"+tagval[3]+"','"+tagval[4]+"','"+tagval[5]+"','"+tagval[6]+"','"+tagval[7]+"','"+tagval[8]+"','"+tagval[9]+"','"+tagval[10]+"','"+tagval [11]+"','"+tagval[12]+"','"+tagval[13]+"','"+tagval[14]+"','"+tagval[15]+"','"+tagval[16]+"','"+tagval[17]+"','"+tagval[18]+"','"+tagval[19]+"','"+tagval[20]+"','"+tagval[21]+"')");     SQLEnd(hSQL);     SleepMS(100); SQLDisconnect(hSQL); ELSE     Message("Error Message","SQL TRADING DAY DATABASE WRITE FAIL",48); END END   SpurLoad.ci
  9. Hi guys, I installed new MachineExpert v1.2 and Vijeo 6.2.9 on Win10 machine. When connecting simulation PLC to Vijeo to test my application everything is good. I go to PLC and check the nodename (see the pic attached) which I put in my Vijeo application and everything works. Issue is, because of my hard drive capacity I am forced to work via VM (but this is my preffered way also because of number of PLC softwares used). When I installed from the same installer (everything same as my local Win10) on Win7 VM when I run simulation I get empty space where the PC simulator should be visible which nodename I should type in Vijeo. Also I noticed when going to gateway management console in VM the process is active, same parameters as in host machine. Turning off the gateway on the VM turns it off as well on the host. Is there a known problem of connecting to simulator on VM? Or win10? Unfortunately I don't have Win10 VM to try right now.. Anyone can help? Much appreciated!
  10. Hello. I am trying to make a serial RS 232C connection between Schneider Magelis HMIGXU3512 and Omron PLC CP1E. However, there seems to be a communication problems between both of the equipment. I am using cable XBT Z9740 for the serial communication cable. The format used is 8.2.N for both equipment. The baud rate is 115200. No Flow Rate is choose. Anyone can help with this kind of problems?
  11. Hi, I've been having a problem with my Schneider setup, and I can't seem to figure out the problem. I'm using Machine Expert Logic Builder and Vijeo 6.2, and I can't seem to download to my PLC. I can download to my HMI just fine, but my HMI comes back with the message as mentioned in the title. Also when I perform a full download, machine expert comes up with the message "Could not connect to the device for item "xx", selected target system "PLC name" is different from the connected device "HMI name". The weirdest thing is that machine expert shows my PLC just fine, but doesn't show my HMI. I have no idea what to do, as I feel like I've tried everything. The IP range is fine, subnet is fine. The driver in IO manager in Vijeo has the PLC nodename in it, so that shouldn't be the problem either. Does anyone know what to do in a situation like this? Thank you in advance!
  12. This course is designed to equip the novice with no prior PLC programming experience with the basic tools necessary to create a complete PLC program using ladder logic common to most current platforms. Use Software : - Somachine EcoStruxure Machine Expert Basic - Free - Vijeo Designer Basic Full Articel About Lear PLC Schneider  Video Tutorial Learn PLC Training Free
  13. I am trying to write some citect variables back to the PLC. I have made a startup cicode script which is suppose to copy one variable to another which I found on the web. I am not sure if just using tag = tag is OK in citect 2018. Any help would be fantastic.   Cicode below: *********************** FUNCTION StartUpFunction()     INT hMyTask;     // Start a new task that runs all the time and transfers values using writetag     hMyTask = TaskNew("fnDoThis","",0); END FUNCTION fnDoThis;     //Never Stop this Loop     WHILE 1 DO         //Update the first Tag         TagWrite ("M340PLC_R02kW",Sub02Substation2PowerkWtot)         M340PLC_R03kW = Sub03Substation3PowerkWtot         M340PLC_R04kW = Sub04Substation4PowerkWtot         M340PLC_R05kW = TerminalSubstation_5InstantaneousPowerkWtot         M340PLC_R06kW = TerminalSubstation_6PowerkWtot         M340PLC_R07kW = Sub07Substation7PowerkWtot         M340PLC_R08kW = Sub08Substation8PowerkWtot         M340PLC_R09kW = Sub09Substation9PowerkWtot         M340PLC_R10kW = M340PLC_G1_GEN_FREQ_PV         M340PLC_R11kW = Sub11Substation11PowerkWtot         M340PLC_R12kW = Sub12Substation12PowerkWtot         M340PLC_R13kW = Sub13Substation13PowerkWtot         M340PLC_R14kW = Sub14Substation14PowerkWtot         M340PLC_R15kW = Sub15Substation15PowerkWtot         M340PLC_R16kW = Sub16Substation_16PowerkWtot         M340PLC_R17kW = TerminalSubstation_17PowerkWtot         M340PLC_R18kW = Sub18Substation18PowerkWtot         M340PLC_R19kW = Sub19Substation19PowerkWtot         M340PLC_R20kW = M340PLC_G1_GEN_FREQ_PV                 M340PLC_R21kW = Sub21Substation21PowerkWtot         M340PLC_R22kW = Sub22Substation_22PowerkWtot         M340PLC_R23kW = Sub23Substation_23PowerkWtot         M340PLC_R24kW = Sub24Substation_24PowerkWtot         M340PLC_R25kW = Sub25Substation25PowerkWtot         M340PLC_R26kW = Sub26Substation26PowerkWtot         M340PLC_R27kW = Sub27Substation27PowerkWtot         M340PLC_R28kW = Sub28Substation28PowerkWtot         M340PLC_R29kW = Sub29Substation29PowerkWtot         M340PLC_R30kW = M340PLC_G1_GEN_FREQ_PV         M340PLC_R31kW = M340PLC_G1_GEN_FREQ_PV         M340PLC_R32kW = PV2_SSB1PowerMeterPowerkWtot         M340PLC_R33kW = PV2_SSB2PowerMeterPowerkWtot         M340PLC_R34kW = M340PLC_G1_GEN_FREQ_PV         M340PLC_R35kW = M340PLC_G1_GEN_FREQ_PV         M340PLC_R36kW = M340PLC_G1_GEN_FREQ_PV         M340PLC_PQM3_WATTS_PV = HV_MetersBunnings_Intake_StnPowerkWtot         M340PLC_SOL01_SSB1_KW = SolarSSB1PowerMeterPowerkWtot         M340PLC_SOL01_SSB2_KW = SolarSSB2PowerMeterPowerkWtot         M340PLC_SOL01_SSB3_KW = SolarSSB3PowerMeterPowerkWtot         M340PLC_SOL01_SSB4_KW = SolarSSB4PowerMeterPowerkWtot         //Go to sleep for 1 second so as to not overload CPU         Sleep(1)     //Go back to start of Loop     END //End of Function END  
  14. Dear all schneider Experts, anyone having "Vijeo designer screen editor"Software for XBT012110 megelis HMI. Please give a download link, I got very  stuck  to get this software #Advanced Thanking you......
  15. Vijeo Citect - write to tag - error

    Hi everyone.  In Vijeo Citect SCADA I created some tags and I try to write to a bit device of MELSEQ Q PLC. But I get this error : Cicode General software error. Note: I can read from PLC.
  16. hi guys.  I am getting a server problem while communicating pc & scada . is there any solution to rectify it? or problem is in license? thanks in advance
  17. Hi, I have been helping a client overseas to upgrade and install some CPE330 PLCs configured as CRU320s to replace their faulty CRU320s. They had been previous controlling primarily from the Secondary (PLC B) for the last 6 years or so until PLC B finally failed due to a power surge. Having configured and downloading the previously working project to the PLCs in their respective hardware configuration, the system refuses to allow PLC A to control via the Citect SCADA, despite showing as Active and Ready on both Citect and the RMX Modules, although no outputs are read through Citect when PLC B is switched off at all. I found this forum from searching a previous post about drivers and if 90-30 and Rx3i required any changes (their previous setup before being Rx3i was 90-30), but as you confirmed in that thread, that the driver should be fine, unless you know of any issues with it working alongside newer PLCs configured as older ones? I should note we have discovered that the firmware revisions on each PLC is different and will be getting them to upgrade the later one to coincide. Each PLC has been tested in either HWC and both operate when configured as PLC B and neither operate fully as PLC A. We've had a GE technician check over the project and extracted text files from the PLCs and has confirmed the code and config looks correct. We're running out of ideas and out next step is to try and borrow 2 PLC racks and try to run them all first hand to see if PLC A runs on the SCADA in our office to try and rule out the software altogether! Any help you can provide would be much appreciated, Gene
  18. S7-300 Citect S7NT

    Hello. I'm trying to comunicate to Siemens S7-300 using Citect S7NT driver. I haven't done this so far so I'm asking you for help. What software do I need to successfully comunicate with S7? How do I set S7NT CITECT driver (Board, port, device,...)? Thanks. Best regards.
  19. Hello. I'm trying to connect to Microsoft SQL Server (2008 EXPRESS), but the connection is not working. I have done this in Citect SCADA 2018 without any problems using connection string: hSQL = SQLConnect("SCADA Data Provider=SQLClient.....) How can I connect to MS SQL Server using Citect 6.1? Thanks. Best regards.
  20. Dear Everyone can help     i have a batching system of about 12 materials and i need to generate a report for all batches in the day in runtime, i tried using SQL with Cicode but sometimes i can't find some material's data or to be Zeros. did any one here know a way to do that?? vijeo citect 7.4 thank you
  21. Citect...text string to sql

    Hi all, Needing an assist. We been trying to send a local var alphanumeric string to an Access DB using the SQL. We can successfully send integer/real values to the DB when they are entered via the var=FormNumPad() popup. I use SQLSet, SQLAppend, and SQLExec. Since we cannot generate text using FormNumPad(), we use the var=Input() command. The local var seems to hold the value entered on the screen, but a plc address writes the value for a moment then wipes it out. Then when we use the same SQL commands for the string var, the system immediately starts throwing errors. My guess is because the value is null. Any ideas? Is there a proper way to generate a keypad or textbox on screen? We are using v. 2016 on a Win10 box. Thanks in advance.
  22. Hi my dear colleagues, I tried to configure data location for the text file used with text display. It works if loaded to main drive. But, if I point to secondary or optional drive the system doesn't even allow me to download the program to HMI. Error 1850..secondary drive not found. I noticed in the property inspector, that the windows for Secondary and Optional drive are grey. The Vijeo Designer V6.2 and HMIG3U with three USB ports (one mini and 2 usual) and one SD port are used.  May be, they are all disabled somewhere, with a hardware switch? But, even if the windows were active, I have no idea, what to put into them, to configure SD or USB as secondary or optional drive. Please, help. regards, Waldemar
  23. Hi, I am new to Vijeo. The task is to show different messages on HMI screen (I use Vijeo designer V6.2.5 and Magelis HMIG3U).  A new string variable "ToDoTxt" was created as an Array with dimension 2048. A StringDisplay was put on the screen and ToDoTxt[0] was chosen. How can I show other 2047 values, which depend on value of another integer variable "StepNumber"?
  24. I have a program that I as building in SoMachine V4.3 and Vijeo Designer 6.2. Everything is coming together well at this point but I can't seem to figure out if I can put a poteniometer type object on the HMI using Vijeo Designer. This will be used to control the speeds of some VFD that are connected to the PLC. I have found ways to use a meter or simple numeric input it change the WORD that controls the drive speed. I would really like to use a knob or slider bar as I believe it would be a nice function. I've tried it on two different Magelis screens that I will be using for two different projects. One is a HMISCU8A5(controller and HMI in one unit) and the other is a HMIGTO3510.   Thank You
  25. Hello All,Does anybody know the correct syntax for the following:-I have a genie with variable A getting passed inI want to use this as a prefix for a variable address to send to a function.function ( %A% + _variable)(_variable being the rest of the address)So if genie variable A was 05 the tag value sent to the function would be 05_variable.Also, I would like to off set the A variable by 4Sofunction ( %A% - 4 + _variable)so would actually send value from 01_variable if the genie A was 5.Hope that makes sense, any help would be greatly appreciated as I've being trying various different ways and cant get it to work.Thanks,Tom