s7conn

package
v0.0.0-...-3444db6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 23, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Connection

type Connection struct {
	Handler *gos7.TCPClientHandler
	Client  gos7.Client
	// contains filtered or unexported fields
}

func (*Connection) Release

func (conn *Connection) Release()

type PLC

type PLC struct {
	// contains filtered or unexported fields
}

type PLCSettings

type PLCSettings struct {
	// contains filtered or unexported fields
}

type S7Conn

type S7Conn struct {
	// contains filtered or unexported fields
}

func (*S7Conn) AddPLC

func (pl *S7Conn) AddPLC(address string, rack, slot, maxconn int, timeout, idleTimeout time.Duration) error

func (*S7Conn) Exit

func (pl *S7Conn) Exit() error

func (*S7Conn) GetConnection

func (pl *S7Conn) GetConnection(address string) (*Connection, error)

func (*S7Conn) LoadConfig

func (pl *S7Conn) LoadConfig()

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL