Benutzer-Werkzeuge

Webseiten-Werkzeuge


profinet_io_cfg
# PROFINET-IO-Device
# default configuration file for Drv.pnetd 
#
# Options:
# DeviceID    = 0x3004  : ProfiNet-Device-ID of UGW-Micro, do not change this ID
# CycleTime   = x       : 10...1000ms: cycletime for polling of Profinet-Chip to x ms
# CovCycle    = x       : 1...1000, check for change-of-values only every (x * CycleTime) ms
# WriteCycle  = x       : 1...1000, write to input-buffer every (x * CycleTime) ms
# ByteOrder   = x       : byte order of values:  0: little-endian  1: big-endian 
# SetInvalid  = x       : if profinet-io-status is bad, set alle values to invalid,  0:no  1:yes

[PNETD]
DeviceID   = 0x3004 # do not change this ID
ByteOrder  = 0      # 0=little-endian
CycleTime  = 50     # 50 ms
CovCycle   = 5      # send change of value every 5*CycleTime = 5*50ms = 250ms
WriteCycle = 3      # write to inputbuf every 3*CycleTime = 3*50ms = 150ms
SetInvalid = 1      # set invalid-flag for all values, if profinet-io-status is bad


# Configuration of (virtual) modules of this IO-Device
# IO-Device and IO-Controller need the same configuration
#
# Modnnn = ID:n  IN:n  OUT:n
#   Modnnn module number   : 001...060
#   ID:n   ident number    : 0x0000...0xffff
#   IN:n   input bytes     : 0...255
#   OUT:n  output bytes    : 0...255
# limits:
#  total sum of input bytes: 340 bytes
#  total sum of output bytes: 340 bytes

#--------------------------------------------------------------------------
# available module-Types, defined in GSDML-V2.31-MBS-MICRO3004-20141208.xml
#
# INPUT_01B   ID:0x11  IN:1   OUT:0
# INPUT_02B   ID:0x12  IN:2   OUT:0
# INPUT_04B   ID:0x13  IN:4   OUT:0
# INPUT_08B   ID:0x14  IN:8   OUT:0
# INPUT_16B   ID:0x15  IN:16  OUT:0
# INPUT_32B   ID:0x16  IN:32  OUT:0
# INPUT_64B   ID:0x17  IN:64  OUT:0
# INPUT_128B  ID:0x18  IN:128 OUT:0
#
# OUTPUT_01B   ID:0x21  IN:0   OUT:1
# OUTPUT_02B   ID:0x22  IN:0   OUT:2
# OUTPUT_04B   ID:0x23  IN:0   OUT:4
# OUTPUT_08B   ID:0x24  IN:0   OUT:8
# OUTPUT_16B   ID:0x25  IN:0   OUT:16
# OUTPUT_32B   ID:0x26  IN:0   OUT:32
# OUTPUT_64B   ID:0x27  IN:0   OUT:64
# OUTPUT_128B  ID:0x28  IN:0   OUT:128


#--------------------------------------------------------------------------
# example with 4 modules
# 
Mod001 = ID:0x15  IN:16  OUT:0
Mod002 = ID:0x16  IN:32  OUT:0
Mod003 = ID:0x24  IN:0   OUT:8
Mod004 = ID:0x27  IN:0   OUT:64

Imprint/Impressum Disclaimer DSGVO/Privacy Policy

profinet_io_cfg.txt · Zuletzt geändert: 13.01.2022 20:33 von oni

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki