You are not registered yet. Please click here to register!


 
 
plc storereviewsdownloads
This board is for PLC Related Q&A ONLY. Please DON'T use it for advertising, etc.
 
Try our online PLC Simulator- FREE.  Click here now to try it.

New Here? Please read this important info!!!


Go Back   PLCS.net - Interactive Q & A > PLCS.net - Interactive Q & A > LIVE PLC Questions And Answers

Reply
 
Thread Tools Display Modes
Old August 26th, 2018, 10:35 PM   #1
QasimFSH
Member
Australia

QasimFSH is offline
 
Join Date: Apr 2018
Location: Adelaide
Posts: 114
Scheduled Blocks in SoMachine Basic

Hi All,

I am trying to configure the scheduled function block in SoMachine Basic. It looks very simple, but just unable to get any results (I have set up SW114, unsure how to set S51). If anyone has some examples of this, kindly share. It will be really helpful.

Thanks.
  Reply With Quote
Old August 27th, 2018, 01:08 AM   #2
Wasan
Member
Thailand

Wasan is offline
 
Wasan's Avatar
 
Join Date: Jun 2015
Location: Bangkok
Posts: 67
If you use %SCH0
You need to enable %SW114:X0
%SW114:X0 means %SCH0
If you use %SCH1 you should enable %SW114:X1

Last edited by Wasan; August 27th, 2018 at 02:07 AM.
  Reply With Quote
Old August 27th, 2018, 01:19 AM   #3
QasimFSH
Member
Australia

QasimFSH is offline
 
Join Date: Apr 2018
Location: Adelaide
Posts: 114
Quote:
Originally Posted by Wasan View Post
If you use %SCH0
You need to enable %SW114:X0
%SW114:X0 means %SCH0
If you use %SCH1 you should enable %SW114:X1
I did that actually, but in vain. Can you please share the snapshot of a working code, if possible?
  Reply With Quote
Old August 27th, 2018, 01:23 AM   #4
QasimFSH
Member
Australia

QasimFSH is offline
 
Join Date: Apr 2018
Location: Adelaide
Posts: 114
I have used SCH 06 and output bit as Q0.1
Attached Images
File Type: png Schedule Block.PNG (64.1 KB, 39 views)
  Reply With Quote
Old August 27th, 2018, 01:59 AM   #5
QasimFSH
Member
Australia

QasimFSH is offline
 
Join Date: Apr 2018
Location: Adelaide
Posts: 114
Got it working now..
  Reply With Quote
Old August 27th, 2018, 02:05 AM   #6
QasimFSH
Member
Australia

QasimFSH is offline
 
Join Date: Apr 2018
Location: Adelaide
Posts: 114
If it helps anyone, this is a working code. Make sure to sync the RTC with PC`s clock, unless you want custom time input.
Attached Images
File Type: png Schedule Block Working.PNG (74.0 KB, 37 views)
  Reply With Quote
Old August 27th, 2018, 02:12 AM   #7
Wasan
Member
Thailand

Wasan is offline
 
Wasan's Avatar
 
Join Date: Jun 2015
Location: Bangkok
Posts: 67
I think you should not short to drive coil %Q0.1.
Maybe you should use Schedule Block output to drive output coil
same as shown in attachment.
Attached Images
File Type: png M221_Schedule_02.png (294.2 KB, 38 views)

Last edited by Wasan; August 27th, 2018 at 02:31 AM.
  Reply With Quote
Old August 27th, 2018, 02:21 AM   #8
QasimFSH
Member
Australia

QasimFSH is offline
 
Join Date: Apr 2018
Location: Adelaide
Posts: 114
Yep, that is exactly what I did and have got it working now. Thank you for the help!
  Reply With Quote
Old January 15th, 2020, 02:41 AM   #9
Varri
Member
North Korea

Varri is offline
 
Join Date: Jan 2020
Location: South
Posts: 23
Does it work longterm to se date to 1.1 to 31.12?
  Reply With Quote
Reply
Jump to Live PLC Question and Answer Forum

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Topics
Thread Thread Starter Forum Replies Last Post
Modbus TCP with M221 and SoMachine Basic QasimFSH LIVE PLC Questions And Answers 9 February 14th, 2020 03:45 PM
Keyence Serial Communication with Visual Basic rwj1313 LIVE PLC Questions And Answers 6 August 1st, 2013 08:06 AM
STEP 7 automatic program status change on blocks Nepiter LIVE PLC Questions And Answers 2 February 23rd, 2013 07:11 AM
Integrate Function Blocks via Visual Basic in a 1768 L43 fofoz LIVE PLC Questions And Answers 0 October 8th, 2012 12:44 PM
1746 Bas Module (basic) ravisashi LIVE PLC Questions And Answers 6 January 21st, 2007 05:03 AM


All times are GMT -5. The time now is 04:08 PM.


.