All Classes and Interfaces
Class
Description
While a SetupCommunication message is no problem, when reading or writing data,
situations could arise that have to be handled.
+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
|15|14|13|12|11|10| 9| 8| 7| 6| 5| 4| 3| 2| 1|
+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
\__________/\__________/\____________________/
Event class IDs Event number
Event Class:
1 Standard OB Events
2 Synchronous errors
3 Asynchronous errors
4 Mode transition
5 Run-time events
6 Communications events
7 Events for fail-safe and fault tolerant systems
8 Standardized diagnostic data on modules
9 Predefined user events
A,B Freely definable events
C,D,E Reserved
F Events for modules other than CPUs (for example, CPs, FMs)
IDs (Bit)
8 0:Event leaving state, 1:Event entering state
9 1:Entry in diagnostic buffer
10 1:Internal error
11 1:External error
Estimate the Length of a Packet
Consumes all Bytes till another Magic Byte is found
Like JMS but different.
Some times the messages being sent have to be manipulated before
being able to send them.
S7PayloadUserDataItemCpuFunctionReadSzlRequest.S7PayloadUserDataItemCpuFunctionReadSzlRequestBuilder
The S7 Protocol states that there can not be more then {min(maxAmqCaller, maxAmqCallee} "ongoing" requests.
+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
|15|14|13|12|11|10| 9| 8| 7| 6| 5| 4| 3| 2| 1|
+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
\__________/\__________/\____________________/
Module Number of Number of the partial
class the partial list
list
extract
Module Class:
+--------------+-----------------+
| Module class | Coding (Binary) |
+--------------|-----------------+
| CPU | 0000 |
+--------------|-----------------+
| IM | 0100 |
+--------------|-----------------+
| FM | 1000 |
+--------------|-----------------+
| CP | 1100 |
+--------------|-----------------+
Possible SSL Partial Lists:
+-----------------------------------------------------------|--------------+
| Module class | SSL-ID |
+-----------------------------------------------------------|--------------+
| Module identification | 16#xy11 |
+-----------------------------------------------------------|--------------+
| CPU characteristics | 16#xy12 |
+-----------------------------------------------------------|--------------+
| User memory areas | 16#xy13 |
+-----------------------------------------------------------|--------------+
| System areas | 16#xy14 |
+-----------------------------------------------------------|--------------+
| Block types | 16#xy15 |
+-----------------------------------------------------------|--------------+
| Interrupt status | 16#xy22 |
+-----------------------------------------------------------|--------------+
| Assignment between process image partitions and OBs | 16#xy25 |
+-----------------------------------------------------------|--------------+
| Communication status data | 16#xy32 |
+-----------------------------------------------------------|--------------+
| H CPU group information | 16#xy71 |
+-----------------------------------------------------------|--------------+
| Status of the module LEDs | 16#xy74 |
+-----------------------------------------------------------|--------------+
| Switched DP slaves in the H-system | 16#xy75 |
+-----------------------------------------------------------|--------------+
| Module status information | 16#xy91 |
+-----------------------------------------------------------|--------------+
| Rack / station status information | 16#xy92 |
+-----------------------------------------------------------|--------------+
| Rack / station status information | 16#xy94 |
+-----------------------------------------------------------|--------------+
| Extended DP master system / PROFINET IO system information| 16#xy95 |
+-----------------------------------------------------------|--------------+
| Module status information, PROFINET IO and PROFIBUS DP | 16#xy96 |
+-----------------------------------------------------------|--------------+
| Tool changer information (PROFINET IO) | 16#xy9C |
+-----------------------------------------------------------|--------------+
| Diagnostic buffer of the CPU | 16#xyA0 |
+-----------------------------------------------------------|--------------+
| Module diagnostic information (data record 0) | 16#xyB1 |
+-----------------------------------------------------------|--------------+
| Module diagnostic information (data record 1), | 16#xyB2 |
| geographical address | |
+-----------------------------------------------------------|--------------+
| Module diagnostic information (data record 1), | 16#xyB3 |
| logical address | |
+-----------------------------------------------------------|--------------+
| Diagnostic data of a DP slave | 16#xyB4 |
+-----------------------------------------------------------|--------------+