Author Topic: Scada  (Read 6963 times)

scott

  • Newbie
  • Posts: 5
  • I love YaBB 1G - SP1!
    • View Profile
Scada
« on: January 13, 2003, 04:25:08 AM »
Using NI Lookout, how are you setting your drivers up?
I want to use com 1 for scada. I only need to pull status form one plc no control is needed.
« Last Edit: December 31, 1969, 04:00:00 PM by 1076562000 »

support

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3171
    • View Profile
    • Internet Programmable PLCs
Re: Scada
« Reply #1 on: January 13, 2003, 05:54:04 AM »
Please download a Lookout test file that works with the M-series PLC from the following link:

 http://www.tri-plc.com/applications/testmodbus.zip

unzip the files into your lookout folder and open up the testmodbus.lks
« Last Edit: December 31, 1969, 04:00:01 PM by -1 »
Email: support@triplc.com
Tel: 1-877-TRI-PLCS

scott

  • Newbie
  • Posts: 5
  • I love YaBB 1G - SP1!
    • View Profile
Re: Scada
« Reply #2 on: January 14, 2003, 04:27:03 AM »
What is the configuration of the plc? What plc programming is needed?
« Last Edit: December 31, 1969, 04:00:00 PM by 1076562000 »

support

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3171
    • View Profile
    • Internet Programmable PLCs
Re: Scada
« Reply #3 on: January 15, 2003, 01:02:56 PM »
The PLC standard serial port configuration is 38,400, 8,1,n.

There is no special programming required. The MODBUS protocol work transparently off the PLC. Your program need not even be aware that there is a SCADA constantly queries the PLC for data.
« Last Edit: December 31, 1969, 04:00:00 PM by 1076562000 »
Email: support@triplc.com
Tel: 1-877-TRI-PLCS

Scott H

  • Guest
Re: Scada
« Reply #4 on: February 12, 2003, 07:27:20 PM »
What directory will modbus.ini go into? I still can?t establish communication with the PLC.
I am running three slaves (modbus ascii) on the 485 port (1,2,3) and wish to interrogate the master (0) for status information on the RS232 port. Is this possible?
« Last Edit: December 31, 1969, 04:00:00 PM by 1076562000 »

support

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3171
    • View Profile
    • Internet Programmable PLCs
Re: Scada
« Reply #5 on: February 12, 2003, 07:59:42 PM »
modbus.ini should go into the Lookout's directory.

It is possible for a PLC to be master to another 3 slaves via RS485, and its RS232 port can still be connected to another master such as SCADA.  In that case the master PLC's become a slave to the SCADA master on its RS232 port.

However, you cannot use an ID=0 for any modbus slave because ID=00 is reserved for MODBUS BROADCAST command only. So in this case you must define the ID for your master PLC to be anything other than zero.

Our sample Lookout file in the "testmodbus.zip" assume that the ID of the slave = 01. I suggest you should try to get a successful connection using the a PLC with ID=01 first before venturing into more complex configuration.
« Last Edit: December 31, 1969, 04:00:00 PM by 1076562000 »
Email: support@triplc.com
Tel: 1-877-TRI-PLCS