Siemens DP, S7-300F-2 PN manual Moby U/D or RF300

Page 50

Industry Automation and Drive Technologies - SCE

Additional indications

The displays indicate to the user the progress of a command. Error analyses are easy to perform.

Variable

 

 

 

 

Description

 

 

 

 

 

 

IM_busy

This bit is set when the IM processes a command. Normally, "IM_busy“ is inverted to "ready“.

 

IM_busy is indicated by the IM by means of the cyclical word (refer to chapter "Cyclical Control

 

Word between Master and MOBY IM“ under "IM_busy“). If processing takes place with the

 

automatic command start repeat_command, this bit indicates the processing of a new MDS with

 

the command that is to be executed.

 

 

command_rep_active

The IM is just executing a command repetition. The bit is set as a response to the control variable

 

repeat_command. After init_run, FB45 first resets the command_rep_active; it is set again

 

delayed since FB45 first transmits the MOBY commands to the IM.

number_MDS

MOBY U/D or RF300:

 

 

 

The number of MDSs is indicated that are presently located in the transmission window.

 

If more than 15 MDSs are in the field, the display number_MDS stops at 0F hex.

error_MOBY

The IM signaled this error. As a rule, this error is indicated also on the ERR LED on the IM

 

channel display (refer to chapter "Error Indications and Error Search“).

error_FB

Error indication from FB45 (refer to chapter "Error Indications and Error Search“).

error_BUS

The transmission path between FB45 and the IM signals an error. As a rule, this is a PROFIBUS

 

error (refer to chapter "Error Indications and Error Search“). This error is indicated by the system

 

functions SFC 58/59.

 

 

 

 

version_MOBY

Display of the firmware version of the MOBY IM. The value entered here is updated after every IM

 

power-up . It is ASCII encoded.

 

 

 

Example:

DBB26

DBB27

 

 

 

 

31 hex

 

30

Version 1.0

 

 

 

 

 

hex

 

 

 

 

"1“

"0“

 

 

 

 

 

 

 

 

Notes

__________________________________________________________________________

__________________________________________________________________________

__________________________________________________________________________

__________________________________________________________________________

__________________________________________________________________________

__________________________________________________________________________

__________________________________________________________________________

__________________________________________________________________________

All other UDT 11 variables are for internal FB use only.

The user must not change them at all.

TIA Training Document

Page 50 of 65

Module E11

 

Status: 01/2010

Radio Frequency Identification (RFID) with SIMATIC S7-300F-2PN/DP and

RF180C

 

Image 50
Contents Module E11 Industry Automation and Drive Technologies SCEIndustry Automation and Drive Technologies SCE Preface Page Prerequisites S7’Objective Simatic RF180C ASM Industry Automation and Drive Technologies SCE CPU Rfid Fundamentals Data structure of the German language UDTs is as follows DB47Page Industry Automation and Drive Technologies SCE Page Industry Automation and Drive Technologies SCE Industry Automation and Drive Technologies SCE Value range for the subnet screen form Industry Automation and Drive Technologies SCE MAC addressValue range for the IP address Value range for the address of the gateway routerIndustry Automation and Drive Technologies SCE Industry Automation and Drive Technologies SCE Industry Automation and Drive Technologies SCE Page Page Page Generating DB48 Open DB48, set up 1024 bytes Save and close DB48Generating DB49 Open DB49 and insert UDT261 and UDT271 Page Generating DB50 Open DB50 and insert UDT111 and UDT281 Save and close DB50 Generate DB47 Open DB47 and add UDT21 for each request Save and close DB47 Generating DB45 Open DB45 and insert UDT11 for each reader DB45, UDT11 is called for each readerDB47 request data block is referred to in DB45 Data view of DB45 to byteSave and close DB45 Page Set up in variables Set up OUT variables Generating Function FC11Save and close FC11 Writing data to the transponder Data View of the UDT21 Command OverviewCommand Reading data from the transponderInitialize Transponder Command NextCommand END Read out Reader statusSwitching the reader aerial on/off Transponder StatusExample of a command string in DB47 Data view of the UDT11 Variable Description Parameter commandDBaddress Value = 50 for Reader2 507 Industry Automation and Drive Technologies SCE ISO MDS Page Page Industry Automation and Drive Technologies SCE Control bits from Bit8 to Bit15 Variable DescriptionMoby U/D or RF300 Then, set up in variables Next, set up OUT variables Generating FB10Reader block Network 1 Command start Network 2 Reset Reader Industry Automation and Drive Technologies SCE Networks 4 to Page Generating FB1 Supplementing the symbol tableTask Industry Automation and Drive Technologies SCE FB10 is inserted as a multi-instance block Industry Automation and Drive Technologies SCE Network Industry Automation and Drive Technologies SCE Network 4 to Page Open OB1 and call FB1 with DB1 Page Page Industry Automation and Drive Technologies SCE Symbol Table