EasyManua.ls Logo

LS Industrial Systems XGT Series - Operation State Reading (Command: SRD)

LS Industrial Systems XGT Series
369 pages
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...
Chapter 6 Command
6-39
6.3.33 Operation State Reading (Command: SRD)
(1) Program
(2) Description
Device Description
F00029 Axis operation status reading input
D04000 Leading address to save operation status of axis X
Command SRD Operation state reading
OP1 Slot Constant WORD Slot No. installed with positioning module
OP2 Axis PMLK,constant,D,Z,R,ZR WORD Command axis (0: axis X, 1: axis Y)
Operand
OP3 Device PMLK,D,Z,R,ZR WORD
Leading No. of device to read and save the current
state value
PMLK means P, M, L and K areas.
(a) This is the command that checks the operation state of command axis and save it on designated device.
(b) The current state will be saved like items below depending on leading no. of device.
Device No. Size State
Device WORD Operation State Information (Up)
Device + 1 WORD Operation State Information (Down)
Device + 2 WORD Axis Information
Device + 3 WORD External Input/Output Signal State
Device + 4 DINT Current Position
Device + 6 DWORD Current Speed
Device + 8 WORD Step No.
Device + 9 WORD M Code No.
Device + 10 WORD Error state
Device + 11 DINT Encoder Value
(c) It is able to read the current state of axis with GET command. At this time, refer to memory address of “5.1.2 State
Information” and “6.1.1 Internal Memory Reading”. If use GET command in the example above, it is as follows. In addition,
it is able to read the states that you need with GET command.

Table of Contents

Other manuals for LS Industrial Systems XGT Series

Related product manuals