Communication Function Programming and Entry Help. Schneider Electric ATRIUM, Premium, Quantum, Modicon M340
إعلان
إعلان
Modicon M340, Premium, Atrium, and Quantum Using Unity Pro
Entry Help
35010500 10/2014
Communication Function Programming and Entry Help
Chapter 16
Communication Function Programming and Entry Help
Subject of this Chapter
This chapter presents the various entry help tools.
What Is in This Chapter?
This chapter contains the following topics:
Topic
Communication Function Entry Help
Access a specific instruction of the function, function block or DFB type
Address Entry Help
Page
145
35010500 10/2014
Entry Help
Communication Function Entry Help
At a Glance
During programming you can access an entry help screen allowing you to find out all the parameters of a communication function.
This help can be obtained from the Unity Pro library functions.
Illustration
The following illustration shows the entry help screen for the communication function READ_VAR.
NOTE: The number and type of fields vary according to the communication function selected.
Availability
This screen is available for the following communication functions:
DATA_EXCH
INPUT_CHAR
OUT_IN_CHAR
PRINT_CHAR
READ_VAR
SEND_REQ
SEND_TLG
WRITE_VAR
146
35010500 10/2014
Entry Help
Access a specific instruction of the function, function block or DFB type
At a Glance
The application-specific function may be accessed:
by direct entry of the instruction and its parameters in an operate block via the entry help function accessible in the program editors (FBD, LD, IL, ST).
Calling a Function
The following table describes how to call a function.
Step
1
2
Action
Access the required editor.
Depending on the editor, select one of the following methods to open the function library:
Select the function to enter with the data editor. Once in the editor, right-click on the function (LD, FBD editors).
Right-click in the program editor and select the option FFB Input Assistant.
Note: The function input assistant window appears:
3
4
35010500 10/2014
Select the type of FFB required (if it is not already entered).
Then select the name of the instance (where necessary and if available).
147
Entry Help
Step
5
6
7
Action
Many instructions have a customized entry help screen. You can access this screen by clicking the
Special Assistant button.
Enter each parameter of the instruction (each instruction is explained in the relevant application-specific documentation):
in the customized detailed data entry screen, or in the Prototype area of the Entry field.
Confirm by clicking Ok.
148
35010500 10/2014
Entry Help
Address Entry Help
At a Glance
To assist in entering the address, a help screen is available.
With this screen, a description of the architecture in which the communication function is integrated and generated can be added. By completing the fields of this description, the address is automatically generated.
Accessing the Help
When entering the parameters of the communication function, you can access the address entry help with the following button:
Illustration
The following illustration shows the address input help screen for a communication function.
35010500 10/2014
149
Entry Help
Mode
The first parameter to select is the Mode. With it you can select one of the following communication modes: local (communication by bus) remote (communication by network)
Network Level
For remote communications only, the network level is used to:
enter the network number, enter the station number, select the station type.
Station Level
Depending on the communication function, with this parameter the type of exchange can be selected:
The Application box selects an exchange with a PL7 application (corresponds to APP addressing).
The System box selects the PLC system of the station designated by the network level
(corresponds to SYS addressing).
The Module box means that the destination device is connected to the station via a link (Uni-
Telway, Modbus, Modbus Plus or Fipio). This case requires you to specify:
the position of the module supporting this link,
the type of this module.
Protocol
The Protocol field defines the exchange protocol used between the station on the network and the exchange’s destination device.
Device Level
This parameter is used to specify:
the type of destination device, the address of this device.
150
35010500 10/2014
Entry Help
Limitations
In the address entry help screen, communications from a Uni-Telway slave require coding of the destination address in the transmission buffer (see Unity Pro, Communication, Block Library).
The help window allows full entry of the section corresponding to ADDR() advising the user that the additional buffer must be coded.
Remote station address coding is only supported by the following devices: TSX 17, TSX 37,
TSX 47-107, TSX 57.
For third-party devices, only entry of the port number is proposed. In other cases the address must be entered manually.
35010500 10/2014
151
Entry Help
152
35010500 10/2014
Modicon M340, Premium, Atrium, and Quantum Using Unity Pro
Index
35010500 10/2014
Index
A
B
broadcast
C
Communication
D
E
G
35010500 10/2014
I
M
P
S
T
X
X-Way
153
Index
154
35010500 10/2014
تنزيل
إعلان