Omron K6CM User Manual page 225

Motor condition
Hide thumbs Also See for K6CM:
Table of Contents

Advertisement

The variables defined in the sample program are as follows.
(These are the main variables except instance related and work related variables etc. Refer to the
actual sample program for details.)
Variable name
sIPAddress
iNumOfUnits
iNumOfParallel
iRetryValue
tOutputCycle
bCollecting
bOutput
iSelectableUNIT
bExecute
bDone
bBusy
bError
wErrID
bEnable
iStatus
iRetryCnt
iProCode
stRespServiceDat
*1. Device processing state
Function Block Specifications
This FB reads data from the K6CM device whose IP address is specified in the input data, using the
CIPUCMMSend command by rising of the Execute.
* Do not restart the FB by the Execute while FB is executing. Communications processing is initialized.
Instruction
K6CM_Read
Variable name:
Execute
K6CM Motor Condition Monitoring Device User's Manual (N219)
8 Monitoring and Setting Using the EtherNet/IP Devices
Variable data type
ARRAY[0..99] OF STRING[256]
UINT
UINT
UINT
TIME
BOOL
BOOL
ARRAY[0..9] OF UINT
ARRAY[0..9] OF BOOL
ARRAY[0..9] OF BOOL
ARRAY[0..9] OF BOOL
ARRAY[0..9] OF BOOL
ARRAY[0..99] OF WORD
ARRAY[0..99] OF BOOL
ARRAY[0..99] OF UINT
ARRAY[0..99] OF UINT
ARRAY[0..99] OF UINT
ARRAY[0..99] OF K6CM_ReadData
Name
Read K6CM
Devices Data
Execute
IPAddress
TimeOut
Input/out-
Data type
put
IN
BOOL
Connection destination IP Addresses 100 set-
tings
Number of connected devices (setting)
Number of parallel connection (setting)
Number of retries setting
Data output cycle (setting)
During the collection of K6CM devices data
During output to the CSV file
FB execution target device No.
FB execution command
FB completion state
FB processing in progress
FB error condition
Device error code
Device enabled state (True: valid, False:
invalid)
Device processing state * 1
Device retry count
Device type (1: VBM, 2: ISM, 3: CI2M)
Device reception data
0 : Unprocessed
1 :Processing (FB running)
2 : Error (FB error occurred)
3 : Collection completed (FB successful completion)
4 : Retry over (missing measurement)
Graphic expression
K6CM_Read_instance
K6CM_Read
Done
Busy
Error
ErrorID
ErrorIDEx,
ProductCode
RespServiceDat
Execution
Description
ST expression
K6CM_Read_instance(
Execute,
IPAddress,
TimeOut,
Done,
Busy,
Error,
ErrorID,
ErrorIDEx,
ProductCode,
RespServiceDat );
Description
8 - 35
8

Advertisement

Table of Contents
loading

This manual is also suitable for:

K6cm-ismK6cm-cimK6cm-vbmK6cm-ci2m

Table of Contents