Writing Commands

<< Click to Display Table of Contents >>

 

Writing Commands

N1 or B1

N2 or B2

N3 or B3

N4 or B4

Command

Size

Data Type

1 (one)

Line

0 (zero)

0 (zero)

Transmission of Setpoints

4 (four) Elements

Integer. The content of the Elements is 0: Product 1 (one), 1: Product 2 (two), 2: Product 3 (three), and 3: Product 4 (four)

4 (four)

Line

0 (zero)

0 (zero)

Discharge Waiting Bin

I/O Tag

Not important. This command is triggered for the line specified by the N2 parameter, regardless of the value written to this Tag

5 (five)

0 (zero)

0 (zero)

0 (zero)

Set Time

3 (three) Elements

Integer. The content of the Elements is 0: Hour, 1: Minute, and 2: Second

6 (six)

0 (zero)

0 (zero)

0 (zero)

Set Date

3 (three) Elements

Integer. The content of the Elements is 0: Day, 1: Month, and 2: Year

 

Due to the design of Interface 4.0 protocol, this Driver does not support writing to Block Elements. Therefore, when using commands for writing blocks, users must define values for all Block Elements.

This can be performed using scripts. For example, to send Setpoint values to 4 (four) products of a specific production line, this can be accomplished by using the next script in Elipse E3, in Elipse Power, or in Elipse Water.

Dim arr(3)
arr(0) = 4500
arr(1) = 3200
arr(2) = 1800
arr(3) = 900
Application.GetObject("Driver1.SetPointTransmission").WriteEx arr, Now, 192

Was this page useful?