Behavior and format of the date and time field states:
User Local: The field values are displayed in the user’s local time and formatted as per their current portal language/locale.
Where is the portal user's local time zone configured?
How To Create Text Lists and IO Fields in Siemens WinCC. WICC TIA PORTAL HMI Animation. How to use Numeric field on HMI screen? - Duration: 7:50.
By default, the portal uses the standard date/time formats specified by the website language settings.
Where are these settings?
James WoodJames Wood
1 Answer
Where is the portal user's local time zone configured?
Check out
adx_timezone
attribute on the contact record (contact is portal user)Where are these settings?
Look for
timezone/id
if you have in your settings. Based on your need Set it.This may be a missing piece in MS documentation. Since CRM portals built on top of AdX Studio portals, this release notes can be helpful.
Under
7.0.0019 August 13, 2015
, it says:Date/Time format handling has been unified and improved.
Formats can now be specified as .NET custom DateTime format strings using Site Settings, which will be applied to a page's body tag:
Formats can now be specified as .NET custom DateTime format strings using Site Settings, which will be applied to a page's body tag:
- DateTime/DateFormat (default 'M/d/yyyy')
- DateTime/TimeFormat (default 'h:mm tt')
- DateTime/DateTimeFormat (no default)
Breaking Change: All> Not the answer you're looking for? Browse other questions tagged dynamics-crmdynamics-crm-onlinedynamics-crm-portals or ask your own question.
Posted by1 year ago
Archived
S7-1200/KTP600 IO fields tied to TON-ET read ### instead of seconds?
The setup:
S7-1200 CPU 6ES7 212-1BE31-OXBO V3.0 with an SM1222 6ES7-222-1HF32-0XB0 module
KTP-600 Basic HMI 6AV6 647-0AD11-3AX0 Version 12.0.0.0
Step 7 V13 Pro V13 SP1 update 9
WinCC Basic V13 SP1 update 9
PLC and HMI and laptop with TIA portal are all on a cheap netgear switch while I'm writing and revising project until I get it the way I want it.
Have a ladder program with several TON timers and I'd like to monitor the elapsed time on all of them on one screen for diagnostic purposes.
So I set up an I/O field, tie it to the ET on one of my timers by clicking thru the PLC program blocks to the timer I'm wanting to monitor in the HMI (if it matters any its a 45 second timer) and selecting the ET (time) option, mode set to 'output' display, display format 'decimal' decimal places 0, field length 3, format pattern 'S999'. I've also tried mode set to 'input/output' and format pattern '999' with same results
I should probably note PLC program has been proven and runs. And when I have the PLC online in monitor mode when I start the sequence to activate that TON timer I can see it counting up to 45 seconds in the field above the timer on my ladder program monitor view.
When the timer isn't running the HMI shows the value in that IO field as '0' but when the timer is running the values shown is ####. I know that the HMI is connected to the PLC as it should be because other screens have symbolic IO fields that change state in accordance with the PLC program and buttons that change PLC outputs (which I can see happening by opening the panel the HMI is on and pressing them and watching states change on the output lines of the PLC).
Eventually I'd like to make this timer count down from 45 to zero instead of count up but for now I just need to know why my IO fields are all #### instead of displaying the elapsed time value I need them to. Thanks for the help
81% Upvoted