S7-300 forcing

radfahrer

Lifetime Supporting Member
Join Date
Nov 2006
Location
Boston
Posts
156
I'm trying to force an analog input in a S7-300 CPU. I've opened the Force table, told it to Force so the yellow force icon is showing in the status bar and the Force LED is on on the PLC, but it is not accepting the value. When I checked the S7 documentation, it shows the Force table with Bolded values as being the active ones. In mine they are not bolded, which according to the documentation means they are still being edited. I've saved the force table. How do I get those values to go bold and take effect in the PLC?

The address I'm trying to force is ID24, so it's not in a PIW or something like that, so it should work on a S7-300. I'm still pretty new to Siemens, so I'm hoping this is something simple...

Any assistance appreciated.

-G
 
Figured out how to get Bold but it is showing in HEX

I figured out how to get the value to go bold, I right click and Select "Display Force Values" but then it switches the Radix to HEX. If I change the radix back to Floating point, it switches out of BOLD. I'm trying to force a floating point value of 18.0 into the address. Is there a way to be able to enter that directly? I'm really hoping Siemens doesn't expect me to use an IEEE float converter to find the HEX value of a number every time I want to force a value.

-G
 
I have ever only forced BOOLs so I am guessing here.
Maybe there is a symbol for ID24 as DWORD, and the Status/Force dialog requires you to use that format. If so, try to change the symbol type to REAL.

Where does ID24 come from ?
Is it some kind of transfer from another CPU via I-Device or Profbus DP ?
I ask, becasue I dont know of any sensor that provides analog values scaled to floating point representation.
 
I/O is Profibus, but is not currently connected

JesperMP,

In the live system, this value does come from a Profibus transmitter. I'm working in a development environment which only has the CPU and does not have the rest of the network, so I figured I could force the value since there is no transmitter sending a value.

-G
 
I see, I havent ever tried a transmitter with integrated scaling functions.

Anyway, if the above doesnt fix the problem, what I do when I simulate is to bypass analog i/o altogether and just change the scaled engineering values in a VAT, or by code to mimic how the proces actually works.
 

Similar Topics

in allen bradley kinetix 300 drive first E31 error shows after resting drive E11 error occurs need solution to reset E11 fault code
Replies
4
Views
163
Hi, I'm setting up a modbus master on an S7-300. It seems to work in OB1 but not when I use it in OB35. Does anyone have any ideas why? Could...
Replies
10
Views
138
So basically i have 2 queries : 1. I have a program file of S7-300 PLC which i want to migrate in RSLogix500.In short i want to convert my simatic...
Replies
15
Views
309
Hi i using Kinetik 300 2097 driver control by EIP with using move absolute and incremental for motion , but i want to add same driver and motor as...
Replies
0
Views
82
Hey all, first time poster here. I am wondering if anyone has tried using a Keyence SR-X300 barcode scanner to a Micrologix 1400. Keyence sent...
Replies
0
Views
94
Back
Top Bottom