YASKAWA iC9200 Series Manual page 115

Cpu
Hide thumbs Also See for iC9200 Series:
Table of Contents

Advertisement

iC9200 Series
Function blocks
TLS_SOCKET_2
UDP_SOCKET_2
System variable
IP_ACTIVE_SOCKETS
TLS_ACTIVE_SOCKETS
Device state
System variable
DEVICE_STATE
BOARD_TEMPERATURE
reserved1
reserved2
CPU_LOAD_ALL_CORES
CPU_LOAD_PER_CORE
[1]
[2]
HB700 | CPU | PMC921xEx | en | 23-06
n
With the TLS_SOCKET_2 function block, you open and close IP sockets for IP com-
munication via TCP (Transmission Control Protocol - not secure or TLS (Transport
Layer Security - secure). You can control this with the START_TLS input parameter
(FALSE: TCP, TRUE: TLS).
n
Use the UDP_SOCKET_2 block to open and close IP sockets for IP communication
via UDP (User Datagram Protocol).
n
You can retrieve the number of open IP sockets using the following system variables:
Type - description
UINT - Number of TCP/UDP sockets opened with the
TLS_SOCKET_2 and UDP_SOCKET_2 function blocks.
UINT - Number of TLS sockets opened with the TLS_SOCKET
function block.
n
The system variable DEVICE_STATE is a system variable organized as a data struc-
ture.
n
You can use the DEVICE_STATE system variable to retrieve various information
about the device status of the CPU.
Type - description
DEVICE_STATE_X152_TYPE - data structure
SINT - temperature inside the housing (in °C).
BOOL - reserved
USINT - reserved
USINT - average current utilization of all processor cores (in %).
CPU_LOAD_PER_CORE_ARRAY - Information on the utilization of
each processor core.
USINT - current utilization of processor core 1 (in %).
USINT - current utilization of processor core 2 (in %).
System variables and status information > System variables
Deployment
115

Advertisement

Table of Contents
loading

Table of Contents