IPlc

Representing the physical connection to a PLC

Members

Functions

clearBit
void clearBit(in int DB, in int byteAddress, in int bitAddress)
getFloat
float getFloat()
getFloatAt
float getFloatAt(int position)
getS16
short getS16()
getS16At
short getS16At(int position)
getS32
int getS32()
getS32At
int getS32At(int position)
getS8
byte getS8()
getS8At
byte getS8At(int position)
getU16
ushort getU16()
getU16At
ushort getU16At(int position)
getU32
uint getU32()
getU32At
uint getU32At(int position)
getU8
ubyte getU8()
getU8At
ubyte getU8At(int position)
readBytes
void readBytes(in int DB, in int start, in int length)

Reads a sequence of bytes from PLC memory.

readPLCTime
int readPLCTime()
setBit
void setBit(in int DB, in int byteAddress, in int bitAddress)
writeBytes
void writeBytes(int DB, int start, int length, ubyte[] buffer)

Meta