show the entry list
FM 350-1, 350-2, 450, SM338 -- Setting up and parameterizing hardware -- Initializing and parameterizing modules
How do you cyclically read out the 8 channels of the FM 350-2 counter module as quickly as possible?
How can the counter values of compact CPUs and of the FM 350/FM450 counter module be made available again after a power failure?
How do you commission the FM350-2 counter module (6ES7350-2AH01-0AE0) in STEP 7 Professional V11 and higher?
How do you commission the FM350-1 counter module (6ES7350-1AH03-0AB0) in STEP 7 Professional V11 and higher?
Why with module FM350-1 does the internal gate STS_GATE remain open in single count mode although the software gate SW_GATE closes?
Which function modules (FM) can be used remotely in an ET 200M?
How do you interconnect an FM350-2 in PCS 7?
How can you retain the counter value of counter modules (6ES7350-1AH03-0AE0, 6ES7350-2AH00-0AE0, 6ES7450-1AP00-0AE0) after a STOP to RUN transition of the CPU?
How can you fast load an initial value in the counter group FM350-1 or FM450-1?
How can you generate a process alarm with the latch function on the "FM350-1" module?
Images mixed up in the FM450-1¿s configuration package for displaying the hardware gate controller 
Specifying direct I/O access to the FM 350-2, 2 channels
SM 338: how do you handle disconnected channels?
Specifying direct I/O access to the FM 350-2, 2 channels
Part number:

QUESTION:
How can count and measured values be read directly by I/O access on the FM 350-2?

ANSWER:
The FM 350-2 permits a maximum of four measured or count values to be displayed directly on the module I/O. Using the "Specify Channels" function you define which of the individual measured values is to be displayed on the I/O area.
Depending on the size of the measured or count value, you must parameterize the data format in the "User_Type " as "Word" or "Dword". If you parameterize as "Dword", only one measured or count value per "User_Type" is possible. If you parameterize "Word", you can read in two values.

In the user program, the commands L PIW for Word access and L PID for Dword access are used.
The access addresses are structured as follows:

  • For Word access: module address of the FM350-2 from HW Config. +8, +10, +12, +14
    Example: FM350-2 address is 256 à access L PIW 264, L PIW 266, L PIW 268, L PIW 270
  • For Dword access: module address of the FM350-2 from HW Config. +8, +12,
    Example: FM350-2 address is 256 à access L PID 264, L PID 268

To read out measured values in this way, the read function "FC CNT2_RD" is not necessary. The module updates its I/O input interface every 2 ms and stores the additional counted and measured values specified in the global DB of the "CNT_CTRL" function at addresses 44 to 50. To do this you need to call function FC "CNT_CTRL".
If you need more than four measured or counted values, you have to work with the read function "FC CNT2_RD" as well. Follow these steps to arrive at the parameters window "Specify channels":

  • Double-click the FM350-2 in the hardware configuration.
  • In the "Properties - FM350-2 Counter" window you press the "Parameters" button.



Fig. 1: Setting the FM350-2 properties

  • In the "FM350-2 Counter [Assigning Parameters]" window you select the menu item "Edit > Specify Channels".



Fig. 2: Specifying the channels


 Entry ID:12159065   Date:2003-11-12 
I regard this article....as helpfulas not helpful                                 
mySupport
My Documentation Manager 
Newsletter 
CAx-Download-Manager 
Support Request
To this entry
Print
Create PDF 
Send to a friend
QuickLinks
Compatibility tool 
Topics
Help
Online Help
Guided Tour