Rs7 |
Top Previous Next |
The communication channels to S7 or AtS7 PLCs can be defined here. A communication channel is referenced by its name. (normally the name of the relevant PLC) The name of the communication channel is relevant for the variable names.
See also:
Variable addressing As EPAM always works with symbolic variables, the addresses of the symbols must be entered in the UserVar worksheet in the Address column.
Supported address notation
Data block
Markers
Restrictions and special features
Byte order problem S7-compatible PLCs use the Big-Endian format, whilst EPAM (x86) on the other hand uses the Little-Endian format. The communication driver makes the necessary conversion according to the following schema.
Conversion to EPAM type If a variable consists of a byte address, the VarType is used for the conversion.
Example.
Conversion according to address type If a variable does not consist of a byte address, but of a WORD address, for example, the type of the address is used for the conversion.
Example.
STRING In the S7, the first two bytes of a string variable contain the maximum and effective length of the string. The maximum length must match the data type. The default length for STRING is 80.
Data types The following data types correspond:
|