WRITE_CMD: Writing command words. Schneider Electric Software PLC Application-Specific Functions, Micro/Junior/Pro, 4.5
Reklam
Reklam
Objects associated with specific applications
WRITE_CMD: Writing command words
Introduction The command words act on the module or the channel (e.g.: reactivation of discrete outputs).
The WRITE_CMD instruction enables the %MW command words to be written to the module (or the built-in interface).
Note: The command words are specific to each application.
Illustration Write instruction
Processor PLC
Objects %MWy.i.r or %MWy.MOD.2
Command words
WRITE_CMD
E/S Module or interface built-in task
Command words
Syntax
Example
The WRITE_CMD instruction is defined as follows:
WRITE_CMD%CHy.i
The table below describes the different elements which constitute the instruction.
i
Element Description
WRITE_CMD Name of instruction.
%CH y
Channel-type object.
Module position.
Channel number.
The table below gives an example of an explicit exchange using the WRITE_CMD instruction.
Object
WRITE_CMD%CH3.0
Description
Writing the command information of channel 0 of the module located in position 3.
TLX DS 37 PL7 xxE
39
İndir
Reklam