Tani OpcPipe protocol  1.0.5
Tani OpcPipe protocol
Macros
Defines for PLC_REQ::PlcError

Macros

#define PLCSTSTAT_OK   0
 
#define PLCSTSTAT_BAD_TYPE   1
 
#define PLCSTSTAT_NO_DATA_AREA   2
 
#define PLCSTSTAT_OUT_OF_RANGE   3
 
#define PLCSTSTAT_TIMEOUT   4
 
#define PLCSTSTAT_BAD_ADDRESS   5
 
#define PLCSTSTAT_ILLEGAL_FUNCTION   6
 
#define PLCSTSTAT_NO_HARDWARE   7
 
#define PLCSTSTAT_PROTOCOL   8
 
#define PLCSTSTAT_OVERLOAD   9
 
#define PLCSTSTAT_WRITE_PROTECTED   10
 
#define PLCSTSTAT_READ_PROTECTED   11
 
#define PLCSTSTAT_BAD_STATE   12
 
#define PLCSTSTAT_AGAIN   16
 
#define PLCSTSTAT_WAIT_INITDATA   17
 
#define PLCSTSTAT_REMOTE_FAILURE   18
 
#define PLCSTSTAT_NOT_ENABLED   19
 

Detailed Description

Macro Definition Documentation

◆ PLCSTSTAT_AGAIN

#define PLCSTSTAT_AGAIN   16

something happend

◆ PLCSTSTAT_BAD_ADDRESS

#define PLCSTSTAT_BAD_ADDRESS   5

Ilegal start adress

◆ PLCSTSTAT_BAD_STATE

#define PLCSTSTAT_BAD_STATE   12

bad protocol state

◆ PLCSTSTAT_BAD_TYPE

#define PLCSTSTAT_BAD_TYPE   1

Ilegal data area or elemet type

◆ PLCSTSTAT_ILLEGAL_FUNCTION

#define PLCSTSTAT_ILLEGAL_FUNCTION   6

Function not supported by PLC

◆ PLCSTSTAT_NO_DATA_AREA

#define PLCSTSTAT_NO_DATA_AREA   2

E.g. DB not exist

◆ PLCSTSTAT_NO_HARDWARE

#define PLCSTSTAT_NO_HARDWARE   7

HW e.g. inputs doesn't exist

◆ PLCSTSTAT_NOT_ENABLED

#define PLCSTSTAT_NOT_ENABLED   19

Mostly in S7 1200/1500 GET/PUT access but this is not enabled

◆ PLCSTSTAT_OK

#define PLCSTSTAT_OK   0

success

◆ PLCSTSTAT_OUT_OF_RANGE

#define PLCSTSTAT_OUT_OF_RANGE   3

Ilegal data len

◆ PLCSTSTAT_OVERLOAD

#define PLCSTSTAT_OVERLOAD   9

PLC couldn't process request due to overload

◆ PLCSTSTAT_PROTOCOL

#define PLCSTSTAT_PROTOCOL   8

PLC couldn't process request due to bad protocol

◆ PLCSTSTAT_READ_PROTECTED

#define PLCSTSTAT_READ_PROTECTED   11

read protected

◆ PLCSTSTAT_TIMEOUT

#define PLCSTSTAT_TIMEOUT   4

PLC couldn't process request due to timeout

◆ PLCSTSTAT_WAIT_INITDATA

#define PLCSTSTAT_WAIT_INITDATA   17

waiting for the first data after new connection

◆ PLCSTSTAT_WRITE_PROTECTED

#define PLCSTSTAT_WRITE_PROTECTED   10

write protected