![]() |
Tani OpcPipe protocol
1.0.5
Tani OpcPipe protocol
|
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 |
| #define PLCSTSTAT_AGAIN 16 |
something happend
| #define PLCSTSTAT_BAD_ADDRESS 5 |
Ilegal start adress
| #define PLCSTSTAT_BAD_STATE 12 |
bad protocol state
| #define PLCSTSTAT_BAD_TYPE 1 |
Ilegal data area or elemet type
| #define PLCSTSTAT_ILLEGAL_FUNCTION 6 |
Function not supported by PLC
| #define PLCSTSTAT_NO_DATA_AREA 2 |
E.g. DB not exist
| #define PLCSTSTAT_NO_HARDWARE 7 |
HW e.g. inputs doesn't exist
| #define PLCSTSTAT_NOT_ENABLED 19 |
Mostly in S7 1200/1500 GET/PUT access but this is not enabled
| #define PLCSTSTAT_OK 0 |
success
| #define PLCSTSTAT_OUT_OF_RANGE 3 |
Ilegal data len
| #define PLCSTSTAT_OVERLOAD 9 |
PLC couldn't process request due to overload
| #define PLCSTSTAT_PROTOCOL 8 |
PLC couldn't process request due to bad protocol
| #define PLCSTSTAT_READ_PROTECTED 11 |
read protected
| #define PLCSTSTAT_TIMEOUT 4 |
PLC couldn't process request due to timeout
| #define PLCSTSTAT_WAIT_INITDATA 17 |
waiting for the first data after new connection
| #define PLCSTSTAT_WRITE_PROTECTED 10 |
write protected
1.8.14