Skip to content

Siemens S7 Introduction

Canvas supports Siemens S7 as a way to connect to devices that support this protocol. Users can set up the Slot Number and Rack Number of the S7. This will need to be correct to grab information from the correct device.

Memory AreaSymbolDigitalAnalogAddress Number SystemAccess
Process InputsII1 - I64-DecimalR
Process OutputsQQ1 - Q64-DecimalR/W
MarkersMM1 - M112-DecimalR/W
VariablesVV0.0 - V14697.7V0 - V14697DecimalR/W
Analog InputsAIAI1.0 - AI16.15AI1 - AI16DecimalR
Analog OutputsAQAQ1.0 - AQ16.15AQ1 - AQ16DecimalR/W
Analog MakersAMAM1.0 - AM64.15AM1 - AM64DecimalR/W
FunctionFF1 - F4-DecimalR/W
CursorCC1 - C4-DecimalR/W
Memory AreaSymbolDigitalAnalogAddress Number SystemAccessNote
Process InputsII0.0 - I1023.7 (Max 65535.7)I0 - I1023 (Max 65535)DecimalR-
Process OutputsQQ0.0 - Q1023.7 (Max 65535.7)Q0 - Q1023 (Max 65535)DecimalR/W-
MarkersMM0.0 - M4095.7 (Max 65535.7)M0 - M4095 (Max 65535)DecimalR/W-
DBDBDB0,0.0 - DB65535,65535.7DB0,0 - DB65535,65535DecimalR/WRange varies depending on PLC program
CountersC-C0 - C65535DecimalR/W-
TimerT-T0 - T65535DecimalR/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) are required.
    • The optimized block access must be turned off.
      • Select the DB in the left pane under “Program blocks” and press [Alt+Enter]. (Or in the contextual menu, select “Properties…”)
      • Uncheck Optimized block access
    • The access level must be “full,” and the “connection mechanism” must allow GET/PUT.
      • Select the CPU project in the left pane and press [Alt+Enter]. (Or in the contextual menu, select “Properties…”.)
      • Select “Full access” and check “Permit access with PUT/GET …” as in the image below.