contact
support
Download
order
news
AGG Software Forums
December 03, 2024, 08:17:16 PM
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
: Welcome on our forum!
Home
Help
Search
Login
Register
AGG Software Forums
>
Online Help Center
>
Data loggers and plug-ins
>
TCP/IP Logger begin logging on event trigger from device
Pages: [
1
]
« previous
next »
Print
Author
Topic: TCP/IP Logger begin logging on event trigger from device (Read 13050 times)
jrob007
Newbie
Karma: +0/-0
Posts: 1
TCP/IP Logger begin logging on event trigger from device
«
on:
November 07, 2019, 07:22:28 PM »
We have a simple PLC using Modbus TCP. I was wondering if it's possible to have TCP/IP Data Logger listen for a simple 1-bit register change on the PLC then trigger the TCP/IP Data Logger to start/stop logging when the bit flips.
For example: PLC has a graphical toggle button mapped to a 1-bit register and PC with Data Logger installed is listening to the PLC through Modbus TCP. If I push the button on the PLC the bit = 1 then Data Logger would begin logging. If I push the button on the PLC again the bit = 0 then Data Logger should stop logging. I'm trying to avoid clicking start/stop logging from the PC if we were to put the PC in a remote location.
Is this possible somehow?
«
Last Edit: November 07, 2019, 08:52:24 PM by jrob007
»
Logged
Arthur Grasin
Tech. Support
Administrator
Hero Member
Karma: +0/-0
Posts: 806
Re: TCP/IP Logger begin logging on event trigger from device
«
Reply #1 on:
November 11, 2019, 07:40:59 AM »
Hello,
Yes, it is possible using the "Script Execute" plugin. It can analyze and save a state of the specified variable between calls. Also, it can discard data packets if the current state is 0 (for example).
Similar tutorials:
https://www.aggsoft.com/asdl-modbus-control-filter.htm
https://www.aggsoft.com/opc-data-logger/tutorials/filter1.htm
https://www.aggsoft.com/opc-data-logger/tutorials/filter2.htm
https://www.aggsoft.com/opc-data-logger/tutorials/filter3.htm
Please, configure all the necessary MODBUS requests. After this, I may help you with the script.
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
News & Feedbacks
-----------------------------
=> News and Updates
=> Site Comments
-----------------------------
Online Help Center
-----------------------------
=> Advanced Serial Port Monitor
=> Data loggers and plug-ins
=> Data loggers ActiveX
=> Advanced USB Port Monitor
=> Virtual Null Modem
=> Software for DNC and CNC
=> Other questions
-----------------------------
Development
-----------------------------
=> Feature Requests
Loading...