Commissioning
FC 45
4-4
Function manual, Release 03/2006 , J31069-D0167-U001-A2-7618
4th step Process STEP 7 project
This step is based on the sample program supplied with the system.
•
Copy the sample program for FC 45 into the new STEP 7 project.
•
Continue as shown below based on the number of MOBY channels (number of write/read
devices).
–
Declare the UDT 10 in DB 45 and the associated MOBY command(s) (UDT 20) in DB
47
–
Then display DB 45 in the "data view" of the editor and modify the "input parameters"
in the "actual value" column. For simple commissioning of MOBYI/E, all you have to
do is adjust parameters ASM_address and ASM_channel to the HW Config
addresses. General requirement: All MOBY channels (write/read devices) use the
same command (DB47) and the same data (DB48).
7KHVHWZRYDULDEOHV
PXVWEHPRGLILHGIRU
HDFKFKDQQHO
7KHSRLQWHUWRFRPPDQGB'%FDQUHWDLQ
WKHGHIDXOWYDOXHRQLQLWLDOFRPPLVVLRQLQJ
:KHQFRPPLVVLRQLQJ02%<,(
WKHYDOXHLVFRUUHFWKHUH
2WKHUZLVHWKLVYDOXHPXVWEH
DGMXVWHG
Figure 4-4
Edit DB 45
•
Edit OB 1 and program a cyclic FC 45 call for each channel; declare a bit memory for the
command start for each MOBY channel.
•
Set the variable "init_run" in the parameter DB in OB 100 for each MOBY channel.