The following error codes apply ONLY for the error messages
CallSPSread FAILED ! ERROR:' and
'CallSPSwrite FAILED ! ERROR:'
-1 |
Invalid function |
-2 |
Invalid MW address |
-3 |
Invalid date |
-4 |
Slave error |
-7 |
Slave cannot execute function |
-8 |
Slave memory parity error |
-10 |
Timeout while communicating with Slave |
-11 |
Read request failed! Communication with PLC impossible. |
The fields Para1 and Para2 contain additional information about the variable that cannot be read:
The number relate to the internal ID
Para1: Channel type (e.g.: 8=Holding Register)
8: Holding Register
10 Input Register
24 Status
65 COIL
66 Input Status
67 Preset Single Register
Para2: Data type (e.g: 2= Word, UINT)
1: INT
2: UINT
3: DINT
4: UDINT
5: REAL
8: BOOL
9: SINT
10: USINT