Chapter 7 Usage of Various Functions
7-19
8) instruction
Available Device
Flag
Instructions
M
P
K
L
F
T
C
S
D
#D
Inte-
ger
Steps
Error
(F110)
Zero
(F111)
Carry
(F112)
O
O
O O
O O O
O
O
O
DUTY
O
7
O
(1) Functions
- ‘n’ designates pattern no. which is registered at parameter.
- S1 designates device name which will be stored output pulse count no. and error code .(3 word)
-
S2 designates output device (output P area ) .
(2) example of program
when the M0020 is ‘On’ ,it outputs the pulse at 5 pattern to P0040.
It stores the output pulse count no. at D0000 and D0001.
It stores error information at D0002.
All output area is designated for pulse output contact , but it can’t designate over 2 contact at the same time.
Pattern no.
PLSOUT S
1
S
2
D
Output pulse count no.
Output pulse contact
S
3
S
1
S
2
S
2
n
n
PLSOUT 5 D0000 P0040
M0020
Содержание MASTER-K80S
Страница 27: ...Chapter 4 Names of Parts 4 4 1 3 30 points base unit 4 1 4 40 points base unit 4 1 5 60 points base unit...
Страница 66: ...Chapter 6 Input and Output Modules 6 3 30 point base unit 4 40 point base unit DC24V DC24V DC24V...
Страница 67: ...Chapter 6 Input and Output Modules 6 5 60 point base unit DC24V DC24V...
Страница 206: ...Chapter 8 Communication Function 8 63 You can see the frame list which is designated Click OK button...