Programming Example
Function Blocks Used
Status refresh
(_INV002_Refresh)
_INV002_Refresh
(BOOL)
(BOOL)
EN
ENO
(BOOL)
Specify host
(INT)
BUSY
unit
UnitSelect
(INT)
(INT)
Serial port No.
NodeAddr
PortNo
(BOOL)
(DWORD)
Scan list
Error
Scanlist
(WORD)
(DWORD)
MV/RV type
ErrorID
ModelTypeMV
(UINT)
Interval
IntervalCount
(WORD)
I/F area type
AreaID
(INT)
I/F area No.
AreaNo
Message area
(WORD)
type
MSGAreaID
Message area
(INT)
No.
MSGAreaNo
Required for communication with the
inverter.
1 FB is used for each PLC serial port.
"
"
1
Status refresh
FB will be used for a
serial port, even if the serial port has
multiple inverters connected.
• Issues communication commands to
inverters.
• Processes communication errors.
• Assigns priorities when multiple
commands are issued.
Note
Function blocks are not available for 10/14/20-point CP1L.
Execute rotation (frequency
specification in Hz)
(_INV032_MoveVelocity_Hz)
_INV032_MoveVelocityHz
(BOOL)
EN
(INT)
Inverter No.
Busy flag
NodeNo
(BOOL)
Start
Axis No.
Execute
Command Aborted
in use
(REAL)
Frequency
Velocity
Error
(INT)
Rotation
direction
Direction
Error code
(WORD)
Utilization
AreaID
area type
(INT)
Utilization
AreaNo
area No.
Specifies start signal, rotation direction,
and frequency in Hz.
A-4 CP1L Programming Examples
Decelerate to stop
(BOOL)
(BOOL)
EN
ENO
(INT)
(BOOL)
Matching
Inverter No.
NodeNo
InVelocity
speed
(BOOL)
Start
(BOOL)
Execute
Force quit
(WORD)
Area type
(BOOL)
AreaID
Error
Error
(INT)
Area No.
(WORD)
AreaNo
Error code
ErrorID
Decelerates an operating axis to a stop.
SYSMAC CP1L/CP1E Introduction Manual
(_INV060_Stop)
_INV060_Stop
(BOOL)
ENO
(BOOL)
Deceleration
Done
complete
(BOOL)
Error
Error
(WORD)
Error code
ErrorID
A
161
Need help?
Do you have a question about the CP1E - INTRODUCTION and is the answer not in the manual?