<< Prev        Next >>

ID : 7970

Type I Variable Write (0101)

Function

This command substitutes the value specified in data area 2 for the Type I (integer type) global variable of the number specified in data area 1.

Format

Command Area (4 bits, input)

0101

Data Area 1 (8 bits, input)

The number of the Type I variable for which a value will be substituted. Any number between I[0] and I[255] can be specified. When the input data in data area 1 is n, the value specified in data area 2 will be substituted for the Type I variable I [n].

Data Area 2 (16 bits, input)

The value to be substituted for the Type I variable specified in data area 1. Any value between -32768 and 32767 can be set.

Status Area (16 bits, output)

Nothing will be output.

Description

The value specified in data area 2 is substituted for the Type I variable specified in data area 1.

Although the type I variable has a storage area of 32 bits, the 16-bit data in data area 2 will be substituted for the lower 16 bits. "0" will be substituted for the upper 16 bits of the Type I variable.

ID : 7970

<< Prev        Next >>