Specifications

205PLC Code for PROFINET Controller
(c) 2013 MITSUBISHI ELECTRIC CORPORATION
Call FB 'IO_Device_Info'
The input 'ID' contains the IO-device number '1'. By setting M44 the alarm request is started. M45 in-
dicates that the requested data has been written to the global variable 'Device_Info_1'.
8.2 Global Variables
The exported PLC code contains several global variables for addressing the interface of the
PROFINET Controller. There are two types of variables:
1. project-independent variables with fixed names and structures related to the PROFINET manage-
ment and acyclic communication buffers in the PROFINET Controller
2. project-specific variables with editable names and structures related to the cyclic communication
data of I/O devices and their modules
The following table lists the global variables and the respective 'Data Unit Types' (DUTs), of which the
structure is independent of the IO devices in the network.
Identifier
Type
Contents
vPN_MGMT_OUTPUTS
tPN_MGMT_OUTPUTS:
STRUCT
IOC_START_STOP: BOOL;
IOD_MGT_MODE: ARRAY [0..127] OF
BOOL;
IOD_START_STOP_DEV: ARRAY
[0..127] OF BOOL;
IOD_CMD_HSK_Y: ARRAY [0..127] OF
BOOL;
IOD_MGT_ALARM: ARRAY [0..127] OF
BOOL;
IOD_CONSIST: ARRAY [0..127] OF
BOOL;
IOD_INPUT_HSK_Y: ARRAY [0..127] OF
BOOL;
Outputs to control
the PROFINET Con-
troller (request bits
etc.)