Total Solution for Industrial Automation
33
PWM Output Module User’s manual
2. TO/TOP instruction
‘TO/TOP’ instruction writes word data to shared memory of special module such as
DA modules. The typical usage of the instruction can be represented by following
LD.
[Figure 12] How to TO/TOP instruction
Form
Content
Note
S1
Base and Slot number where the
special module is installed.
Upper: Base No. / Lower: Slot No.
H00 01: 1
st
Slot of Base No. 0
*PLC-S Series do not have extended base. So
Upper Base No. is H00.
S2
Start address of the point where
Buffer memory will write
Each modules have different start address of
Buffer memory. Please check the address of
Buffer memories you use.
S3
Constant value or start address of
device where to write
Device area or constant value where to write
at Buffer memory of module.
S4
Length of words to write
Write value starting at the designated area of
S4 by turns, as many as data (word) which
will be written by Buffer memory address.
[Table 10] Notation of TO/TOP instruction in use and meaning of its form
(1) S1 (base and slot number)
Please refer to ‘FROM / FROMP’ instruction.
(2) S2 (Start address of user program memory)
Designate the start address of user program memory where to write. Please refer to
the manual or quick-reference guide of objective module.
(3) S3 (Constant value or start address of device)
Designate the start address of word device storing value to write. X/Y/M/L/K/F/D/Z
devices are available. This operand can be designated with constant value to write.
In this case, only one value can be written to user program memory at once.