I am using a function block to do repetative math calculations. I noticed that the results were coming back incorrect. After playing with the Function, I tracked it down to a constant that I was setting. Is there a special way to set constants in FB's?
I am taking a Real number and sending it...
I have to interface to a program that is using DINT data in DBlocks. The DINT is data coming into the PLC and I have to do calculations on these numbers as Real types. My problem is that when I use the DI to R Converter the numbers do not match. At the input the number in DINT is 7 million and...
I have the need to clear multiple registers all at once. Typically I use a Fill command and fill them all with 0. I can not seem to find a similar function in the S7 318 logic.
Anyone have any ideas or am I overlooking a function? I was going to use the BlockMove but it does not accept 1 value...
I am connecting to an S7 318-2 with CP343-1. I have setup Write & Fetch connections and can communicate using the Parijat ActiveX control. My issue is that once I have connected to the port on the S7, I can not make any more connections.
I there a way to allow multiple connections or do I have...
I am finshing a project but need to parse out the DateTime from the Read_CLK SFC1. Can I just call the SFC1 and place the CDT result in a datablock?
Lance
I am assisting on a multiplant support team. Our plants have different versions of Modicon PLCs. Some are Quantum 424 & 486 and some are 984B. We are running a enterprise software package for data collection and these plants are having an issue around doing math with Negative numbers.
My...