This driver uses a standard Ethernet connection to communicate with Siemens S7 devices.
Communication Settings: Xpanel
I/O Device Configuration | To create a new device, click Tools > I/O Device Editor… > click the + icon > click Ethernet for Connection Type > select Siemens S7 for Device Type. |
I/O Device Settings
| Once the connection type, device name, and device type have been assigned, the I/O Device Editor window populates with the default settings for the selected communication protocol. After selecting the correct Connection Type and Device Type, match the remaining settings to the target I/O device’s communication settings. |
See the Ethernet Communication Configuration section for more information.
Address and Supported Symbols
The memory areas listed below are provided for general purposes. The actual available memory area and range of each area should be checked with the manual for the connecting device.
The symbol character has to be placed in the first position of the address string. The address number follows the symbol character.
Supported Symbols
Name | Symbol | Bit Range | Word Range | Address Number System | Access |
---|---|---|---|---|---|
Process Inputs | I | I0.0 - I1023.7 (Max 65535.7) | I0 - I1023 (Max 65535) | Decimal | R/W |
Process Outputs | Q | Q0.0 - Q1023.7 (Max 65535.7) | Q0 - Q1023 (Max 65535) | Decimal | R/W |
Merkers | M | M0.0 - M4095.7 (Max 65535.7) | M0 - M4095 (Max 65535) | Decimal | R/W |
DB | DB | DB0,0.0 - DB65535,65535.7 | DB0,0 - DB65535,65535 | Decimal | R/W |
Counters | C | - | C0 - C65535 | Decimal | R/W |
Timer | T | - | T0 - T65535 | Decimal | R/W |
S7 1200/1500 notes:
Only global DBs can be accessed.
To access a DB memory area in S7 1200/1500, some additional settings in PLC software (TIA Portal) is required.
The optimized block access must be turned off.
1) Select the DB in the left pane under “Program blocks” and press [Alt+Enter]. (Or in the contextual menu, select “Properties…”)
2) Uncheck Optimized block accessThe access level must be “full” and the “connection mechanism” must allow GET/PUT.
1) Select the CPU project in the left pane and press [Alt+Enter]. (Or in the contextual menu, select “Properties…”.)
2) Select “Full access” and check “Permit acess with PUT/GET …” as in the image below.
Communication Cable Wiring
This interface is satisfied with standard IEEE802.3 about the 10BaseT/100BaseTX. You can configure the cable and allocation pin number of RJ45 as shown below.
RJ45 Connector | RJ45 Jack |
Direct Cable: Host ↔︎ HUB
Cable | No. | Color | Color | No. | Cable |
| 1 | Orange/White | Orange/White | 1 |
|
2 | Orange | Orange | 2 | ||
3 | Green/White | Green/White | 3 | ||
4 | Blue | Blue | 4 | ||
5 | Blue/White | Blue/White | 5 | ||
6 | Green | Green | 6 | ||
7 | Brown/White | Brown/White | 7 | ||
8 | Brown | Brown | 8 |
Crossover Cable: Host ↔︎ Host
Cable | No. | Color | Color | No. | Cable |
| 1 | Orange/White | Green/White | 1 |
|
2 | Orange | Green | 2 | ||
3 | Green/White | Orange/White | 3 | ||
4 | Blue | Blue | 4 | ||
5 | Blue/White | Blue/White | 5 | ||
6 | Green | Orange | 6 | ||
7 | Brown/White | Brown/White | 7 | ||
8 | Brown | Brown | 8 |