MrPLC Member
  • Content count

  • Joined

  • Last visited

Community Reputation

0 Neutral

About AndrejP

  • Rank

Profile Information

  • Country Slovenia

Recent Profile Visitors

574 profile views
  1. Hello. I can't find any related bits wich would indicate PLC offline / online status. I'm using two PLC's. PLC0 Modbus TCP (Ethernet) PLC1 Modbus RTU (Serial) Please help me to get online status. BR, Andrej. 
  2. NS15 - Data Log Graph Decimals

    Hello.I'm having variable Voltage expressed as UNSIGNED DOUBLE INT.For example: Val = 23423For displaying the right value I have to divide value by 100 ... Val/100 = 234.23V.For showing the value I can set the decimal place to 2 and Unit&Scale to 1002.The problem is:THE GRAPH IS SHOWING Val=23423. I WOULD LIKE TO SHOW Val=234.23.HOW CAN I USE THE DECIMAL PLACES IN GRAPH?WHERE CAN I SET THIS SETTING?Thanks.BR, Andrej.
  3. PLC TCP/IP simulator

    Hello. I'm developing NS5 HMI visualization. The display is using TCP/IP comunication.  (IP: communicating with PLC (IP: - my PC) I would like to start PLC (CJ2M) simulator on my PC (IP: so that HMI would comunicate with my PS (PLC Slave simulator) Does the simulator exists? Thanks. BR, Andrej.
  4. Log In

    Hello. Thanks for sample. But I would like to hide the input field (password). I tried to do this with setting: - Control Flag: Display: Hidden. But then the function does not work. Do you have any other suggestions? Thanks. BR, Andrej.   PS: I can move the input field off the screen, but I think this is not the best solution.
  5. Log In

    Hello. I'm using CX-Designer. I would like to create a BUTTON with label Log In. When I press that button it should: 1. PopUp keyboard would appear 2. I would enter login password for example 0000 3. Entered password would write to PLC location D1000 How can I do that? Please help. BR, Andrej.
  6. Scaling Data in CJ1/CS1 PLCs...

    Even simplier way is to use function block... BR, Andrej.
  7. Online edit - Insert Section

    Hello. Is it possible to add SECTION using ONLINE EDIT? I can add rung... Thanks. Best regards.
  8. 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.
  9. CITECT SCADA 6.1 + Microsoft SQL Express 2008

    But now I have another problem. In Citect Nexa 6.1 I'm using conn string: hSQL = SQLConnect(" Driver={SQL Server};Server=PC_NAME\SQLEXPRESS;Database=MyDatabase;Uid=User;Pwd=Password) It connects without problems. If I use Querystring: SELECT * FROM MyDataTable it works. I've got values from table. BUT!!! If I use more complicated Querys like Queriing a Subquery (IT WORKS IN SCADA 2016 and in SQL SERVER MANAGEMENT STUDIO): SELECT * from (     SELECT *      from mytable ) subquery I've got error: 4501Unexpected text at end of SQL query 'FROM' Does someone have any advise? Thanks. Best regards.    
  10. CITECT SCADA 6.1 + Microsoft SQL Express 2008

    Hello. The Citect Nexa 6.1 is running on WIN7 machine. The Citect 2016 is on different machine using WIN10 If you are using MSSQL-Wxpress, The connection string using CITECT 2016 is: hSQL = SQLConnect("SCADA Data Provider=SQLClient;Persist Security Info=False;Integrated Security=true;Initial Catalog=mydatabase;User ID=User;Password=Password;server=PC_NAME\SQLEXPRESS;")  
  11. CITECT SCADA 6.1 + Microsoft SQL Express 2008

    I have tested this on Citect SCADA 2016. It DOES NOT WORK in this version...
  12. CITECT SCADA 6.1 + Microsoft SQL Express 2008

    Hello.  Wasan Thanks for answer. I helped myself with "Database Exchange Controll" to build connection string. The result for successfull connection was (almost the same as yours): hSQL = SQLConnect("DSN=SQLDatabase_Name;UID=UserName;PWD=Password;APP=CITECT;WSID=ComputerName;DATABASE=SQLDatabase_Name;") Best regards, Andrej.          
  13. 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.
  14. OMRON ODD or EVEN value

    Hello. I have figured out... It's simple You declare UINT variable as array dimension 2. Then you can use Var[0] as word R and Var[1] as reminder R+1. Best regards...    
  15. Hello. How can I get bit addressing of defined variable in function block? For example: - I define variable type DUINT with name Double_VarI_INT. - I want to get or set one bit out of it (its double word). - If I use Double_VarI_INT.0 I got error. Best regards.