MewtocolNet Trys to connect to the PLC by the IP given in the constructor Gets called when a connection with a PLC was established Gets called when an error or timeout during connection occurs Attaches a continous reader that reads back the Registers and Contacts Generic information about the connected PLC Builds a new Interfacer for a PLC Sends a command to the PLC and awaits results MEWTOCOL Formatted request string ex: %01#RT Auto close of frame [true]%01#RT01\r [false]%01#RT Returns the result Gets generic information about the PLC A PLCInfo class Reads bool values from the plc by the given Contact List A list of contacts The PLCs station number List of IBoolContact with unique copys of the given contacts Writes a boolen value to the given contact The contact to write The boolean state to write Station Number (optional) A result struct Reads the given numeric register from PLC Type of number (short, ushort, int, uint, float) The register to read Station number to access A result with the given NumberRegister containing the readback value and a result struct Reads the given numeric register from PLC Type of number (short, ushort, int, uint, float) The register to write Station number to access A result with the given NumberRegister and a result struct Gets fired whenever a contact of the observed list changes its value A class describing a register Gets called whenever the value was changed Defines a register containing a number The type of the numeric value The value of the register Defines a register containing a number Memory start adress max 99999 The format in which the variable is stored Result for a read/write operation The type of the numeric value Defines a register containing a string Defines a register containing a string The formatted result of a ascii command Contains generic information about the plc Gets operation mode from 2 digit hex number Contact as bool contact A class describing a PLC contact Creates a new base Contact A prefix identifier eg. X,Y,R,L The number of the PLC contact Creates a new base Contact A prefix identifier eg. X,Y,R,L The number of the PLC contact Build contact from complete contact name Complete contact name e.g. Y1C, Y3D or X1 Builds the mewtocol ascii contact identifier The identifier e.g. Y0001 or Y000A or X001C Converts the class to a generic json compatible object Creates a copy of the contact