Aktueller Inhalt von Dennis2004

  1. D

    Wago GSM Modem Verbindungsabbruch, keine automatische wiederkehr

    In CoDeSys2.3 SIMPLE_SMS_8207 Functional uses standart SMS fb with this parameters: xConnect := TRUE, bComPortNr := 66, eBaudrate := BAUD_19200, eParity := PARITY_NO, eStopBits := STOPBITS_1, eFlowControl := NO_FLOW_CONTROL, All others are default. xConnect is a var that...
  2. D

    Wago GSM Modem Verbindungsabbruch, keine automatische wiederkehr

    Hello eweryone also having problem with modem functionality) I'm also having problems with modem and I'm here to share my investigations. 1. Be sure to use one of the latest firmwares: -Fw11Sp2(02.08.35)+FW11_Patch_ModemUpdate_2.1.7_hotfix_02.08.35 (If you have Fw<02.08.35 - please update as...
  3. D

    PID-Regler mit Rückführung

    Hello. Try this workaround: PROGRAM PLC_PRG VAR PIDControllerInstance:FbPIDController; ConfigPIDControllerInstance: typConfigPIDController := ( xDummy:=FALSE, xChangeInDirection:=FALSE, xPresetOn:=FALSE, xPresetOff:=FALSE, rPresetValueOn:=100...
  4. D

    WAGO Bibliothek mod_com.lib/ CRC16 Baustein

    You can use CRC_GEN function from OSCAT BASIC library. It is well documented and has CRC-16/MODBUS initial values listed inside helpfile.
  5. D

    Wago Ethernet Settings Fehler

    Try to use Ethernet connection, not Bluetooth. Put your CoDeSys program into "STOP" (can use gray switch on PFC200 front panel for this) before saving settings. Ensure that you have fresh PFC200 Firmware (Firmware Revision:02.04.22(06) or al least (04)). Why do you need EthernetSettings? Almost...
  6. D

    Login Codesys festtstellen

    As an alternative to calling configtool: create a bash script in autorun folder, eg /etc/rc.d/codesys_socket_check. Give access rights (chmod 755). #!/bin/sh # # Cyclically checks if CoDeSys connection is established while true; do usleep 1000000 echo `netstat -tn | grep 2455 | grep...
  7. D

    Login Codesys festtstellen

    Ensure that any task that writes/reads IO has priority in range 6..20. Or, go to PLC Configuration -> K-Bus -> Edit -> KBus settings and select "Asynchronuous" Update mode. Also you have option "Update unused I/Os" in Target Settings -> General that affects K-Bus operation.
  8. D

    Rs232 pfc200

    After including SerComm.lib in your project you will have this options of flow control ot select port mode: TYPE COM_FLOW_CONTROL : ( (*:::::: WITH CONTINOUS SEND ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::*) NO_FLOW_CONTROL :=0...
  9. D

    WAGO WEB-VISU Probleme mit Darstellung von Array Variablen mit "gemultiplexten" Index

    Hello, you can easily do this with help of "Dynamic Texts". Sorry, this only works for cases like in your post: Zustand[Aktor[2]], replace PLC_PRG.Aktor[PLC_PRG.ii] with PLC_PRG.Aktor[2] in my example to get it working.
Zurück
Oben