Delta AS Series Programming Manual page 822

Hide thumbs Also See for AS Series:
Table of Contents

Advertisement

Example 1: Write the parameter of Application Specific Tag into the first device of the first communication port.
1.
Check HWCONFIG to learn the setting value in Application Specific Tag is "ABCDEFGH".
2.
AS04SIL is the first module that installed on the right side of the PLC CPU. The setting value in Group is 0, 1 in
Module and 1 in Port.
3.
We learnt that its index is 24, its Sub-index is 0, and the data type is StringT from its IODD file or the IO-Link device
manual. Set the setting values in Index to 24, in Sub-index to 0, in data type to 4 (StringT).
4.
Use the instruction $MOV to write the string "IO-Link" into the data device, starting from D60.
5.
Start sending "to write" request when M1 is ON. When M10 (DONE) is ON, it indicates the device has received the
response and has complete writing. WriteLen is 32, and the data string is saved in DataWrite (D60~D75). IO-Link
device writes the data into the data devices in accordance with the order of high byte and low byte.
Cha p ter 6 App l ied Ins truc tio ns
6_
6-543

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents