Skip to content

Vladimirek/DPexamples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Omron PLC read write

This is simple Dataplicity Application example allowing read/write data to/from Omron PLC via web browser.

The example demonstrate how to:

  • monitor simple memory address in graph
  • write value to PLC

1

  • setup address for monitoring and writing 1 1

Pre-requisites

  • Omron Sysmac PLC with Ethernet module.
  • Linux PC ( raspberry can be too)
  • Python Omron FINS library (copy is included in this repo)

Setup

Please follow the tutorial on https://dataplicity.com/get-started/raspberry-pi/ to setup a dataplicity account and register a application. Off course use this application instead of sinewave :-)

Application breakdown is here here.

Notes about FINS lib

There is two possibility to make FINS: UDP and TCP. There is no difference with one application and one PLC. For multiples apps running on single PC or multiple PLC in network next notes applies for UDP:

  • UDP not guaranteed reply
  • UDP can handle multicast too
  • only one application per PC can make UDP because need to grab 9600 socket. Workaround is use different IP addresses.

References

FINS documentation https://www.omron.com.au/data_pdf/mnu/w343-e1-06_cs1w_cj1w-etn.pdf (chapter 5) The Omron FINS library: https://bitbucket.org/vladimirek/omronlib

Future work

This is exaple for monitoring level in silos: 1

About

Dataplicity examples

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages