Welcome, Guest
Username: Password: Remember me
Components and Libraries for HMI/SCADA applications, discussions, problems and suggestions
  • Page:
  • 1

TOPIC:

Help getting PascalScada working with Arduino 11 years 7 months ago #2488

  • Stephen
  • Stephen's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 11
  • Thank you received: 3
G'day one and all,

I'm trying to get an Arduino with a ModBus Slave RTU talking to pascalScada (sites.google.com/site/jpmzometa/arduino-...arduino-modbus-slave)

At the moment I'm trying to something simple like retrieving an integer from a single register and would like a simple tutorial on what's required on the pascalScada front.

Currently in my form I have the following components: a SerialPortDriver, ModBusRTUDriver and a Single PLCTagNumber,

I'm getting confused on what to set in the Tag?

My Arduino Slave has been set up as ID 1 on com3, 9600,8,n,1

The Arduino ModBus Registers are 16bit integers, so at the moment I have the slave example with a hardcoded 123 in the first register.

What do I need to set in my Tag, I don't know what settings for PLC Rack etc

Regards,

Stephen...

Please Log in or Create an account to join the conversation.

Help getting PascalScada working with Arduino 11 years 7 months ago #2491

  • Stephen
  • Stephen's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 11
  • Thank you received: 3
Ok I Now have it all working

Steps:

1) Add ComPort and assign values that match the Arduion ModbusSlave and set to active
2) Add ModBusRTUDriver and link to the comPort Driver
3) Rightclick on the ModBusRTUDriver and select TagBuilder from the context menu
4) In Tag Builder: first Field appears to be the Slave Address, set this to the same you configured in the Arduino
5) Select Holding Registers
6) next and next button or (Proxima) then Concluir
7)This will create a tag with the correct values and then add a HCI Label and link this to the created tag

The HCI should now update with the values on the Arduino every second
The following user(s) said Thank You: Konstantinos Papadoulas, Fabio Luis Girardi

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Moderators: Curt