Hi everybody. I have two troubles and I can't solve. So help me please:
First, I am known that Siemens have two special bit SM 0.0 (scan continuously) and SM 0.1 (only scan at the first) but I can not find it in RSLogix 5000.
Finally, In Siemens , I can set 5 bits at the same time using Set command, but In Rockwell, I only set a bit using Latch.
Hope to get answer soon.
Thanks very much.
[?]: ask for some commands in RSLogix 5000
-
- Posts: 104
- Joined: Sat Jun 13, 2009 12:25 pm
- Location: Europe
-
- Posts: 37
- Joined: Wed Jul 21, 2010 2:30 pm
Re: ask for some commands in RSLogix 5000
Hi dehell
Thanks for your help and it run when i made like your example. But i do not find any documents which guide about these bits. So can you show me where i can read about these special bits.
Thanks
Thanks for your help and it run when i made like your example. But i do not find any documents which guide about these bits. So can you show me where i can read about these special bits.
Thanks
-
- Posts: 1
- Joined: Fri May 20, 2011 9:32 am
Re: [?]: ask for some commands in RSLogix 5000
Hi!
1. You can use the 'system' bit S:FS, to determine that this is the first scan. Each subroutine has an independent S:FS - you can use it as condition. AND there is special Task: 'Power-Up Handler' - you can put there anything you need to execute once before any other task will be performed.
2. Possibility to set several bits at same time depends on data data type. It is impossible for BOOL. But MVM works as a charm for SINT, INT, and DINT data types (these data types can be used at bit level in ladder logic).
1. You can use the 'system' bit S:FS, to determine that this is the first scan. Each subroutine has an independent S:FS - you can use it as condition. AND there is special Task: 'Power-Up Handler' - you can put there anything you need to execute once before any other task will be performed.
2. Possibility to set several bits at same time depends on data data type. It is impossible for BOOL. But MVM works as a charm for SINT, INT, and DINT data types (these data types can be used at bit level in ladder logic).