<< Click to Display Table of Contents >> Manual > Device Connection Guide > Siemens > Connection Procedure (Ethernet) > SIMATIC S7-300/400/1200/1500 CPU Accessory Port |
About the connection example
Please see below for an example of connection settings for this driver.
Applicable models etc. |
explanation |
This is an example of connection settings with the Siemens S7-1500 series.
|
|
This is an example of connection settings with the Siemens S7-300 series.
|
*For connections with other compatible models, please refer to the above for setup.
Device List
The compatible devices are as follows (see here for how to view the device list).
device |
keyword |
Start address |
explanation |
unit |
reading |
Writing |
Digital Input |
I |
00000 |
Decimal |
8-bit |
○ |
● |
Digital Output |
Q |
00000 |
Decimal |
8-bit |
○ |
● |
Internal memory |
M |
00000 |
Decimal |
8-bit |
○ |
● |
Timer |
T |
00000 |
Decimal |
Double Word |
○ |
● |
counter |
C |
00000 |
Decimal |
word |
○ |
● |
Data Blocks |
DB |
00000 |
Decimal number + number of blocks |
8-bit |
○ |
● |
The S7-1200/1500 does not have a timer (T) or counter (C), so it cannot be accessed. |
Digital input (I)/digital output (Q) is in 8-bit units. If you want to specify it on a bit-by-bit basis, manually specify "@ (bit position)" in the tag address.
Example: To specify the address of the digital output %Q1.2, specify "00001@2" and set the type to "Bit".
|
Access to Data Blocks (DB)
When using data blocks (DB), you specify the address directly. When using S7-1200/1500, you cannot access by symbol name, so you need to disable the optimizer.
To disable this, open the properties of the target database and uncheck "Optimized block access".
When using S7-300/400, this setting is not necessary because there is no optimizer block access function. |
This setting must be configured for each DB used. For example, if there are two DBs and access to both is required, this setting must be configured for both DBs. |
About Protection settings
It is necessary to set up Protection for S7-1200/1500. Please note that if you do not set it up, you will not be able to access it from external SCADA etc.
To set this, select "Protection" from the CPU properties and select the following items.
setting |
Setting contents |
Access level |
Full access (no protection) |
Connection mechanisms |
Check it |
About CPU slot numbers
When communicating with a Siemens PLC, it is necessary to specify the rack number and CPU slot number. This information can be confirmed from the tool.
Example: For S7-1500, check from "Device Configuration"
On the Server application side, specify the rack number and CPU slot number in the communication driver's "Communication Settings" - "Communication Details" - "Other Detailed Settings".
The "CPU Slot" settings for a standard configuration are as follows. •S7-300/400「2」 •S7-1200/1500「1」 |