<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Activity for krstech</title><link href="https://forge.codesys.com/u/krstech/activity/" rel="alternate"/><id>https://forge.codesys.com/u/krstech/activity/</id><updated>2022-03-23T14:24:41.249000Z</updated><subtitle>Recent activity for krstech</subtitle><entry><title>krstech posted a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/0294f81bbb/?limit=25#c706/f30c" rel="alternate"/><published>2022-03-23T14:24:41.249000Z</published><updated>2022-03-23T14:24:41.249000Z</updated><author><name>krstech</name><uri>https://forge.codesys.com/u/krstech/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/0294f81bbb/?limit=25#c706/f30c</id><summary type="html">thank you! works for me.</summary></entry><entry><title>krstech posted a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/0294f81bbb/?limit=25#c706/926a" rel="alternate"/><published>2022-03-23T14:24:37.559000Z</published><updated>2022-03-23T14:24:37.559000Z</updated><author><name>krstech</name><uri>https://forge.codesys.com/u/krstech/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/0294f81bbb/?limit=25#c706/926a</id><summary type="html">thank you! works for me.</summary></entry><entry><title>krstech modified a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/6b5942607c/?limit=25#9de1" rel="alternate"/><published>2022-03-09T13:06:17.502000Z</published><updated>2022-03-09T13:06:17.502000Z</updated><author><name>krstech</name><uri>https://forge.codesys.com/u/krstech/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/6b5942607c/?limit=25#9de1</id><summary type="html">Codesys V3.5 SP17 Patch 3 (64bit) Pi package: 4.2.0.0 PFC200 package: 4.2.0.0 Here's my scripts for implementing local timezone for Eastern Standard Time - Toronto Canada. Using UTIL Functions - getDateTime() and localDateTime() Installed UTIL Library 3.5.17.0 Add declaration to Global Variable List Created POU: prgTimeZone Created Datatype: TimezoneInfo Created custom Function: tzoneDOW Created HMI screen Changed Timezone setting in Global Variable List to test and verify. 1 Install UTIL Library...</summary></entry><entry><title>krstech modified a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/b70e2f6c01/?limit=25#53a7" rel="alternate"/><published>2022-03-09T13:00:36.845000Z</published><updated>2022-03-09T13:00:36.845000Z</updated><author><name>krstech</name><uri>https://forge.codesys.com/u/krstech/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/b70e2f6c01/?limit=25#53a7</id><summary type="html">Here's a snippet i've used for RS232 ASCII comm on one of my application. I'm hoping you can extract something useful from it for your requirements. It converts the input string "hello" to integer. Play around with it. I hope i understand your question. Also look into: WORD_TO_STRING(); TO_STRING(); -krstech.i code PROGRAM RS232_ReadRegisters VAR hexDataString : ARRAY[0..15] OF STRING[4]; readRegister : ARRAY[0..15] OF WORD; i, x : INT; counter : INT := 8; END_VAR (* Extract Hex data from Read Response...</summary></entry><entry><title>krstech posted a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/b70e2f6c01/?limit=25#53a7" rel="alternate"/><published>2022-03-09T12:55:58.353000Z</published><updated>2022-03-09T12:55:58.353000Z</updated><author><name>krstech</name><uri>https://forge.codesys.com/u/krstech/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/b70e2f6c01/?limit=25#53a7</id><summary type="html">Here's a snippet i've used for RS232 ASCII comm on one of my application. I'm hoping you can extract something useful from it for your requirements. It converts the input string "hello" to integer. Play around with it... -krstech.i code PROGRAM RS232_ReadRegisters VAR hexDataString : ARRAY[0..15] OF STRING[4]; readRegister : ARRAY[0..15] OF WORD; i, x : INT; counter : INT := 8; END_VAR (* Extract Hex data from Read Response dataString, then convert the hexstring to integer *) FOR i := 0 TO gvl.PFC200.RS232.numReadReg...</summary></entry><entry><title>krstech modified a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/2fb310507d/?limit=25#d231" rel="alternate"/><published>2022-03-09T12:38:21.735000Z</published><updated>2022-03-09T12:38:21.735000Z</updated><author><name>krstech</name><uri>https://forge.codesys.com/u/krstech/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/2fb310507d/?limit=25#d231</id><summary type="html">oneshot : R_Trig; oneshot(clk:=start1); if oneshot.q then something := true; if something then otherThings := true; end_if end_if if reset then something := false; otherThings := false; end_if Keep in mind, oneshot.q is only ON for one scan once start1 goes true. Oneshot.q goes off after one scan even if start1 remains true. I hope you find this helpful -krstech</summary></entry><entry><title>krstech posted a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/2fb310507d/?limit=25#d231" rel="alternate"/><published>2022-03-09T02:45:08.008000Z</published><updated>2022-03-09T02:45:08.008000Z</updated><author><name>krstech</name><uri>https://forge.codesys.com/u/krstech/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/2fb310507d/?limit=25#d231</id><summary type="html">oneshot : R_Trig; oneshot(clk:=start1); if oneshot.q then something := true; if something then otherThings := true; end_if end_if if reset then something := false; otherThings := false; end_if I hope you find this helpful -krstech</summary></entry><entry><title>krstech posted a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/b70e2f6c01/?limit=25#330b" rel="alternate"/><published>2022-03-09T02:20:46.727000Z</published><updated>2022-03-09T02:20:46.727000Z</updated><author><name>krstech</name><uri>https://forge.codesys.com/u/krstech/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/b70e2f6c01/?limit=25#330b</id><summary type="html">1) Install Library UTIL 2) Use Function(Word_As_String) iWord : WORD; oString : STRING; oString := WORD_AS_STRING(iWord,FALSE); See attachment for additional information. Hope this is helpful. -krstech</summary></entry><entry><title>krstech posted a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/b70e2f6c01/?limit=25#1f4a" rel="alternate"/><published>2022-03-09T02:20:40.864000Z</published><updated>2022-03-09T02:20:40.864000Z</updated><author><name>krstech</name><uri>https://forge.codesys.com/u/krstech/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/b70e2f6c01/?limit=25#1f4a</id><summary type="html">1) Install Library UTIL 2) Use Function(Word_As_String) iWord : WORD; oString : STRING; oString := WORD_AS_STRING(iWord,FALSE); See attachment for additional information. Hope this is helpful. -krstech</summary></entry><entry><title>krstech modified a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/6b5942607c/?limit=25#0a8d/48eb" rel="alternate"/><published>2022-03-08T23:57:02.787000Z</published><updated>2022-03-08T23:57:02.787000Z</updated><author><name>krstech</name><uri>https://forge.codesys.com/u/krstech/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/6b5942607c/?limit=25#0a8d/48eb</id><summary type="html">Do not have a question. It is a working example krstech On Mar 8, 2022, at 6:36 PM, h-hermsen no-reply@codesys.com wrote: ﻿ What exactly is your question ⁉️😉💪 Implementing Custom Timezone Sent from forge.codesys.com because you indicated interest in https://forge.codesys.com/forge/talk/Engineering/ To unsubscribe from further messages, please visit https://forge.codesys.com/auth/subscriptions/</summary></entry><entry><title>krstech modified a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/6b5942607c/?limit=25#9de1" rel="alternate"/><published>2022-03-08T23:55:51.915000Z</published><updated>2022-03-08T23:55:51.915000Z</updated><author><name>krstech</name><uri>https://forge.codesys.com/u/krstech/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/6b5942607c/?limit=25#9de1</id><summary type="html">This is a working example for those having issues with implementing Timezone. Codesys V3.5 SP17 Patch 3 (64bit) Pi package: 4.2.0.0 PFC200 package: 4.2.0.0 Here's my scripts for implementing local timezone for Eastern Standard Time - Toronto Canada. Using UTIL Functions - getDateTime() and localDateTime() Installed UTIL Library 3.5.17.0 Add declaration to Global Variable List Created POU: prgTimeZone Created Datatype: TimezoneInfo Created custom Function: tzoneDOW Created HMI screen Changed Timezone...</summary></entry><entry><title>krstech posted a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/6b5942607c/?limit=25#0a8d/48eb" rel="alternate"/><published>2022-03-08T23:51:08.412000Z</published><updated>2022-03-08T23:51:08.412000Z</updated><author><name>krstech</name><uri>https://forge.codesys.com/u/krstech/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/6b5942607c/?limit=25#0a8d/48eb</id><summary type="html">Do not have a question. It is a working example krstech.iphone On Mar 8, 2022, at 6:36 PM, h-hermsen no-reply@codesys.com wrote: ﻿ What exactly is your question ⁉️😉💪 Implementing Custom Timezone Sent from forge.codesys.com because you indicated interest in https://forge.codesys.com/forge/talk/Engineering/ To unsubscribe from further messages, please visit https://forge.codesys.com/auth/subscriptions/</summary></entry><entry><title>krstech modified a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/6b5942607c/?limit=25#9de1" rel="alternate"/><published>2022-03-08T18:08:06.619000Z</published><updated>2022-03-08T18:08:06.619000Z</updated><author><name>krstech</name><uri>https://forge.codesys.com/u/krstech/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/6b5942607c/?limit=25#9de1</id><summary type="html">Codesys V3.5 SP17 Patch 3 (64bit) Pi package: 4.2.0.0 PFC200 package: 4.2.0.0 Here's my scripts for implementing local timezone for Eastern Standard Time - Toronto Canada. Using UTIL Functions - getDateTime() and localDateTime() Installed UTIL Library 3.5.17.0 Add declaration to Global Variable List Created POU: prgTimeZone Created Datatype: TimezoneInfo Created custom Function: tzoneDOW Created HMI screen Changed Timezone setting in Global Variable List to test and verify. 1 Install UTIL Library...</summary></entry><entry><title>krstech modified a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/6b5942607c/?limit=25#aae8" rel="alternate"/><published>2022-03-08T18:06:35.823000Z</published><updated>2022-03-08T18:06:35.823000Z</updated><author><name>krstech</name><uri>https://forge.codesys.com/u/krstech/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/6b5942607c/?limit=25#aae8</id><summary type="html">Attached snapshots for your reference. -krstech</summary></entry><entry><title>krstech posted a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/6b5942607c/?limit=25#aae8" rel="alternate"/><published>2022-03-08T17:56:21.604000Z</published><updated>2022-03-08T17:56:21.604000Z</updated><author><name>krstech</name><uri>https://forge.codesys.com/u/krstech/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/6b5942607c/?limit=25#aae8</id><summary type="html">Snapshots for your reference in attachment. -krstech</summary></entry><entry><title>krstech posted a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/6b5942607c/?limit=25#9de1" rel="alternate"/><published>2022-03-08T17:38:07.304000Z</published><updated>2022-03-08T17:38:07.304000Z</updated><author><name>krstech</name><uri>https://forge.codesys.com/u/krstech/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/6b5942607c/?limit=25#9de1</id><summary type="html">Codesys V3.5 SP17 Patch 3 (64bit) Pi package: 4.2.0.0 PFC200 package: 4.2.0.0 Here's my scripts for implementing local timezone for Eastern Standard Time - Toronto Canada. Using UTIL Functions - getDateTime() and localDateTime() Installed UTIL Library 3.5.17.0 Add declaration to Global Variable List Created POU: prgTimeZone Created Datatype: TimezoneInfo Created custom Function: tzoneDOW Created HMI screen Changed Timezone setting in Global Variable List to test and verify. 1 Install UTIL Library...</summary></entry></feed>