Instruction set in alphabetical order

The following table lists the
Micro800
controller instructions available in
FactoryTalk Design Workbench
.
Micro800 controller instructions in alphabetic order
Instruction
Category
Type
Description
SUB
Math
Operator
Subtracts one Integer, Real, or Time value from another Integer, Real or, Time value.
MUL
Math
Operator
Multiplies two or more Integer or Real values.
DIV
Math
Operator
Division of two Integer or Real values.
ADD
Math
Operator
Adds two or more Integer, Real, Time, or String values.
LT
Compare
Operator
Compares Integer, Real, Time, Date, and String input values to determine whether the first is less than the second.
LE
Compare
Operator
Compares Integer, Real, Time, Date, and String input values to determine whether the first is less than or equal to the second.
NE
Compare
Operator
Compares Integer, Real, Time, Date, and String input values to determine whether the first is not equal to the second.
EQ
Compare
Operator
Tests whether one value is equal to another.
GT
Compare
Operator
Compares Integer, Real, Time, Date, and String input values to determine whether the first is greater than the second.
GE
Compare
Operator
Compares Integer, Real, Time, Date, and String input values to determine whether the first is greater than or equal to the second.
ABL
Serial Port
Function block
Counts the number of characters in the buffer up to and including end of line character.
ABS
Math
Function
Returns the absolute value of a Real value.
ACB
Serial Port
Function block
Counts the total number of characters in the buffer.
ACL
Serial Port
Function block
Clears the receive and transmit buffers.
ACOS
Trig Functions
Function
Calculates the arc-cosine of a Real value.
ACOS_LREAL
Trig Functions
Function
Calculates the arc-cosine of a Long Real value.
AFI
Program Control
Function
Temporarily disables a rung when debugging.
AHL
Serial Port
Function block
Sets or resets modem handshake lines.
AND
Logical
Operator
Performs a Boolean AND operation between two or more values.
AND_MASK
Logical
Function
Performs a bit to bit AND between two Integer values.
ANY_TO_BOOL
Conversion
Function
Converts a non-Boolean value to a Boolean value.
ANY_TO_BYTE
Conversion
Function
Converts a value to a Byte.
ANY_TO_DATE
Conversion
Function
Converts a String, Integer, Real, or Time data type to the Date data type.
ANY_TO_DINT
Conversion
Function
Converts a value to a Double Integer.
ANY_TO_DWORD
Conversion
Function
Converts a value to a Double Word value.
ANY_TO_INT
Conversion
Function
Converts a value to an Integer.
ANY_TO_LINT
Conversion
Function
Converts a value to a Long Integer.
ANY_TO_LREAL
Conversion
Function
Converts a value to a Long Real.
ANY_TO_LWORD
Conversion
Function
Converts a value to a Long Word.
ANY_TO_REAL
Conversion
Function
Converts a value to a Real.
ANY_TO_SINT
Conversion
Function
Converts a value to a Short Integer.
ANY_TO_STRING
Conversion
Function
Converts a value to a String.
ANY_TO_TIME
Conversion
Function
Converts a value to the Time data type.
ANY_TO_UDINT
Conversion
Function
Converts a value to an Unsigned Double Integer.
ANY_TO_UINT
Conversion
Function
Converts a value to an Unsigned Integer.
ANY_TO_ULINT
Conversion
Function
Converts a value to an Unsigned Long Integer.
ANY_TO_USINT
Conversion
Function
Converts a value to an Unsigned Short Integer.
ANY_TO_WORD
Conversion
Function
Converts a value to a Word.
ARD
Serial Port
Function block
Reads characters from the input buffer and places them into a string.
ARL
Serial Port
Function block
Reads one line of characters from the input buffer and places them into a string.
ASCII
ASCII String
Function
Returns the ASCII code for characters in a string. Character -> ASCII code.
ASIN
Trig Functions
Function
Calculates the arcsine of a Real value.
ASIN_LREAL
Trig Functions
Function
Calculates the arcsine of a Long Real value.
ATAN
Trig Functions
Function
Calculates the arctangent of a Real value.
ATAN_LREAL
Trig Functions
Function
Calculates the arctangent of a Long Real value.
AVE
File/Array
Function block
Calculates a running average over a number of a defined samples.
AWA
Serial Port
Function
Writes a string with two appended (user-configured) characters to an external device.
AWT
Serial Port
Function
Writes characters from a source string to an external device.
BSL
File/Shift
Function block
Shifts a bit in an array element to the left.
BSR
File/Shift
Function block
Shifts a bit in an array element to the right.
CHAR
ASCII String
Function
Returns a one character string for an ASCII code. ASCII code -> character.
COM_IO_WDOG
Communications
Function block
Monitors communication to the controller.
COP
Move/Copy
Function block
Copies the binary data in the source element to the destination element.
COS
Trig Functions
Function
Calculates the cosine of a Real value.
COS_LREAL
Trig Functions
Function
Calculates the cosine of a Long Real value.
CTD
Timer/Counter
Function
Counts integers from a given value down to 0, one by one.
CTU
Timer/Counter
Function
Counts integers from 0 up to a given value, one by one.
CTUD
Timer/Counter
Function
Counts integers from 0 up to a given value, one by one, or from a given value down to 0, one by one.
DELETE
ASCII String
Function
Deletes characters from a string.
DERIVATE
Advanced Math
Function block
Differentiation of a real value over a defined cycle time.
DLG
Data Log/Recipe
Function block
Writes variable values from the run-time engine into a Data Logging File on an SD card.
DOY
Date Time
Function
Turns on an output if the value of the real-time clock is in the range of the Year Time setting.
EXPT
Advanced Math
Function
Calculates the Real value of a base number raised to the power of the Integer exponent.
OSF
Bit
Function block
Detects a falling edge of a Boolean variable.
FFL
File/Shift
Function block
Loads 8-bit, 16-bit, 32-bit, or 64-bit data into a user-created array called a FIFO stack.
FFU
File/Shift
Function block
Unloads 8-bit, 16-bit, 32-bit, or 64-bit data from a user-created array called a FIFO (first in first out) stack in the same order data was loaded using the FFL instruction.
FIND
ASCII String
Function
Locates and provides the position of sub-strings within strings.
HSC
HSC
Function block
Applies high presets, low presets, and output source values to the high-speed counter.
HSC_SET_STS
HSC
Function block
Manually sets or resets the HSC counting status.
HSCE
HSC
Function block
Starts, stops, and reads the accumulator value.
HSCE_CFG
HSC
Function block
HSCE_CFG is the high-speed counter configuration.
HSCE_CFG_PLS
HSC
Function block
HSCE_CFG_PLS is the high-speed counter PLS configuration.
HSCE_READ_STS
HSC
Function block
HSCE_READ_STS reads high-speed counter status.
HSCE_SET_STS
HSC
Function block
Manually sets or resets high-speed counter status.
HYSTER
Process
Function block
Boolean hysteresis on difference of reals.
IIM
Input/Output
Function block
Updates inputs prior to normal output scan.
INSERT
ASCII String
Function
Inserts sub-strings at user-defined positions within strings.
INTEGRAL
Advanced Math
Function block
Integrates a real value during the defined cycle time.
IOM
Input/Output
Function block
Updates outputs prior to normal output scan.
IPIDCONTROLLER
Process
Function block
Configures and controls the inputs and outputs used for the Proportional Integral Derivative (PID) logic.
KEY_READ
LCD
Function block
Reads the Key status on the optional LCD module when the user display is active.
Available for
Micro810
controllers.
KEY_READ_REM
LCD
Function block
Reads the Key status on the optional Remote LCD module when the user display is active.
Available for L20E, L50E, and L70E controllers.
LCD
LCD
Function
Displays a string or number on an LCD screen.
Available for
Micro810
controllers.
LCD_BKLT_REM
LCD
Function
Sets the Remote LCD backlight parameters in a user program.
LCD_REM
LCD
Function
Displays user-defined messages for the Remote LCD.
LEFT
ASCII String
Function
Extracts characters from the left side of a string.
LFL (LIFO load)
File/Shift
Function block
Loads 8-bit, 16-bit, 32-bit, or 64-bit data into a user-created array called a LIFO stack.
LFU (LIFO unload)
File/Shift
Function block
Unloads 8-bit, 16-bit, 32-bit, or 64-bit data from a user-created array called a LIFO (last in first out) stack in the same order data was loaded using the LFL instruction.
LIM
Compare
Function block
An alarm with hysteresis on a Real value for high and low limits.
LIMIT
Compare
Function
Restricts integer values to a given interval.
LOG
Advanced Math
Function
Calculates the logarithm (base 10) of a Real value.
MAX
Compare
Function
Calculates the maximum of two integer values.
MC_AbortTrigger
Motion Event
Function block
Aborts Motion function blocks that are connected to trigger events.
MC_Halt
Motion Move
Function block
Commands a controlled motion stop under normal operating conditions.
MC_Home
Motion Move
Function block
Commands the axis to perform the
<search home>
sequence.
MC_MoveAbsolute
Motion Move
Function block
Commands a controlled motion to a specified absolute position.
MC_MoveRelative
Motion Move
Function block
Commands a controlled motion of a specified distance relative to the actual position at the time of the execution.
MC_MoveVelocity
Motion Move
Function block
Commands a never ending controlled motion at a specified velocity.
MC_Power
Motion State
Function block
Controls the power stage, ON or OFF.
MC_ReadActualPosition
Motion Move
Function block
Returns the actual position of the feedback axis.
MC_ReadActualVelocity
Motion Move
Function block
Returns the actual velocity of the feedback axis.
MC_ReadAxisError
Motion State
Function block
Reads the axis errors not related to the Motion control instruction blocks.
MC_ReadBoolParameter
Motion Config
Function block
Returns the value of a vendor specific parameter of type BOOL.
MC_ReadParameter
Motion Config
Function block
Returns the value of a vendor specific parameter of type Real.
MC_ReadStatus
Motion State
Function block
Returns the status of the axis with respect to the motion currently in progress.
MC_Reset
Motion State
Function block
Transitions the axis state from Error Stop to Standstill by resetting all internal axis-related errors.
MC_SetPosition
Motion Move
Function block
Shifts the coordinate system of an axis by manipulating the actual position.
MC_Stop
Motion Move
Function block
Commands a controlled motion stop and transfers the axis state to Stopping.
MC_TouchProbe
Motion Event
Function block
Records an axis position at a trigger event.
MC_WriteBoolParameter
Motion Config
Function block
Modifies the value of a vendor specific parameter of type Bool.
MC_WriteParameter
Motion Config
Function block
Modifies the value of a vendor specific parameter of type Real.
MID
ASCII String
Function
Extracts characters from the middle of a string.
MIN
Compare
Function
Calculates the minimum of two integer values.
MLEN
ASCII String
Function
Calculates the length of a string.
MM_INFO
Module
Function block
Reads memory module header information.
MOD
Math
Function
Performs a Module calculation on Integer values.
MODULE_INFO
Module
Function block
Reads module information from a plug-in module or an expansion module.
MOVE
Move/Copy
Operator
Assigns the input value to the output.
MSG_CIPGENERIC
Messaging
Function
Sends a CIP generic explicit message.
MSG_CIPSYMBOLIC
Messaging
Function
Sends a CIP symbolic explicit message.
MSG_MODBUS
Messaging
Function
Sends a Modbus message.
MSG_MODBUS2
Messaging
Function
Sends a MODBUS/TCP message over an Ethernet Channel.
MSG_PCCC
Messaging
Function
Sends a PCCC message over an Ethernet channel or a serial port.
MUX4B
Logical
Function
Multiplexer between four BOOL inputs, outputs a BOOL value.
MUX8B
Logical
Function
Multiplexer between eight BOOL inputs, outputs a BOOL value.
Neg
Math
Operator
Converts a value to a negative.
NOP
Program Control
Function
Functions as a placeholder.
NOT
Logical
Operator
Converts Boolean values to negated values.
NOT_MASK
Logical
Function
Integer bit-to-bit negation mask, inverts a parameter value.
OR
Logical
Operator
Boolean OR of two or more values.
OR_MASK
Logical
Function
Integer OR bit-to-bit mask, turns bits on.
PID
Process
Function block
An output instruction that controls physical properties such as temperature, pressure, liquid level, or flow rate using process loops.
PLUGIN_INFO
Module
Function block
Gets module information from a generic plug-in module (excluding Memory Module).
PLUGIN_READ
Module
Function block
Reads data from a generic plug-in module (excluding Memory Module).
PLUGIN_RESET
Module
Function block
Resets a generic plug-in module, hardware reset (excluding Memory Module).
PLUGIN_WRITE
Module
Function block
Writes data to a generic plug-in module (excluding Memory Module).
EXPT_REAL
Advanced Math
Function
Calculates the value of a Real number raised to a power of the Real exponent.
PWM
Input/Output
Function block
Turns the PWM (Pulse Width Modulation) output for a configured PWM channel ON or OFF.
OSR
Bit
Function block
Detects a rising edge of a Boolean variable.
RAND
Advanced Math
Function
Calculates random integer values from a defined range.
RCP
Data Log/Recipe
Function block
Reads and writes recipe data to and from an SD memory card.
REPLACE
ASCII String
Function
Replaces parts of a string with new sets of characters.
RHC
Timer/Counter
Function
Reads the high-speed clock.
RIGHT
ASCII String
Function
Extracts characters from the right side of a string.
ROL
File/Shift
Function
For 32-bit integers, rotates integer bits to the left.
ROR
File/Shift
Function
For 32-bit integers, rotates integer bits to the right.
RPC
Program Control
Function
Reads user program checksum.
RS
Logical
Function block
Resets dominant bistable.
RTC_READ
Date Time
Function block
Reads the real-time clock (RTC) module information.
RTC_SET
Date Time
Function block
Sets RTC (real-time clock) data to the RTC module information.
RTO
Timer/Counter
Function block
Retentive timing. Increases an internal timer when input is active, but does not reset the internal timer when input changes to inactive.
SCALER
Input/Output
Function block
Scales the input value according to output range.
SCL
Process Control
Function block
Converts an unscaled input value to a floating point value in engineering units.
SHL
File/Shift
Function
For 32-bit integers, moves integers to the left and places 0 in the least significant bit.
SHR
File/Shift
Function
For 32-bit integers, moves integers to the right and places 0 in the most significant bit.
SIN
Trig Functions
Function
Calculates the sine of a Real value.
SIN_LREAL
Trig Functions
Function
Calculates the sine of a Long Real value.
SOCKET_ACCEPT
Sockets
Function block
Accepts a TCP connection request from a remote destination and returns a socket instance used to send and receive data on the newly created connection.
SOCKET_CREATE
Sockets
Function block
Creates an instance of the socket and returns an instance number that is used as an input in any follow-on socket operations.
SOCKET_DELETE
Sockets
Function block
Deletes a created socket instance.
SOCKET_DELETEALL
Sockets
Function block
Deletes all created socket instances.
SOCKET_INFO
Sockets
Function block
Returns information for the socket such as error codes and execution status.
SOCKET_OPEN
Sockets
Function block
Opens the connection for the specified destination address for Transmission Control Protocol (TCP) connections. For User Datagram Protocol (UDP) connections, associates a destination IP address and port number with the specified socket.
SOCKET_READ
Sockets
Function block
Reads data on a socket.
SOCKET_WRITE
Sockets
Function block
Sends data on a socket.
SQRT
Advanced Math
Function
Calculates the square root of a Real value.
SR
Logical
Function block
Sets dominant bistable.
STACKINT
File/Shift
Function block
Manages stack of integers.
STIS
Interrupt
Function
Starts the selected timed user interrupt (STI ) timer from the control program rather than starting automatically.
SUS
Program Control
Function block
Suspends the execution of the
Micro800
controller.
SYS_INFO
Program Control
Function block
Reads the status data block for the Micro800 controller.
TAN
Trig Functions
Function
Calculates the tangent of a Real value.
TAN_LREAL
Trig Functions
Function
Calculates the tangent of a Long Real value.
TDF
Date Time
Function
Computes the time difference between TimeA and TimeB.
TND
Program Control
Function
Stops the current cycle of the user program scan.
TOF
Timer/Counter
Function block
Off-delay timing. Increases an internal timer up to a given value.
TON
Timer/Counter
Function block
On-delay timing. Increases an internal timer up to a given value.
TONOFF
Timer/Counter
Function block
Delays turning on an output on a true rung, and then delays turning off the output on the false rung.
TOW
Date Time
Function
Turns on an output if the value of the real-time clock is in the range of the Time of Week setting.
TP
Timer/Counter
Function block
Pulse timing. On a rising edge, increases an internal timer up to a given value.
TRIMPOT_READ
Module
Function block
Reads the trimpot value from a specific trimpot.
TRUNC
Math
Function
Truncates Real values, leaving just the Integer.
TTABLE
Logical
Function
Provides the value of the output based on the combination of inputs.
UIC
Interrupt
Function
Clears the lost bit for the selected user interrupt.
UID
Interrupt
Function
Disables a specific user interrupt.
UIE
Interrupt
Function
Enables a specific user input.
UIF
Interrupt
Function
Flushes or removes a pending user input.
XOR
Logical
Operator
Boolean exclusive OR of two values.
XOR_MASK
Logical
Function
Integer exclusive OR bit-to-bit mask, returns inverted bit values.
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal