Comments (1)
Please check the code in the cs104-client1 example.
You have to provide the command type as argument for the SendControlCommand method:
con.SendControlCommand (CauseOfTransmission.ACTIVATION, 1, new SingleCommand (5000, true, false, 0));
con.SendControlCommand (CauseOfTransmission.ACTIVATION, 1, new DoubleCommand (5001, DoubleCommand.ON, false, 0));
con.SendControlCommand (CauseOfTransmission.ACTIVATION, 1, new StepCommand (5002, StepCommandValue.HIGHER, false, 0));
con.SendControlCommand (CauseOfTransmission.ACTIVATION, 1,
new SingleCommandWithCP56Time2a (5000, false, false, 0, new CP56Time2a (DateTime.Now)));
from lib60870.net.
Related Issues (20)
- Wrong encoding of negative ScaledValue HOT 1
- [Ask] SBO command (bool select = true) HOT 1
- Checking validity of TestCommand HOT 1
- Extra code for operation "remove confirmed messages from list" (ClientConnection)
- How to handle select-before-execute in a server? HOT 2
- how to read parameter data from ASDUReceivedHandler ?
- how to clear ASDUReceivedHandler ?? HOT 1
- Talos Security Advisory for MZ Automation GmbH HOT 1
- Send Invalid Message to Master HOT 1
- socketError=true without lastException value causing NullReference object
- Maintain ClientConnection after "Failed to parse ASDU"
- There is no method or property to check IEC104 Server is running or not HOT 3
- Exception when call Server.Stop() HOT 1
- 104server Received sequence number out of range HOT 2
- SocketException error codes are not OS specific
- IEC104 Client Hangs On Connection.Close() HOT 9
- IEC60870_5_104_MAX_ASDU_LENGTH (Questions) HOT 1
- Reading data HOT 1
- IEC 104 Client connecting to 100s of devices HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lib60870.net.