Siemens FetchWrite

Module Description

The s5fetch-write plug-in is used for accessing Siemens PLCs with network expansion module CP443, such as s7-300/400.

Parameter Configurations

ParameterDescription
hostremote plc ip
portremote plc port, default 102

Support Data Type

  • INT8
  • UINT8
  • INT16
  • UINT16
  • INT32
  • UINT32
  • INT64
  • UINT64
  • FLOAT
  • DOUBLE
  • BIT
  • STRING

Usage of Address Format

Address Format

AREA ADDRESS[.BIT][.LEN]

AREA ADDRESS

AREATYPEATTRIBUTEREMARK
DBint16/uint16/bit/int32/uint32/int64/uint64/float/double/stringreadData block in main memeory, word
Mint8/uint8/int16/uint16/bit/int32/uint32/int64/uint64/float/double/stringread/writeFlag area, byte
Iint8/uint8/int16/uint16/bit/int32/uint32/int64/uint64/float/double/stringread/writePII-process image of the inputs, byte
Qint8/uint8/int16/uint16/bit/int32/uint32/int64/uint64/float/double/stringread/writePIQ-process image of the outputs, byte
PEPAint8/uint8/int16/uint16/bit/int32/uint32/int64/uint64/float/double/stringread/writeIO modules, byte
Zint16/uint16/bit/int32/uint32/int64/uint64/float/double/stringread/writeCount cells, word
Tint16/uint16/bit/int32/uint32/int64/uint64/float/double/stringread/writeTime cells, word

.BIT

Optional, refers to a certain digit of a certain address.

.LEN

When the data type is string type, it is a required item, indicating the length of the string.

Address Example

AddressData TypeDescription
I0int16I area, address 0
I1uint16I area, address 1
Q2int16Q area, address 2
Q3uint16Q area,address 3
PEPA4int16PEPA area, address 4
PEPA5int16PEPA area, address 5
T6int16T area, address 6
T7int16T area, address 7
Z8uint16Z area, address 8
Z9uint16Z area, address 9
DB10.DBW10int16DB area, address 10,start 10
DB12.DBW10uint16DB area, address 12, start 10
DB10.DBW10floatDB area, address 10, start 10
DB11.DBW10doubleDB area, address 11, start 10
I0.0bitI area, address 0, No. 0 bit
I0.1bitI area, address 0, No, 1 bit
Q1.0bitQ area, address 1, No. 0 bit
Q1.2bitQ area, address 1, No. 2 bit
PEPA2.1bitPEPA area, address 2,No. 1 bit
PEPA2.2bitPEPA area, address 2,No. 2 bit
T3.3bitT area, address 3, No. 3 bit
T3.4bitT area, address 3, No. 4 bit
Z4.5bitZ area, address 4,No. 5 bit
Z4.6bitZ area, address 4,No. 6 bit
DB1.DBW10.1bitDB area, address 1,start 10,No. 1 bit
DB2.DBW1.15bitDB area, address 2,start 10,No. 1 bit
DB1.DBW12.20stringDB area, address 1,start 12,string length 20