EasyManua.ls Logo

Emerson T-60 - Page 100

Emerson T-60
114 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
CALL PLCREAD( 1, 12, 30, 1, t% )
This will capture the monitor value of a timer.
CALL PLCWRITE Statement
Purpose:
This command is used to write value(s) to the IDEC’s register(s), memory
location(s), or to force one or more output bits in a PLC.
Syntax:
CALL PLCWRITE(id,cmd,start address,# of
registers/bits,expression/variable/array)
Comments:
id specifies the address of the IDEC - always use 1.
cmd specifies the write operation you wish to perform. See the table below
for the write operation possibilities:
address
-
describes where in memory the value is to be stored or read from
count - number of bits to be read ( when using command of size WORD this
will be a 1 )
variable/number - this is the variable or number that is to be written in
memory in the case of a write or the variable that will store the value being
read
Examples:
CALL PLCWRITE( 1, 4, 805, 1, 12345)
This command tells the Idec PLC to write in register #805 the value 12345.
This function is only available in the FA-2J PLC.
CALL PLCWRITE( 1, 9, 400, 13, 4077)
This instructs the PLC to write into the internal relays at address 400, the
value of 4077 using 13 bits.
T-60 Operator's Manual
92

Table of Contents

Related product manuals